Skip to content

Commit

Permalink
Fixed parameter placeholders in translations (#2187)
Browse files Browse the repository at this point in the history
* Fixed placeholders in translations

* Update CHANGELOG.md
  • Loading branch information
hbugdoll authored Jan 9, 2024
1 parent f0ef151 commit 62c5162
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
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

0 comments on commit 62c5162

Please sign in to comment.