-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changed-text-of-application-picker.patch
43 lines (37 loc) · 1.76 KB
/
Changed-text-of-application-picker.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# HG changeset patch
# User Wayne Zhang <[email protected]>
Changed text of application picker.
diff --git a/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd b/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
index 71afc28..fe7a525 100644
--- a/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
+++ b/toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd
@@ -4,6 +4,7 @@
<!ENTITY window.emWidth "26em">
<!ENTITY window.emHeight "26em">
-<!ENTITY ChooseApp.description "Choose an Application">
+<!ENTITY ChooseOtherApp.description "Choose other Application">
<!ENTITY ChooseApp.label "Choose…">
<!ENTITY ChooseApp.accessKey "C">
+<!ENTITY accept "Open link">
diff --git a/toolkit/mozapps/handling/content/dialog.xul b/toolkit/mozapps/handling/content/dialog.xul
index 89da1be..4a1bbb8 100644
--- a/toolkit/mozapps/handling/content/dialog.xul
+++ b/toolkit/mozapps/handling/content/dialog.xul
@@ -34,7 +34,7 @@
ondblclick="dialog.onDblClick();"
onselect="dialog.updateOKButton();">
<richlistitem id="item-choose" orient="horizontal" selected="true">
- <label value="&ChooseApp.description;" flex="1"/>
+ <label value="&ChooseOtherApp.description;" flex="1"/>
<button oncommand="dialog.chooseApplication();"
label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
</richlistitem>
@@ -44,4 +44,9 @@
<checkbox id="remember" aria-describedby="remember-text" oncommand="dialog.onCheck();"/>
<description id="remember-text"/>
+ <hbox class="dialog-button-box" align="right">
+ <button dlgtype="cancel" icon="cancel" class="dialog-button"/>
+ <button dlgtype="accept" label="&accept;" icon="open" class="dialog-button"/>
+ </hbox>
+
</dialog>