Permalink
Browse files

Merge branch 'release/1.1.0'

  • Loading branch information...
2 parents da3aa30 + ca911b9 commit 213a0f70ad08e406c3ea38e8daf1f1452c5b619e @everzet everzet committed Aug 8, 2011
View
@@ -1,3 +1,10 @@
+1.1.0 / 2011-08-08
+==================
+
+ * Added Zombie.js driver (thanks @b00giZm)
+ * Added pt translation (thanks Daniel Gomes)
+ * Refactored MinkContext and MinkTestCase
+
1.0.3 / 2011-08-02
==================
View
@@ -46,6 +46,22 @@ $mink->getSession('goutte1')->getPage()->findLink('Chat')->click();
$mink->getSession('goutte2')->getPage()->findLink('Chat')->click();
```
+Translated languages
+--------------------
+
+For now exists 6 translated language: `es`,`fr`,`ja`,`nl`,`pt`,`ru`.
+
+**Note:** The `es` and `fr` are outdated.
+
+#### How to add a new translated language?
+
+If you want to translate another language, you can use as reference the `ru` language file under
+[translations folder](https://github.com/Behat/Mink/tree/develop/src/Behat/Mink/Behat/Context/translations).
+
+Then add it in [MinkContext](https://github.com/Behat/Mink/blob/develop/src/Behat/Mink/Behat/Context/MinkContext.php) after line #657.
+
+**Important:** The filename must match with the same translated language file in [Behat](https://github.com/Behat/Behat/tree/master/i18n) and [Gherkin](https://github.com/Behat/Gherkin/tree/master/i18n) in order to work correctly. If the language does not exist in [Gherkin](https://github.com/Behat/Gherkin/tree/master/i18n) and [Behat](https://github.com/Behat/Behat/tree/master/i18n) you must add it there too.
+
Copyright
---------
@@ -55,6 +71,7 @@ Contributors
------------
* Konstantin Kudryashov [everzet](http://github.com/everzet) [lead developer]
+* Pascal Cremer [b00giZm](http://github.com/b00giZm) [ZombieDriver creator]
Sponsors
--------
View
@@ -2,4 +2,4 @@ default:
context:
parameters:
base_url: http://test.mink.dev/
- show_cmd: open %s
+ show_cmd: open %s
@@ -21,6 +21,6 @@ class FeatureContext extends BehatContext
{
public function __construct(array $parameters)
{
- $this->useContext(new Behat\Mink\Behat\Context\MinkContext($parameters));
+ $this->useContext('mink', new Behat\Mink\Behat\Context\MinkContext($parameters));
}
}
@@ -4,7 +4,7 @@
Как веб-девелопер
Мне нужна возможность говорить с Mink через Behat
- @javascript
+ @mink:zombie
Сценарий: Стандартная форма (через Sahi)
Допустим я на странице "basic_form.php"
Когда я ввожу "Konstantin" в поле "first_name"
Oops, something went wrong.

0 comments on commit 213a0f7

Please sign in to comment.