mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add translation for buttons: revisions_button.js
This commit is contained in:
parent
9320a548f4
commit
e2d43b4538
@ -1,3 +1,4 @@
|
|||||||
|
import { t } from "../../services/i18n.js";
|
||||||
import CommandButtonWidget from "./command_button.js";
|
import CommandButtonWidget from "./command_button.js";
|
||||||
|
|
||||||
export default class RevisionsButton extends CommandButtonWidget {
|
export default class RevisionsButton extends CommandButtonWidget {
|
||||||
@ -5,7 +6,7 @@ export default class RevisionsButton extends CommandButtonWidget {
|
|||||||
super();
|
super();
|
||||||
|
|
||||||
this.icon('bx-history')
|
this.icon('bx-history')
|
||||||
.title("Note Revisions")
|
.title(t("revisions_button.note_revisions"))
|
||||||
.command("showRevisions")
|
.command("showRevisions")
|
||||||
.titlePlacement("bottom")
|
.titlePlacement("bottom")
|
||||||
.class("icon-action");
|
.class("icon-action");
|
||||||
|
@ -615,5 +615,8 @@
|
|||||||
"protected_session_status": {
|
"protected_session_status": {
|
||||||
"active": "受保护的会话已激活。点击退出受保护的会话。",
|
"active": "受保护的会话已激活。点击退出受保护的会话。",
|
||||||
"inactive": "点击进入受保护的会话"
|
"inactive": "点击进入受保护的会话"
|
||||||
|
},
|
||||||
|
"revisions_button": {
|
||||||
|
"note_revisions": "笔记修改历史"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -616,5 +616,8 @@
|
|||||||
"protected_session_status": {
|
"protected_session_status": {
|
||||||
"active": "Protected session is active. Click to leave protected session.",
|
"active": "Protected session is active. Click to leave protected session.",
|
||||||
"inactive": "Click to enter protected session"
|
"inactive": "Click to enter protected session"
|
||||||
|
},
|
||||||
|
"revisions_button": {
|
||||||
|
"note_revisions": "Note Revisions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user