talk-ios/generate-localizable-string...

12 строки
528 B
Bash
Исходник Обычный вид История

#!/usr/bin/env bash
# generate-localizable-strings-file.sh
echo 'Generating Localizable.strings file...'
cd NextcloudTalk
genstrings -o en.lproj *.m *.swift ../ShareExtension/*.m ../ShareExtension/*.swift ../NotificationServiceExtension/*.m ../BroadcastUploadExtension/*.swift ../ThirdParty/SlackTextViewController/Source/*.m
iconv -f UTF-16 -t UTF-8 en.lproj/Localizable.strings > en.lproj/Localizable-utf8.strings
mv en.lproj/Localizable-utf8.strings en.lproj/Localizable.strings
echo 'Localizable.strings file generated!'