summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-23 20:32:10 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-24 16:17:43 -0700
commitf1200d47db78b036e8b7eef2c224c5878c1c3a01 (patch)
tree3a4c0ca3c444d1e7724c00c9a30c8bb91be49bad /Makefile
parente4752912dad7dcedfb5853e5773b2194980e07e1 (diff)
downloadqtlocation-mapboxgl-f1200d47db78b036e8b7eef2c224c5878c1c3a01.tar.gz
[ios, osx] Made localizable strings unique; unlocalized iosapp
Assigned unique IDs to localizable English strings in code. Made iosapp non-localizable. For the time being, it isn’t worth the trouble to localize more strings for this demo application than for the SDK itself.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 81dc14e6d6..96598011a9 100644
--- a/Makefile
+++ b/Makefile
@@ -125,11 +125,10 @@ ifabric: $(IOS_PROJ_PATH)
idocument:
OUTPUT=$(OUTPUT) ./platform/ios/scripts/document.sh
-igenstrings:
- genstrings -u -o platform/ios/app/Base.lproj platform/ios/app/*.{m,mm}
+ilocalize:
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/{darwin,ios}/ -path '*/Base.lproj/*.strings' -exec \
+ -find platform/ios/ -path '*/Base.lproj/*.strings' -exec \
textutil -convert txt -extension strings -inputencoding UTF-16 -encoding UTF-8 {} \;
#### Android targets #####################################################