replace « and » at app/helpers/application_helper.rb to hexadecimal UTF-8 strings (#4796).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6412 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
48dccc46f0
commit
4b83908b55
|
@ -353,7 +353,10 @@ module ApplicationHelper
|
|||
|
||||
html = ''
|
||||
if paginator.current.previous
|
||||
html << link_to_content_update('« ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' '
|
||||
# \xc2\xab(utf-8) = «
|
||||
html << link_to_content_update(
|
||||
"\xc2\xab " + l(:label_previous),
|
||||
url_param.merge(page_param => paginator.current.previous)) + ' '
|
||||
end
|
||||
|
||||
html << (pagination_links_each(paginator, options) do |n|
|
||||
|
@ -361,7 +364,10 @@ module ApplicationHelper
|
|||
end || '')
|
||||
|
||||
if paginator.current.next
|
||||
html << ' ' + link_to_content_update((l(:label_next) + ' »'), url_param.merge(page_param => paginator.current.next))
|
||||
# \xc2\xbb(utf-8) = »
|
||||
html << ' ' + link_to_content_update(
|
||||
(l(:label_next) + " \xc2\xbb"),
|
||||
url_param.merge(page_param => paginator.current.next))
|
||||
end
|
||||
|
||||
unless count.nil?
|
||||
|
|
Loading…
Reference in New Issue