01450: Wrong XL strings in Site.EditForm

Summary: Wrong XL strings in Site.EditForm
Created: 2020-01-24 14:23
Status: Closed
Category: Bug
From: SteP
Assigned:
Priority:
Version: 2.2.122
OS:

Description: Currently in Site.EditForm:

 1 (:Summаry:contains the edit page layout form:)
 2 !! $[Editing {*$FullName}] %block class=wikiaction%
 3 (:messages:)
.
.
.
20 (:if e_preview:)
21 !! $[Preview {*$FullName}]
22 '''$[Page is unsaved]'''
.
.
.

I think lines 2 and 21 should be re-written so that {*FullName} is moved outside the XL operator $[].

If kept inside translations of "Editing" and "Preview" aren't applied.

SteP January 24, 2020, at 02:24 PM

Translation strings are processed before page variables so {*FullName} is not yet expanded to its value. What language is failing? Here German, Bulgarian and French appear to work fine. Maybe update your translation? Moreover, only a minority of the world languages place the "object" at the end and placing the {*FullName} after the translation will be grammatically incorrect for most of the languages. :-) --Petko January 24, 2020, at 02:38 PM

You're right, I had forgotten the details. And my XLPage was updated many moons ago, I had forgotten that, too. Now all is well. Thank you.