Project

General

Profile

Actions

Defect #7530

closed

Error 500 while editing wiki pages if using Spanish locale

Added by David Marín Carreño almost 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
Start date:
2011-02-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I'm getting the following error while creating a wiki page, in both 1.1.0 and 1.1.1 versions:

I18n::MissingInterpolationArgument (missing interpolation argument in "Se ha añadido la página wiki '%{page}'." ({:id=>"Test"} given)):
  /usr/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:174:in `interpolate_without_deprecated_syntax'
  /usr/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:46:in `translate'
  /usr/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n.rb:160:in `t'
  lib/redmine/i18n.rb:13:in `l'
  app/models/mailer.rb:182:in `wiki_content_added'
  app/models/wiki_content_observer.rb:20:in `after_create'
  /usr/lib/ruby/1.8/observer.rb:185:in `notify_observers'
  /usr/lib/ruby/1.8/observer.rb:184:in `each'
  /usr/lib/ruby/1.8/observer.rb:184:in `notify_observers'
  app/controllers/wiki_controller.rb:123:in `update'
  /opt/redmine/public/dispatch.fcgi:24

The problem is in Spanish translations file.


Files

patch-redmine.txt (736 Bytes) patch-redmine.txt Patch for es.yml file David Marín Carreño, 2011-02-03 15:19
Actions

Also available in: Atom PDF