More fixes with hard links and more translation fixes

This commit is contained in:
Emilio Blanco 2011-03-28 21:59:28 -03:00
parent eff724bdb5
commit d1e57475ce
17 changed files with 134 additions and 135 deletions

View file

@ -24,7 +24,7 @@ module NavigationHelper
end
def link_import_preview() "/contacts/import_preview" end
def link_main_index() "/" end
def link_main_index() root_url end
def link_contact_import() "/contacts/import" end
def link_contact_choose() "/contacts/contact/choose" end
@ -45,7 +45,7 @@ module NavigationHelper
end
def link_folders
link_to( t(:folders), :controller=>"/webmail", :action=>"messages")
link_to( t(:folders), :controller=>:webmail, :action=>:messages)
end
private

View file

@ -159,6 +159,6 @@ module WebmailHelper
def empty_trash_link(folder_name)
link_to( "(#{t :empty})",
{ :controller => "webmail", :action => "empty", :params=>{"folder_name"=>folder_name}},
:confirm => _('Do you really want to empty trash?'))
:confirm => t(:want_to_empty_trash_message))
end
end