generate-localizable-strings-file.sh 646 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. # generate-localizable-strings-file.sh
  5. echo 'Generating Localizable.strings file...'
  6. cd NextcloudTalk
  7. genstrings -o en.lproj *.m *.swift ../ShareExtension/*.m ../ShareExtension/*.swift ../NotificationServiceExtension/*.m ../BroadcastUploadExtension/*.swift ../ThirdParty/SlackTextViewController/Source/*.m
  8. iconv -f UTF-16 -t UTF-8 en.lproj/Localizable.strings > en.lproj/Localizable-utf8.strings
  9. mv en.lproj/Localizable-utf8.strings en.lproj/Localizable.strings
  10. echo 'Localizable.strings file generated!'