From d48c5bbac4892288e2cc6f8b4faa0359b60beadd Mon Sep 17 00:00:00 2001 From: cuigh Date: Mon, 16 Apr 2018 20:47:20 +0800 Subject: [PATCH] Improve i18n --- views/_layouts/default.jet | 2 +- views/system/chart/_base.jet | 6 +++--- views/system/event/list.jet | 6 +++--- views/system/role/_base.jet | 6 +++--- views/system/setting/index.jet | 6 +++--- views/system/user/_base.jet | 6 +++--- views/system/user/detail.jet | 2 +- views/system/user/edit.jet | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/views/_layouts/default.jet b/views/_layouts/default.jet index 54691e0..526708c 100644 --- a/views/_layouts/default.jet +++ b/views/_layouts/default.jet @@ -53,9 +53,9 @@ diff --git a/views/system/setting/index.jet b/views/system/setting/index.jet index 568dc86..a8dc2ea 100644 --- a/views/system/setting/index.jet +++ b/views/system/setting/index.jet @@ -24,15 +24,15 @@
  • {{ i18n("menu.user") }}
  • +
  • + {{ i18n("menu.chart") }} +
  • {{ i18n("menu.setting") }}
  • {{ i18n("menu.event") }}
  • -
  • - {{ i18n("menu.chart") }} -
  • diff --git a/views/system/user/_base.jet b/views/system/user/_base.jet index 7b8b970..3a53648 100644 --- a/views/system/user/_base.jet +++ b/views/system/user/_base.jet @@ -18,15 +18,15 @@
  • {{ i18n("menu.user") }}
  • +
  • + {{ i18n("menu.chart") }} +
  • {{ i18n("menu.setting") }}
  • {{ i18n("menu.event") }}
  • -
  • - {{ i18n("menu.chart") }} -
  • diff --git a/views/system/user/detail.jet b/views/system/user/detail.jet index 5df7674..b6233d8 100644 --- a/views/system/user/detail.jet +++ b/views/system/user/detail.jet @@ -48,7 +48,7 @@
    {{ i18n("field.updated-at") }}
    {{ time(.User.UpdatedAt) }}
    {{if .Roles}} -
    Roles
    +
    {{ i18n("field.role") }}
    {{ roles := .Roles }} diff --git a/views/system/user/edit.jet b/views/system/user/edit.jet index 0220536..fe7d99b 100644 --- a/views/system/user/edit.jet +++ b/views/system/user/edit.jet @@ -70,7 +70,7 @@
    - +
    {{ roles := .UserRoles }} {{range .Roles}}