Skip to content

Commit

Permalink
i18n: update translations (authelia#3972)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Sep 16, 2022
1 parent 9c72bc8 commit c756c7b
Show file tree
Hide file tree
Showing 31 changed files with 1,032 additions and 25 deletions.
6 changes: 5 additions & 1 deletion cmd/authelia-gen/templates/web_i18n_index.ts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ i18n.use(Backend)
{{- end }}
{{- end }}
},
supportedLngs: [{{ range $i, $value := .Languages }}{{ if eq $i 0 }}"{{ $value.Locale }}"{{ else }}, "{{ $value.Locale }}"{{ end }}{{ end }}],
supportedLngs: [
{{- range $i, $value := .Languages }}
"{{ $value.Locale }}",
{{- end }}
],
lowerCaseLng: false,
nonExplicitSupportedLngs: true,
interpolation: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen code scripts"
description: "Reference for the authelia-gen code scripts command."
lead: ""
date: 2022-08-01T10:11:13+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen commit-lint"
description: "Reference for the authelia-gen commit-lint command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen docs keys"
description: "Reference for the authelia-gen docs keys command."
lead: ""
date: 2022-09-16T13:42:10+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen github"
description: "Reference for the authelia-gen github command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen github issue-templates"
description: "Reference for the authelia-gen github issue-templates command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen github issue-templates bug-report"
description: "Reference for the authelia-gen github issue-templates bug-report command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen github issue-templates feature-request"
description: "Reference for the authelia-gen github issue-templates feature-request command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "authelia-gen locales"
description: "Reference for the authelia-gen locales command."
lead: ""
date: 2022-07-31T12:57:53+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/reference/guides/internationalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Internationalization"
description: "A collection of internationalization reference information"
lead: "This section contains internationalization references for Authelia."
date: 2022-08-01T10:44:40+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Troubleshooting Sanitization"
description: "This guide describes and helps users sanitize provided files to hide privacy related values for troubleshooting"
lead: "This guide describes and helps users sanitize provided files to hide information for privacy."
date: 2022-09-16T12:50:04+10:00
date: 2022-09-16T14:21:05+10:00
draft: false
images: []
menu:
Expand Down
2 changes: 1 addition & 1 deletion docs/data/languages.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"defaults":{"language":{"display":"English","locale":"en"},"namespace":"portal"},"namespaces":["portal"],"languages":[{"display":"English","locale":"en","namespaces":["portal"],"fallbacks":["en"]},{"display":"German","locale":"de","namespaces":["portal"],"fallbacks":["en"]},{"display":"Spanish","locale":"es","namespaces":["portal"],"fallbacks":["en"]},{"display":"French","locale":"fr","namespaces":["portal"],"fallbacks":["en"]},{"display":"Dutch","locale":"nl","namespaces":["portal"],"fallbacks":["en"]},{"display":"Portuguese","locale":"pt","namespaces":["portal"],"fallbacks":["en"]},{"display":"Russian","locale":"ru","namespaces":["portal"],"fallbacks":["en"]},{"display":"Swedish","locale":"sv","namespaces":["portal"],"fallbacks":["en"]},{"display":"Swedish (Sweden)","locale":"sv-SE","namespaces":["portal"],"fallbacks":["sv","en"]},{"display":"Chinese","locale":"zh","namespaces":["portal"],"fallbacks":["en"]},{"display":"Chinese (China)","locale":"zh-CN","namespaces":["portal"],"fallbacks":["zh","en"]},{"display":"Chinese (Taiwan)","locale":"zh-TW","namespaces":["portal"],"fallbacks":["en"]}]}
{"defaults":{"language":{"display":"English","locale":"en"},"namespace":"portal"},"namespaces":["portal"],"languages":[{"display":"English","locale":"en","namespaces":["portal"],"fallbacks":["en"]},{"display":"Arabic","locale":"ar","namespaces":["portal"],"fallbacks":["en"]},{"display":"Arabic (Saudi Arabia)","locale":"ar-SA","namespaces":["portal"],"fallbacks":["ar","en"]},{"display":"Czech","locale":"cs","namespaces":["portal"],"fallbacks":["en"]},{"display":"Czech (Czechia)","locale":"cs-CZ","namespaces":["portal"],"fallbacks":["cs","en"]},{"display":"Danish","locale":"da","namespaces":["portal"],"fallbacks":["en"]},{"display":"Danish (Denmark)","locale":"da-DK","namespaces":["portal"],"fallbacks":["da","en"]},{"display":"German","locale":"de","namespaces":["portal"],"fallbacks":["en"]},{"display":"Greek","locale":"el","namespaces":["portal"],"fallbacks":["en"]},{"display":"Greek (Greece)","locale":"el-GR","namespaces":["portal"],"fallbacks":["el","en"]},{"display":"Spanish","locale":"es","namespaces":["portal"],"fallbacks":["en"]},{"display":"Finnish","locale":"fi","namespaces":["portal"],"fallbacks":["en"]},{"display":"French","locale":"fr","namespaces":["portal"],"fallbacks":["en"]},{"display":"Italian","locale":"it","namespaces":["portal"],"fallbacks":["en"]},{"display":"Japanese","locale":"ja","namespaces":["portal"],"fallbacks":["en"]},{"display":"Japanese (Japan)","locale":"ja-JP","namespaces":["portal"],"fallbacks":["ja","en"]},{"display":"Norwegian Bokmål","locale":"nb","namespaces":["portal"],"fallbacks":["en"]},{"display":"Norwegian Bokmål (Norway)","locale":"nb-NO","namespaces":["portal"],"fallbacks":["nb","en"]},{"display":"Dutch","locale":"nl","namespaces":["portal"],"fallbacks":["en"]},{"display":"Norwegian Bokmål","locale":"no","namespaces":["portal"],"fallbacks":["en"]},{"display":"Polish","locale":"pl","namespaces":["portal"],"fallbacks":["en"]},{"display":"Portuguese","locale":"pt","namespaces":["portal"],"fallbacks":["en"]},{"display":"Brazilian Portuguese","locale":"pt-BR","namespaces":["portal"],"fallbacks":["en"]},{"display":"Romanian","locale":"ro","namespaces":["portal"],"fallbacks":["en"]},{"display":"Russian","locale":"ru","namespaces":["portal"],"fallbacks":["en"]},{"display":"Swedish","locale":"sv","namespaces":["portal"],"fallbacks":["en"]},{"display":"Swedish (Sweden)","locale":"sv-SE","namespaces":["portal"],"fallbacks":["sv","en"]},{"display":"Ukrainian","locale":"uk","namespaces":["portal"],"fallbacks":["en"]},{"display":"Ukrainian (Ukraine)","locale":"uk-UA","namespaces":["portal"],"fallbacks":["uk","en"]},{"display":"Chinese","locale":"zh","namespaces":["portal"],"fallbacks":["en"]},{"display":"Chinese (China)","locale":"zh-CN","namespaces":["portal"],"fallbacks":["zh","en"]},{"display":"Chinese (Taiwan)","locale":"zh-TW","namespaces":["portal"],"fallbacks":["en"]}]}
6 changes: 6 additions & 0 deletions internal/server/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ func newLocalesPathResolver() func(ctx *fasthttp.RequestCtx) (supported bool, as
}

aliases := map[string]string{
"cs": "cs-CZ",
"da": "da-DK",
"el": "el-GR",
"ja": "ja-JP",
"nb": "nb-NO",
"sv": "sv-SE",
"uk": "uk-UA",
"zh": "zh-CN",
}

Expand Down
72 changes: 72 additions & 0 deletions internal/server/locales/ar-SA/portal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"Accept": "قبول",
"Access your email addresses": "الوصول إلى عناوين بريدك الإلكتروني",
"Access your group membership": "الوصول إلى عضوية المجموعة الخاصة بك",
"Access your profile information": "الوصول إلى معلومات ملفك الشخصي",
"An email has been sent to your address to complete the process": "تم إرسال بريد إلكتروني إلى العنوان الخاص بك لإكمال العملية.",
"Authenticated": "مصادق",
"Automatically refresh these permissions without user interaction": "تحديث هذه الأذونات تلقائياً بدون تفاعل المستخدم",
"Cancel": "إلغاء",
"Client ID": "معرف العميل: {{client_id}}",
"Consent Request": "طلب الموافقة",
"Contact your administrator to register a device": "اتصل بالمسؤول لتسجيل الجهاز.",
"Could not obtain user settings": "تعذر الحصول على إعدادات المستخدم",
"Deny": "رفض",
"Done": "تم",
"Enter new password": "أدخل كلمة مرور جديدة",
"Enter one-time password": "أدخل كلمة المرور لمرة واحدة",
"Failed to register device, the provided link is expired or has already been used": "فشل في تسجيل الجهاز، انتهت صلاحية الرابط المتوفر أو تم استخدامه بالفعل",
"Hi": "Hi",
"Incorrect username or password": "اسم المستخدم أو كلمة المرور غير صحيحة.",
"Loading": "جاري التحميل",
"Login": "تسجيل الدخول",
"Logout": "تسجيل الخروج",
"Lost your device?": "فقدت جهازك؟",
"Methods": "الأساليب",
"Must be at least {{len}} characters in length": "يجب أن يكون على الأقل {{len}} حرف في الطول",
"Must have at least one UPPERCASE letter": "يجب أن يكون لديك حرف واحد على الأقل",
"Must have at least one lowercase letter": "يجب أن يحتوي على حرف صغير واحد على الأقل",
"Must have at least one number": "يجب أن يكون لديك رقم واحد على الأقل",
"Must have at least one special character": "يجب أن يكون لديك حرف خاص واحد على الأقل",
"Must not be more than {{len}} characters in length": "يجب ألا يكون أكثر من {{len}} حرف في الطول",
"Need Google Authenticator?": "هل تحتاج إلى مؤلف جوجل؟",
"New password": "كلمة مرور جديدة",
"No verification token provided": "لم يتم تقديم رمز التحقق",
"OTP Secret copied to clipboard": "تم نسخ OTP السرية إلى الحافظة.",
"OTP URL copied to clipboard": "تم نسخ رابط OTP إلى الحافظة.",
"One-Time Password": "كلمة المرور لمرة واحدة",
"Password has been reset": "تم إعادة تعيين كلمة المرور.",
"Password": "كلمة المرور",
"Passwords do not match": "كلمة المرور غير متطابقة.",
"Powered by": "مدعوم من قبل",
"Push Notification": "دفع الإشعار",
"Register device": "تسجيل الجهاز",
"Register your first device by clicking on the link below": "قم بتسجيل جهازك الأول بالنقر على الرابط أدناه.",
"Remember Consent": "تذكر الموافقة",
"Remember me": "تذكر لي",
"Repeat new password": "تكرار كلمة المرور الجديدة",
"Reset password": "إعادة تعيين كلمة المرور",
"Reset password?": "إعادة تعيين كلمة المرور؟",
"Reset": "Reset",
"Scan QR Code": "Scan QR Code",
"Secret": "سرية",
"Security Key - WebAuthN": "مفتاح الأمان - WebAuthN",
"Select a Device": "حدد جهاز",
"Sign in": "تسجيل الدخول",
"Sign out": "تسجيل الخروج",
"The above application is requesting the following permissions": "طلب التطبيق أعلاه الأذونات التالية",
"The password does not meet the password policy": "كلمة المرور لا تفي بسياسة كلمة المرور",
"The resource you're attempting to access requires two-factor authentication": "يتطلب المورد الذي تحاول الوصول إليه مصادقة ذات عاملين.",
"There was a problem initiating the registration process": "كانت هناك مشكلة في بدء عملية التسجيل",
"There was an issue completing the process. The verification token might have expired": "كانت هناك مشكلة في إكمال العملية، ربما تكون علامة التحقق قد انتهت.",
"There was an issue initiating the password reset process": "حدثت مشكلة أثناء بدء عملية إعادة تعيين كلمة المرور.",
"There was an issue resetting the password": "حدثت مشكلة أثناء إعادة تعيين كلمة المرور",
"There was an issue signing out": "حدثت مشكلة أثناء تسجيل الدخول",
"This saves this consent as a pre-configured consent for future use": "هذا يحفظ هذه الموافقة كموافقة مهيأة مسبقا للاستخدام في المستقبل",
"Time-based One-Time Password": "كلمة المرور لمرة واحدة حسب الوقت",
"Use OpenID to verify your identity": "استخدم OpenID للتحقق من هويتك",
"Username": "اسم المستخدم",
"You must open the link from the same device and browser that initiated the registration process": "يجب فتح الرابط من نفس الجهاز والمتصفح الذي بدأ عملية التسجيل",
"You're being signed out and redirected": "يتم تسجيل الخروج وإعادة التوجيه",
"Your supplied password does not meet the password policy requirements": "كلمة المرور المقدمة الخاصة بك لا تفي بمتطلبات سياسة كلمة المرور."
}
72 changes: 72 additions & 0 deletions internal/server/locales/cs-CZ/portal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"Accept": "Přijmout",
"Access your email addresses": "Přístup k vašim e-mailovým adresám",
"Access your group membership": "Přístup k Vašemu členství ve skupině",
"Access your profile information": "Přístup k informacím o vašem profilu",
"An email has been sent to your address to complete the process": "Na vaši adresu byl odeslán e-mail pro dokončení procesu.",
"Authenticated": "Ověřeno",
"Automatically refresh these permissions without user interaction": "Automaticky obnovit tato oprávnění bez interakce uživatele",
"Cancel": "Zrušit",
"Client ID": "ID klienta: {{client_id}}",
"Consent Request": "Žádost o souhlas",
"Contact your administrator to register a device": "Obraťte se na správce pro registraci zařízení.",
"Could not obtain user settings": "Nelze získat uživatelské nastavení",
"Deny": "Zamítnout",
"Done": "Hotovo",
"Enter new password": "Zadejte nové heslo",
"Enter one-time password": "Zadejte jednorázové heslo",
"Failed to register device, the provided link is expired or has already been used": "Registrace zařízení se nezdařila, odkaz vypršel nebo byl již použit",
"Hi": "Hi",
"Incorrect username or password": "Nesprávné uživatelské jméno nebo heslo.",
"Loading": "Načítání",
"Login": "Přihlásit se",
"Logout": "Odhlásit se",
"Lost your device?": "Zapomněli jste své zařízení?",
"Methods": "Metody",
"Must be at least {{len}} characters in length": "Musí mít alespoň {{len}} znaků",
"Must have at least one UPPERCASE letter": "Musí mít alespoň jedno písmeno UPPERCASE",
"Must have at least one lowercase letter": "Musí mít alespoň jedno malé písmeno",
"Must have at least one number": "Musí mít alespoň jedno číslo",
"Must have at least one special character": "Musí mít alespoň jeden speciální znak",
"Must not be more than {{len}} characters in length": "Nesmí být delší než {{len}} znaků",
"Need Google Authenticator?": "Potřebujete Google Authenticator?",
"New password": "Nové heslo",
"No verification token provided": "Nebyl zadán ověřovací token",
"OTP Secret copied to clipboard": "OTP tajný klíč zkopírován do schránky.",
"OTP URL copied to clipboard": "OTP URL zkopírováno do schránky.",
"One-Time Password": "Jednorázové heslo",
"Password has been reset": "Heslo bylo obnoveno.",
"Password": "Heslo",
"Passwords do not match": "Hesla se neshodují.",
"Powered by": "Běží na",
"Push Notification": "Push oznámení",
"Register device": "Registrovat zařízení",
"Register your first device by clicking on the link below": "Zaregistrujte své první zařízení kliknutím na odkaz níže.",
"Remember Consent": "Zapamatovat souhlas",
"Remember me": "Zapamatovat si mě",
"Repeat new password": "Opakovat nové heslo",
"Reset password": "Obnovit heslo",
"Reset password?": "Obnovit heslo?",
"Reset": "Reset",
"Scan QR Code": "Scan QR Code",
"Secret": "Tajný klíč",
"Security Key - WebAuthN": "Bezpečnostní klíč - WebAuthN",
"Select a Device": "Vybrat zařízení",
"Sign in": "Přihlásit se",
"Sign out": "Odhlásit se",
"The above application is requesting the following permissions": "Výše uvedená aplikace požaduje následující oprávnění",
"The password does not meet the password policy": "Heslo nesplňuje zásady hesla",
"The resource you're attempting to access requires two-factor authentication": "Dokument, ke kterému se snažíte přistupovat, vyžaduje dvoufaktorové ověření.",
"There was a problem initiating the registration process": "Vyskytl se problém při zahájení procesu registrace",
"There was an issue completing the process. The verification token might have expired": "Vyskytl se problém při dokončování procesu. Ověřovací token možná vypršel.",
"There was an issue initiating the password reset process": "Při zahájení procesu obnovení hesla došlo k chybě.",
"There was an issue resetting the password": "Při obnovování hesla došlo k problému",
"There was an issue signing out": "Při odhlášení došlo k problému",
"This saves this consent as a pre-configured consent for future use": "Toto uloží tento souhlas jako přednastavený souhlas pro budoucí použití",
"Time-based One-Time Password": "Časově založené jednočasové heslo",
"Use OpenID to verify your identity": "Použijte OpenID k ověření Vaší identity",
"Username": "Uživatelské jméno",
"You must open the link from the same device and browser that initiated the registration process": "Musíte otevřít odkaz ze stejného zařízení a prohlížeče, který inicioval proces registrace",
"You're being signed out and redirected": "Probíhá odhlášení a přesměrování",
"Your supplied password does not meet the password policy requirements": "Zadané heslo nesplňuje požadavky zásad hesla."
}
Loading

0 comments on commit c756c7b

Please sign in to comment.