Feature #14630
wiki_syntax.html per language (wiki help localization mechanism)
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | I18n | |||
Target version: | 2.4.0 | |||
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
Related issues
Associated revisions
move English wiki syntax helps to en sub directory (#14630)
copy English wiki syntax helps to other languages (#14630)
copy English wiki syntax helps to other languages (#14630)
fix icon image paths of wiki syntax help (#14630)
Contributed by Go MAEDA.
fix icon image paths of en-GB wiki syntax help (#14630)
History
#1
Updated by Toshi MARUYAMA over 7 years ago
- Target version set to 2.4.0
#2
Updated by Toshi MARUYAMA over 7 years ago
- Tracker changed from Patch to Feature
#3
Updated by Toshi MARUYAMA over 7 years ago
- % Done changed from 0 to 100
#4
Updated by Daniel Felix over 7 years ago
- Related to Feature #12230: Make format help translateable added
#5
Updated by Go MAEDA over 7 years ago
- File wiki_syntax_image_paths_fix.diff
added
Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.
#6
Updated by Toshi MARUYAMA over 7 years ago
#7
Updated by Jean-Philippe Lang over 7 years ago
- Status changed from New to Closed