Browse Source

Mark for translation: greensales.xml

Neal Wilson 9 years ago
parent
commit
d071cb1ec1
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      config/Windows/greensales.xml

+ 3
- 3
config/Windows/greensales.xml View File

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…
Cancel
Save