Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add Indonesian language option to all apps (#2348)
Leendert de Borsta7c5901d3bb0
diff --git a/apps/browser-extension/src/i18n/config.ts b/apps/browser-extension/src/i18n/config.tsindex e3fdbb1a1..e090a9de5 100644--- a/apps/browser-extension/src/i18n/config.ts+++ b/apps/browser-extension/src/i18n/config.ts@@ -14,6 +14,7 @@ import frTranslations from './locales/fr.json';import gaTranslations from './locales/ga.json';import heTranslations from './locales/he.json';import huTranslations from './locales/hu.json';+import idTranslations from './locales/id.json';import itTranslations from './locales/it.json';import nlTranslations from './locales/nl.json';import plTranslations from './locales/pl.json';@@ -56,6 +57,9 @@ export const LANGUAGE_RESOURCES = {hu: {translation: huTranslations},+ id: {+ translation: idTranslations+ },it: {translation: itTranslations},diff --git a/apps/browser-extension/src/utils/dist/core/models/defaults/index.js b/apps/browser-extension/src/utils/dist/core/models/defaults/index.jsindex 4d634b78f..26de9c8dd 100644--- a/apps/browser-extension/src/utils/dist/core/models/defaults/index.js+++ b/apps/browser-extension/src/utils/dist/core/models/defaults/index.js@@ -32,7 +32,8 @@ var LANGUAGES = [{ code: "ur", flag: "\u{1F1F5}\u{1F1F0}", label: "\u0627\u0631\u062F\u0648", alternativeCodes: ["ur-PK", "ur-IN"] },{ code: "fa", flag: "\u{1F1EE}\u{1F1F7}", label: "\u0641\u0627\u0631\u0633\u06CC", alternativeCodes: ["fa-IR", "fa-AF"] },{ code: "hu", flag: "\u{1F1ED}\u{1F1FA}", label: "Magyar", alternativeCodes: ["hu-HU"] },- { code: "ga", flag: "\u{1F1EE}\u{1F1EA}", label: "Gaeilge", alternativeCodes: ["ga-IE"] }+ { code: "ga", flag: "\u{1F1EE}\u{1F1EA}", label: "Gaeilge", alternativeCodes: ["ga-IE"] },+ { code: "id", flag: "\u{1F1EE}\u{1F1E9}", label: "Bahasa Indonesia", alternativeCodes: ["id-ID"] }];function normalizeLanguageCode(code) {return (code ?? "").slice(0, 2).toLowerCase();diff --git a/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml b/apps/mobile-app/android/app/src/main/res/xml/locales_config.xmlindex 0f97b173a..8cb714c41 100644--- a/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml+++ b/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml@@ -9,6 +9,7 @@<locale android:name="ga" /><locale android:name="he" /><locale android:name="hu" />+ <locale android:name="id" /><locale android:name="it" /><locale android:name="nl" /><locale android:name="pl" />diff --git a/apps/mobile-app/i18n/index.ts b/apps/mobile-app/i18n/index.tsindex 3de83b7b6..ee606e2e1 100644--- a/apps/mobile-app/i18n/index.ts+++ b/apps/mobile-app/i18n/index.ts@@ -11,6 +11,7 @@ import fr from './locales/fr.json';import ga from './locales/ga.json';import he from './locales/he.json';import hu from './locales/hu.json';+import id from './locales/id.json';import it from './locales/it.json';import nl from './locales/nl.json';import pl from './locales/pl.json';@@ -31,6 +32,7 @@ const resources = {ga: { translation: ga },he: { translation: he },hu: { translation: hu },+ id: { translation: id },nl: { translation: nl },it: { translation: it },pl: { translation: pl },diff --git a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxprojindex 4ec7962f2..f38ebfb13 100644--- a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj+++ b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj@@ -998,6 +998,7 @@bg,hu,ga,+ id,);mainGroup = 83CBB9F61A601CBA00E9B192;productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;diff --git a/apps/mobile-app/ios/AliasVault/Info.plist b/apps/mobile-app/ios/AliasVault/Info.plistindex 38852ad1b..6071cf6ad 100644--- a/apps/mobile-app/ios/AliasVault/Info.plist+++ b/apps/mobile-app/ios/AliasVault/Info.plist@@ -30,6 +30,7 @@<string>ga</string><string>he</string><string>hu</string>+ <string>id</string><string>it</string><string>nl</string><string>pl</string>diff --git a/apps/mobile-app/ios/Autofill/Info.plist b/apps/mobile-app/ios/Autofill/Info.plistindex 406afef25..897f38325 100644--- a/apps/mobile-app/ios/Autofill/Info.plist+++ b/apps/mobile-app/ios/Autofill/Info.plist@@ -13,6 +13,7 @@<string>ga</string><string>he</string><string>hu</string>+ <string>id</string><string>it</string><string>nl</string><string>pl</string>diff --git a/apps/mobile-app/utils/dist/core/models/defaults/index.js b/apps/mobile-app/utils/dist/core/models/defaults/index.jsindex 4d634b78f..26de9c8dd 100644--- a/apps/mobile-app/utils/dist/core/models/defaults/index.js+++ b/apps/mobile-app/utils/dist/core/models/defaults/index.js@@ -32,7 +32,8 @@ var LANGUAGES = [{ code: "ur", flag: "\u{1F1F5}\u{1F1F0}", label: "\u0627\u0631\u062F\u0648", alternativeCodes: ["ur-PK", "ur-IN"] },{ code: "fa", flag: "\u{1F1EE}\u{1F1F7}", label: "\u0641\u0627\u0631\u0633\u06CC", alternativeCodes: ["fa-IR", "fa-AF"] },{ code: "hu", flag: "\u{1F1ED}\u{1F1FA}", label: "Magyar", alternativeCodes: ["hu-HU"] },- { code: "ga", flag: "\u{1F1EE}\u{1F1EA}", label: "Gaeilge", alternativeCodes: ["ga-IE"] }+ { code: "ga", flag: "\u{1F1EE}\u{1F1EA}", label: "Gaeilge", alternativeCodes: ["ga-IE"] },+ { code: "id", flag: "\u{1F1EE}\u{1F1E9}", label: "Bahasa Indonesia", alternativeCodes: ["id-ID"] }];function normalizeLanguageCode(code) {return (code ?? "").slice(0, 2).toLowerCase();diff --git a/apps/server/AliasVault.Client/Main/Models/Languages.cs b/apps/server/AliasVault.Client/Main/Models/Languages.csindex ff056e2aa..98617242d 100644--- a/apps/server/AliasVault.Client/Main/Models/Languages.cs+++ b/apps/server/AliasVault.Client/Main/Models/Languages.cs@@ -44,6 +44,7 @@ public static class Languages("fa", "🇮🇷", "فارسی", ["fa-IR", "fa-AF"]),("hu", "🇭🇺", "Magyar", ["hu-HU"]),("ga", "🇮🇪", "Gaeilge", ["ga-IE"]),+ ("id", "🇮🇩", "Bahasa Indonesia", ["id-ID"]),];/// <summary>diff --git a/apps/server/AliasVault.Client/Services/LanguageService.cs b/apps/server/AliasVault.Client/Services/LanguageService.csindex 119e1d3ad..9767282ea 100644--- a/apps/server/AliasVault.Client/Services/LanguageService.cs+++ b/apps/server/AliasVault.Client/Services/LanguageService.cs@@ -30,7 +30,7 @@ public class LanguageService(/// </summary>private static readonly List<string> SupportedLanguageCodes = new(){- "da", "de", "en", "es", "fi", "fr", "ga", "he", "hu", "it", "nl", "pl", "pt", "ro", "ru", "sv", "uk", "zh",+ "da", "de", "en", "es", "fi", "fr", "ga", "he", "hu", "id", "it", "nl", "pl", "pt", "ro", "ru", "sv", "uk", "zh",};private readonly ILocalStorageService _localStorage = localStorage;diff --git a/apps/server/AliasVault.Client/wwwroot/css/tailwind.css b/apps/server/AliasVault.Client/wwwroot/css/tailwind.cssindex 9edd8efb6..e1a4a8076 100644--- a/apps/server/AliasVault.Client/wwwroot/css/tailwind.css+++ b/apps/server/AliasVault.Client/wwwroot/css/tailwind.css@@ -1804,6 +1804,11 @@ video {border-style: dashed;}+.border-amber-300 {+ --tw-border-opacity: 1;+ border-color: rgb(252 211 77 / var(--tw-border-opacity));+}+.border-amber-400 {--tw-border-opacity: 1;border-color: rgb(251 191 36 / var(--tw-border-opacity));@@ -3486,6 +3491,10 @@ video {background-color: rgb(120 53 15 / 0.2);}+.dark\:bg-amber-900\/30:is(.dark *) {+ background-color: rgb(120 53 15 / 0.3);+}+.dark\:bg-blue-400:is(.dark *) {--tw-bg-opacity: 1;background-color: rgb(96 165 250 / var(--tw-bg-opacity));diff --git a/core/models/src/defaults/Languages.ts b/core/models/src/defaults/Languages.tsindex eb9d2d095..bce0e4c8c 100644--- a/core/models/src/defaults/Languages.ts+++ b/core/models/src/defaults/Languages.ts@@ -45,6 +45,7 @@ export const LANGUAGES: ILanguageInfo[] = [{ code: 'fa', flag: '🇮🇷', label: 'فارسی', alternativeCodes: ['fa-IR', 'fa-AF'] },{ code: 'hu', flag: '🇭🇺', label: 'Magyar', alternativeCodes: ['hu-HU'] },{ code: 'ga', flag: '🇮🇪', label: 'Gaeilge', alternativeCodes: ['ga-IE'] },+ { code: 'id', flag: '🇮🇩', label: 'Bahasa Indonesia', alternativeCodes: ['id-ID'] },];/**diff --git a/crowdin.yml b/crowdin.ymlindex 5aebf7b5d..e29de4852 100644--- a/crowdin.yml+++ b/crowdin.yml@@ -36,6 +36,7 @@ languages:- ko- hu- ga+ - idbase_path: ./preserve_hierarchy: 1files:diff --git a/docs/docs/contributing/ui-translations.md b/docs/docs/contributing/ui-translations.mdindex 026e93125..075d01daa 100644--- a/docs/docs/contributing/ui-translations.md+++ b/docs/docs/contributing/ui-translations.md@@ -17,6 +17,7 @@ AliasVault is currently available in the following languages. See how complete e- 🇩🇪 German- 🇮🇱 Hebrew- 🇭🇺 Hungarian+- 🇮🇩 Indonesian- 🇮🇪 Irish- 🇮🇹 Italian- 🇵🇱 Polish