summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-10-06 08:30:33 +0000
committerGo MAEDA <maeda@farend.jp>2023-10-06 08:30:33 +0000
commit090323b7a0863e6ca4cf85272bfab308056f0841 (patch)
tree999e301e39c0d377c1a73fafd083b1a504ae35aa /lib
parent9ab7d166b2685e32788455cd74fa6d986025b2e6 (diff)
downloadredmine-090323b7a0863e6ca4cf85272bfab308056f0841.tar.gz
redmine-090323b7a0863e6ca4cf85272bfab308056f0841.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/macros.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb
index cb4976eb7..0f1a4b62d 100644
--- a/lib/redmine/wiki_formatting/macros.rb
+++ b/lib/redmine/wiki_formatting/macros.rb
@@ -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