-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: validate plurals in strings.xml | FC-55 (#348)
* chore: validate plurals in strings.xml * fix: more plurals fixes on English
- Loading branch information
1 parent
05c3544
commit 7ff0ff4
Showing
5 changed files
with
45 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Validate English strings.xml | ||
|
||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ main, develop ] | ||
|
||
jobs: | ||
translation_strings: | ||
name: Validate strings.xml | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install translations requirements | ||
run: make translation_requirements | ||
|
||
- name: Validate English plurals in strings.xml | ||
run: make validate_english_plurals | ||
|
||
- name: Test extract strings | ||
run: | | ||
make extract_translations | ||
# Ensure the file is extracted | ||
test -f i18n/src/main/res/values/strings.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters