Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add some translations to locale file

Loading...
Select All Filds

are now string translatables
  • Loading branch information...
commit c19966735252715978fee2999cf0da2932285872 1 parent acab010
@elsupergomez elsupergomez authored
View
2  app/views/layouts/rails_admin/application.html.haml
@@ -7,7 +7,7 @@
= stylesheet_link_tag "rails_admin/rails_admin.css", :media => :all
= javascript_include_tag "rails_admin/rails_admin.js"
%body.rails_admin
- #loading.label.label-warning{:style => 'display:none; position:fixed; right:20px; bottom:20px; z-index:100000'} Loading...
+ #loading.label.label-warning{:style => 'display:none; position:fixed; right:20px; bottom:20px; z-index:100000'}= t('admin.loading')
.navbar.navbar-fixed-top
.navbar-inner
.container-fluid
View
4 app/views/rails_admin/main/export.html.haml
@@ -8,8 +8,8 @@
%div.control-group
%div.controls
%label.checkbox{:for => 'check_all'}
- = 'Select All Fields'
- = check_box_tag 'all', 'all', true, { :id => 'check_all' }
+ = t('admin.export.select_all_fields')
+ = check_box_tag 'all', 'all', true, { :id => 'check_all' }
%legend
%i.icon-chevron-down
= t('admin.export.select')
View
2  config/locales/rails_admin.en.yml
@@ -1,5 +1,6 @@
en:
admin:
+ loading: "Loading..."
home:
name: "Home"
pagination:
@@ -112,6 +113,7 @@ en:
export:
confirmation: "Export to %{name}"
select: "Select fields to export"
+ select_all_fields: "Select All Fields"
fields_from: "Fields from %{name}"
fields_from_associated: "Fields from associated %{name}"
display: "Display %{name}: %{type}"
Please sign in to comment.
Something went wrong with that request. Please try again.