summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-08 03:49:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-08 03:49:00 +0000
commit0be69b8b04beabda91937608066f944ce80a1935 (patch)
treef9fac78820ad2f536ec29700e4c0353b6926b47e /lib
parent43da3859bce702ffa272a4404ea0fd4fa2cdefda (diff)
downloadredmine-0be69b8b04beabda91937608066f944ce80a1935.tar.gz
redmine-0be69b8b04beabda91937608066f944ce80a1935.zip
copy English wiki syntax helps to other languages (#14630)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12096 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/textile/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/helper.rb b/lib/redmine/wiki_formatting/textile/helper.rb
index 86b95b309..fb568d4a6 100644
--- a/lib/redmine/wiki_formatting/textile/helper.rb
+++ b/lib/redmine/wiki_formatting/textile/helper.rb
@@ -22,7 +22,7 @@ module Redmine
def wikitoolbar_for(field_id)
heads_for_wiki_formatter
# Is there a simple way to link to a public resource?
- url = "#{Redmine::Utils.relative_url_root}/help/en/wiki_syntax.html"
+ url = "#{Redmine::Utils.relative_url_root}/help/#{current_language.to_s.downcase}/wiki_syntax.html"
javascript_tag("var wikiToolbar = new jsToolBar(document.getElementById('#{field_id}')); wikiToolbar.setHelpLink('#{escape_javascript url}'); wikiToolbar.draw();")
end