mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fixes i18n call in macro error fallback (#37668).
Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22331 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9ab7d166b2
commit
090323b7a0
@ -50,7 +50,7 @@ module Redmine
|
||||
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user