Skip to content

Commit

Permalink
Add i18n for the word "Navigation" in sidebar.
Browse files Browse the repository at this point in the history
Wonder how to quickly translate all the non-english word for "navigation".
  • Loading branch information
frankel committed Sep 4, 2011
1 parent b64ee61 commit 2bdc756
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/rails_admin/_sidebar.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#sidebar
.block
%h3 Navigation
%h3= t "admin.dashboard.navigation"
= render(:partial => 'rails_admin/main/navigation')
-#.block.notice
-# %h4 Welcome!
Expand Down
1 change: 1 addition & 0 deletions config/locales/rails_admin.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ en:
add_new: "Add new"
show: "Show"
ago: "ago"
navigation: "Navigation"
history:
name: "History"
page_name: "History for %{name}"
Expand Down
1 change: 1 addition & 0 deletions config/locales/rails_admin.zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ zh-CN:
add_new: "添加"
show: "查看"
ago: "以前"
navigation: "导航"
history:
name: "历史"
page_name: "%{name}的历史"
Expand Down

0 comments on commit 2bdc756

Please sign in to comment.