Skip to content

Commit

Permalink
bug #1534 Fix some translation issues (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the main branch.

Discussion
----------

Fix some translation issues

These issues were found with the cool new `lint:translations` command added to Symfony 7.2 (see https://symfony.com/blog/new-in-symfony-7-2-translations-linter)

Commits
-------

9055abd Fix some translation issues
  • Loading branch information
javiereguiluz committed Oct 19, 2024
2 parents f39ffa0 + 9055abd commit d3052bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ jobs:
if: always() && steps.install.outcome == 'success'
run: ./bin/console lint:twig templates --env=prod

- name: Lint XLIFF translations
- name: Lint XLIFF translation files
if: always() && steps.install.outcome == 'success'
run: ./bin/console lint:xliff translations

- name: Lint translation contents
if: always() && steps.install.outcome == 'success'
run: ./bin/console lint:translations

- name: Lint Parameters and Services
if: always() && steps.install.outcome == 'success'
run: ./bin/console lint:container --no-debug
Expand Down
2 changes: 1 addition & 1 deletion translations/messages+intl-icu.bn.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
</trans-unit>
<trans-unit id="post.num_comments">
<source>post.num_comments</source>
<target>{count, plural, একটি {# মন্তব্য} অন্যান্য {# মন্তব্যসমূহ}}</target>
<target>{count, plural, one {একটি মন্তব্য} other {# মন্তব্যসমূহ}}</target>
</trans-unit>
<trans-unit id="post.commented_on">
<source>post.commented_on</source>
Expand Down
2 changes: 1 addition & 1 deletion translations/messages+intl-icu.ne.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
</trans-unit>
<trans-unit id="post.num_comments">
<source>post.num_comments</source>
<target>{गणना, बहुवचन, एक {# टिप्पणी} अन्य {# टिप्पणी}}</target>
<target>{गणना, plural, one {# टिप्पणी} other {# टिप्पणियाँ}}</target>
</trans-unit>
<trans-unit id="post.commented_on">
<source>post.commented_on</source>
Expand Down

0 comments on commit d3052bc

Please sign in to comment.