Update Norwegian locale to ICU standard (#2195)

* Update Norwegian locale to ICU standard

Don't know if this is the only place this should be edited.
But the Norwegian locale is not working on the Android app (still in English), And it seems like it should be 'nb-NO' and not 'no-NO'.

https://www.localeplanet.com/icu/nb-NO/index.html

* fix norweigian locale in other places

* fix norweigian locale in other places

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Vegard Fladby 2023-04-06 21:00:24 +02:00 committed by GitHub
parent 0979906933
commit e3b043e0e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -44,5 +44,5 @@ download:
locale_code: ru-RU
- file: mobile/assets/i18n/cs-CZ.json
locale_code: cs-CZ
- file: mobile/assets/i18n/no-NO.json
locale_code: no-NO
- file: mobile/assets/i18n/nb-NO.json
locale_code: nb-NO

View file

@ -38,7 +38,7 @@
<string>se</string>
<string>sk</string>
<string>zh</string>
<string>no</string>
<string>nb</string>
</array>
<key>CFBundleName</key>
<string>immich_mobile</string>

View file

@ -20,7 +20,7 @@ const List<Locale> locales = [
Locale('sv', 'SE'),
Locale('sk', 'SK'),
Locale('zh', 'CN'),
Locale('no', 'NO'),
Locale('nb', 'NO'),
];
const String translationsPath = 'assets/i18n';