Skip to content

Commit 03465f2

Browse files
minor symfony#54934 [Security] add missing plural translation messages (xabbuh, nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [Security] add missing plural translation messages | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix symfony#54914 | License | MIT Commits ------- bfa0b1b [Security] Populate translations for trans-unit 20 0c51178 add missing plural translation messages
2 parents 6049793 + bfa0b1b commit 03465f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+240
-12
lines changed

.github/workflows/integration-tests.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,18 @@ jobs:
176176
./phpunit install
177177
echo "::endgroup::"
178178
179+
- name: Check for changes in translation files
180+
id: changed-translation-files
181+
run: |
182+
echo 'changed='$((git diff --quiet HEAD~1 HEAD -- 'src/**/Resources/translations/*.xlf' || (echo 'true' && exit 1)) && echo 'false') >> $GITHUB_OUTPUT
183+
184+
- name: Check Translation Status
185+
if: steps.changed-translation-files.outputs.changed == 'true'
186+
run: |
187+
php src/Symfony/Component/Translation/Resources/bin/translation-status.php -v
188+
php .github/sync-translations.php
189+
git diff --exit-code src/ || (echo '::error::Run "php .github/sync-translations.php" to fix XLIFF files.' && exit 1)
190+
179191
- name: Run tests
180192
run: ./phpunit --group integration -v
181193
env:
@@ -199,15 +211,3 @@ jobs:
199211
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.0-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
200212
# sudo rm -rf .phpunit
201213
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit
202-
203-
- name: Check for changes in translation files
204-
id: changed-translation-files
205-
run: |
206-
echo 'changed='$((git diff --quiet HEAD~1 HEAD -- 'src/**/Resources/translations/*.xlf' || (echo 'true' && exit 1)) && echo 'false') >> $GITHUB_OUTPUT
207-
208-
- name: Check Translation Status
209-
if: steps.changed-translation-files.outputs.changed == 'true'
210-
run: |
211-
php src/Symfony/Component/Translation/Resources/bin/translation-status.php -v
212-
php .github/sync-translations.php
213-
git diff --exit-code src/ || (echo '::error::Run "php .github/sync-translations.php" to fix XLIFF files.' && exit 1)

src/Symfony/Component/Security/Core/Resources/translations/security.af.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target state="needs-review-translation">Te veel mislukte aanmeldpogings, probeer asseblief weer oor %minutes% minuut.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Te veel mislukte aanmeldpogings, probeer asseblief weer oor %minutes% minute.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.ar.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>عدد كبير جدا من محاولات الدخول الفاشلة، يرجى اعادة المحاولة بعد %minutes% دقيقة.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">عدد محاولات تسجيل الدخول الفاشلة كثيرة، الرجاء المحاولة مرة أخرى بعد %minutes% دقيقة.|عدد محاولات تسجيل الدخول الفاشلة كثيرة، الرجاء المحاولة مرة أخرى بعد %minutes% دقائق.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.az.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Həddindən artıq uğursuz giriş cəhdi, lütfən %minutes% dəqiqə ərzində yenidən yoxlayın.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Çox sayda uğursuz giriş cəhdi, zəhmət olmasa %minutes% dəqiqə sonra yenidən cəhd edin.|Çox sayda uğursuz giriş cəhdi, zəhmət olmasa %minutes% dəqiqə sonra yenidən cəhd edin.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.be.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Занадта шмат няўдалых спроб уваходу ў сістэму, паспрабуйце спробу праз %minutes% хвіліну.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Занадта шмат няўдалых спробаў уваходу, калі ласка, паспрабуйце зноў праз %minutes% хвіліну.|Занадта шмат няўдалых спробаў уваходу, калі ласка, паспрабуйце зноў праз %minutes% хвіліны.|Занадта шмат няўдалых спробаў уваходу, калі ласка, паспрабуйце зноў праз %minutes% хвілін.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.bg.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Твърде много неуспешни опити за вход, моля опитайте отново след %minutes% минута.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Твърде много неуспешни опити за вход, моля опитайте отново след %minutes% минути.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.bs.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Previše neuspjelih pokušaja prijave, pokušajte ponovo za %minutes% minuta.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Previše neuspješnih pokušaja prijave, pokušajte ponovo za %minutes% minut.|Previše neuspješnih pokušaja prijave, pokušajte ponovo za %minutes% minuta.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.ca.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Massa intents d'inici de sessió fallits, torneu-ho a provar en %minutes% minut.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Massa intents fallits d'inici de sessió, torneu-ho a provar d'aquí a %minutes% minuts.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.cs.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target>Příliš mnoho neúspěšných pokusů o přihlášení, zkuste to prosím znovu za %minutes% minutu.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Příliš mnoho neúspěšných pokusů o přihlášení, zkuste to prosím znovu za %minutes% minutu.|Příliš mnoho neúspěšných pokusů o přihlášení, zkuste to prosím znovu za %minutes% minuty.|Příliš mnoho neúspěšných pokusů o přihlášení, zkuste to prosím znovu za %minutes% minut.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

src/Symfony/Component/Security/Core/Resources/translations/security.cy.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
<source>Too many failed login attempts, please try again in %minutes% minute.</source>
7575
<target state="needs-review-translation">Gormod o ymdrechion mewngofnodi wedi methu, ceisiwch eto ymhen %minutes% munud.</target>
7676
</trans-unit>
77+
<trans-unit id="20">
78+
<source>Too many failed login attempts, please try again in %minutes% minutes.</source>
79+
<target state="needs-review-translation">Gormod o ymdrechion mewngofnodi wedi methu, rhowch gynnig arall arni mewn %minutes% munud.|Gormod o ymdrechion mewngofnodi wedi methu, rhowch gynnig arall arni mewn %minutes% munud.</target>
80+
</trans-unit>
7781
</body>
7882
</file>
7983
</xliff>

0 commit comments

Comments
 (0)