Skip to content

Instantly share code, notes, and snippets.

@mgallego
Created September 8, 2011 08:19
Show Gist options
  • Select an option

  • Save mgallego/1202914 to your computer and use it in GitHub Desktop.

Select an option

Save mgallego/1202914 to your computer and use it in GitHub Desktop.
<!-- Asi lo tienes tu -->
<trans-unit id="i-am-on-page">
<source><![CDATA[/^(?:|I )am on (?P<page>.+)$/]]></source>
<target><![CDATA[/^(?:|Yo )estoy en (?P<page>.+)$/]]></target>
</trans-unit>
<trans-unit id="i-go-to-page">
<source><![CDATA[/^(?:|I )go to (?P<page>.+)$/]]></source>
<target><![CDATA[/^(?:|Yo )voy a (?P<page>.+)$/]]></target>
</trans-unit>
<!-- Así debería estar -->
<!-- Creo que te faltaban las comillas "" y te sobraban los puntos de .+ , aunque no entiendo del tema-->
<trans-unit id="i-am-on-page">
<source><![CDATA[/^(?:|I )am on "(?P<page>+)"$/]]></source>
<target><![CDATA[/^(?:|Yo )estoy en "(?P<page>+)"$/]]></target>
</trans-unit>
<trans-unit id="i-go-to-page">
<source><![CDATA[/^(?:|I )go to "(?P<page>+)"$/]]></source>
<target><![CDATA[/^(?:|Yo )voy a "(?P<page>+)"$/]]></target>
</trans-unit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment