Merge pull request #16 from carmenfdezb/master

Some fixes in translations files and added new string to translate
This commit is contained in:
attah 2020-01-04 20:15:04 +01:00 committed by GitHub
commit ac8b772060
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 120 additions and 68 deletions

View file

@ -13,7 +13,7 @@ function supported_formats(printer)
if(supported.length == 0) if(supported.length == 0)
{ {
supported.push("No relevant formats supported") supported.push(qsTr("No relevant formats supported"))
} }
return supported.join(" "); return supported.join(" ");

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1" language="de">
<context> <context>
<name>AboutPage</name> <name>AboutPage</name>
<message> <message>
@ -281,5 +281,9 @@
<source>dots/cm</source> <source>dots/cm</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No relevant formats supported</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="es_ES"> <TS version="2.1" language="es">
<context> <context>
<name>AboutPage</name> <name>AboutPage</name>
<message> <message>
@ -281,5 +281,9 @@
<source>dots/cm</source> <source>dots/cm</source>
<translation>ppp</translation> <translation>ppp</translation>
</message> </message>
<message>
<source>No relevant formats supported</source>
<translation>No hay formatos relevantes compatibles</translation>
</message>
</context> </context>
</TS> </TS>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1" language="fr">
<context> <context>
<name>AboutPage</name> <name>AboutPage</name>
<message> <message>
@ -281,5 +281,9 @@
<source>dots/cm</source> <source>dots/cm</source>
<translation type="unfinished">pts/cm</translation> <translation type="unfinished">pts/cm</translation>
</message> </message>
<message>
<source>No relevant formats supported</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1" language="zh_CN">
<context> <context>
<name>AboutPage</name> <name>AboutPage</name>
<message> <message>
@ -13,7 +13,7 @@
</message> </message>
<message> <message>
<source>About</source> <source>About</source>
<translation><关于/translation> <translation></translation>
</message> </message>
<message> <message>
<source>Network printing for Sailfish OS.</source> <source>Network printing for Sailfish OS.</source>
@ -53,12 +53,16 @@
</message> </message>
<message> <message>
<source>French</source> <source>French</source>
<translation><法语/translation> <translation></translation>
</message> </message>
<message> <message>
<source>Code and Testing - Rudi Timmermans</source> <source>Code and Testing - Rudi Timmermans</source>
<translation type="unfinished"> - Rudi Timmermans</translation> <translation type="unfinished"> - Rudi Timmermans</translation>
</message> </message>
<message>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>AddPrinterDialog</name> <name>AddPrinterDialog</name>
@ -80,54 +84,7 @@
</message> </message>
<message> <message>
<source>Unknown</source> <source>Unknown</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChoiceSetting</name>
<message>
<source>draft</source>
<translation>稿</translation>
</message>
<message>
<source>normal</source>
<translation></translation>
</message>
<message>
<source>high</source>
<translation></translation>
</message>
<message>
<source>unknown quality </source>
<translation></translation>
</message>
<message>
<source>portrait</source>
<translation></translation>
</message>
<message>
<source>landscape</source>
<translation></translation>
</message>
<message>
<source>reverse landscape</source>
<translation></translation>
</message>
<message>
<source>reverse portrait</source>
<translation></translation>
</message>
<message>
<source>unknown orientation </source>
<translation></translation>
</message>
<message>
<source>dpi</source>
<translation>dpi</translation>
</message>
<message>
<source>dots/cm</source>
<translation>/</translation>
</message> </message>
</context> </context>
<context> <context>
@ -163,14 +120,6 @@
<source>None</source> <source>None</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>About SeaPrint</source>
<translation> SeaPrint</translation>
</message>
<message>
<source>Unknown</source>
<translation></translation>
</message>
<message> <message>
<source>View jobs</source> <source>View jobs</source>
<translation></translation> <translation></translation>
@ -183,9 +132,13 @@
<source>Removing printer</source> <source>Removing printer</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>About SeaPrint</source>
<translation> SeaPrint</translation>
</message>
<message> <message>
<source>Unknown</source> <source>Unknown</source>
<translation type="unfinished"></translation> <translation></translation>
</message> </message>
</context> </context>
<context> <context>
@ -241,10 +194,6 @@
<source>Resolution</source> <source>Resolution</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Unknown</source>
<translation></translation>
</message>
<message> <message>
<source>Print success: </source> <source>Print success: </source>
<translation>:</translation> <translation>:</translation>
@ -254,4 +203,87 @@
<translation>:</translation> <translation>:</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<source>pending</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>pending-held</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>processing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>processing-stopped</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>canceled</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>completed</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>unknown state </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>draft</source>
<translation type="unfinished">稿</translation>
</message>
<message>
<source>normal</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>high</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>unknown quality </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>portrait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>landscape</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse landscape</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>reverse portrait</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>unknown orientation </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dpi</source>
<translation type="unfinished">dpi</translation>
</message>
<message>
<source>dots/cm</source>
<translation type="unfinished">/</translation>
</message>
<message>
<source>No relevant formats supported</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS> </TS>

View file

@ -59,6 +59,10 @@
<source>Code and Testing - Rudi Timmermans</source> <source>Code and Testing - Rudi Timmermans</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>AddPrinterDialog</name> <name>AddPrinterDialog</name>
@ -277,5 +281,9 @@
<source>dots/cm</source> <source>dots/cm</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No relevant formats supported</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>