Skip to content

Commit d3052bc

Browse files
committed
bug #1534 Fix some translation issues (javiereguiluz)
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
2 parents f39ffa0 + 9055abd commit d3052bc

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: .github/workflows/lint.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ jobs:
7070
if: always() && steps.install.outcome == 'success'
7171
run: ./bin/console lint:twig templates --env=prod
7272

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

77+
- name: Lint translation contents
78+
if: always() && steps.install.outcome == 'success'
79+
run: ./bin/console lint:translations
80+
7781
- name: Lint Parameters and Services
7882
if: always() && steps.install.outcome == 'success'
7983
run: ./bin/console lint:container --no-debug

Diff for: translations/messages+intl-icu.bn.xlf

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
</trans-unit>
315315
<trans-unit id="post.num_comments">
316316
<source>post.num_comments</source>
317-
<target>{count, plural, একটি {# মন্তব্য} অন্যান্য {# মন্তব্যসমূহ}}</target>
317+
<target>{count, plural, one {একটি মন্তব্য} other {# মন্তব্যসমূহ}}</target>
318318
</trans-unit>
319319
<trans-unit id="post.commented_on">
320320
<source>post.commented_on</source>

Diff for: translations/messages+intl-icu.ne.xlf

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
</trans-unit>
315315
<trans-unit id="post.num_comments">
316316
<source>post.num_comments</source>
317-
<target>{गणना, बहुवचन, एक {# टिप्पणी} अन्य {# टिप्पणी}}</target>
317+
<target>{गणना, plural, one {# टिप्पणी} other {# टिप्पणियाँ}}</target>
318318
</trans-unit>
319319
<trans-unit id="post.commented_on">
320320
<source>post.commented_on</source>

0 commit comments

Comments
 (0)