Start workin on i18n
This commit is contained in:
parent
3a05d36f8c
commit
f35342a791
4 changed files with 35 additions and 18 deletions
|
@ -144,7 +144,7 @@ export class EditorManager {
|
|||
init() {
|
||||
const fileID = this.data.fileID;
|
||||
if (fileID == null) {
|
||||
alert("File ID missing - couldn't open file.")
|
||||
alert(p.i18n.errNoFileID);
|
||||
return;
|
||||
}
|
||||
const editor = new PluginEditor(fileID, p.config.getDefaultEditorOptions());
|
||||
|
@ -157,7 +157,7 @@ export class EditorManager {
|
|||
openTab({
|
||||
app: p.app,
|
||||
custom: {
|
||||
title: 'Drawing',
|
||||
title: p.i18n.drawing,
|
||||
icon: 'iconDraw',
|
||||
id: "siyuan-jsdraw-pluginwhiteboard",
|
||||
data: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue