Defect #7530
Error 500 while editing wiki pages if using Spanish locale
| Status: | New | Start date: | 2011-02-03 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | I18n | |||
| Target version: | - | |||
| Affected version: | 1.1.0 | Resolution: |
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.
History
#1 Updated by David Marín Carreño over 1 year ago
- File patch-redmine.txt added
Attaching patch for fixing the problem in es.yml file.
