diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-24 17:39:17 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-24 17:39:17 -0700 |
commit | 8de7a75f027944f997a7f268ea5e8af77a834999 (patch) | |
tree | 80b8b1da463d54f5830fe59a0d2ce5b3a7183adb /platform/ios/framework | |
parent | 540bbc537ea25aaa4723eedc4549e0b76c503567 (diff) | |
download | qtlocation-mapboxgl-8de7a75f027944f997a7f268ea5e8af77a834999.tar.gz |
[ios] Use base localization for Settings.bundle
Also converted the bundle’s strings file from UTF-16 encoding to UTF-8 encoding for better diffability.
Diffstat (limited to 'platform/ios/framework')
-rw-r--r-- | platform/ios/framework/Settings.bundle/Base.lproj/Root.strings | 3 | ||||
-rw-r--r-- | platform/ios/framework/Settings.bundle/Root.plist | 6 | ||||
-rw-r--r-- | platform/ios/framework/Settings.bundle/en.lproj/Root.strings | bin | 552 -> 0 bytes |
3 files changed, 6 insertions, 3 deletions
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 0000000000..1945fe1141 --- /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 889610e152..fba2065a8f 100644 --- a/platform/ios/framework/Settings.bundle/Root.plist +++ b/platform/ios/framework/Settings.bundle/Root.plist @@ -6,11 +6,11 @@ <array> <dict> <key>Title</key> - <string>Privacy Settings</string> + <string>TELEMETRY_GROUP_TITLE</string> <key>Type</key> <string>PSGroupSpecifier</string> <key>FooterText</key> - <string>This setting allows the application to share anonymized location and usage data with Mapbox.</string> + <string>TELEMETRY_GROUP_FOOTER</string> </dict> <dict> <key>DefaultValue</key> @@ -18,7 +18,7 @@ <key>Key</key> <string>MGLMapboxMetricsEnabled</string> <key>Title</key> - <string>Mapbox Telemetry</string> + <string>TELEMETRY_SWITCH_TITLE</string> <key>Type</key> <string>PSToggleSwitchSpecifier</string> <key>TrueValue</key> diff --git a/platform/ios/framework/Settings.bundle/en.lproj/Root.strings b/platform/ios/framework/Settings.bundle/en.lproj/Root.strings Binary files differdeleted file mode 100644 index e7658d692d..0000000000 --- a/platform/ios/framework/Settings.bundle/en.lproj/Root.strings +++ /dev/null |