Fix localization issues
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user