Skip to content

Commit

Permalink
Merge pull request #4 from datenfalke/master
Browse files Browse the repository at this point in the history
Added German translation
  • Loading branch information
Igor Chepurnoy authored Feb 10, 2017
2 parents 322e687 + c41f789 commit 0593ef5
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..',
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['en', 'ru', 'uk'],
'languages' => ['en', 'ru', 'uk', 'de'],
// 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
Expand Down
51 changes: 51 additions & 0 deletions messages/de/yii2mod.settings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?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 [
'ID' => 'ID',
'Type' => 'Typ',
'Section' => 'Sektion',
'Key' => 'Schlüssel',
'Value' => 'Wert',
'Status' => 'Status',
'Created date' => 'Erstellungsdatum',
'Updated date' => 'Änderungsdatum',
'Settings' => 'Einstellungen',
'Create Setting' => 'Einstellung hinzufügen',
'Select Type' => 'Typ auswählen',
'Select Section' => 'Sektion auswählen',
'Select Status' => 'Status auswählen',
'Actions' => 'Aktionen',
'Active' => 'Aktiv',
'Inactive' => 'Inaktiv',
'Update Setting: {0} -> {1}' => 'Update Setting: {0} -> {1}',
'Update Setting' => 'Einstellung ändern',
'Update' => 'Ändern',
'Create' => 'Hinzufügen',
'Delete' => 'Löschen',
'Go Back' => 'Gehe zurück',
'String' => 'String',
'Integer' => 'Integer',
'Boolean' => 'Boolean',
'Float' => 'Float',
'Null' => 'Null',
'Setting has been created.' => 'Einstellung wurde hinzugefügt.',
'Setting has been updated.' => 'Einstellung wurde geändert.',
'Setting has been deleted.' => 'Einstellung wurde gelöscht.',
'The requested page does not exist.' => 'Die gewünschte Seite existiert nicht.',
];

0 comments on commit 0593ef5

Please sign in to comment.