Actions
Feature #14630
closedwiki_syntax.html per language (wiki help localization mechanism)
Start date:
Due date:
% Done:
100%
Estimated time:
Resolution:
Description
Index: lib/redmine/wiki_formatting/textile/helper.rb
===================================================================
--- lib/redmine/wiki_formatting/textile/helper.rb (revision 12089)
+++ lib/redmine/wiki_formatting/textile/helper.rb (working copy)
@@ -22,7 +22,7 @@
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/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
Files
Related issues
Updated by Toshi MARUYAMA over 11 years ago
- Tracker changed from Patch to Feature
Updated by Daniel Felix over 11 years ago
- Related to Feature #12230: Make format help translateable added
Updated by Go MAEDA over 11 years ago
Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.
Updated by Toshi MARUYAMA over 11 years ago
Updated by Jean-Philippe Lang over 11 years ago
- Status changed from New to Closed
Actions