From 8de7a75f027944f997a7f268ea5e8af77a834999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sun, 24 Apr 2016 17:39:17 -0700 Subject: [PATCH] [ios] Use base localization for Settings.bundle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also converted the bundle’s strings file from UTF-16 encoding to UTF-8 encoding for better diffability. --- .../Settings.bundle/Base.lproj/Root.strings | 3 +++ platform/ios/framework/Settings.bundle/Root.plist | 6 +++--- .../Settings.bundle/en.lproj/Root.strings | Bin 552 -> 0 bytes 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 platform/ios/framework/Settings.bundle/Base.lproj/Root.strings delete mode 100644 platform/ios/framework/Settings.bundle/en.lproj/Root.strings diff --git a/platform/ios/framework/Settings.bundle/Base.lproj/Root.strings b/platform/ios/framework/Settings.bundle/Base.lproj/Root.strings new file mode 100644 index 000000000..1945fe114 --- /dev/null +++ b/platform/ios/framework/Settings.bundle/Base.lproj/Root.strings @@ -0,0 +1,3 @@ +"TELEMETRY_GROUP_TITLE" = "Privacy Settings"; +"TELEMETRY_SWITCH_TITLE" = "Mapbox Telemetry"; +"TELEMETRY_GROUP_FOOTER" = "This setting allows the application to share anonymized location and usage data with Mapbox."; diff --git a/platform/ios/framework/Settings.bundle/Root.plist b/platform/ios/framework/Settings.bundle/Root.plist index 889610e15..fba2065a8 100644 --- a/platform/ios/framework/Settings.bundle/Root.plist +++ b/platform/ios/framework/Settings.bundle/Root.plist @@ -6,11 +6,11 @@ Title - Privacy Settings + TELEMETRY_GROUP_TITLE Type PSGroupSpecifier FooterText - This setting allows the application to share anonymized location and usage data with Mapbox. + TELEMETRY_GROUP_FOOTER DefaultValue @@ -18,7 +18,7 @@ Key MGLMapboxMetricsEnabled Title - Mapbox Telemetry + TELEMETRY_SWITCH_TITLE Type PSToggleSwitchSpecifier TrueValue diff --git a/platform/ios/framework/Settings.bundle/en.lproj/Root.strings b/platform/ios/framework/Settings.bundle/en.lproj/Root.strings deleted file mode 100644 index e7658d692de7092b3975c39085619254f464fa6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 552 zcmdUsQ3}E^5JczOQ-mJC3y4P$1bcyKiw(3*X{)s!UVVvz=1YHN2`rP@nVsZ*%d}N5 zr?adMnq{<8sgZJOb=05?Y|Z(FxzYmO2CYted0m*x(W^O4)a~(jD}HA_6?0YWGoUsk z+Zmi{%4>?ZBfJt;@bADKnQYABNn_}I)TluF7qbOx*{Xqk1uI|##dOlb2{$KvEbkIr Wil}YrCT4@TNwP0LlKyXk@B