From 789e328d1111cc0a3a7fee4022c901f3ea7ae96b Mon Sep 17 00:00:00 2001 From: sbwml Date: Sun, 22 Feb 2026 03:09:07 +0800 Subject: [PATCH] luci-app-dockerman: add missing zh-cn translations Signed-off-by: sbwml --- .../resources/view/dockerman/overview.js | 6 ++---- po/zh_Hans/dockerman.po | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/htdocs/luci-static/resources/view/dockerman/overview.js b/htdocs/luci-static/resources/view/dockerman/overview.js index ce115e1..e6d56a8 100644 --- a/htdocs/luci-static/resources/view/dockerman/overview.js +++ b/htdocs/luci-static/resources/view/dockerman/overview.js @@ -117,7 +117,7 @@ return dm2.dv.extend({ ])); mainContainer.appendChild(E('div', { 'class': 'cbi-section-node' }, [ E('div', { 'class': 'cbi-value' }, [ - E('p', { 'class': 'spinning' }, _('Docker daemon is not running or not reachable.')), + E('p', { 'class': 'spinning' }, _('Docker daemon is not running.')), E('p', { 'style': 'font-family: monospace; color: #888; margin-left: 1.5em;'}, info_response?.body?.message) ]) ])); @@ -170,9 +170,7 @@ return dm2.dv.extend({ // Add heading and description first mainContainer.appendChild(E('h2', { 'class': 'section-title' }, [_('Docker - Overview')])); mainContainer.appendChild(E('div', { 'class': 'cbi-map-descr' }, [ - _('An overview with the relevant data is displayed here with which the LuCI docker client is connected.'), - E('br'), - E('a', { href: 'https://github.com/openwrt/luci/blob/master/applications/luci-app-dockerman/README.md' }, ['README']) + _('An overview with the relevant data is displayed here with which the LuCI docker client is connected.') ])); if (isLocal) diff --git a/po/zh_Hans/dockerman.po b/po/zh_Hans/dockerman.po index 459b7b0..cbbca06 100644 --- a/po/zh_Hans/dockerman.po +++ b/po/zh_Hans/dockerman.po @@ -2437,3 +2437,21 @@ msgstr "有警告" #~ msgstr "" #~ "按下导入按钮时,既可以将本地镜像文件加载到系统上,也可以从远程下载有效的" #~ "Tar格式的镜像文件。" + +msgid "Docker daemon is not running." +msgstr "Docker 守护进程未运行。" + +msgid "Starting daemon..." +msgstr "正在启动守护进程…" + +msgid "The page will be reloaded in 5 seconds." +msgstr "页面将在 5 秒后重新加载。" + +msgid "Restarting daemon..." +msgstr "正在重启守护进程…" + +msgid "The page will be reloaded in 10 seconds." +msgstr "页面将在 10 秒后重新加载。" + +msgid "Stopping daemon..." +msgstr "正在停止守护进程…"