From 3ea107be5a726db1b4db43847ad7c33fa8146644 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 24 Feb 2023 12:50:56 -0600 Subject: [PATCH] chore Add Norweigain localization setup (#1859) * chore(localization): Add Norwegian localization setup * chore(localization): Add Norwegian localization setup --- localizely.yml | 2 + mobile/ios/Runner/Info.plist | 219 +++++++++++++++--------------- mobile/lib/constants/locales.dart | 1 + 3 files changed, 113 insertions(+), 109 deletions(-) diff --git a/localizely.yml b/localizely.yml index 692a0ffbf3..a5949c468b 100644 --- a/localizely.yml +++ b/localizely.yml @@ -44,3 +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 diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist index 797edde9c5..6439b8cd44 100644 --- a/mobile/ios/Runner/Info.plist +++ b/mobile/ios/Runner/Info.plist @@ -1,112 +1,113 @@ - - BGTaskSchedulerPermittedIdentifiers - - app.alextran.immich.backgroundFetch - app.alextran.immich.backgroundProcessing - - CADisableMinimumFrameDurationOnPhone - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Immich - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLocalizations - - cs - da - de - en - es - fi - fr - it - ja - ko - nl - pl - pt - ru - se - sk - zh - - CFBundleName - immich_mobile - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.49.0 - CFBundleSignature - ???? - CFBundleVersion - 87 - FLTEnableImpeller - - ITSAppUsesNonExemptEncryption - - LSApplicationQueriesSchemes - - https - - LSRequiresIPhoneOS - - MGLMapboxMetricsEnabledSettingShownInApp - - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - - NSCameraUsageDescription - We need to access the camera to let you take beautiful video using this app - NSLocationAlwaysUsageDescription - Enable location setting to show position of assets on map - NSLocationWhenInUseUsageDescription - Enable location setting to show position of assets on map - NSMicrophoneUsageDescription - We need to access the microphone to let you take beautiful video using this app - NSPhotoLibraryAddUsageDescription - We need to manage backup your photos album - NSPhotoLibraryUsageDescription - We need to manage backup your photos album - UIApplicationSupportsIndirectInputEvents - - UIBackgroundModes - - fetch - processing - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIStatusBarHidden - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - io.flutter.embedded_views_preview - - - + + BGTaskSchedulerPermittedIdentifiers + + app.alextran.immich.backgroundFetch + app.alextran.immich.backgroundProcessing + + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Immich + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleLocalizations + + cs + da + de + en + es + fi + fr + it + ja + ko + nl + pl + pt + ru + se + sk + zh + no + + CFBundleName + immich_mobile + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.49.0 + CFBundleSignature + ???? + CFBundleVersion + 87 + FLTEnableImpeller + + ITSAppUsesNonExemptEncryption + + LSApplicationQueriesSchemes + + https + + LSRequiresIPhoneOS + + MGLMapboxMetricsEnabledSettingShownInApp + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + NSCameraUsageDescription + We need to access the camera to let you take beautiful video using this app + NSLocationAlwaysUsageDescription + Enable location setting to show position of assets on map + NSLocationWhenInUseUsageDescription + Enable location setting to show position of assets on map + NSMicrophoneUsageDescription + We need to access the microphone to let you take beautiful video using this app + NSPhotoLibraryAddUsageDescription + We need to manage backup your photos album + NSPhotoLibraryUsageDescription + We need to manage backup your photos album + UIApplicationSupportsIndirectInputEvents + + UIBackgroundModes + + fetch + processing + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + io.flutter.embedded_views_preview + + + \ No newline at end of file diff --git a/mobile/lib/constants/locales.dart b/mobile/lib/constants/locales.dart index fb89e0d674..9a2f5d81a5 100644 --- a/mobile/lib/constants/locales.dart +++ b/mobile/lib/constants/locales.dart @@ -20,6 +20,7 @@ const List locales = [ Locale('sv', 'SE'), Locale('sk', 'SK'), Locale('zh', 'CN'), + Locale('no', 'NO'), ]; const String translationsPath = 'assets/i18n';