You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (Commented) (JIRA)" <ji...@apache.org> on 2011/12/21 16:21:30 UTC

[jira] [Commented] (PIVOT-830) Extend the localization substitution for "Cancel" and "OK" label in Prompt or the like

    [ https://issues.apache.org/jira/browse/PIVOT-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174140#comment-13174140 ] 

Sandro Martini commented on PIVOT-830:
--------------------------------------

Original discussion here:
http://apache-pivot-users.399431.n3.nabble.com/How-to-do-localization-in-a-BXML-Prompt-td3598136.html

                
> Extend the localization substitution for "Cancel" and "OK" label in Prompt or the like
> --------------------------------------------------------------------------------------
>
>                 Key: PIVOT-830
>                 URL: https://issues.apache.org/jira/browse/PIVOT-830
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-serialization
>    Affects Versions: 2.0
>            Reporter: Brendan
>            Priority: Minor
>              Labels: Localization
>             Fix For: 2.0.2
>
>
> In bxml file, for example:
> <bxml:define>
>         <Prompt bxml:id="confirmCloseTabPrompt" title="%ConfirmCloseTab"
>             message="%Reallyclosethistab"
>             options="['Cancel', 'OK']" selectedOptionIndex="1"/>
>     </bxml:define>
> where all other string I can use % for substitution, except the Cancel and OK.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira