client: Translate open help page

This commit is contained in:
Elian Doran 2024-09-08 22:18:54 +03:00
parent 3bdb87d3aa
commit 720087f082
No known key found for this signature in database
3 changed files with 6 additions and 3 deletions

View File

@ -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 = `
</span>
</div>
<button class="switch-help-button" type="button" data-help-page="" title="Open help page" style="display: none;">?</button>
<button class="switch-help-button" type="button" data-help-page="" title="${t("open-help-page")}" style="display: none;">?</button>
</div>`;
export default class SwitchWidget extends NoteContextAwareWidget {

View File

@ -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"
}

View File

@ -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"
}