From 720087f082a44ff639f4ab3ce3c8201b4b770237 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 8 Sep 2024 22:18:54 +0300 Subject: [PATCH] client: Translate open help page --- src/public/app/widgets/switch.js | 3 ++- src/public/translations/en/translation.json | 3 ++- src/public/translations/ro/translation.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/public/app/widgets/switch.js b/src/public/app/widgets/switch.js index e70fb5612..c59126f81 100644 --- a/src/public/app/widgets/switch.js +++ b/src/public/app/widgets/switch.js @@ -1,3 +1,4 @@ +import { t } from "../services/i18n.js"; import NoteContextAwareWidget from "./note_context_aware_widget.js"; const TPL = ` @@ -90,7 +91,7 @@ const TPL = ` - + `; export default class SwitchWidget extends NoteContextAwareWidget { diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 200956c70..d2579f789 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1317,5 +1317,6 @@ "template": "Template", "toggle-on-hint": "Make the note a template", "toggle-off-hint": "Remove the note as a template" - } + }, + "open-help-page": "Open help page" } diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 32d20f0c1..6bc64185d 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1317,5 +1317,6 @@ "template": "Șablon", "toggle-off-hint": "Înlătură notița ca șablon", "toggle-on-hint": "Marchează notița drept șablon" - } + }, + "open-help-page": "Deschide pagina de informații" }