Skip to content

Commit ada387f

Browse files
committed
fix(SwiftNextcloudUI): Correctly map de_DE to de version again
Signed-off-by: Joas Schilling <[email protected]>
1 parent 76a277f commit ada387f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

translations/handleSwiftNextcloudUITranslations.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ tx push -s
2020
# pull translations
2121
tx pull -f -a
2222

23+
# Use de_DE instead of de
24+
# 1. Remove informal german keys
25+
# 2. Replace formal german with informal german key
26+
# 3. Save again
27+
cat Sources/SwiftNextcloudUI/Localizable.xcstrings | jq '. | del(.strings .[] .localizations .de)' | sed 's/"de_DE": {/"de": {/' > Sources/SwiftNextcloudUI/Localizable.xcstrings
28+
2329
# create git commit and push it
2430
git add .
2531
git commit -am "fix(l10n): Update translations from Transifex" -s || true

0 commit comments

Comments
 (0)