Browse Source

added german translation

thanks to @chris68 PR #1338
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
6bb89e7717
  1. 104
      framework/yii/messages/de/yii.php
  2. 8
      framework/yii/messages/pt-BR/yii.php
  3. 10
      framework/yii/messages/ru/yii.php
  4. 8
      framework/yii/validators/ImageValidator.php

104
framework/yii/messages/de/yii.php

@ -0,0 +1,104 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return array (
'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu groß. Es {limit, plural, one{ist} other{sind}} maximal {limit, number} {limit, plural, one{Byte} other{Bytes}} erlaubt.',
'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel hoch sein.',
'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu groß. Es darf maximal {limit, number} Pixel breit sein.',
'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Die Datei "{file}" ist zu klein. Es {limit, plural, one{ist} other{sind}} mindestens {limit, number} {limit, plural, one{Byte} other{Bytes}} erforderlich.',
'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel hoch sein.',
'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Das Bild "{file}" ist zu klein. Es muss mindestens {limit, number} Pixel breit sein.',
'You can upload at most {limit, number} {limit, plural, one{file} other{files}}.' => 'Sie können maximal {limit, plural, one{eine Datei} other{# Dateien}} hochladen.',
'{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} muss mindestens {min, number} Zeichen enthalten.',
'{attribute} should contain at most {max, number} {max, plural, one{character} other{characters}}.' => '{attribute} darf maximal {max, number} Zeichen enthalten.',
'{attribute} should contain {length, number} {length, plural, one{character} other{characters}}.' => '{attribute} muss aus genau {length, number} Zeichen bestehen.',
'(not set)' => '(nicht gesetzt)',
'An internal server error occurred.' => 'Es ist ein interner Serverfehler aufgetreten.',
'Are you sure to delete this item?' => 'Wollen Sie den Eintrag wirklich löschen?',
'Compile Error' => 'Fehler beim Compilieren',
'Compile Warning' => 'Warnung beim Compilieren',
'Core Error' => 'Fehler aus dem Systemkern',
'Core Warning' => 'Warnung aus dem Systemkern',
'Database Exception' => 'Fehler beim Zugriff auf die Datenbank',
'Delete' => 'Löschen',
'Deprecated' => 'Überholt',
'Error' => 'Fehler',
'Exception' => 'Ausnahmefehler',
'Fatal Error' => 'Fataler Fehler',
'File upload failed.' => 'Das Hochladen der Datei ist gescheitert.',
'Home' => 'Home',
'Invalid Call' => 'Ungültiger Aufruf',
'Invalid Configuration' => 'Ungültige Konfiguration',
'Invalid Parameter' => 'Ungültiger Parameter',
'Invalid Route' => 'Ungültige Routing-Einstellung',
'Invalid data received for parameter "{param}".' => 'Ungültige Daten erhalten für Parameter"{param}".',
'Login Required' => 'Anmeldung erforderlich',
'Missing required arguments: {params}' => 'Pflichtargumente fehlen: {params}',
'Missing required parameters: {params}' => 'Pflichtparameter fehlen: {params}',
'No' => 'Nein',
'No help for unknown command "{command}".' => 'Es gibt keine Hilfe für den unbekannten Befehl "{command}".',
'No help for unknown sub-command "{command}".' => 'Es gibt keine Hilfe für den unbekannten Unterbefehl "{command}".',
'No results found.' => 'Keine Ergebnisse gefunden',
'Not Supported' => 'Nicht unterstützt',
'Notice' => 'Hinweis',
'Only files with these extensions are allowed: {extensions}.' => 'Es sind nur Dateien mit folgenden Dateierweiterungen erlaubt: {extensions}.',
'Only files with these mimeTypes are allowed: {mimeTypes}.' => 'Es sind nur Dateien mit folgenden MIME-Typen erlaubt: {mimeTypes}.',
'Page not found.' => 'Seite nicht gefunden.',
'Parse Error' => 'Fehler beim Parsen',
'Please fix the following errors:' => 'Bitte korrigieren Sie die folgenden Fehler:',
'Please upload a file.' => 'Bitte laden Sie eine Datei hoch.',
'Recoverable Error' => 'Behebbarer Fehler',
'Showing <b>{begin, number}-{end, number}</b> of <b>{totalCount, number}</b> {totalCount, plural, one{item} other{items}}.' => 'Zeige <b>{begin, number}-{end, number}</b> von <b>{totalCount, number}</b> {totalCount, plural, one{Eintrag} other{Einträgen}}.',
'Stale Object Exception' => 'Ausnahme Stale Object',
'Strict' => 'Strikt',
'The file "{file}" is not an image.' => 'Die Datei "{file}" ist kein Bild.',
'The format of {attribute} is invalid.' => 'Das Format von {attribute} ist ungültig.',
'The verification code is incorrect.' => 'Der Prüfcode ist falsch.',
'Total <b>{count, number}</b> {count, plural, one{item} other{items}}.' => 'Insgesamt <b>{count, number}</b> {count, plural, one{Eintrag} other{Einträge}}.',
'Unable to verify your data submission.' => 'Es ist nicht möglich, Ihre Dateneingabe zu prüfen.',
'Unknown Class' => 'Unbekannte Klasse',
'Unknown Method' => 'Unbekannte Methode',
'Unknown Property' => 'Unbekannte Eigenschaft',
'Unknown command "{command}".' => 'Unbekannter Befehl "{command}".',
'Unknown option: --{name}' => 'Unbekannte Option: --{name}',
'Update' => 'Aktualisieren',
'User Error' => 'Benutzerfehler',
'User Warning' => 'Benutzerwarnung',
'View' => 'Sicht',
'Warning' => 'Warnung',
'Yes' => 'Ja',
'You are not allowed to perform this action.' => 'Sie dürfen diese Aktion nicht durchführen.',
'{attribute} "{value}" has already been taken.' => '{attribute} "{value}" wird bereits verwendet.',
'{attribute} cannot be blank.' => '{attribute} darf nicht leer sein.',
'{attribute} is invalid.' => '{attribute} ist ungültig.',
'{attribute} is not a valid URL.' => '{attribute} ist keine gültige URL.',
'{attribute} is not a valid email address.' => '{attribute} ist keine gültige Emailadresse.',
'{attribute} must be "{requiredValue}".' => '{attribute} muss den Wert {requiredValue} haben.',
'{attribute} must be a number.' => '{attribute} muss eine Zahl sein.',
'{attribute} must be a string.' => '{attribute} muss eine Zeichenkette sein.',
'{attribute} must be an integer.' => '{attribute} muss eine Ganzzahl sein.',
'{attribute} must be either "{true}" or "{false}".' => '{attribute} muss entweder "{true}" oder "{false}" sein.',
'{attribute} must be greater than "{compareValue}".' => '{attribute} muss größer als "{compareValue}" sein.',
'{attribute} must be greater than or equal to "{compareValue}".' => '{attribute} muss größer oder gleich "{compareValue}" sein.',
'{attribute} must be less than "{compareValue}".' => '{attribute} muss kleiner als "{compareValue}" sein.',
'{attribute} must be less than or equal to "{compareValue}".' => '{attribute} muss kleiner oder gleich "{compareValue}" sein.',
'{attribute} must be no greater than {max}.' => '{attribute} darf nicht größer als {max} sein.',
'{attribute} must be no less than {min}.' => '{attribute} darf nicht kleiner als {max} sein.',
'{attribute} must be repeated exactly.' => '{attribute} muss genau wiederholt werden.',
'{attribute} must not be equal to "{compareValue}".' => '{attribute} darf nicht "{compareValue}" sein.',
);

8
framework/yii/messages/pt-BR/yii.php

@ -64,11 +64,11 @@ return array (
'Strict' => 'Strict',
'The file "{file}" is not an image.' => 'O arquivo “{file}” não é uma imagem.',
'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O arquivo “{file}” é grande demais. Seu tamanho não pode exceder {limit, number} {limit, plural, one{byte} other{bytes}}.',
'The file "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A altura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The file "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A largura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A altura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é grande demais. A largura não pode ser maior do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'O arquivo “{file}” é pequeno demais. Seu tamanho não pode ser menor do que {limit, number} {limit, plural, one{byte} other{bytes}}.',
'The file "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A altura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The file "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A largura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A altura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'O arquivo “{file}” é pequeno demais. A largura não pode ser menor do que {limit, number} {limit, plural, one{pixel} other{pixels}}.',
'The format of {attribute} is invalid.' => 'O formato de “{attribute}” é inválido.',
'The verification code is incorrect.' => 'O código de verificação está incorreto.',
'Unknown Class' => 'Unknown Class',

10
framework/yii/messages/ru/yii.php

@ -33,7 +33,7 @@ return array (
'the input value' => 'введённое значение',
'(not set)' => '(не задано)',
'An internal server error occurred.' => 'Возникла внутренняя ошибка сервера.',
'Are you sure to delete this item?' => 'Вы уверены, что хотите удалить этот элемент ?',
'Are you sure to delete this item?' => 'Вы уверены, что хотите удалить этот элемент?',
'Compile Error' => 'Compile Error',
'Compile Warning' => 'Compile Warning',
'Core Error' => 'Core Error',
@ -64,11 +64,11 @@ return array (
'Strict' => 'Strict',
'The file "{file}" is not an image.' => 'Файл «{file}» не является изображением.',
'The file "{file}" is too big. Its size cannot exceed {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Файл «{file}» слишком большой. Размер не должен превышать {limit, number} {limit, plural, one{# байт} few{# байта} many{# байт} other{# байта}}.',
'The file "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Высота не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The file "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Ширина не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Высота не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком большой. Ширина не должна превышать {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The file "{file}" is too small. Its size cannot be smaller than {limit, number} {limit, plural, one{byte} other{bytes}}.' => 'Файл «{file}» слишком маленький. Размер должен быть более {limit, number} {limit, plural, one{# байт} few{# байта} many{# байт} other{# байта}}.',
'The file "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Высота должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The file "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Ширина должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Высота должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.' => 'Файл «{file}» слишком маленький. Ширина должна быть более {limit, number} {limit, plural, one{# пиксель} few{# пикселя} many{# пикселей} other{# пикселя}}.',
'The format of {attribute} is invalid.' => 'Неверный формат значения «{attribute}».',
'The verification code is incorrect.' => 'Неправильный проверочный код.',
'Unknown Class' => 'Unknown Class',

8
framework/yii/validators/ImageValidator.php

@ -120,16 +120,16 @@ class ImageValidator extends FileValidator
$this->notImage = Yii::t('yii', 'The file "{file}" is not an image.');
}
if ($this->underWidth === null) {
$this->underWidth = Yii::t('yii', 'The file "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
$this->underWidth = Yii::t('yii', 'The image "{file}" is too small. The width cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
}
if ($this->underHeight === null) {
$this->underHeight = Yii::t('yii', 'The file "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
$this->underHeight = Yii::t('yii', 'The image "{file}" is too small. The height cannot be smaller than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
}
if ($this->overWidth === null) {
$this->overWidth = Yii::t('yii', 'The file "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
$this->overWidth = Yii::t('yii', 'The image "{file}" is too large. The width cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
}
if ($this->overHeight === null) {
$this->overHeight = Yii::t('yii', 'The file "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
$this->overHeight = Yii::t('yii', 'The image "{file}" is too large. The height cannot be larger than {limit, number} {limit, plural, one{pixel} other{pixels}}.');
}
if ($this->wrongMimeType === null) {
$this->wrongMimeType = Yii::t('yii', 'Only files with these mimeTypes are allowed: {mimeTypes}.');

Loading…
Cancel
Save