Skip to content

Commit

Permalink
Make translations
Browse files Browse the repository at this point in the history
Fix missing translation
  • Loading branch information
monsieurswag committed Oct 2, 2024
1 parent c6397e4 commit 17b4cb3
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 7 deletions.
3 changes: 3 additions & 0 deletions frontend/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"framework": "الإطار",
"file": "الملف",
"language": "اللغة",
"defaultLanguage": "اللغة الافتراضية",
"builtin": "مضمن",
"next": "التالي",
"previous": "السابق",
Expand Down Expand Up @@ -619,7 +620,9 @@
"errorImportingLibrary": "خطأ أثناء استيراد المكتبة",
"libraryImportError": "حدث خطأ أثناء استيراد المكتبة",
"ssoSettingsUpdated": "تم تحديث إعدادات تسجيل الدخول الموحد",
"generalSettingsUpdated": "تم تحديث الإعدادات العامة",
"ssoSettings": "إعدادات تسجيل الدخول الموحد",
"generalSettings": "الإعدادات العامة",
"ssoSettingsDescription": "قم بتكوين إعدادات تسجيل الدخول الموحد هنا.",
"sso": "SSO",
"isSso": "هل هو SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Rahmen:",
"file": "Datei",
"language": "Sprache",
"defaultLanguage": "Standardsprache",
"builtin": "Eingebaut",
"next": "Weiter",
"previous": "Zurück",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Fehler beim Importieren der Bibliothek",
"libraryImportError": "Beim Importieren Ihrer Bibliothek ist ein Fehler aufgetreten.",
"ssoSettingsUpdated": "SSO-Einstellungen aktualisiert",
"generalSettingsUpdated": "Allgemeine Einstellungen aktualisiert",
"ssoSettings": "SSO-Einstellungen",
"generalSettings": "Allgemeine Einstellungen",
"ssoSettingsDescription": "Konfigurieren Sie hier Ihre Single Sign-On-Einstellungen.",
"sso": "SSO",
"isSso": "Ist SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"frameworkColon": "Framework:",
"file": "File",
"language": "Language",
"defaultLanguage": "Default language",
"builtin": "Builtin",
"next": "Next",
"previous": "Previous",
Expand Down Expand Up @@ -642,7 +643,9 @@
"errorImportingLibrary": "Error during library import",
"libraryImportError": "An error occurred during library import",
"ssoSettingsUpdated": "SSO settings updated",
"generalSettingsUpdated": "General settings updated",
"ssoSettings": "SSO settings",
"generalSettings": "General settings",
"ssoSettingsDescription": "Configure your Single Sign-On settings here.",
"sso": "SSO",
"isSso": "Is SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Estructura:",
"file": "Archivo",
"language": "Idioma",
"defaultLanguage": "Idioma predeterminado",
"builtin": "Integrado",
"next": "Siguiente",
"previous": "Anterior",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Error al importar la biblioteca",
"libraryImportError": "Ocurrió un error durante la importación de su biblioteca.",
"ssoSettingsUpdated": "Configuración de SSO actualizada",
"generalSettingsUpdated": "Configuración general actualizada",
"ssoSettings": "Configuración de inicio de sesión único",
"generalSettings": "Configuración general",
"ssoSettingsDescription": "Configure sus ajustes de inicio de sesión único aquí.",
"sso": "SSO",
"isSso": "es SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Référentiel :",
"file": "Fichier",
"language": "Langue",
"defaultLanguage": "Langue par défaut",
"builtin": "Intégré",
"next": "Suivant",
"previous": "Précédent",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Erreur lors de l'importation de la bibliothèque",
"libraryImportError": "Une erreur s'est produite lors de l'importation de la bibliothèque",
"ssoSettingsUpdated": "Paramètres SSO mis à jour",
"generalSettingsUpdated": "Paramètres généraux mis à jour",
"ssoSettings": "Paramètres SSO",
"generalSettings": "Paramètres généraux",
"ssoSettingsDescription": "Configurez vos paramètres d'authentification unique ici.",
"sso": "SSO",
"isSso": "Est SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"frameworkColon": "फ्रेमवर्क:",
"file": "फाइल",
"language": "भाषा",
"defaultLanguage": "डिफ़ॉल्ट भाषा",
"builtin": "बिल्ट-इन",
"next": "अगला",
"previous": "पिछला",
Expand Down Expand Up @@ -638,7 +639,9 @@
"errorImportingLibrary": "लाइब्रेरी आयात के दौरान त्रुटि",
"libraryImportError": "लाइब्रेरी आयात के दौरान एक त्रुटि उत्पन्न हुई",
"ssoSettingsUpdated": "SSO सेटिंग्स अपडेट की गईं",
"generalSettingsUpdated": "सामान्य सेटिंग अपडेट की गईं",
"ssoSettings": "SSO सेटिंग्स",
"generalSettings": "सामान्य सेटिंग्स",
"ssoSettingsDescription": "यहाँ अपने सिंगल साइन-ऑन सेटिंग्स कॉन्फ़िगर करें।",
"sso": "SSO",
"isSso": "क्या SSO है",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Struttura:",
"file": "File",
"language": "Lingua",
"defaultLanguage": "Lingua predefinita",
"builtin": "Integrato",
"next": "Avanti",
"previous": "Indietro",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Errore durante l'importazione della biblioteca",
"libraryImportError": "Si è verificato un errore durante l'importazione della tua biblioteca.",
"ssoSettingsUpdated": "Impostazioni SSO aggiornate",
"generalSettingsUpdated": "Impostazioni generali aggiornate",
"ssoSettings": "Impostazioni SSO",
"generalSettings": "Impostazioni generali",
"ssoSettingsDescription": "Configura qui le tue impostazioni Single Sign-On.",
"sso": "SSO",
"isSso": "È SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Kader:",
"file": "Bestand",
"language": "Taal",
"defaultLanguage": "Standaardtaal",
"builtin": "Ingebouwd",
"next": "Volgende",
"previous": "Vorige",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Fout bij het importeren van de bibliotheek",
"libraryImportError": "Er is een fout opgetreden tijdens het importeren van je bibliotheek.",
"ssoSettingsUpdated": "SSO-instellingen bijgewerkt",
"generalSettingsUpdated": "Algemene instellingen bijgewerkt",
"ssoSettings": "SSO-instellingen",
"generalSettings": "Algemene instellingen",
"ssoSettingsDescription": "Configureer hier uw Single Sign-On-instellingen.",
"sso": "SSO",
"isSso": "Is SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Struktura:",
"file": "Plik",
"language": "Język",
"defaultLanguage": "Język domyślny",
"builtin": "Wbudowany",
"next": "Następny",
"previous": "Poprzedni",
Expand Down Expand Up @@ -637,7 +638,9 @@
"errorImportingLibrary": "Błąd podczas importowania biblioteki",
"libraryImportError": "Wystąpił błąd podczas importowania biblioteki",
"ssoSettingsUpdated": "Ustawienia SSO zaktualizowane",
"generalSettingsUpdated": "Zaktualizowano ustawienia ogólne",
"ssoSettings": "Ustawienia SSO",
"generalSettings": "Ustawienia ogólne",
"ssoSettingsDescription": "Skonfiguruj ustawienia Single Sign-On tutaj.",
"sso": "SSO",
"isSso": "Czy SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"frameworkColon": "Estrutura:",
"file": "Arquivo",
"language": "Idioma",
"defaultLanguage": "Idioma padrão",
"builtin": "Integrado",
"next": "Próximo",
"previous": "Anterior",
Expand Down Expand Up @@ -600,7 +601,9 @@
"errorImportingLibrary": "Erro durante a importação da biblioteca",
"libraryImportError": "Ocorreu um erro durante a importação da biblioteca",
"ssoSettingsUpdated": "Configurações de SSO atualizadas",
"generalSettingsUpdated": "Configurações gerais atualizadas",
"ssoSettings": "Configurações de SSO",
"generalSettings": "Configurações gerais",
"ssoSettingsDescription": "Defina suas configurações de logon único aqui.",
"sso": "SSO",
"isSso": "É SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"frameworkColon": "Cadru:",
"file": "Fișier",
"language": "Limbă",
"defaultLanguage": "Limba implicită",
"builtin": "Încorporat",
"next": "Următor",
"previous": "Anterior",
Expand Down Expand Up @@ -635,7 +636,9 @@
"errorImportingLibrary": "Eroare în timpul importului bibliotecii",
"libraryImportError": "A apărut o eroare în timpul importului bibliotecii",
"ssoSettingsUpdated": "Setările SSO au fost actualizate",
"generalSettingsUpdated": "Setări generale actualizate",
"ssoSettings": "Setări SSO",
"generalSettings": "Setări generale",
"ssoSettingsDescription": "Configurați setările dvs. Single Sign-On aici.",
"sso": "SSO",
"isSso": "Este SSO",
Expand Down
3 changes: 3 additions & 0 deletions frontend/messages/ur.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"frameworkColon": "فریم ورک:",
"file": "فائل",
"language": "زبان",
"defaultLanguage": "پہلے سے طے شدہ زبان",
"builtin": "بلٹ ان",
"next": "اگلا",
"previous": "پچھلا",
Expand Down Expand Up @@ -638,7 +639,9 @@
"errorImportingLibrary": "لائبریری درآمد کرتے وقت خرابی",
"libraryImportError": "لائبریری درآمد کرتے وقت ایک خرابی پیش آئی",
"ssoSettingsUpdated": "SSO کی ترتیبات کو اپ ڈیٹ کر دیا گیا",
"generalSettingsUpdated": "عمومی ترتیبات کو اپ ڈیٹ کر دیا گیا۔",
"ssoSettings": "SSO کی ترتیبات",
"generalSettings": "عام ترتیبات",
"ssoSettingsDescription": "اپنی سنگل سائن آن کی ترتیبات یہاں ترتیب دیں۔",
"sso": "SSO",
"isSso": "کیا SSO ہے",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
cacheLock={cacheLocks['lang']}
bind:cachedValue={formDataCache['lang']}
options={langOptions}
label={m.language()}
label={m.defaultLanguage()}
/>
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ export const actions: Actions = {

if (!response.ok) return handleErrorResponse({ event, response, form });

// Make the translation
// It must be called m.generalSettingsUpdated()
setFlash({ type: 'success', message: m.ssoSettingsUpdated() }, event);
setFlash({ type: 'success', message: m.generalSettingsUpdated() }, event);

return { form };
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/routes/(app)/(internal)/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
>
</TabGroup>
<TabGroup active="bg-primary-100 text-primary-800 border-b border-primary-800">
<!-- Translate the "Global Settings" String -->
<!-- Check if a translation already exist-->
<Tab bind:group={tabSet} name="ssoSettings" value={1}
><i class="fa-solid fa-cog" /> General Settings</Tab
><i class="fa-solid fa-cog" /> {m.generalSettings()}</Tab
>
</TabGroup>
</div>
Expand Down

0 comments on commit 17b4cb3

Please sign in to comment.