Fix localization issues

This commit is contained in:
tyiu committed 2023-02-19 13:17:53 -05:00
1 parent 795577a0a1
commit 1b27e9041f
38 files changed
+140 -27721

No files matched your search

+5 -1
View File
@@ -1,3 +1,7 @@
#!/bin/zsh
xcodebuild -exportLocalizations -project damus.xcodeproj -localizationPath "translations" -exportLanguage en-US
# Generates all en-US source localized strings EXCEPT for SwiftUI Text wrapped strings.
xcodebuild -exportLocalizations -project damus.xcodeproj -localizationPath "damus" -exportLanguage en-US
# Generates all SwiftUI Text() wrapped localized strings.
genstrings -o "damus/en-US.xcloc/Source Contents/damus/en-US.lproj/" -SwiftUI **/*.swift
+2
View File
@@ -1,5 +1,7 @@
#!/bin/zsh
# Soon to be deprecated. Translation process of using localized .xliff files will be replaced with Transifex directly updating localized .strings and .stringsdict files.
if [ -z "$*" ]; then
echo "Usage: ./devtools/import-translation.sh <locale_code_in_snake_case>"
return