diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json index fc7d42fd6..a3a85325b 100644 --- a/apps/client/src/translations/cn/translation.json +++ b/apps/client/src/translations/cn/translation.json @@ -202,7 +202,7 @@ "box_size_small": "小型 (显示大约10行)", "box_size_medium": "中型 (显示大约30行)", "box_size_full": "完整显示(完整文本框)", - "button_include": "包含笔记 回车" + "button_include": "包含笔记" }, "info": { "modalTitle": "信息消息", diff --git a/apps/client/src/translations/de/translation.json b/apps/client/src/translations/de/translation.json index 3c569017a..431dd0027 100644 --- a/apps/client/src/translations/de/translation.json +++ b/apps/client/src/translations/de/translation.json @@ -201,7 +201,7 @@ "box_size_small": "klein (~ 10 Zeilen)", "box_size_medium": "mittel (~ 30 Zeilen)", "box_size_full": "vollständig (Feld zeigt vollständigen Text)", - "button_include": "Notiz beifügen Eingabetaste" + "button_include": "Notiz beifügen" }, "info": { "modalTitle": "Infonachricht", diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index c17badf3e..491addf3c 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -203,7 +203,7 @@ "box_size_small": "small (~ 10 lines)", "box_size_medium": "medium (~ 30 lines)", "box_size_full": "full (box shows complete text)", - "button_include": "Include note enter" + "button_include": "Include note" }, "info": { "modalTitle": "Info message", diff --git a/apps/client/src/translations/es/translation.json b/apps/client/src/translations/es/translation.json index 1e1119e2f..91095325f 100644 --- a/apps/client/src/translations/es/translation.json +++ b/apps/client/src/translations/es/translation.json @@ -202,7 +202,7 @@ "box_size_small": "pequeño (~ 10 líneas)", "box_size_medium": "medio (~ 30 líneas)", "box_size_full": "completo (el cuadro muestra el texto completo)", - "button_include": "Incluir nota Enter" + "button_include": "Incluir nota" }, "info": { "modalTitle": "Mensaje informativo", diff --git a/apps/client/src/translations/fr/translation.json b/apps/client/src/translations/fr/translation.json index 6921f1cf5..0add71da1 100644 --- a/apps/client/src/translations/fr/translation.json +++ b/apps/client/src/translations/fr/translation.json @@ -201,7 +201,7 @@ "box_size_small": "petit (~ 10 lignes)", "box_size_medium": "moyen (~ 30 lignes)", "box_size_full": "complet (la boîte affiche le texte complet)", - "button_include": "Inclure une note Entrée" + "button_include": "Inclure une note" }, "info": { "modalTitle": "Message d'information", diff --git a/apps/client/src/translations/ro/translation.json b/apps/client/src/translations/ro/translation.json index 8544428c5..2b1ba6db2 100644 --- a/apps/client/src/translations/ro/translation.json +++ b/apps/client/src/translations/ro/translation.json @@ -750,7 +750,7 @@ "box_size_medium": "mediu (~ 30 de rânduri)", "box_size_prompt": "Dimensiunea căsuței notiței incluse:", "box_size_small": "mică (~ 10 rânduri)", - "button_include": "Include notița Enter", + "button_include": "Include notița", "dialog_title": "Includere notița", "label_note": "Notiță", "placeholder_search": "căutați notița după denumirea ei", diff --git a/apps/client/src/translations/sr/translation.json b/apps/client/src/translations/sr/translation.json index 61ab6a8b2..1e5d8741c 100644 --- a/apps/client/src/translations/sr/translation.json +++ b/apps/client/src/translations/sr/translation.json @@ -203,7 +203,7 @@ "box_size_small": "mala (~ 10 redova)", "box_size_medium": "srednja (~ 30 redova)", "box_size_full": "puna (kutija prikazuje ceo tekst)", - "button_include": "Uključi belešku enter" + "button_include": "Uključi belešku" }, "info": { "modalTitle": "Informativna poruka", diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json index 9e43e775a..50daa3905 100644 --- a/apps/client/src/translations/tw/translation.json +++ b/apps/client/src/translations/tw/translation.json @@ -185,7 +185,7 @@ "box_size_small": "小型 (顯示大約10行)", "box_size_medium": "中型 (顯示大約30行)", "box_size_full": "完整顯示(完整文字框)", - "button_include": "包含筆記 Enter" + "button_include": "包含筆記" }, "info": { "modalTitle": "資訊消息", diff --git a/apps/client/src/widgets/dialogs/include_note.ts b/apps/client/src/widgets/dialogs/include_note.ts deleted file mode 100644 index 61b22a35b..000000000 --- a/apps/client/src/widgets/dialogs/include_note.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { t } from "../../services/i18n.js"; -import treeService from "../../services/tree.js"; -import noteAutocompleteService from "../../services/note_autocomplete.js"; -import froca from "../../services/froca.js"; -import BasicWidget from "../basic_widget.js"; -import { Modal } from "bootstrap"; -import type { EventData } from "../../components/app_context.js"; -import type EditableTextTypeWidget from "../type_widgets/editable_text.js"; -import { openDialog } from "../../services/dialog.js"; - -const TPL = /*html*/` -