Skip to content

Commit

Permalink
Merge pull request #1402 from nextcloud/test-localizable-ci
Browse files Browse the repository at this point in the history
Update localizable ci
  • Loading branch information
Ivansss committed Oct 27, 2023
2 parents 6a74e2c + 7ed04db commit d0d8770
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/localizable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
run: |
source ./generate-localizable-strings-file.sh
- name: Run git diff
run: |
git diff
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
Expand Down
2 changes: 1 addition & 1 deletion NextcloudTalk/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* No comment provided by engineer. */
/* No comment provided by engineer. */
"%@ added to this new group conversation" = "%@ added to this new group conversation";

/* No comment provided by engineer. */
Expand Down
2 changes: 1 addition & 1 deletion generate-localizable-strings-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
echo 'Generating Localizable.strings file...'
cd NextcloudTalk
genstrings -o en.lproj *.m *.swift ../ShareExtension/*.m ../NotificationServiceExtension/*.m ../ThirdParty/SlackTextViewController/Source/*.m
iconv -f UTF-16LE -t UTF-8 en.lproj/Localizable.strings > en.lproj/Localizable-utf8.strings
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!'

0 comments on commit d0d8770

Please sign in to comment.