Patch #37668 » 0001-fixes-i18n-call-in-macro-error-fallback.patch
| lib/redmine/wiki_formatting/macros.rb | ||
|---|---|---|
|
send(method_name, obj, args)
|
||
|
end
|
||
|
rescue => e
|
||
|
%|<div class="flash error">#{t(:error_can_not_execute_macro_html, :name => name, :error => e.to_s)}</div>|.html_safe
|
||
|
%|<div class="flash error">#{::I18n.t(:error_can_not_execute_macro_html, :name => name, :error => e.to_s)}</div>|.html_safe
|
||
|
end
|
||
|
end
|
||