Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate strings from en.po and pull in latest translations #1093

Merged
merged 16 commits into from
Jun 11, 2024
Merged
4 changes: 2 additions & 2 deletions .github/workflows/transifex-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Pull new translations"
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
source /home/runner/.bashrc
export PATH="/home/runner/work/android-lantern/android-lantern:$PATH"
export PATH="/home/runner/work/lantern-client/lantern-client:$PATH"
tx pull -af -minimum-perc 90
git config user.name git
git config user.email github-actions@github.com
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/transifex-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
name: push-strings-to-transifex
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Push main translations file"
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
source /home/runner/.bashrc
export PATH="/home/runner/work/android-lantern/android-lantern:$PATH"
export PATH="/home/runner/work/lantern-client/lantern-client:$PATH"
tx push -s
2 changes: 1 addition & 1 deletion .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ source_file = assets/locales/en.po
source_lang = en_US
type = PO
minimum_perc = 80
lang_map = hi_IN: hi, zh-Hans: zh-cn, zh-Hant: zh-hk, ru_RU: ru, fa_IR: fa, es_CU: es
lang_map = hi_IN: hi-in, zh_CN: zh-cn, zh_HK: zh-hk, ru_RU: ru-ru, fa_IR: fa-ir, es_CU: es-cu, es_EU: es-es, fr_FR: fr-fr, fr_CA: fr-ca

18 changes: 0 additions & 18 deletions .tx/config_20230119165631.bak

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class LanguageHelper {
"vi_VN",
"th_TH",
"es_ES",
"es_CU",
"fr_FR",
"bn_BD",
)
Expand Down
555 changes: 497 additions & 58 deletions android/app/src/main/res/values-ar/strings.xml

Large diffs are not rendered by default.

515 changes: 501 additions & 14 deletions android/app/src/main/res/values-bn-rIN/strings.xml

Large diffs are not rendered by default.

999 changes: 498 additions & 501 deletions android/app/src/main/res/values-bn/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-es/strings.xml

Large diffs are not rendered by default.

989 changes: 493 additions & 496 deletions android/app/src/main/res/values-fa-rIR/strings.xml

Large diffs are not rendered by default.

493 changes: 491 additions & 2 deletions android/app/src/main/res/values-fr-rFR/strings.xml

Large diffs are not rendered by default.

989 changes: 493 additions & 496 deletions android/app/src/main/res/values-fr/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-hi-rIN/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-ms/strings.xml

Large diffs are not rendered by default.

973 changes: 489 additions & 484 deletions android/app/src/main/res/values-my/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-ru-rRU/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-th/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-tr/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-ur/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-vi/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-zh-rCN/strings.xml

Large diffs are not rendered by default.

997 changes: 497 additions & 500 deletions android/app/src/main/res/values-zh-rHK/strings.xml

Large diffs are not rendered by default.

685 changes: 497 additions & 188 deletions android/app/src/main/res/values-zh-rTW/strings.xml

Large diffs are not rendered by default.

498 changes: 497 additions & 1 deletion android/app/src/main/res/values-zh/strings.xml

Large diffs are not rendered by default.

Loading
Loading