|
|
|
|
50
|
window.refreshCallback = callback;
|
50
|
window.refreshCallback = callback;
|
51
|
}
|
51
|
}
|
52
|
window.currentReminder = new Object();
|
52
|
window.currentReminder = new Object();
|
53
|
- this.windowTitle = "Typica - Edit Reminder";
|
|
|
|
|
53
|
+ this.windowTitle = TTR("editreminder", "Typica - Edit Reminder");
|
54
|
var unitBox = findChildObject(this, 'productionunit');
|
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
|
unitBox.currentIndex = QSettings.value("script/report_unit", 1);
|
57
|
unitBox.currentIndex = QSettings.value("script/report_unit", 1);
|
58
|
var condition = findChildObject(this, 'condition');
|
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
|
var conditionpage = findChildObject(this, 'conditionvars');
|
63
|
var conditionpage = findChildObject(this, 'conditionvars');
|
64
|
condition['currentIndexChanged(int)'].connect(function(c) {
|
64
|
condition['currentIndexChanged(int)'].connect(function(c) {
|
65
|
conditionpage.setCurrentIndex(c);
|
65
|
conditionpage.setCurrentIndex(c);
|