From a860a5e32923f0670b49d059a36a367566d42d73 Mon Sep 17 00:00:00 2001 From: Steeve Chailloux Date: Wed, 18 Nov 2015 09:49:17 -0600 Subject: [PATCH 1/2] translate view from chinese to english --- views_en/easyui/public/header.tpl | 13 + views_en/easyui/public/index.tpl | 231 ++++++++++++++++++ views_en/easyui/public/login.tpl | 64 +++++ views_en/easyui/rbac/accesstonode.tpl | 103 ++++++++ views_en/easyui/rbac/group.tpl | 225 ++++++++++++++++++ views_en/easyui/rbac/node.tpl | 197 ++++++++++++++++ views_en/easyui/rbac/role.tpl | 185 +++++++++++++++ views_en/easyui/rbac/roletouserlist.tpl | 77 ++++++ views_en/easyui/rbac/user.tpl | 300 ++++++++++++++++++++++++ views_en/index.tpl | 82 +++++++ 10 files changed, 1477 insertions(+) create mode 100644 views_en/easyui/public/header.tpl create mode 100644 views_en/easyui/public/index.tpl create mode 100644 views_en/easyui/public/login.tpl create mode 100644 views_en/easyui/rbac/accesstonode.tpl create mode 100644 views_en/easyui/rbac/group.tpl create mode 100644 views_en/easyui/rbac/node.tpl create mode 100644 views_en/easyui/rbac/role.tpl create mode 100644 views_en/easyui/rbac/roletouserlist.tpl create mode 100644 views_en/easyui/rbac/user.tpl create mode 100644 views_en/index.tpl diff --git a/views_en/easyui/public/header.tpl b/views_en/easyui/public/header.tpl new file mode 100644 index 0000000..5961437 --- /dev/null +++ b/views_en/easyui/public/header.tpl @@ -0,0 +1,13 @@ + + + + + Beego admin + + + + + + + + diff --git a/views_en/easyui/public/index.tpl b/views_en/easyui/public/index.tpl new file mode 100644 index 0000000..c7aac2d --- /dev/null +++ b/views_en/easyui/public/index.tpl @@ -0,0 +1,231 @@ +{{template "../public/header.tpl"}} + + + + +
+
+

BeegoAdmin

+
+ +
+ Welcome! {{.userinfo.Nickname}} Change Password + Log Out +
+
+
+
+
+ + + + + + + + + + + + + +
Old Password
New Password:
Repeat Password
+
+
+
+ +
+ +
+
+
+
+
+
+ + +
+ + + + diff --git a/views_en/easyui/public/login.tpl b/views_en/easyui/public/login.tpl new file mode 100644 index 0000000..49b0217 --- /dev/null +++ b/views_en/easyui/public/login.tpl @@ -0,0 +1,64 @@ +{{template "../public/header.tpl"}} + + +
+
+
+ + + + + + + +
Username:
Password:
+
+
+
+ + diff --git a/views_en/easyui/rbac/accesstonode.tpl b/views_en/easyui/rbac/accesstonode.tpl new file mode 100644 index 0000000..d95cd60 --- /dev/null +++ b/views_en/easyui/rbac/accesstonode.tpl @@ -0,0 +1,103 @@ +{{template "../public/header.tpl"}} + + +
+
+
+ Group: + Current Group: + Save +
+
+ + diff --git a/views_en/easyui/rbac/group.tpl b/views_en/easyui/rbac/group.tpl new file mode 100644 index 0000000..eaddc20 --- /dev/null +++ b/views_en/easyui/rbac/group.tpl @@ -0,0 +1,225 @@ +{{template "../public/header.tpl"}} + + + +
+
+ Add + Edit + Save + Delete + Reload +
+ + + + +
+
+
+ + + + + + + + + + + + + + + + + +
Group Name:
Display Name:
Sort:
Status: + +
+
+
+
+ + diff --git a/views_en/easyui/rbac/node.tpl b/views_en/easyui/rbac/node.tpl new file mode 100644 index 0000000..68246cf --- /dev/null +++ b/views_en/easyui/rbac/node.tpl @@ -0,0 +1,197 @@ +{{template "../public/header.tpl"}} + + +
+
+ + Add + Edit + Save + Cancel + Delete + Reload +
+ + + + + + diff --git a/views_en/easyui/rbac/role.tpl b/views_en/easyui/rbac/role.tpl new file mode 100644 index 0000000..506dd65 --- /dev/null +++ b/views_en/easyui/rbac/role.tpl @@ -0,0 +1,185 @@ +{{template "../public/header.tpl"}} + + +
+
+ Add + Edit + Save + Delete + Reload +
+ + + + + + diff --git a/views_en/easyui/rbac/roletouserlist.tpl b/views_en/easyui/rbac/roletouserlist.tpl new file mode 100644 index 0000000..455bf00 --- /dev/null +++ b/views_en/easyui/rbac/roletouserlist.tpl @@ -0,0 +1,77 @@ +{{template "../public/header.tpl"}} + + +
+
+
+ Current Group: + Save +
+
+ Select All + UnSelect All +
+
+ + diff --git a/views_en/easyui/rbac/user.tpl b/views_en/easyui/rbac/user.tpl new file mode 100644 index 0000000..27b9bdd --- /dev/null +++ b/views_en/easyui/rbac/user.tpl @@ -0,0 +1,300 @@ +{{template "../public/header.tpl"}} + + +
+
+ Add + Edit + Save + Delete + Reload + Change Password +
+ + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Username:
Nickname:
Password
Retype Password
Email:
Status: + +
Description:
+
+
+
+
+
+ + + + + +
Password:
+
+
+ + diff --git a/views_en/index.tpl b/views_en/index.tpl new file mode 100644 index 0000000..167ad4f --- /dev/null +++ b/views_en/index.tpl @@ -0,0 +1,82 @@ + + + + + Beego + + + + + + +
+
+
+
+

Welcome to Beego!

+

+ Beego is a simple & powerful Go web framework which is inspired by tornado and sinatra. +
+ Official website: {{.Website}} +
+ Contact me: {{.Email}} +

+
+
+
+
+ + From 99963fe1817e0c321b02db94462daf51d82d2898 Mon Sep 17 00:00:00 2001 From: Steeve Chailloux Date: Wed, 18 Nov 2015 10:18:25 -0600 Subject: [PATCH 2/2] fix error group/role --- views_en/easyui/rbac/accesstonode.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views_en/easyui/rbac/accesstonode.tpl b/views_en/easyui/rbac/accesstonode.tpl index d95cd60..248a651 100644 --- a/views_en/easyui/rbac/accesstonode.tpl +++ b/views_en/easyui/rbac/accesstonode.tpl @@ -95,7 +95,7 @@ $(function(){
Group: - Current Group: + Current Role: Save