diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d078e7f2d..7c517c2d6 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.10.18 + - fixed #12141: Macro_RenderThingData (bad tags) nothing to translate 7.10.17 - fixed: Forced to use a PayDriver even with a balance of 0 in the cart. diff --git a/lib/WebGUI/Macro/RenderThingData.pm b/lib/WebGUI/Macro/RenderThingData.pm index f71cfc81d..4038d74c0 100644 --- a/lib/WebGUI/Macro/RenderThingData.pm +++ b/lib/WebGUI/Macro/RenderThingData.pm @@ -51,13 +51,13 @@ sub process { my $thing = WebGUI::Asset::Wobject::Thingy->newByUrl( $session, $uri->path ); # TODO: i18n - return ( "Bad URL: " . $thingDataUrl ) if !$thing || !$thingId || !$thingDataId; + return ( $i18n->get('bad url') . $thingDataUrl ) if !$thing || !$thingId || !$thingDataId; # Render my $output = $thing->www_viewThingData( $thingId, $thingDataId, $templateHint ); # FIX: Temporary solution (broken map due to template rendering