From 56b1bd9eaa07a80b1c8a503f3e883a3d17fdb50d Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Tue, 26 Jun 2012 10:57:51 +0800 Subject: [PATCH] add translation --- app/helpers/admin/web_link_helper.rb | 2 +- .../back_end/web_link_categorys/_web_link_category.html.erb | 4 ++-- vendor/built_in_modules/web_resource/config/locales/zh_tw.yml | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/helpers/admin/web_link_helper.rb b/app/helpers/admin/web_link_helper.rb index 813bc48c..0498f31b 100644 --- a/app/helpers/admin/web_link_helper.rb +++ b/app/helpers/admin/web_link_helper.rb @@ -6,6 +6,6 @@ module Admin::WebLinkHelper web_link.object_auths.new(title: type ).save oa = web_link.get_object_auth_by_title(type) end - link_to t('admin.web_link.cate_auth'),admin_object_auth_ob_auth_path(oa) + link_to t('web_resource.cate_auth'),admin_object_auth_ob_auth_path(oa) end end \ No newline at end of file diff --git a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/back_end/web_link_categorys/_web_link_category.html.erb b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/back_end/web_link_categorys/_web_link_category.html.erb index b17e634b..66a772cf 100644 --- a/vendor/built_in_modules/web_resource/app/views/panel/web_resource/back_end/web_link_categorys/_web_link_category.html.erb +++ b/vendor/built_in_modules/web_resource/app/views/panel/web_resource/back_end/web_link_categorys/_web_link_category.html.erb @@ -6,8 +6,8 @@ <%if at_least_module_manager %>
diff --git a/vendor/built_in_modules/web_resource/config/locales/zh_tw.yml b/vendor/built_in_modules/web_resource/config/locales/zh_tw.yml index 607900d9..a0104cbd 100644 --- a/vendor/built_in_modules/web_resource/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/web_resource/config/locales/zh_tw.yml @@ -25,7 +25,9 @@ zh_tw: name: 名稱 describe: 描述 url: 路徑 - + edit: 編輯 + delete: 刪除 + cate_auth: 分類授權 # Chinese (Taiwan) translations for Ruby on Rails