|
@@ -50,16 +50,16 @@
|
50
|
50
|
window.refreshCallback = callback;
|
51
|
51
|
}
|
52
|
52
|
window.currentReminder = new Object();
|
53
|
|
- this.windowTitle = "Typica - Edit Reminder";
|
|
53
|
+ this.windowTitle = TTR("editreminder", "Typica - Edit Reminder");
|
54
|
54
|
var unitBox = findChildObject(this, 'productionunit');
|
55
|
|
- unitBox.addItem("Kg");
|
56
|
|
- unitBox.addItem("Lb");
|
|
55
|
+ unitBox.addItem(TTR("editreminder", "Kg"));
|
|
56
|
+ unitBox.addItem(TTR("editreminder", "Lb"));
|
57
|
57
|
unitBox.currentIndex = QSettings.value("script/report_unit", 1);
|
58
|
58
|
var condition = findChildObject(this, 'condition');
|
59
|
|
- condition.addItem("Roasted Coffee Production");
|
60
|
|
- condition.addItem("Days");
|
61
|
|
- condition.addItem("Batches Roasted");
|
62
|
|
- condition.addItem("Hours of Roasting Time");
|
|
59
|
+ condition.addItem(TTR("editreminder", "Roasted Coffee Production"));
|
|
60
|
+ condition.addItem(TTR("editreminder", "Days"));
|
|
61
|
+ condition.addItem(TTR("editreminder", "Batches Roasted"));
|
|
62
|
+ condition.addItem(TTR("editreminder", "Hours of Roasting Time"));
|
63
|
63
|
var conditionpage = findChildObject(this, 'conditionvars');
|
64
|
64
|
condition['currentIndexChanged(int)'].connect(function(c) {
|
65
|
65
|
conditionpage.setCurrentIndex(c);
|