Skip to content

Commit 9c37d43

Browse files
committed
rm cleanup-mode from Scripts/manual_update_to_lokalise
1 parent f7e650e commit 9c37d43

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Scripts/manual_upload_to_lokalise.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,17 @@ foreach lang in $LANGUAGES
3737
# modify the hyphen to underscore to support lokalise lang-iso expectation
3838
lang_iso=$(sed "s/zh-Hans/zh_Hans/g; s/pt-BR/pt_BR/g" <<<"$lang")
3939

40+
# flags to consider (neither in use by default)
41+
# cleanup-mode (was default) - this deleted any keys in localise not in clone
42+
# remove this because we have 3 repos that are work in progress
43+
# replace-modified (was not there) - given that we may have input from crowdin,
44+
# we may need to use this to update to lokalise, but not sure how to handle this
4045
lokalise2 \
4146
--token $LOKALISE_TOKEN \
4247
--convert-placeholders=false \
4348
--project-id 414338966417c70d7055e2.75119857 \
4449
file upload \
4550
--file ${lang}.xliff \
46-
--cleanup-mode \
4751
--lang-iso ${lang_iso}
4852
end
4953

0 commit comments

Comments
 (0)