fix member sidebar

add i18n for modules and default_widgets
This commit is contained in:
Fu Matthew committed 2013-02-06 17:44:38 +08:00
1 parent 8e7e601845
commit 29bb92f841
18 files changed
+38 -22

No files matched your search

@@ -0,0 +1,3 @@
en:
location:
location: Location
@@ -0,0 +1,3 @@
zh_tw:
location:
location: 地標
+2 -2
View File
@@ -1,6 +1,6 @@
module Location
OrbitApp.registration "Location",:type=> 'ModuleApp' do
module_label 'miss_module_i18n.location'
module_label 'location.location'
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 'miss_module_i18n.location',:icon_class=>"icons-location"
head_label_i18n 'location.location',:icon_class=>"icons-location"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['locations']})