damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

export-source-translation.sh (359B)


      1 #!/bin/zsh
      2 
      3 # Generates all en-US source localized strings EXCEPT for SwiftUI Text wrapped strings.
      4 xcodebuild -exportLocalizations -project damus.xcodeproj -localizationPath "damus" -exportLanguage en-US
      5 
      6 # Generates all SwiftUI Text() wrapped localized strings.
      7 genstrings -a -d -o "damus/en-US.xcloc/Source Contents/damus/en-US.lproj/" -SwiftUI **/*.swift