mirror of
git://jb55.com/damus
synced 2024-10-06 11:43:21 +00:00
8 lines
359 B
Bash
Executable File
8 lines
359 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
# 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 -a -d -o "damus/en-US.xcloc/Source Contents/damus/en-US.lproj/" -SwiftUI **/*.swift
|