mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1315458 - Container management: Make "Preferences" and "Remove" buttons localizable. r=jkt
This commit is contained in:
parent
4b758f2434
commit
8237094b5f
@ -8,8 +8,10 @@
|
||||
<!DOCTYPE overlay [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
||||
<!ENTITY % applicationsDTD SYSTEM "chrome://browser/locale/preferences/applications.dtd">
|
||||
<!ENTITY % containersDTD SYSTEM "chrome://browser/locale/preferences/containers.dtd">
|
||||
%brandDTD;
|
||||
%applicationsDTD;
|
||||
%containersDTD;
|
||||
]>
|
||||
|
||||
<bindings id="handlerBindings"
|
||||
@ -78,14 +80,14 @@
|
||||
</xul:hbox>
|
||||
<xul:hbox flex="1" align="right">
|
||||
<xul:button anonid="preferencesButton"
|
||||
label="&preferencesButton.label;"
|
||||
xbl:inherits="value=userContextId"
|
||||
onclick="gContainersPane.onPeferenceClick(event.originalTarget)">
|
||||
Preferences
|
||||
onclick="gContainersPane.onPreferenceClick(event.originalTarget)">
|
||||
</xul:button>
|
||||
<xul:button anonid="removeButton"
|
||||
label="&removeButton.label;"
|
||||
xbl:inherits="value=userContextId"
|
||||
onclick="gContainersPane.onRemoveClick(event.originalTarget)">
|
||||
Remove
|
||||
</xul:button>
|
||||
</xul:hbox>
|
||||
</xul:hbox>
|
||||
|
@ -67,7 +67,7 @@ let gContainersPane = {
|
||||
this._rebuildView();
|
||||
},
|
||||
|
||||
onPeferenceClick(button) {
|
||||
onPreferenceClick(button) {
|
||||
this.openPreferenceDialog(button.getAttribute("value"));
|
||||
},
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
<!ENTITY addButton.label "Add New Container">
|
||||
<!ENTITY addButton.accesskey "A">
|
||||
<!ENTITY preferencesButton.label "Preferences">
|
||||
<!ENTITY removeButton.label "Remove">
|
||||
<!-- « is « however it's not defined in XML -->
|
||||
<!ENTITY backLink.label "« Go Back to Privacy">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user