diff options
| author | kali <kali@leap.se> | 2012-12-21 07:44:59 +0900 | 
|---|---|---|
| committer | kali <kali@leap.se> | 2012-12-21 07:45:14 +0900 | 
| commit | 654b83db5f050a94f9637fb1ce80df5cb7ed5a38 (patch) | |
| tree | 4621653d602c1951e4584c8c66f6607e5eceae4b /data | |
| parent | b0c3c9194447f20306111a31ee5a6d4828fed158 (diff) | |
updated "translate"  to work in objects other than QObjects
Diffstat (limited to 'data')
| -rw-r--r-- | data/leap_client.pro | 19 | ||||
| -rw-r--r-- | data/ts/en_US.ts | 39 | 
2 files changed, 49 insertions, 9 deletions
| diff --git a/data/leap_client.pro b/data/leap_client.pro index 4c559029..3f76d6af 100644 --- a/data/leap_client.pro +++ b/data/leap_client.pro @@ -2,15 +2,16 @@  # is not there a f*** way of expanding this? other to template with python I mean... -SOURCES 	+= ../src/leap/gui/firstrun/intro.py -SOURCES 	+= ../src/leap/gui/firstrun/last.py -SOURCES		+= ../src/leap/gui/firstrun/login.py -SOURCES		+= ../src/leap/gui/firstrun/providerinfo.py -SOURCES		+= ../src/leap/gui/firstrun/providerselect.py -SOURCES		+= ../src/leap/gui/firstrun/providersetup.py -SOURCES		+= ../src/leap/gui/firstrun/register.py -SOURCES		+= ../src/leap/gui/firstrun/regvalidation.py -SOURCES		+= ../src/leap/gui/firstrun/wizard.py +SOURCES += ../src/leap/base/exceptions.py +SOURCES += ../src/leap/gui/firstrun/intro.py +SOURCES	+= ../src/leap/gui/firstrun/last.py +SOURCES	+= ../src/leap/gui/firstrun/login.py +SOURCES	+= ../src/leap/gui/firstrun/providerinfo.py +SOURCES	+= ../src/leap/gui/firstrun/providerselect.py +SOURCES	+= ../src/leap/gui/firstrun/providersetup.py +SOURCES	+= ../src/leap/gui/firstrun/register.py +SOURCES	+= ../src/leap/gui/firstrun/regvalidation.py +SOURCES	+= ../src/leap/gui/firstrun/wizard.py  # where to generate ts files -- tx will pick from here diff --git a/data/ts/en_US.ts b/data/ts/en_US.ts index f6aadc5c..a802dd75 100644 --- a/data/ts/en_US.ts +++ b/data/ts/en_US.ts @@ -1,6 +1,39 @@  <?xml version="1.0" encoding="utf-8"?>  <!DOCTYPE TS><TS version="2.0">  <context> +    <name>Errors</name> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="57"/> +        <source>Interface not found</source> +        <translation type="unfinished"></translation> +    </message> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="64"/> +        <source>Looks like your computer is not connected to the internet</source> +        <translation type="unfinished"></translation> +    </message> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="72"/> +        <source>Looks like there are problems with your internet connection</source> +        <translation type="unfinished"></translation> +    </message> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="80"/> +        <source>It looks like there is no internet connection.</source> +        <translation type="unfinished"></translation> +    </message> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="88"/> +        <source>Domain cannot be found</source> +        <translation type="unfinished"></translation> +    </message> +    <message> +        <location filename="../src/leap/base/exceptions.py" line="95"/> +        <source>The Encrypted Connection was lost. Shutting down...</source> +        <translation type="unfinished"></translation> +    </message> +</context> +<context>      <name>IntroPage</name>      <message>          <location filename="../src/leap/gui/firstrun/intro.py" line="14"/> @@ -216,4 +249,10 @@          <translation type="unfinished"></translation>      </message>  </context> +<context> +    <name>TestyClass</name> +</context> +<context> +    <name>this is a cat</name> +</context>  </TS> | 
