Feature #14630

wiki_syntax.html per language (wiki help localization mechanism)

Added by Go MAEDA over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:
Priority:NormalDue 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

wiki_help_localization.diff.gz - patch (compressed by gzip) (14.8 KB) Go MAEDA, 2013-08-07 15:44

wiki_syntax_image_paths_fix.diff Magnifier - fixed icon image paths (../images/ -> ../../images/) (257 KB) Go MAEDA, 2013-08-08 23:46


Related issues

Related to Redmine - Feature #12230: Make format help translateable Closed

Associated revisions

Revision 12093
Added by Toshi MARUYAMA over 4 years ago

move English wiki syntax helps to en sub directory (#14630)

Revision 12094
Added by Toshi MARUYAMA over 4 years ago

copy English wiki syntax helps to other languages (#14630)

Revision 12095
Added by Toshi MARUYAMA over 4 years ago

revert r12094 (#14630)

r12094 lost "svn copy".

Revision 12096
Added by Toshi MARUYAMA over 4 years ago

copy English wiki syntax helps to other languages (#14630)

Revision 12100
Added by Toshi MARUYAMA over 4 years ago

fix icon image paths of wiki syntax help (#14630)

Contributed by Go MAEDA.

Revision 12112
Added by Toshi MARUYAMA over 4 years ago

fix icon image paths of en-GB wiki syntax help (#14630)

History

#1 Updated by Toshi MARUYAMA over 4 years ago

  • Target version set to 2.4.0

#2 Updated by Toshi MARUYAMA over 4 years ago

  • Tracker changed from Patch to Feature

#3 Updated by Toshi MARUYAMA over 4 years ago

  • % Done changed from 0 to 100

#4 Updated by Daniel Felix over 4 years ago

#5 Updated by Go MAEDA over 4 years ago

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

#6 Updated by Toshi MARUYAMA over 4 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.

#7 Updated by Jean-Philippe Lang about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF