diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-04-26 16:38:12 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-26 16:47:04 -0700 |
commit | 51cd97861cd8ad90eee4e25c0bce243c1c963474 (patch) | |
tree | 412242c07e41574c3ee23468dc28835d98911a98 /platform/ios/resources | |
parent | d5970f2ef31f35cab3b2e078ab8962b5d356471e (diff) | |
download | qtlocation-mapboxgl-51cd97861cd8ad90eee4e25c0bce243c1c963474.tar.gz |
[ios] Announce zoom level, visible annotations after zooming
Announce the zoom level and number of visible annotations after zooming using VoiceOver’s swipe up or swipe down gesture.
Works toward #4821.
Diffstat (limited to 'platform/ios/resources')
-rw-r--r-- | platform/ios/resources/Base.lproj/Localizable.strings | 3 | ||||
-rw-r--r-- | platform/ios/resources/Base.lproj/Localizable.stringsdict | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/platform/ios/resources/Base.lproj/Localizable.strings b/platform/ios/resources/Base.lproj/Localizable.strings index 35efb812d9..c4569fe239 100644 --- a/platform/ios/resources/Base.lproj/Localizable.strings +++ b/platform/ios/resources/Base.lproj/Localizable.strings @@ -43,6 +43,9 @@ /* Accessibility label */ "MAP_A11Y_LABEL" = "Map"; +/* Map accessibility value */ +"MAP_A11Y_VALUE" = "Zoom %1$dx\n%2$ld annotation(s) visible"; + /* Action in attribution sheet */ "MAP_FEEDBACK" = "Improve This Map"; diff --git a/platform/ios/resources/Base.lproj/Localizable.stringsdict b/platform/ios/resources/Base.lproj/Localizable.stringsdict new file mode 100644 index 0000000000..68204839f9 --- /dev/null +++ b/platform/ios/resources/Base.lproj/Localizable.stringsdict @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>MAP_A11Y_VALUE</key> + <dict> + <key>NSStringLocalizedFormatKey</key> + <string>%#@count@</string> + <key>count</key> + <dict> + <key>NSStringFormatSpecTypeKey</key> + <string>NSStringPluralRuleType</string> + <key>NSStringFormatValueTypeKey</key> + <string>ld</string> + <key>zero</key> + <string>Zoom %dx +no annotations visible</string> + <key>one</key> + <string>Zoom %dx +%d annotation visible</string> + <key>other</key> + <string>Zoom %dx +%d annotations visible</string> + </dict> + </dict> +</dict> +</plist> |