({ slug }: { slug: string })
| 61 | } |
| 62 | |
| 63 | export function createChangeLangLinks({ slug }: { slug: string }) { |
| 64 | return Object.entries(KNOWN_LANGUAGES).map(([name, code]) => ({ |
| 65 | text: { en: name }, |
| 66 | link: slug === "/" ? `/${code}` : `/${code}/${slug}`, |
| 67 | })); |
| 68 | } |
| 69 | |
| 70 | export const translations = { |
| 71 | docs: { text: { en: "Docs", ru: "Меню" } }, |
nothing calls this directly
no test coverage detected
searching dependent graphs…