🌐(frontend) sort extrated locales to help prevent conflicts

when adding keys by hand, we didn't really know where to add them so
that the i18n:extract command would not move them afterwards. Feels like
this will help.
I guess a CI thing checking if the locales file dont change after a push
would be helpful
This commit is contained in:
Emmanuel Pelletier
2024-07-21 17:23:42 +02:00
parent 0cf4960969
commit efb5ac5834
7 changed files with 26 additions and 25 deletions

View File

@@ -3,5 +3,6 @@
"input": ["src/**/*.{ts,tsx}", "!src/styled-system/**/*", "!src/**/*.d.ts"],
"output": "src/locales/$LOCALE/$NAMESPACE.json",
"createOldCatalogs": false,
"locales": ["en", "fr", "de"]
"locales": ["en", "fr", "de"],
"sort": true
}

View File

@@ -1,4 +1,5 @@
{
"app": "Meet",
"backToHome": "",
"error": {
"heading": ""
@@ -6,14 +7,13 @@
"forbidden": {
"heading": ""
},
"app": "Meet",
"login": "Anmelden",
"logout": "",
"languageSelector": {
"popoverLabel": "",
"buttonLabel": ""
"buttonLabel": "",
"popoverLabel": ""
},
"loading": "",
"login": "Anmelden",
"logout": "",
"notFound": {
"heading": ""
}

View File

@@ -1,8 +1,8 @@
{
"copyMeetingUrl": "",
"createMeeting": "",
"heading": "",
"intro": "",
"createMeeting": "",
"login": "",
"or": "",
"copyMeetingUrl": ""
"or": ""
}

View File

@@ -1,4 +1,5 @@
{
"app": "Meet",
"backToHome": "Back to homescreen",
"error": {
"heading": "An error occured while loading the page"
@@ -6,14 +7,13 @@
"forbidden": {
"heading": "You don't have the permission to view this page"
},
"app": "Meet",
"login": "Login",
"logout": "Logout",
"languageSelector": {
"popoverLabel": "Choose language",
"buttonLabel": "Change language (currently {{currentLanguage}})"
"buttonLabel": "Change language (currently {{currentLanguage}})",
"popoverLabel": "Choose language"
},
"loading": "Loading…",
"login": "Login",
"logout": "Logout",
"notFound": {
"heading": ""
}

View File

@@ -1,8 +1,8 @@
{
"copyMeetingUrl": "copy a meeting URL in your browser address bar to join an existing conference call",
"createMeeting": "Create a conference call",
"heading": "Welcome in Meet",
"intro": "What do you want to do? You can either:",
"createMeeting": "Create a conference call",
"login": "Login to create a conference call",
"or": "Or",
"copyMeetingUrl": "copy a meeting URL in your browser address bar to join an existing conference call"
"or": "Or"
}

View File

@@ -1,4 +1,5 @@
{
"app": "Meet",
"backToHome": "Retour à l'accueil",
"error": {
"heading": "Une erreur est survenue lors du chargement de la page"
@@ -6,14 +7,13 @@
"forbidden": {
"heading": "Accès interdit"
},
"app": "Meet",
"login": "Se connecter",
"logout": "Se déconnecter",
"languageSelector": {
"popoverLabel": "Choix de la langue",
"buttonLabel": "Changer de langue (actuellement {{currentLanguage}})"
"buttonLabel": "Changer de langue (actuellement {{currentLanguage}})",
"popoverLabel": "Choix de la langue"
},
"loading": "Chargement…",
"login": "Se connecter",
"logout": "Se déconnecter",
"notFound": {
"heading": "Page introuvable"
}

View File

@@ -1,8 +1,8 @@
{
"copyMeetingUrl": "copier une URL de conférence dans votre barre d'adresse pour rejoindre une conférence existante",
"createMeeting": "Créer une conférence",
"heading": "Bienvenue dans Meet",
"intro": "Que voulez vous faire ? Vous pouvez :",
"createMeeting": "Créer une conférence",
"login": "Vous connecter pour créer une conférence",
"or": "Ou",
"copyMeetingUrl": "copier une URL de conférence dans votre barre d'adresse pour rejoindre une conférence existante"
"or": "Ou"
}