💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web] Support Greek translations
Manav Rathi5f1d4afa7dcf
diff --git a/desktop/CHANGELOG.md b/desktop/CHANGELOG.mdindex ace6c4b61a..33cac307d3 100644--- a/desktop/CHANGELOG.md+++ b/desktop/CHANGELOG.md@@ -2,6 +2,7 @@## v1.7.16 (unreleased)+- Support Greek translations.- .## v1.7.15diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsxindex 5cba656cb0..2ae9ac8127 100644--- a/web/apps/photos/src/components/Sidebar.tsx+++ b/web/apps/photos/src/components/Sidebar.tsx@@ -974,6 +974,8 @@ const localeName = (locale: SupportedLocale) => {return "Türkçe";case "cs-CZ":return "čeština";+ case "el-GR":+ return "Ελληνικά";}};diff --git a/web/packages/base/i18n.ts b/web/packages/base/i18n.tsindex f5ba2dd1b3..b6b2017c43 100644--- a/web/packages/base/i18n.ts+++ b/web/packages/base/i18n.ts@@ -37,6 +37,7 @@ export const supportedLocales = ["ar-SA" /* Arabic */,"tr-TR" /* Turkish */,"cs-CZ" /* Czech */,+ "el-GR" /* Greek */,] as const;/** The type of {@link supportedLocales}. */@@ -204,6 +205,8 @@ const closestSupportedLocale = (return "tr-TR";} else if (ls.startsWith("cs")) {return "cs-CZ";+ } else if (ls.startsWith("el")) {+ return "el-GR";}}