Permalink
Browse files

Merge branch 'release/0.1.0'

  • Loading branch information...
2 parents 57e2ff6 + 2bbe67e commit 75beacf1a9c8e9ad36a1b8519f4706d16ac8a466 @everzet everzet committed Apr 4, 2011
View
1 .gitignore
@@ -1,2 +1,3 @@
+*.tgz
phpunit.xml
*.rb
View
4 CHANGES.md
@@ -1,4 +1,4 @@
-0.1.0 / 2011-03-30
+0.1.0 / 2011-04-04
==================
- * Initial version
+ * Initial release
View
0 features/min_feature_ru.feature → features/mink_feature_ru.feature
File renamed without changes.
View
4 src/Behat/Mink/Integration/MinkEnvironment.php
@@ -43,8 +43,8 @@ public function __construct()
);
};
- $world->getPathTo = function($path) {
- return $path;
+ $world->getPathTo = function($path) use($world) {
+ return ($world->getParameter('start_url') ?: 'http://behat.org/') . $path;
};
}
View
79 src/Behat/Mink/Integration/steps/i18n/fr.xliff
@@ -0,0 +1,79 @@
+<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
+ <file original="global" source-language="en" target-language="ru" datatype="plaintext">
+ <header />
+ <body>
+ <trans-unit id="i-am-on-page">
+ <source><![CDATA[/^(?:|I )am on (?P<page>.+)$/]]></source>
+ <target><![CDATA[/^(?:|je )suis sur (?P<page>.+)$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-go-to-page">
+ <source><![CDATA[/^(?:|I )go to (?P<page>.+)$/]]></source>
+ <target><![CDATA[/^(?:|je )vais sur (?P<page>.+)$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-press-button">
+ <source><![CDATA[/^(?:|I )press "(?P<button>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )presse "(?P<button>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-follow-link">
+ <source><![CDATA[/^(?:|I )follow "(?P<link>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )suis "(?P<link>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-fill-in-field-with-value">
+ <source><![CDATA[/^(?:|I )fill in "(?P<field>[^"]*)" with "(?P<value>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )remplis "(?P<field>[^"]*)" avec "(?P<value>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-fill-in-value-for-field">
+ <source><![CDATA[/^(?:|I )fill in "(?P<value>[^"]*)" for "(?P<field>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )remplis "(?P<value>[^"]*)" pour "(?P<field>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-fill-in-the-following">
+ <source><![CDATA[/^(?:|I )fill in the following:$/]]></source>
+ <target><![CDATA[/^(?:|je )remplis le texte suivant:$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-select-option-from-select">
+ <source><![CDATA[/^(?:|I )select "(?P<option>[^"]*)" from "(?P<select>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )sélectionne "(?P<option>[^"]*)" depuis "(?P<select>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-check-option">
+ <source><![CDATA[/^(?:|I )check "(?P<option>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )coche "(?P<option>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-uncheck-option">
+ <source><![CDATA[/^(?:|I )uncheck "(?P<option>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )décoche "(?P<option>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-attach-the-file-to-field">
+ <source><![CDATA[/^(?:|I )attach the file "(?P<path>[^"]*)" to "(?P<field>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|J' )attache le fichier "(?P<path>[^"]*)" à "(?P<field>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-should-see-text">
+ <source><![CDATA[/^(?:|I )should see "(?P<text>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )devrais voir "(?P<text>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-should-not-see-text">
+ <source><![CDATA[/^(?:|I )should not see "(?P<text>[^"]*)"$/]]></source>
+ <target><![CDATA[/^(?:|je )ne devrais pas voir "(?P<text>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="the-field-should-contain-value">
+ <source><![CDATA[/^the "(?P<field>[^"]*)" field should contain "(?P<value>[^"]*)"$/]]></source>
+ <target><![CDATA[/^le champ "(?P<field>[^"]*)" devrait contenir "(?P<value>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="the-field-should-not-contain-value">
+ <source><![CDATA[/^the "(?P<field>[^"]*)" field should not contain "(?P<value>[^"]*)"$/]]></source>
+ <target><![CDATA[/^le champ "(?P<field>[^"]*)" ne devrait pas contenir "(?P<value>[^"]*)"$/]]></target>
+ </trans-unit>
+ <trans-unit id="the-checkbox-should-be-checked">
+ <source><![CDATA[/^the "(?P<checkbox>[^"]*)" checkbox should be checked$/]]></source>
+ <target><![CDATA[/^la case à cocher "(?P<checkbox>[^"]*) devrait être cochée" $/]]></target>
+ </trans-unit>
+ <trans-unit id="the-checkbox-should-not-be-checked">
+ <source><![CDATA[/^the "(?P<checkbox>[^"]*)" checkbox should not be checked$/]]></source>
+ <target><![CDATA[/^la case à cocher "(?P<checkbox>[^"]*)" ne devrait pas être cochée$/]]></target>
+ </trans-unit>
+ <trans-unit id="i-should-be-on-page">
+ <source><![CDATA[/^(?:|I )should be on (?P<page>.+)$/]]></source>
+ <target><![CDATA[/^(?:|je )devrais être sur (?P<page>.+)$/]]></target>
+ </trans-unit>
+ </body>
+ </file>
+</xliff>

0 comments on commit 75beacf

Please sign in to comment.