From: Toshi MARUYAMA Date: Sat, 6 Aug 2011 00:49:52 +0000 (+0000) Subject: replace « and » at app/helpers/application_helper.rb to hexadecimal UTF... X-Git-Tag: 1.3.0~1534 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4b83908b55953e7fd57d001edf7b70c916eb0edb;p=redmine.git 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 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a8e6f5ca9..b027f4ef0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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?