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