From 0be69b8b04beabda91937608066f944ce80a1935 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 8 Aug 2013 03:49:00 +0000 Subject: 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 --- lib/redmine/wiki_formatting/textile/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3