How to set the calculated title of a panel?
I would like to set the title of a panel to a result of a method call.
Right now I have:
I would like to use the following code to set the title:
Is that possible in Sencha Architect? Are there other tips for internationalization?
Thanks, but not working in Architect
Yet if I enter that in Architect I get:
title: i10n.translate("checkin.error.nickname", 3, 25) // 1st way
title: Messages.CHECKIN_ERROR // 2nd way
That's exactly my problem. Architect escapes everything as String. Otherwise I would not have posted this.
title: 'i10n.translate("checkin.error.nickname", 3, 25)' // 1st way
title: "Messages.CHECKIN_ERROR" // 2nd way