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

Fixed parameter placeholders in translations #2187

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).
In order to read more about upgrading and BC breaks have a look at the [UPGRADE Document](UPGRADE.md).

## 2.3.1

+ [#2187](https://github.com/luyadev/luya/pull/2187) Fixed parameter placeholders in translations (bg, hu, ro)

## 2.3.0 (20. April 2023)

> Check the [UPGRADE document](UPGRADE.md) to read more about breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion core/messages/bg/luya.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

return [
'{attribute} must have a minimum length of {length} characters.' => '{атрибутът} трябва да има поне {length} знака.',
'{attribute} must have a minimum length of {length} characters.' => '{attribute} трябва да има поне {length} знака.',
'{attribute} must include at least one special character.' => '{attribute} трябва да съдържа поне един специален знак. ',
'{attribute} must include at least one digit.' => '{attribute} трябва да съдържа поне едно число.',
'{attribute} must include at least one letter.' => '{attribute} трябва да съдържа поне една буква.',
Expand Down
4 changes: 2 additions & 2 deletions core/messages/hu/luya.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
'{attribute} must include at least one special character.' => '{attribute} tartalmaznia kell legalább egy speciális karaktert.',
'{attribute} must include at least one digit.' => '{attribute} tartalmaznia kell legalább egy számjegyet.',
'{attribute} must include at least one letter.' => '{attribute} legalább egy betűt tartalmaznia kell.',
'{attribute} must include at least one uppercase letter.' => 'Az {attribútum} tartalmaznia kell legalább egy nagybetűt.',
'{attribute} must include at least one uppercase letter.' => 'Az {attribute} tartalmaznia kell legalább egy nagybetűt.',
'{attribute} must include at least one lowercase letter.' => 'Az {attribute} tartalmaznia kell legalább egy kisbetűt.',
'{attribute} must be a float or numeric value.' => 'Az {attribútum} lebegő vagy numerikus értéknek kell lennie.',
'{attribute} must be a float or numeric value.' => 'Az {attribute} lebegő vagy numerikus értéknek kell lennie.',
'Invalid phone number.' => 'Érvénytelen telefonszám.',
'The phone number does not match the required type {name}.' => 'A telefonszám nem egyezik a szükséges típussal {name}.',
'Invalid phone number, ensure it starts with the correct country code.' => 'Érvénytelen telefonszám, győződjön meg róla, hogy a megfelelő országkóddal kezdődik.',
Expand Down
14 changes: 7 additions & 7 deletions core/messages/ro/luya.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

return [
'{attribute} must have a minimum length of {length} characters.' => '{atribut} trebuie să aibă o lungime minimă de {lungime} caractere.',
'{attribute} must include at least one special character.' => '{atribut} trebuie să includă cel puțin un caracter special.',
'{attribute} must include at least one digit.' => '{atribut} trebuie să includă cel puțin o cifră.',
'{attribute} must include at least one letter.' => '{atribut} trebuie să includă cel puțin o literă.',
'{attribute} must include at least one uppercase letter.' => '{atribut} trebuie să includă cel puțin o literă mare.',
'{attribute} must include at least one lowercase letter.' => '{atribut} trebuie să includă cel puțin o literă mică.',
'{attribute} must be a float or numeric value.' => '{atribut} trebuie să fie o valoare numerică sau float.',
'{attribute} must have a minimum length of {length} characters.' => '{attribute} trebuie să aibă o lungime minimă de {length} caractere.',
'{attribute} must include at least one special character.' => '{attribute} trebuie să includă cel puțin un caracter special.',
'{attribute} must include at least one digit.' => '{attribute} trebuie să includă cel puțin o cifră.',
'{attribute} must include at least one letter.' => '{attribute} trebuie să includă cel puțin o literă.',
'{attribute} must include at least one uppercase letter.' => '{attribute} trebuie să includă cel puțin o literă mare.',
'{attribute} must include at least one lowercase letter.' => '{attribute} trebuie să includă cel puțin o literă mică.',
'{attribute} must be a float or numeric value.' => '{attribute} trebuie să fie o valoare numerică sau float.',
'Invalid phone number.' => 'Numar de telefon invalid.',
'The phone number does not match the required type {name}.' => 'Numărul de telefon nu se potrivește cu tipul necesar {name}.',
'Invalid phone number, ensure it starts with the correct country code.' => 'Număr de telefon nevalid, asigurați-vă că începe cu codul de țară corect.',
Expand Down
Loading