Skip to content

Commit

Permalink
fix: filter lang map (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
arzola authored Apr 16, 2024
1 parent 621074b commit c904ab4
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 1,363 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/standards-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
matrix:
php: [ 8.1, 8.2 ]
os: [ ubuntu-20.04 ]
wordpress: [ 6.4.3, latest ]
wordpress: [ '6.5', latest ]
include:
- experimental: true
- experimental: false
php: 8.1
wordpress: 6.4.3
wordpress: '6.5'

name: Test - PHP ${{ matrix.php }} - WP ${{ matrix.wordpress }}

Expand Down
2 changes: 1 addition & 1 deletion .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
host = https://www.transifex.com

[o:pressbooks:p:aldine:r:pressbooks-aldine]
file_filter = languages/pressbooks-aldine-<lang>.po
file_filter = languages/<lang>.po
lang_map = de:de_DE, es:es_ES, fr:fr_FR, gl:gl_ES, nb:nb_NO, it:it_IT, ka:ka_GE, ru:ru_RU, ta:ta_LK, hr_HR:hr
minimum_perc = 0
source_file = languages/pressbooks-aldine.pot
Expand Down
2 changes: 1 addition & 1 deletion .tx/transifex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git:
file_format: PO
source_file: languages/pressbooks-aldine.pot
source_language: en
translation_files_expression: languages/pressbooks-aldine-<lang>.po
translation_files_expression: languages/<lang>.po
settings:
pr_branch_name: chore/update-translations-<br_unique_id>
language_mapping:
Expand Down
Binary file removed languages/pressbooks-aldine-es_ES.mo
Binary file not shown.
Loading

0 comments on commit c904ab4

Please sign in to comment.