From 2ca7e1b548626fe83e466593be287fac882d082e Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Wed, 12 Sep 2012 20:36:24 +0800 Subject: [PATCH] Fix typos after i18n yml --- app/views/admin/app_auths/index.html.erb | 2 +- app/views/admin/attributes/index.html.erb | 2 +- app/views/admin/purchases/index.html.erb | 2 +- app/views/admin/users/index.html.erb | 2 +- app/views/layouts/_orbit_bar.html.erb | 2 +- app/views/layouts/_side_bar.html.erb | 2 +- config/locales/zh_tw.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/admin/app_auths/index.html.erb b/app/views/admin/app_auths/index.html.erb index f7bc5f42..a04faa62 100644 --- a/app/views/admin/app_auths/index.html.erb +++ b/app/views/admin/app_auths/index.html.erb @@ -16,7 +16,7 @@ <%= t(:author) %> <%= t(:organization) %> <%= t(:version) %> - <%= t(':action') %> + <%= t(:action) %> diff --git a/app/views/admin/attributes/index.html.erb b/app/views/admin/attributes/index.html.erb index bdeb1a5c..babfc989 100644 --- a/app/views/admin/attributes/index.html.erb +++ b/app/views/admin/attributes/index.html.erb @@ -10,7 +10,7 @@ <%= t("admin.#{@attribute_type}") %> - <%= t(':action') %> + <%= t(:action) %> diff --git a/app/views/admin/purchases/index.html.erb b/app/views/admin/purchases/index.html.erb index 7de31c77..920d639a 100644 --- a/app/views/admin/purchases/index.html.erb +++ b/app/views/admin/purchases/index.html.erb @@ -6,7 +6,7 @@ <%= t(:title) %> <%= t(:intro) %> <%= t(:author) %> - <%= t(':action') %> + <%= t(:action) %> <%# @purchases.each do |purchase| %> diff --git a/app/views/admin/users/index.html.erb b/app/views/admin/users/index.html.erb index 6e16cae7..943534b9 100644 --- a/app/views/admin/users/index.html.erb +++ b/app/views/admin/users/index.html.erb @@ -14,7 +14,7 @@ <%= t(:name) %> <%= t(:email) %> <%= t(:admin) %> - <%= t(':action') %> + <%= t(:action) %> diff --git a/app/views/layouts/_orbit_bar.html.erb b/app/views/layouts/_orbit_bar.html.erb index 01da6337..3645d62f 100644 --- a/app/views/layouts/_orbit_bar.html.erb +++ b/app/views/layouts/_orbit_bar.html.erb @@ -12,7 +12,7 @@
  • <%= link_to content_tag(:i, nil, :class => 'icons-structure') + t(:structure), admin_items_path %>
  • <%= link_to content_tag(:i, nil, :class => 'icons-cog') + t('site.settings'), admin_site_site_info_path(@site) %>
  • -
  • <%#= link_to content_tag(:i, nil, :class => 'icons-plus-cube') + t(':add_item') %>
  • +
  • <%#= link_to content_tag(:i, nil, :class => 'icons-plus-cube') + t(:add_item) %>
  • <% else %> Orbit diff --git a/app/views/layouts/_side_bar.html.erb b/app/views/layouts/_side_bar.html.erb index cc4a9be6..5c08ce59 100644 --- a/app/views/layouts/_side_bar.html.erb +++ b/app/views/layouts/_side_bar.html.erb @@ -46,7 +46,7 @@ <% end -%> <%= content_tag :li, :class => active_for_controllers('ad_banners', 'ad_images') ||active_for_ob_auths_object("AdBanner") ||active_for_app_auth('ad_banners') do -%> - <%= link_to content_tag(:i, nil, :class => 'icons-link') + t(':ad_banner'), admin_ad_banners_path %> + <%= link_to content_tag(:i, nil, :class => 'icons-link') + t(:ad_banner), admin_ad_banners_path %> <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('ad_banners', 'ad_images') ) do -%> <%#= content_tag :li, link_to(t('list.ad_banner'), admin_ad_banners_path), :class => active_for_action('ad_banners', 'index') %> diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index b5587489..9bc26ba1 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -1,4 +1,4 @@ -en: +zh_tw: _locale: English