Преглед изворни кода

Mark for translation: greensales.xml

Neal Wilson пре 10 година
родитељ
комит
d071cb1ec1
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3
    3
      config/Windows/greensales.xml

+ 3
- 3
config/Windows/greensales.xml Прегледај датотеку

21
 	<program>
21
 	<program>
22
 		<![CDATA[
22
 		<![CDATA[
23
 			var window = this;
23
 			var window = this;
24
-			this.windowTitle = 'Typica - Enter Green Coffee Sales';
24
+			this.windowTitle = TTR("greensales", "Typica - Enter Green Coffee Sales");
25
 			var unitBox = findChildObject(this, 'units');
25
 			var unitBox = findChildObject(this, 'units');
26
 			unitBox.addItem("g");
26
 			unitBox.addItem("g");
27
 			unitBox.addItem("Kg");
27
 			unitBox.addItem("Kg");
28
 			unitBox.addItem("oz");
28
 			unitBox.addItem("oz");
29
-			unitBox.addItem("lb");
30
-			unitBox.currentIndex = (QSettings.value("script/greensales_unit", unitBox.findText("lb")));
29
+			unitBox.addItem("Lb");
30
+			unitBox.currentIndex = (QSettings.value("script/greensales_unit", unitBox.findText("Lb")));
31
 			unitBox['currentIndexChanged(int)'].connect(function() {
31
 			unitBox['currentIndexChanged(int)'].connect(function() {
32
 				QSettings.setValue("script/greensales_unit", unitBox.currentIndex);
32
 				QSettings.setValue("script/greensales_unit", unitBox.currentIndex);
33
 			});
33
 			});

Loading…
Откажи
Сачувај