Fixed Locale settings for location navigation

This commit is contained in:
saurabhbhatia 2013-06-27 10:28:48 +08:00 committed by chris
parent 06c2240d34
commit 36e7e3d3e8
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
en:
location: Location
locations: Locations
new_category: "New Category"
save: Save
select_category: "Select Category"

View File

@ -1,6 +1,6 @@
module Location
OrbitApp.registration "Location",:type=> 'ModuleApp' do
module_label 'location.location'
module_label 'locations'
base_url File.expand_path File.dirname(__FILE__)
# personal_plugin :enable => true,:path=>"panel/location/plugin/profile",:i18n=>'admin.location'
@ -32,7 +32,7 @@ module Location
# end
side_bar do
head_label_i18n 'location.location',:icon_class=>"icons-location"
head_label_i18n 'locations',:icon_class=>"icons-location"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['locations']})