|
@@ -10,7 +10,7 @@
|
10
|
10
|
var box = findChildObject(this, 'roasted');
|
11
|
11
|
var win = this;
|
12
|
12
|
button.clicked.connect(function() {
|
13
|
|
- var filename = QFileDialog.getOpenFileName(win, 'Open Log…', QSettings.value('script/lastDir', '') + '/');
|
|
13
|
+ var filename = QFileDialog.getOpenFileName(win, TTR("importTargets", "Open Log..."), QSettings.value('script/lastDir', '') + '/');
|
14
|
14
|
if(filename != '') {
|
15
|
15
|
QSettings.setValue("script/lastDir", dir(filename));
|
16
|
16
|
var q = "INSERT INTO files (id, name, type, note, file) VALUES(default, :name, 'profile', NULL, :data) RETURNING id";
|