mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add translation for widget: api_log.js
This commit is contained in:
parent
34d2f20e16
commit
4c3694bfa3
@ -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 = `
|
||||||
@ -32,7 +33,7 @@ const TPL = `
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="bx bx-x close-api-log-button" title="Close"></div>
|
<div class="bx bx-x close-api-log-button" title="${t('api_log.close')}"></div>
|
||||||
|
|
||||||
<div class="api-log-container"></div>
|
<div class="api-log-container"></div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
@ -1218,5 +1218,8 @@
|
|||||||
"test_description": "测试和同步服务器之间的连接。如果同步服务器没有初始化,会将本地文档同步到同步服务器上。",
|
"test_description": "测试和同步服务器之间的连接。如果同步服务器没有初始化,会将本地文档同步到同步服务器上。",
|
||||||
"test_button": "测试同步",
|
"test_button": "测试同步",
|
||||||
"handshake_failed": "同步服务器握手失败,错误:{{message}}"
|
"handshake_failed": "同步服务器握手失败,错误:{{message}}"
|
||||||
|
},
|
||||||
|
"api_log": {
|
||||||
|
"close": "关闭"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1219,5 +1219,8 @@
|
|||||||
"test_description": "This will test the connection and handshake to the sync server. If the sync server isn't initialized, this will set it up to sync with the local document.",
|
"test_description": "This will test the connection and handshake to the sync server. If the sync server isn't initialized, this will set it up to sync with the local document.",
|
||||||
"test_button": "Test sync",
|
"test_button": "Test sync",
|
||||||
"handshake_failed": "Sync server handshake failed, error: {{message}}"
|
"handshake_failed": "Sync server handshake failed, error: {{message}}"
|
||||||
|
},
|
||||||
|
"api_log": {
|
||||||
|
"close": "Close"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user