Browse Source

Mark for translation: export.xml

Neal Wilson 9 years ago
parent
commit
ec24f552b7
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      config/Windows/export.xml

+ 6
- 6
config/Windows/export.xml View File

72
             var titleField = findChildObject(window, 'title');
72
             var titleField = findChildObject(window, 'title');
73
             var subTitleField = findChildObject(window, 'subtitle');
73
             var subTitleField = findChildObject(window, 'subtitle');
74
             exportButton.clicked.connect(function() {
74
             exportButton.clicked.connect(function() {
75
-                var filename = QFileDialog.getSaveFileName(window, "Export XHTML+SVG As...", QSettings.value("script/lastDir", "") + "/");
75
+                var filename = QFileDialog.getSaveFileName(window, TTR("exportWindow", "Export XHTML+SVG As..."), QSettings.value("script/lastDir", "") + "/");
76
                 if(filename != "")
76
                 if(filename != "")
77
                 {
77
                 {
78
                     window.log.clearOutputColumns();
78
                     window.log.clearOutputColumns();
284
                     output.writeAttribute("transform", "rotate(-90 40,150)");
284
                     output.writeAttribute("transform", "rotate(-90 40,150)");
285
                     if(log.displayUnits() == 10143)
285
                     if(log.displayUnits() == 10143)
286
                     {
286
                     {
287
-                        output.writeCDATA("Temperature (°C)");
287
+                        output.writeCDATA(TTR("exportWindow", "Temperature (°C)"));
288
                     }
288
                     }
289
                     else
289
                     else
290
                     {
290
                     {
291
-                        output.writeCDATA("Temperature (°F)");
291
+                        output.writeCDATA(TTR("exportWindow", "Temperature (°F)"));
292
                     }
292
                     }
293
                     output.writeEndElement();
293
                     output.writeEndElement();
294
                     output.writeStartElement("text");
294
                     output.writeStartElement("text");
679
                     if(lossField.text != "")
679
                     if(lossField.text != "")
680
                     {
680
                     {
681
                         output.writeStartElement("p");
681
                         output.writeStartElement("p");
682
-                        output.writeCDATA("Weight loss: ");
682
+                        output.writeCDATA(TTR("exportWindow", "Weight loss: "));
683
                         output.writeCDATA(lossField.text);
683
                         output.writeCDATA(lossField.text);
684
                         if(tolField.text != "")
684
                         if(tolField.text != "")
685
                         {
685
                         {
691
                         output.writeStartElement("table");
691
                         output.writeStartElement("table");
692
                         output.writeStartElement("tr");
692
                         output.writeStartElement("tr");
693
                         output.writeStartElement("th");
693
                         output.writeStartElement("th");
694
-                        output.writeCDATA("Roasted");
694
+                        output.writeCDATA(TTR("exportWindow", "Roasted"));
695
                         output.writeEndElement();
695
                         output.writeEndElement();
696
                         output.writeStartElement("th");
696
                         output.writeStartElement("th");
697
-                        output.writeCDATA("Green");
697
+                        output.writeCDATA(TTR("exportWindow", "Green"));
698
                         output.writeEndElement();
698
                         output.writeEndElement();
699
                         output.writeEndElement();
699
                         output.writeEndElement();
700
                         var green;
700
                         var green;

Loading…
Cancel
Save