From d57a6222c44d94bba9bebbbe9f8d85b4fa7042b5 Mon Sep 17 00:00:00 2001 From: leeronr Date: Mon, 11 May 2020 12:38:58 +0300 Subject: [PATCH] iOS permission-prompt i18n --- ios/am-ET.lproj/InfoPlist.strings | 14 ++++++++ ios/ar.lproj/InfoPlist.strings | 14 ++++++++ .../project.pbxproj | 35 +++++++++++++++++++ ios/de.lproj/InfoPlist.strings | 15 ++++++++ ios/en.lproj/InfoPlist.strings | 15 ++++++++ ios/es.lproj/InfoPlist.strings | 14 ++++++++ ios/fr.lproj/InfoPlist.strings | 14 ++++++++ ios/he.lproj/InfoPlist.strings | 15 ++++++++ ios/ru.lproj/InfoPlist.strings | 14 ++++++++ 9 files changed, 150 insertions(+) create mode 100644 ios/am-ET.lproj/InfoPlist.strings create mode 100644 ios/ar.lproj/InfoPlist.strings create mode 100644 ios/de.lproj/InfoPlist.strings create mode 100644 ios/en.lproj/InfoPlist.strings create mode 100644 ios/es.lproj/InfoPlist.strings create mode 100644 ios/fr.lproj/InfoPlist.strings create mode 100644 ios/he.lproj/InfoPlist.strings create mode 100644 ios/ru.lproj/InfoPlist.strings diff --git a/ios/am-ET.lproj/InfoPlist.strings b/ios/am-ET.lproj/InfoPlist.strings new file mode 100644 index 00000000..9b3c02e3 --- /dev/null +++ b/ios/am-ET.lproj/InfoPlist.strings @@ -0,0 +1,14 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "መንገዶችዎን ከተረጋገጡ የ COVID-19 በሽተኞች ጋር ለማነፃፀር የአካባቢ ውሂብ ያስፈልጋል"; + +NSLocationAlwaysUsageDescription = "መንገዶችዎን ከተረጋገጡ የ COVID-19 በሽተኞች ጋር ለማነፃፀር የአካባቢ ውሂብ ያስፈልጋል"; + +NSLocationWhenInUseUsageDescription = "መንገዶችዎን ከተረጋገጡ የ COVID-19 በሽተኞች ጋር ለማነፃፀር የአካባቢ ውሂብ ያስፈልጋል"; + +NSMotionUsageDescription = "መንገዶችዎን ከተረጋገጡ የ COVID-19 ህመምተኞች ጋር ለማነፃፀር ውሂብ ያስፈልጋል"; diff --git a/ios/ar.lproj/InfoPlist.strings b/ios/ar.lproj/InfoPlist.strings new file mode 100644 index 00000000..53c4c126 --- /dev/null +++ b/ios/ar.lproj/InfoPlist.strings @@ -0,0 +1,14 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "بيانات الموقع مطلوبة لمقارنة مساراتك مع تلك الخاصة بمرضى COVID-19 المؤكدين"; + +NSLocationAlwaysUsageDescription = "بيانات الموقع مطلوبة لمقارنة مساراتك مع تلك الخاصة بمرضى COVID-19 المؤكدين"; + +NSLocationWhenInUseUsageDescription = "بيانات الموقع مطلوبة لمقارنة مساراتك مع تلك الخاصة بمرضى COVID-19 المؤكدين"; + +NSMotionUsageDescription = "بيانات الحركة مطلوبة لمقارنة مساراتك مع تلك الخاصة بمرضى COVID-19 المؤكدين"; diff --git a/ios/codeAgainstCorona.xcodeproj/project.pbxproj b/ios/codeAgainstCorona.xcodeproj/project.pbxproj index 7ec279ef..06880524 100644 --- a/ios/codeAgainstCorona.xcodeproj/project.pbxproj +++ b/ios/codeAgainstCorona.xcodeproj/project.pbxproj @@ -32,6 +32,8 @@ D52A57DC2420405900521B22 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D52A57DB2420405800521B22 /* GoogleService-Info.plist */; }; D5CC7DD824236B25007E3977 /* RNBackgroundFetch+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D5CC7DD724236B25007E3977 /* RNBackgroundFetch+AppDelegate.m */; }; D5CC7DD924236B25007E3977 /* RNBackgroundFetch+AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D5CC7DD724236B25007E3977 /* RNBackgroundFetch+AppDelegate.m */; }; + E993C31824694A9500FBA585 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E993C31B24694A9500FBA585 /* InfoPlist.strings */; }; + E993C31924694A9500FBA585 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E993C31B24694A9500FBA585 /* InfoPlist.strings */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -85,6 +87,14 @@ D5CC7DC924235864007E3977 /* TSBackgroundFetch.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TSBackgroundFetch.framework; path = Pods/TSBackgroundFetch/ios/TSBackgroundFetch/TSBackgroundFetch.framework; sourceTree = ""; }; D5CC7DD724236B25007E3977 /* RNBackgroundFetch+AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "RNBackgroundFetch+AppDelegate.m"; path = "../node_modules/react-native-background-fetch/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m"; sourceTree = ""; }; D63C3A392EF9FA65DE3BC9DD /* libPods-hamagen-qa.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-hamagen-qa.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + E993C31A24694A9500FBA585 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C31C24694AAC00FBA585 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C32124694AD200FBA585 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C32224694B2500FBA585 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C32324694B2B00FBA585 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C32424694B6600FBA585 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/InfoPlist.strings; sourceTree = ""; }; + E993C32524694B7B00FBA585 /* am-ET */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "am-ET"; path = "am-ET.lproj/InfoPlist.strings"; sourceTree = ""; }; + E993C32624694B8B00FBA585 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/InfoPlist.strings; sourceTree = ""; }; EAB71A48ABBFB468FB6DA26E /* Pods-codeAgainstCoronaTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-codeAgainstCoronaTests.debug.xcconfig"; path = "Target Support Files/Pods-codeAgainstCoronaTests/Pods-codeAgainstCoronaTests.debug.xcconfig"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; @@ -126,6 +136,7 @@ 13B07FB71A68108700A75B9A /* main.m */, D52A57B9241E4EF500521B22 /* Fix.swift */, D52A57B8241E4EF500521B22 /* codeAgainstCorona-Bridging-Header.h */, + E993C31B24694A9500FBA585 /* InfoPlist.strings */, ); name = codeAgainstCorona; sourceTree = ""; @@ -315,6 +326,13 @@ English, en, Base, + fr, + de, + es, + ru, + he, + "am-ET", + ar, ); mainGroup = 83CBB9F61A601CBA00E9B192; productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; @@ -349,6 +367,7 @@ buildActionMask = 2147483647; files = ( D52A57B4241E29B800521B22 /* SimplerPro_V3-Regular.otf in Resources */, + E993C31824694A9500FBA585 /* InfoPlist.strings in Resources */, D52A57B6241E29B800521B22 /* SimplerPro_V3-Black.otf in Resources */, D52A57BB241FE12000521B22 /* Images.xcassets in Resources */, D52A57B7241E29B800521B22 /* SimplerPro_V3-Bold.otf in Resources */, @@ -369,6 +388,7 @@ D52A57CE24203FBB00521B22 /* LaunchScreen.xib in Resources */, D52A57D024203FBB00521B22 /* SimplerPro_V3-Light.otf in Resources */, D52A57DA2420404900521B22 /* GoogleService-Info.plist in Resources */, + E993C31924694A9500FBA585 /* InfoPlist.strings in Resources */, D52A57D82420403100521B22 /* Info-qa.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -559,6 +579,21 @@ path = codeAgainstCorona; sourceTree = ""; }; + E993C31B24694A9500FBA585 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + E993C31A24694A9500FBA585 /* en */, + E993C31C24694AAC00FBA585 /* fr */, + E993C32124694AD200FBA585 /* de */, + E993C32224694B2500FBA585 /* es */, + E993C32324694B2B00FBA585 /* ru */, + E993C32424694B6600FBA585 /* he */, + E993C32524694B7B00FBA585 /* am-ET */, + E993C32624694B8B00FBA585 /* ar */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ diff --git a/ios/de.lproj/InfoPlist.strings b/ios/de.lproj/InfoPlist.strings new file mode 100644 index 00000000..3be4f7d9 --- /dev/null +++ b/ios/de.lproj/InfoPlist.strings @@ -0,0 +1,15 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "Standortdaten, die erforderlich sind, um Ihre Routen mit denen bestätigter COVID-19-Patienten zu vergleichen"; + +NSLocationAlwaysUsageDescription = "Standortdaten, die erforderlich sind, um Ihre Routen mit denen bestätigter COVID-19-Patienten zu vergleichen"; + +NSLocationWhenInUseUsageDescription = "Standortdaten, die erforderlich sind, um Ihre Routen mit denen bestätigter COVID-19-Patienten zu vergleichen"; + +NSMotionUsageDescription = "Bewegungsdaten, die erforderlich sind, um Ihre Routen mit denen bestätigter COVID-19-Patienten zu vergleichen"; + diff --git a/ios/en.lproj/InfoPlist.strings b/ios/en.lproj/InfoPlist.strings new file mode 100644 index 00000000..287a3988 --- /dev/null +++ b/ios/en.lproj/InfoPlist.strings @@ -0,0 +1,15 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "Location data required to cross-reference your routes with those of confirmed COVID-19 patients"; + +NSLocationAlwaysUsageDescription = "Location required to cross-reference your routes with those of confirmed COVID-19 patients"; + +NSLocationWhenInUseUsageDescription = "Location required to cross-reference your routes with those of confirmed COVID-19 patients"; + +NSMotionUsageDescription = "Motion data required to cross-reference your routes with those of confirmed COVID-19 patients"; + diff --git a/ios/es.lproj/InfoPlist.strings b/ios/es.lproj/InfoPlist.strings new file mode 100644 index 00000000..adf8c0c8 --- /dev/null +++ b/ios/es.lproj/InfoPlist.strings @@ -0,0 +1,14 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "Datos de ubicación necesarios para comparar sus rutas con las de pacientes confirmados con COVID-19"; + +NSLocationAlwaysUsageDescription = "Datos de ubicación necesarios para comparar sus rutas con las de pacientes confirmados con COVID-19"; + +NSLocationWhenInUseUsageDescription = "Datos de ubicación necesarios para comparar sus rutas con las de pacientes confirmados con COVID-19"; + +NSMotionUsageDescription = "Datos de movimiento necesarios para comparar sus rutas con las de pacientes confirmados con COVID-19"; diff --git a/ios/fr.lproj/InfoPlist.strings b/ios/fr.lproj/InfoPlist.strings new file mode 100644 index 00000000..328f1ed9 --- /dev/null +++ b/ios/fr.lproj/InfoPlist.strings @@ -0,0 +1,14 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "Données de localisation nécessaires pour comparer vos itinéraires avec ceux des patients confirmés COVID-19"; + +NSLocationAlwaysUsageDescription = "Données de localisation nécessaires pour comparer vos itinéraires avec ceux des patients confirmés COVID-19"; + +NSLocationWhenInUseUsageDescription = "Données de localisation nécessaires pour comparer vos itinéraires avec ceux des patients confirmés COVID-19"; + +NSMotionUsageDescription = "Données de mouvement nécessaires pour comparer vos itinéraires avec ceux des patients confirmés COVID-19"; diff --git a/ios/he.lproj/InfoPlist.strings b/ios/he.lproj/InfoPlist.strings new file mode 100644 index 00000000..5a5c74e1 --- /dev/null +++ b/ios/he.lproj/InfoPlist.strings @@ -0,0 +1,15 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "יש לאפשר גישה למיקום על מנת להשוות את נתיבך אל מול נתיבי חולי קורונה מאומתים"; + +NSLocationAlwaysUsageDescription = "יש לאפשר גישה למיקום על מנת להשוות את נתיבך אל מול נתיבי חולי קורונה מאומתים"; + +NSLocationWhenInUseUsageDescription = "יש לאפשר גישה למיקום על מנת להשוות את נתיבך אל מול נתיבי חולי קורונה מאומתים"; + +NSMotionUsageDescription = "יש לאפשר גישה לחיישני תנועה על מנת להשוות את נתיבך אל מול נתיבי חולי קורונה מאומתים"; + diff --git a/ios/ru.lproj/InfoPlist.strings b/ios/ru.lproj/InfoPlist.strings new file mode 100644 index 00000000..e0aeecdf --- /dev/null +++ b/ios/ru.lproj/InfoPlist.strings @@ -0,0 +1,14 @@ +/* + InfoPlist.strings + codeAgainstCorona + + Created by Leeron Rabinov on 08/05/2020. +*/ + +NSLocationAlwaysAndWhenInUseUsageDescription = "Данные о местоположении, необходимые для сравнения ваших маршрутов с данными подтвержденных пациентов с COVID-19"; + +NSLocationAlwaysUsageDescription = "Данные о местоположении, необходимые для сравнения ваших маршрутов с данными подтвержденных пациентов с COVID-19"; + +NSLocationWhenInUseUsageDescription = "Данные о местоположении, необходимые для сравнения ваших маршрутов с данными подтвержденных пациентов с COVID-19"; + +NSMotionUsageDescription = "Данные о движении, необходимые для сравнения ваших маршрутов с данными подтвержденных пациентов с COVID-19";