Project

General

Profile

Patch #37668 » 0001-fixes-i18n-call-in-macro-error-fallback.patch

Jens Krämer, 2022-09-13 07:28

View differences:

lib/redmine/wiki_formatting/macros.rb
50 50
              send(method_name, obj, args)
51 51
            end
52 52
          rescue => e
53
            %|<div class="flash error">#{t(:error_can_not_execute_macro_html, :name => name, :error => e.to_s)}</div>|.html_safe
53
            %|<div class="flash error">#{::I18n.t(:error_can_not_execute_macro_html, :name => name, :error => e.to_s)}</div>|.html_safe
54 54
          end
55 55
        end
56 56

  
    (1-1/1)