Skip to content

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeevdv committed Sep 28, 2018
1 parent 2253b55 commit 109ccba
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.4
=====
- RU and ET locales

1.1.3
=====
- Explicit recaptcha rendering (for Pjax support and multiple widgets per page)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ The preferred way to install this extension is through [composer](http://getcomp
Either run

```bash
$ php composer.phar require alexeevdv/yii2-recaptcha-widget "~1.1.0"
$ php composer.phar require alexeevdv/yii2-recaptcha-widget "^1.0"
```

or add

```
"alexeevdv/yii2-recaptcha-widget": "~1.1.0"
"alexeevdv/yii2-recaptcha-widget": "^1.0"
```

to the ```require``` section of your `composer.json` file.
Expand Down
26 changes: 26 additions & 0 deletions src/messages/et/recaptcha.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' 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 [
'The verification code is incorrect.' => 'Kinnituskood on vale.',
'"secret" param is required.' => '"secret" param is required.',
'Wrong theme value "{value}". Only "dark" and "light" are allowed.' => 'Wrong theme value "{value}". Only "dark" and "light" are allowed.',
'Wrong type value "{value}". Only "image" and "audio" are allowed.' => 'Wrong type value "{value}". Only "image" and "audio" are allowed.',
'Wrong size value "{value}". Only "compact" and "normal" are allowed.' => 'Wrong size value "{value}". Only "compact" and "normal" are allowed.',
];
26 changes: 26 additions & 0 deletions src/messages/ru/recaptcha.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' 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 [
'The verification code is incorrect.' => 'Неверный код подтверждения.',
'"secret" param is required.' => '"secret" param is required.',
'Wrong theme value "{value}". Only "dark" and "light" are allowed.' => 'Wrong theme value "{value}". Only "dark" and "light" are allowed.',
'Wrong type value "{value}". Only "image" and "audio" are allowed.' => 'Wrong type value "{value}". Only "image" and "audio" are allowed.',
'Wrong size value "{value}". Only "compact" and "normal" are allowed.' => 'Wrong size value "{value}". Only "compact" and "normal" are allowed.',
];

0 comments on commit 109ccba

Please sign in to comment.