mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Translate open help page
This commit is contained in:
parent
3bdb87d3aa
commit
720087f082
@ -1,3 +1,4 @@
|
|||||||
|
import { t } from "../services/i18n.js";
|
||||||
import NoteContextAwareWidget from "./note_context_aware_widget.js";
|
import NoteContextAwareWidget from "./note_context_aware_widget.js";
|
||||||
|
|
||||||
const TPL = `
|
const TPL = `
|
||||||
@ -90,7 +91,7 @@ const TPL = `
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</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>`;
|
</div>`;
|
||||||
|
|
||||||
export default class SwitchWidget extends NoteContextAwareWidget {
|
export default class SwitchWidget extends NoteContextAwareWidget {
|
||||||
|
@ -1317,5 +1317,6 @@
|
|||||||
"template": "Template",
|
"template": "Template",
|
||||||
"toggle-on-hint": "Make the note a template",
|
"toggle-on-hint": "Make the note a template",
|
||||||
"toggle-off-hint": "Remove the note as a template"
|
"toggle-off-hint": "Remove the note as a template"
|
||||||
}
|
},
|
||||||
|
"open-help-page": "Open help page"
|
||||||
}
|
}
|
||||||
|
@ -1317,5 +1317,6 @@
|
|||||||
"template": "Șablon",
|
"template": "Șablon",
|
||||||
"toggle-off-hint": "Înlătură notița ca șablon",
|
"toggle-off-hint": "Înlătură notița ca șablon",
|
||||||
"toggle-on-hint": "Marchează notița drept șablon"
|
"toggle-on-hint": "Marchează notița drept șablon"
|
||||||
}
|
},
|
||||||
|
"open-help-page": "Deschide pagina de informații"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user