passing arguments into strings defined in UILabels

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

passing arguments into strings defined in UILabels

frabjousB
Hi,

Is there a way to pass arguments into strings retrieved from the UILabels.xml files?

For example, assuming uiLabelMap maps to UILabels.xml, can I pass a number (e.g., 100) to ${uiLabelMap.balance} so that the FTL page ultimately displays "Your balance is 100"?

If so, how can I do this?

Thanks in advance for the help!
Reply | Threaded
Open this post in threaded view
|

Re: passing arguments into strings defined in UILabels

Erwan de FERRIERES
Le 27/07/2010 21:31, frabjousB a écrit :

>
> Hi,
>
> Is there a way to pass arguments into strings retrieved from the
> UILabels.xml files?
>
> For example, assuming uiLabelMap maps to UILabels.xml, can I pass a number
> (e.g., 100) to ${uiLabelMap.balance} so that the FTL page ultimately
> displays "Your balance is 100"?
>
> If so, how can I do this?
>
> Thanks in advance for the help!
>
Hi,

here is an example from OrderUiLabels.xml :
         <value xml:lang="en">Sorry, you can't change the quantity on
the promotion item ${productName} (product ID: ${productId}, not setting
quantity.</value>

HTH

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: passing arguments into strings defined in UILabels

frabjousB
Thank you!