From 572a2508a515945f4075dfa163b43955df1dea58 Mon Sep 17 00:00:00 2001 From: vova07 Date: Fri, 10 Jan 2014 09:48:56 +0200 Subject: [PATCH] Romanian language. Fixes #1874 --- framework/yii/messages/config.php | 2 +- framework/yii/messages/ro/yii.php | 81 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 framework/yii/messages/ro/yii.php diff --git a/framework/yii/messages/config.php b/framework/yii/messages/config.php index fbb5cac..15470b2 100644 --- a/framework/yii/messages/config.php +++ b/framework/yii/messages/config.php @@ -7,7 +7,7 @@ return [ 'messagePath' => __DIR__, // array, required, list of language codes that the extracted messages // should be translated to. For example, ['zh-CN', 'de']. - 'languages' => ['da', 'de', 'ru', 'pl', 'pt-BR', 'it', 'es'], + 'languages' => ['da', 'de', 'ru', 'pl', 'pt-BR', 'it', 'es', 'ro'], // string, the name of the function for translating messages. // Defaults to 'Yii::t'. This is used as a mark to find the messages to be // translated. You may use a string for single function name or an array for diff --git a/framework/yii/messages/ro/yii.php b/framework/yii/messages/ro/yii.php new file mode 100644 index 0000000..cd1017a --- /dev/null +++ b/framework/yii/messages/ro/yii.php @@ -0,0 +1,81 @@ + '(nu este setat)', + 'An internal server error occurred.' => 'A aparut o eroare internă de server.', + 'Are you sure to delete this item?' => 'Sunteți sigur că doriți să ștergeți acest item?', + 'Delete' => 'Șterge', + 'Error' => 'Eroare', + 'File upload failed.' => 'Încărcarea fișierului a eșuat.', + 'Home' => 'Acasă', + 'Invalid data received for parameter "{param}".' => 'Date incorecte primite pentru parametrul "{param}".', + 'Login Required' => 'Autentificare obligatorie.', + 'Missing required arguments: {params}' => 'Lipsesc argumente obligatorii: {params}', + 'Missing required parameters: {params}' => 'Lipsesc parametrii obligatori: {params}', + 'No' => 'Nu', + 'No help for unknown command "{command}".' => 'Nu sunt referințe pentru comanda necunoscută "{command}".', + 'No help for unknown sub-command "{command}".' => 'Nu sunt referințe pentru sub-comanda necunoscută "{command}".', + 'No results found.' => 'Nu a fost găsit niciun rezultat.', + 'Only files with these extensions are allowed: {extensions}.' => 'Se acceptă numai fișiere cu următoarele extensii: {extensions}.', + 'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Se acceptă numai fișiere cu următoarele tipuri MIME: {mimeTypes}.', + 'Page not found.' => 'Pagina nu a fost găsită.', + 'Please fix the following errors:' => 'Vă rugăm sa corectați următoarele erori:', + 'Please upload a file.' => 'Vă rugăm sa încărcați un fișier.', + 'Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{items}}.' => 'Sunt afișați itemii {begin, number}-{end, number} din {totalCount, number}.', + 'The file "{file}" is not an image.' => 'Fișierul «{file}» nu este o imagine.', + 'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Fișierul «{file}» este prea mare. Dimensiunea acestuia nu trebuie să fie mai mare de {limit, number} {limit, plural, one{byte} other{bytes}}.', + 'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Fișierul «{file}» este prea mic. Dimensiunea acestuia nu trebuie sa fie mai mică de {limit, number} {limit, plural, one{byte} other{bytes}}.', + 'The format of {attribute} is invalid.' => 'Formatul «{attribute}» nu este valid.', + 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Imaginea «{file}» este prea mare. Înălțimea nu trebuie să fie mai mare de {limit, number} {limit, plural, one{pixel} other{pixeli}}.', + 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Imaginea «{file}» este prea mare. Lățimea nu trebuie să fie mai mare de {limit, number} {limit, plural, one{pixel} other{pixeli}}.', + 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Imaginea «{file}» este prea mică. Înălțimea nu trebuie să fie mai mică de {limit, number} {limit, plural, one{pixel} other{pixeli}}.', + 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Imaginea «{file}» este prea mică. Lățimea nu trebuie sa fie mai mică de {limit, number} {limit, plural, one{pixel} other{pixeli}}.', + 'The verification code is incorrect.' => 'Codul de verificare este incorect.', + 'Total {count, number} {count, plural, one{item} other{items}}.' => 'Total {count, number} {count, plural, one{item} other{itemi}}.', + 'Unable to verify your data submission.' => 'Datele trimise nu au putut fi verificate.', + 'Unknown command "{command}".' => 'Comandă necunoscută "{command}".', + 'Unknown option: --{name}' => 'Opțiune necunoscută : --{name}', + 'Update' => 'Redactare', + 'View' => 'Vizualizare', + 'Yes' => 'Da', + 'You are not allowed to perform this action.' => 'Nu aveți dreptul să efectuați această acțiunea.', + 'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Puteți încărca maxim {limit, number} {limit, plural, one{fișier} other{fișiere}}.', + 'the input value' => 'valoarea introdusă', + '{attribute} "{value}" has already been taken.' => '{attribute} «{value}» este deja ocupat.', + '{attribute} cannot be blank.' => '«{attribute}» nu poate fi gol.', + '{attribute} is invalid.' => '«{attribute}» este incorect.', + '{attribute} is not a valid URL.' => '«{attribute}» nu este un URL valid.', + '{attribute} is not a valid email address.' => '«{attribute}» nu este o adresă de email validă.', + '{attribute} must be "{requiredValue}".' => '«{attribute}» trebuie să fie «{requiredValue}».', + '{attribute} must be a number.' => '«{attribute}» trebuie să fie un număr.', + '{attribute} must be a string.' => '«{attribute}» trebuie să fie un șir de caractere.', + '{attribute} must be an integer.' => '«{attribute}» trebuie să fie un număr întreg.', + '{attribute} must be either "{true}" or "{false}".' => '«{attribute}» trebuie să fie «{true}» sau «{false}».', + '{attribute} must be greater than "{compareValue}".' => '«{attribute}» trebuie să fie mai mare ca «{compareValue}».', + '{attribute} must be greater than or equal to "{compareValue}".' => '«{attribute}» trebuie să fie mai mare sau egal cu «{compareValue}».', + '{attribute} must be less than "{compareValue}".' => '«{attribute}» trebuie să fie mai mic ca «{compareValue}».', + '{attribute} must be less than or equal to "{compareValue}".' => '«{attribute}» trebuie să fie mai mic sau egal cu «{compareValue}».', + '{attribute} must be no greater than {max}.' => '«{attribute}» nu trebuie să fie mai mare ca {max}.', + '{attribute} must be no less than {min}.' => '«{attribute}» nu trebuie să fie mai mic ca {min}.', + '{attribute} must be repeated exactly.' => '«{attribute}» trebuie să fie repetat exact.', + '{attribute} must not be equal to "{compareValue}".' => '«{attribute}» nu trebuie să fie egală cu «{compareValue}».', + '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '«{attribute}» trebuie să conțină minim {min, number} {min, plural, one{caracter} other{caractere}}.', + '{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '«{attribute}» trebuie să conțină maxim {max, number} {max, plural, one{caracter} other{caractere}}.', + '{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '«{attribute}» trebuie să conțină {length, number} {length, plural, one{caracter} other{caractere}}.', +); \ No newline at end of file