Patch #37668

fix bad I18n `t` call in macro error handler

Added by Jens Krämer 3 months ago. Updated 2 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Code cleanup/refactoring
Target version:5.1.0

Description

this patch adds the missing module reference to the call to `t` in the error handler that is intended to output an error message when a macro failed to render.

0001-fixes-i18n-call-in-macro-error-fallback.patch Magnifier (943 Bytes) Jens Krämer, 2022-09-13 07:28


Related issues

Related to Redmine - Defect #33426: Error messages for Wiki macros are not internationalized Closed

History

#1 Updated by Go MAEDA 3 months ago

  • Related to Defect #33426: Error messages for Wiki macros are not internationalized added

#2 Updated by Go MAEDA 2 months ago

  • Category set to Code cleanup/refactoring
  • Target version set to 5.1.0

Setting the target version to 5.1.0.

#3 Updated by Mischa The Evil 2 months ago

It might be good to add some test coverage for this case (and by extension for the change(s) made for #33426) to prevent this from accidentally breaking again.

Also available in: Atom PDF