Fixed  following_error_occurred

soloarquitectura

Well-known member
I could not reproduce the error, but I think this phrase sometimes appears as follows:
The following error occurred::

Instead of:
The following error occurred:

That is, it has a ":" extra at the end of the sentence.
 
I found this (admin_templates.xml):

Code:
<div class="errorOverlay">
<a class="close OverlayCloser"></a>
<xen:if is="{xen:count $error, false} == 1">
<xen:if is="{$showHeading}"><h2 class="heading">{xen:phrase following_error_occurred}:</h2></xen:if>
 
We don't include trailing colons in the phrase, so I've moved that out and updated the code to be consistent.
 
Top Bottom