Skip to content

Commit

Permalink
Merge pull request #1 from andrzejkupczyk/master
Browse files Browse the repository at this point in the history
Polish translation
  • Loading branch information
omnilight committed Mar 7, 2015
2 parents d30ecae + 2f23bf4 commit aac4890
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 9 deletions.
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"description": "Provides classes for token validations for Yii2 framework",
"keywords": ["yii2", "token", "auth"],
"minimum-stability": "dev",
"authors": [
{
"name": "Pavel Agalecky",
"email": "[email protected]"
}
],
"authors": [{
"name": "Pavel Agalecky",
"email": "[email protected]"
}],
"type": "yii2-extension",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*"
},
"autoload": {
"psr-4": { "omnilight\\tokens\\": "" }
"psr-4": {
"omnilight\\tokens\\": ""
}
},
"extra": {
"bootstrap": "omnilight\\tokens\\Bootstrap"
}
}
}
2 changes: 1 addition & 1 deletion messages/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh_cn', 'de'].
'languages' => ['ru'],
'languages' => ['ru', 'pl'],
// 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
22 changes: 22 additions & 0 deletions messages/pl/omnilight/tokens.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?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(
'Token' => 'Kod potwierdzenia',
'Token is incorrect' => 'Błędny kod potwierdzenia',
);

0 comments on commit aac4890

Please sign in to comment.