Project

General

Profile

Actions

Feature #14630

closed

wiki_syntax.html per language (wiki help localization mechanism)

Added by Go MAEDA over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
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

wiki_help_localization.diff.gz (14.8 KB) wiki_help_localization.diff.gz patch (compressed by gzip) Go MAEDA, 2013-08-07 15:44
wiki_syntax_image_paths_fix.diff (257 KB) wiki_syntax_image_paths_fix.diff fixed icon image paths (../images/ -> ../../images/) Go MAEDA, 2013-08-08 23:46

Related issues

Related to Redmine - Feature #12230: Make format help translateableClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 10 years ago

  • Target version set to 2.4.0
Actions #2

Updated by Toshi MARUYAMA over 10 years ago

  • Tracker changed from Patch to Feature
Actions #3

Updated by Toshi MARUYAMA over 10 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Daniel Felix over 10 years ago

Actions #5

Updated by Go MAEDA over 10 years ago

Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.

Actions #6

Updated by Toshi MARUYAMA over 10 years ago

Go MAEDA wrote:

Fixed icon image paths. Toolbar icons in wiki_syntax.html are not shown after r12093.

Committed in trunk r12100, thanks.

Actions #7

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF