diff --git a/etc/init.shy b/etc/init.shy index d9e7686f..cf2934e2 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -1,6 +1,6 @@ ~aaa role white void tmp - role white void web.wiki.inner + role white void web.code.inner ~web config serve meta.title github.com/shylinux/contexts config serve meta.legal.0 `shylinux@163.com` diff --git a/usr/publish/order.js b/usr/publish/order.js index f0aa5d1b..c6c0f146 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -12,6 +12,17 @@ Volcanos("onengine", { river: { "aaa.totp.get", "web.route", ]}, + "trans": {name: "翻译", action: [ + {name: "english", help: "英文", inputs: [ + {type: "text", name: "word", value: "miss"}, + {type: "button", name: "翻译"}, + ], index: "web.wiki.alpha.trans"}, + {name: "chinese", help: "中文", inputs: [ + {type: "text", name: "word", value: "miss"}, + {type: "text", name: "method", value: "line"}, + {type: "button", name: "翻译"}, + ], index: "web.wiki.alpha.trans"}, + ]}, "hello": {name: "应用1", action: [ {name: "some", help: "some", inputs: [ {type: "text", name: "one"},