client: Translate open help page

This commit is contained in:
Elian Doran
2024-09-08 22:18:54 +03:00
parent 3bdb87d3aa
commit 720087f082
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 {