Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
everzet committed Apr 4, 2011
2 parents 57e2ff6 + 2bbe67e commit 75beacf
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.tgz
phpunit.xml
*.rb
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.1.0 / 2011-03-30
0.1.0 / 2011-04-04
==================

* Initial version
* Initial release
File renamed without changes.
4 changes: 2 additions & 2 deletions src/Behat/Mink/Integration/MinkEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}

Expand Down
79 changes: 79 additions & 0 deletions src/Behat/Mink/Integration/steps/i18n/fr.xliff
Original file line number Diff line number Diff line change
@@ -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.