summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-23 11:36:46 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-24 16:13:54 -0700
commite4752912dad7dcedfb5853e5773b2194980e07e1 (patch)
tree5a7d3eb58c12fb0b2d67e8a8f2e05eb4f72399f9 /Makefile
parent6c9ca4be50e74a260d9cc2bc731fe56d85c353d2 (diff)
downloadqtlocation-mapboxgl-e4752912dad7dcedfb5853e5773b2194980e07e1.tar.gz
[ios, osx] Corrected clock, coordinate formats
Long unit style isn’t intended to be spelled out, so the clock and coordinate direction formatters now use numerals for long unit style, differing from medium unit style in less drastic ways. The locale no longer needs to be exposed, since it’ll always match the overall string’s locale. Added support to the coordinate formatter for different unit styles. Made minutes and seconds of arc optional. Maintain strings for darwin/ formatter classes in a separate Foundation strings table that can be shared between the iOS and OS X SDKs. Added an English .stringsdict override that correctly pluralizes units. Capitalize osxapp window titles, now that they spell out the directions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35dcf7956e..81dc14e6d6 100644
--- a/Makefile
+++ b/Makefile
@@ -127,8 +127,9 @@ idocument:
igenstrings:
genstrings -u -o platform/ios/app/Base.lproj platform/ios/app/*.{m,mm}
+ genstrings -u -o platform/ios/resources/Base.lproj platform/darwin/src/*.{m,mm}
genstrings -u -o platform/ios/resources/Base.lproj platform/ios/src/*.{m,mm}
- -find platform/ios/ -path '*/Base.lproj/Localizable.strings' -exec \
+ -find platform/{darwin,ios}/ -path '*/Base.lproj/*.strings' -exec \
textutil -convert txt -extension strings -inputencoding UTF-16 -encoding UTF-8 {} \;
#### Android targets #####################################################