diff --git a/src/public/app/widgets/api_log.js b/src/public/app/widgets/api_log.js index faa01f108..b1a85a486 100644 --- a/src/public/app/widgets/api_log.js +++ b/src/public/app/widgets/api_log.js @@ -1,3 +1,4 @@ +import { t } from "../services/i18n.js"; import NoteContextAwareWidget from "./note_context_aware_widget.js"; const TPL = ` @@ -32,7 +33,7 @@ const TPL = ` } -
+
`; diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index 92e94c935..882ce1629 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -1218,5 +1218,8 @@ "test_description": "测试和同步服务器之间的连接。如果同步服务器没有初始化,会将本地文档同步到同步服务器上。", "test_button": "测试同步", "handshake_failed": "同步服务器握手失败,错误:{{message}}" + }, + "api_log": { + "close": "关闭" } } diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 245c371b1..8d9eaa5fa 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -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_button": "Test sync", "handshake_failed": "Sync server handshake failed, error: {{message}}" + }, + "api_log": { + "close": "Close" } }