Bug 510516 - Improve strings in application picker dialog. r=adw

This commit is contained in:
Wayne Zhang 2016-04-28 12:30:00 -04:00
parent ff8f4c4700
commit 26fe96fac0
2 changed files with 8 additions and 2 deletions

View File

@ -4,6 +4,7 @@
<!ENTITY window.emWidth "26em"> <!ENTITY window.emWidth "26em">
<!ENTITY window.emHeight "26em"> <!ENTITY window.emHeight "26em">
<!ENTITY ChooseApp.description "Choose an Application"> <!ENTITY ChooseOtherApp.description "Choose other Application">
<!ENTITY ChooseApp.label "Choose…"> <!ENTITY ChooseApp.label "Choose…">
<!ENTITY ChooseApp.accessKey "C"> <!ENTITY ChooseApp.accessKey "C">
<!ENTITY accept "Open link">

View File

@ -34,7 +34,7 @@
ondblclick="dialog.onDblClick();" ondblclick="dialog.onDblClick();"
onselect="dialog.updateOKButton();"> onselect="dialog.updateOKButton();">
<richlistitem id="item-choose" orient="horizontal" selected="true"> <richlistitem id="item-choose" orient="horizontal" selected="true">
<label value="&ChooseApp.description;" flex="1"/> <label value="&ChooseOtherApp.description;" flex="1"/>
<button oncommand="dialog.chooseApplication();" <button oncommand="dialog.chooseApplication();"
label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/> label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
</richlistitem> </richlistitem>
@ -44,4 +44,9 @@
<checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/> <checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/>
<description id="remember-text"/> <description id="remember-text"/>
<hbox class="dialog-button-box" pack="end">
<button dlgtype="cancel" icon="cancel" class="dialog-button"/>
<button dlgtype="accept" label="&accept;" icon="open" class="dialog-button"/>
</hbox>
</dialog> </dialog>