add translation

This commit is contained in:
Matthew K. Fu JuYuan 2012-06-26 10:57:51 +08:00
parent 73fbed8837
commit 56b1bd9eaa
3 changed files with 6 additions and 4 deletions
app/helpers/admin
vendor/built_in_modules/web_resource
app/views/panel/web_resource/back_end/web_link_categorys
config/locales

View File

@ -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

View File

@ -6,8 +6,8 @@
<%if at_least_module_manager %>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('web_link_category.edit'), edit_panel_web_resource_back_end_web_link_category_path(web_link_category), :remote => true %></li>
<li><%= link_to t('web_link_category.delete'), panel_web_resource_back_end_web_link_category_path(web_link_category), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t('web_resource.edit'), edit_panel_web_resource_back_end_web_link_category_path(web_link_category), :remote => true %></li>
<li><%= link_to t('web_resource.delete'), panel_web_resource_back_end_web_link_category_path(web_link_category), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %></li>
<li><%= show_web_link_permission_link web_link_category %></li>
</ul>
</div>

View File

@ -25,7 +25,9 @@ zh_tw:
name: 名稱
describe: 描述
url: 路徑
edit: 編輯
delete: 刪除
cate_auth: 分類授權
# Chinese (Taiwan) translations for Ruby on Rails