From 17ffcef6ef9336fa802d6bc3c7ab33e9ba5e8cb0 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 2 Feb 2024 00:05:42 +0800 Subject: [PATCH] add island.group --- etc/init.shy | 8 ++++++++ etc/zh-cn.js | 1 + src/main.js | 2 +- src/template/web.chat.header/language/zh-cn.js | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 120000 etc/zh-cn.js diff --git a/etc/init.shy b/etc/init.shy index 67d0b714..3f073b34 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -1,3 +1,11 @@ +~web.code + binpack insert usr/icons/ + binpack insert usr/node_modules/bootstrap-icons/font/bootstrap-icons.css + binpack insert usr/node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2 + binpack insert usr/node_modules/xterm/css/xterm.css + binpack insert usr/node_modules/xterm/lib/xterm.js + binpack insert usr/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js + binpack insert usr/node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js ~web.code.git config service cmd git ~ssh diff --git a/etc/zh-cn.js b/etc/zh-cn.js new file mode 120000 index 00000000..f288589c --- /dev/null +++ b/etc/zh-cn.js @@ -0,0 +1 @@ +../src/template/web.chat.header/language/zh-cn.js \ No newline at end of file diff --git a/src/main.js b/src/main.js index a7337784..ee7cc9b7 100644 --- a/src/main.js +++ b/src/main.js @@ -26,8 +26,8 @@ Volcanos({river: { ]}, cloud: {name: "部署 cloud", icon: "bi bi-clouds", list: [ {space: "20220826-career", index: "ssh.relay"}, + {space: "20230913-matrix-story", index: "web.chat.island.group"}, {space: "20230913-matrix-story", index: "web.chat.island.portal"}, - {space: "20230511-docker-story", index: "web.code.docker.container"}, {space: "20230511-golang-story", index: "web.chat.mail.client"}, ]}, }}, diff --git a/src/template/web.chat.header/language/zh-cn.js b/src/template/web.chat.header/language/zh-cn.js index 73f12b67..37b19ded 100644 --- a/src/template/web.chat.header/language/zh-cn.js +++ b/src/template/web.chat.header/language/zh-cn.js @@ -11,7 +11,9 @@ Volcanos("user", {_trans: kit.Dict("_week_header", ["周日", "周一", "周二" web.CLEAR, "清空", web.REFRESH, "刷新", web.CANCEL, "取消", web.SUBMIT, "提交", web.CONFIRM, "确定", web.UPLOAD, "上传", web.DOWNLOAD, "下载", web.PREVIEW, "预览", + web.DESKTOP, "桌面", web.DREAM, "空间", aaa.LOGIN, "登录", + aaa.APPLY, "申请", cli.QRCODE, "二维码", cli.BEGIN, "开始", cli.END, "结束", cli.START, "启动", cli.RESTART, "重启", cli.STOP, "停止",