Skip to content

Commit

Permalink
Merge pull request #40 from itsJereMe/master
Browse files Browse the repository at this point in the history
Add Dutch language
  • Loading branch information
krivochenko committed Feb 22, 2021
2 parents 905b881 + 071adc1 commit 9621dc8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..',
'languages' => ['ru', 'en', 'uk', 'pl', 'de'],
'languages' => ['ru', 'en', 'uk', 'pl', 'de', 'nl'],
'translator' => 'Yii::t',
'sort' => false,
'removeUnused' => false,
Expand Down
2 changes: 1 addition & 1 deletion messages/en/cropper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'CROP_PHOTO' => 'Crop image',
'DELETE_PHOTO' => 'Delete image',
'ERROR_CAN_NOT_UPLOAD_FILE' => 'Can`t upload file',
'MISSING_ATTRIBUTE' => 'Attibute "{attribute}" must be specified',
'MISSING_ATTRIBUTE' => 'Attribute "{attribute}" must be specified',
'ONLY_POST_REQUEST' => 'Allowed only POST-request',
'UPLOAD_ANOTHER_PHOTO' => 'Upload another photo',
'TOO_BIG_ERROR' => 'Exceeded the allowable size of the file ({size} Mb)',
Expand Down
29 changes: 29 additions & 0 deletions messages/nl/cropper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?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 [
'DEFAULT_LABEL' => 'Een afbeelding hierheen slepen of klikken en selecteren',
'CROP_PHOTO' => 'Afbeelding bijsnijden',
'DELETE_PHOTO' => 'Afbeelding verwijderen',
'ERROR_CAN_NOT_UPLOAD_FILE' => 'Bestand kan niet worden geüpload',
'MISSING_ATTRIBUTE' => 'Attribuut "{attribute}" moet gespecificeerd zijn',
'ONLY_POST_REQUEST' => 'Alleen POST-requests toegestaan',
'UPLOAD_ANOTHER_PHOTO' => 'Upload een andere afbeelding',
'TOO_BIG_ERROR' => 'De toegestane bestandsgrootte is overschreden ({size} Mb)',
'EXTENSION_ERROR' => 'Alleen de volgende formaten zijn toegestaan: {formats}'
];

0 comments on commit 9621dc8

Please sign in to comment.