mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
add translation for note launcher button
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import AbstractLauncher from "./abstract_launcher.js";
|
||||
import { t } from "../../../services/i18n.js";
|
||||
import dialogService from "../../../services/dialog.js";
|
||||
import appContext from "../../../components/app_context.js";
|
||||
import utils from "../../../services/utils.js";
|
||||
@@ -58,7 +58,7 @@ export default class NoteLauncher extends AbstractLauncher {
|
||||
const targetNoteId = this.launcherNote.getRelationValue('target');
|
||||
|
||||
if (!targetNoteId) {
|
||||
dialogService.info("This launcher doesn't define target note.");
|
||||
dialogService.info(t("note_launcher.this_launcher_doesnt_define_target_note"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user