Skip to content

Commit 794c242

Browse files
committed
Fix zh_Hans local id
1 parent d97b137 commit 794c242

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

LoopKit

Submodule LoopKit updated 65 files

LoopWorkspace.xcworkspace/xcshareddata/xcschemes/LoopWorkspace.xcscheme

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,6 @@
146146
ReferencedContainer = "container:rileylink_ios/RileyLink.xcodeproj">
147147
</BuildableReference>
148148
</BuildActionEntry>
149-
<BuildActionEntry
150-
buildForTesting = "YES"
151-
buildForRunning = "YES"
152-
buildForProfiling = "YES"
153-
buildForArchiving = "YES"
154-
buildForAnalyzing = "YES">
155-
<BuildableReference
156-
BuildableIdentifier = "primary"
157-
BlueprintIdentifier = "C1B3830A1CD0665D00CE7782"
158-
BuildableName = "NightscoutUploadKit.framework"
159-
BlueprintName = "NightscoutUploadKit"
160-
ReferencedContainer = "container:rileylink_ios/RileyLink.xcodeproj">
161-
</BuildableReference>
162-
</BuildActionEntry>
163149
<BuildActionEntry
164150
buildForTesting = "YES"
165151
buildForRunning = "YES"

Scripts/export_localizations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LANGUAGES=(ar es ru en zh-Hans nl fr de it nb pl ru es ja pt-BR vi da sv fi ro t
1010
argstring="${LANGUAGES[@]/#/-exportLanguage }"
1111
IFS=" "; args=( $=argstring )
1212

13-
xcodebuild -exportLocalizations -localizationPath xclocs $args
13+
xcodebuild -scheme LoopWorkspace -exportLocalizations -localizationPath xclocs $args
1414

1515
mkdir -p xliff
1616
find xclocs -name '*.xliff' -exec cp {} xliff \;
@@ -19,7 +19,7 @@ cd xliff
1919

2020
foreach lang in $LANGUAGES
2121

22-
lang_iso=$(sed "s/zh-Hans/zh_Hans_CN/g; s/pt-BR/pt_BR/g" <<<"$lang")
22+
lang_iso=$(sed "s/zh-Hans/zh_Hans/g; s/pt-BR/pt_BR/g" <<<"$lang")
2323

2424
lokalise2 \
2525
--token $LOKALISE_TOKEN \

0 commit comments

Comments
 (0)