2023-05-08 12:44:10 +00:00
|
|
|
|
const pages: string[] = [
|
|
|
|
|
'/index.md',
|
|
|
|
|
'/find-me.md',
|
|
|
|
|
'/resume.md',
|
|
|
|
|
'/projects.md',
|
|
|
|
|
'/conlanging.md',
|
|
|
|
|
'/vocal-synthesis.md',
|
2023-05-08 15:36:10 +00:00
|
|
|
|
'/about.md',
|
2023-05-08 12:44:10 +00:00
|
|
|
|
'/privacy.md',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const localePages = (languagePrefix: string) => {
|
|
|
|
|
return pages.map((page: string) => `/${languagePrefix}${page}`);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const themeLocales = {
|
2023-02-01 01:41:44 +00:00
|
|
|
|
'/': {
|
|
|
|
|
selectLanguageName: 'Français',
|
|
|
|
|
tip: 'nota bene',
|
|
|
|
|
warning: 'attention',
|
2023-05-08 12:44:10 +00:00
|
|
|
|
sidebar: pages,
|
2023-02-01 01:41:44 +00:00
|
|
|
|
notFound: [
|
|
|
|
|
'C’est bien vide ici',
|
|
|
|
|
'Pourquoi sommes-nous ici?',
|
|
|
|
|
'Erreur 404',
|
|
|
|
|
'Le lien ne semble pas être correct',
|
|
|
|
|
],
|
|
|
|
|
backToHome: 'Retour accueil',
|
|
|
|
|
openInNewWindow: 'Ouvrir dans une nouvelle fenêtre',
|
|
|
|
|
toggleColorMode: 'Changer de thème',
|
|
|
|
|
toggleSidebar: 'Barre latérale',
|
|
|
|
|
lastUpdatedText: 'Dernière mise à jour',
|
|
|
|
|
},
|
|
|
|
|
'/lfn/': {
|
|
|
|
|
selectLanguageName: 'Elefen',
|
|
|
|
|
tip: 'avisa',
|
|
|
|
|
warning: 'averti',
|
|
|
|
|
danger: 'peril',
|
2023-05-08 12:44:10 +00:00
|
|
|
|
sidebar: localePages('lfn'),
|
2023-02-01 01:41:44 +00:00
|
|
|
|
notFound: [
|
|
|
|
|
'Ce? Se no ave no cosa asi',
|
|
|
|
|
'A do vade tu?',
|
|
|
|
|
'Era 404',
|
|
|
|
|
'La lia no es coreta',
|
|
|
|
|
],
|
|
|
|
|
backToHome: 'reversa a la paja prima',
|
|
|
|
|
openInNewWindow: 'abri en un nova fenetra',
|
|
|
|
|
toggleColorMode: 'cambia la colores',
|
|
|
|
|
toggleSidebar: 'bara ladal',
|
|
|
|
|
lastUpdatedText: 'Ultima refresci',
|
|
|
|
|
},
|
|
|
|
|
'/en/': {
|
|
|
|
|
selectLanguageName: 'English',
|
2023-05-08 12:44:10 +00:00
|
|
|
|
sidebar: localePages('en'),
|
2023-02-01 01:41:44 +00:00
|
|
|
|
},
|
|
|
|
|
};
|