mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
add translation for note launcher button
This commit is contained in:
parent
625e9efcf3
commit
7fc3fdab94
@ -1,4 +1,4 @@
|
|||||||
import AbstractLauncher from "./abstract_launcher.js";
|
import { t } from "../../../services/i18n.js";
|
||||||
import dialogService from "../../../services/dialog.js";
|
import dialogService from "../../../services/dialog.js";
|
||||||
import appContext from "../../../components/app_context.js";
|
import appContext from "../../../components/app_context.js";
|
||||||
import utils from "../../../services/utils.js";
|
import utils from "../../../services/utils.js";
|
||||||
@ -58,7 +58,7 @@ export default class NoteLauncher extends AbstractLauncher {
|
|||||||
const targetNoteId = this.launcherNote.getRelationValue('target');
|
const targetNoteId = this.launcherNote.getRelationValue('target');
|
||||||
|
|
||||||
if (!targetNoteId) {
|
if (!targetNoteId) {
|
||||||
dialogService.info("This launcher doesn't define target note.");
|
dialogService.info(t("note_launcher.this_launcher_doesnt_define_target_note"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -621,5 +621,8 @@
|
|||||||
},
|
},
|
||||||
"update_available": {
|
"update_available": {
|
||||||
"update_available": "有更新可用"
|
"update_available": "有更新可用"
|
||||||
|
},
|
||||||
|
"note_launcher": {
|
||||||
|
"this_launcher_doesnt_define_target_note": "此启动器未定义目标笔记。"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -622,5 +622,8 @@
|
|||||||
},
|
},
|
||||||
"update_available": {
|
"update_available": {
|
||||||
"update_available": "Update available"
|
"update_available": "Update available"
|
||||||
|
},
|
||||||
|
"note_launcher": {
|
||||||
|
"this_launcher_doesnt_define_target_note": "This launcher doesn't define target note."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user