|
@@ -72,7 +72,7 @@
|
72
|
72
|
var titleField = findChildObject(window, 'title');
|
73
|
73
|
var subTitleField = findChildObject(window, 'subtitle');
|
74
|
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
|
76
|
if(filename != "")
|
77
|
77
|
{
|
78
|
78
|
window.log.clearOutputColumns();
|
|
@@ -284,11 +284,11 @@ print("Column headers output");
|
284
|
284
|
output.writeAttribute("transform", "rotate(-90 40,150)");
|
285
|
285
|
if(log.displayUnits() == 10143)
|
286
|
286
|
{
|
287
|
|
- output.writeCDATA("Temperature (°C)");
|
|
287
|
+ output.writeCDATA(TTR("exportWindow", "Temperature (°C)"));
|
288
|
288
|
}
|
289
|
289
|
else
|
290
|
290
|
{
|
291
|
|
- output.writeCDATA("Temperature (°F)");
|
|
291
|
+ output.writeCDATA(TTR("exportWindow", "Temperature (°F)"));
|
292
|
292
|
}
|
293
|
293
|
output.writeEndElement();
|
294
|
294
|
output.writeStartElement("text");
|
|
@@ -679,7 +679,7 @@ print("Column headers output");
|
679
|
679
|
if(lossField.text != "")
|
680
|
680
|
{
|
681
|
681
|
output.writeStartElement("p");
|
682
|
|
- output.writeCDATA("Weight loss: ");
|
|
682
|
+ output.writeCDATA(TTR("exportWindow", "Weight loss: "));
|
683
|
683
|
output.writeCDATA(lossField.text);
|
684
|
684
|
if(tolField.text != "")
|
685
|
685
|
{
|
|
@@ -691,10 +691,10 @@ print("Column headers output");
|
691
|
691
|
output.writeStartElement("table");
|
692
|
692
|
output.writeStartElement("tr");
|
693
|
693
|
output.writeStartElement("th");
|
694
|
|
- output.writeCDATA("Roasted");
|
|
694
|
+ output.writeCDATA(TTR("exportWindow", "Roasted"));
|
695
|
695
|
output.writeEndElement();
|
696
|
696
|
output.writeStartElement("th");
|
697
|
|
- output.writeCDATA("Green");
|
|
697
|
+ output.writeCDATA(TTR("exportWindow", "Green"));
|
698
|
698
|
output.writeEndElement();
|
699
|
699
|
output.writeEndElement();
|
700
|
700
|
var green;
|