Vote #74225
完了wiki_syntax.html per language (wiki help localization mechanism)
100%
説明
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
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.
Committed in trunk r12100, thanks.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,12230,Make format help translateable