зеркало из https://github.com/mozilla/pjs.git
bug 65241, add 'download more' button to Content Pack pref panel.
uncomment-out button and add string to dtd file for button r=matt, sr=blake
This commit is contained in:
Родитель
7d82f7f384
Коммит
6c4963e02a
|
@ -113,10 +113,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function DownloadRegionPacks()
|
function DownloadRegionPacks()
|
||||||
{
|
{
|
||||||
window.openDialog("chrome://navigator/content/navigator.xul", "_blank", "chrome,all,dialog=no", xlateURL("urn:clienturl:viewmenu:intlwebcontent"));
|
openTopWin(xlateURL("urn:clienturl:viewmenu:intlwebcontent"));
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
|
@ -153,12 +152,13 @@
|
||||||
|
|
||||||
<separator class="thin"/>
|
<separator class="thin"/>
|
||||||
|
|
||||||
<box orient="horizontal">
|
<hbox>
|
||||||
<!--separator flex="1"/ -->
|
<spring flex="1"/>
|
||||||
<!-- see blocker bug 84232 -->
|
<button id="downloadContentPacks"
|
||||||
<!--button id="downloadContentPacks" label="&downloadContentPacks.label;" accesskey="&downloadContentPacks.accesskey;" oncommand="DownloadRegionPacks()"/-->
|
label="&downloadContentPacks.label;"
|
||||||
</box>
|
accesskey="&downloadContentPacks.accesskey;"
|
||||||
|
oncommand="DownloadRegionPacks()"/>
|
||||||
|
</hbox>
|
||||||
|
|
||||||
<separator flex="1"/>
|
</window>
|
||||||
|
|
||||||
</window>
|
|
|
@ -2,4 +2,5 @@
|
||||||
<!ENTITY lHeader "Content Packs">
|
<!ENTITY lHeader "Content Packs">
|
||||||
<!ENTITY contentIntro.label "Selecting a new content pack changes items in My Sidebar and the Search menu, and changes the home page, certain bookmarks, and other items. You will not lose bookmarks and other items that you have customized when you switch content packs. You must restart for a new content pack to take effect.">
|
<!ENTITY contentIntro.label "Selecting a new content pack changes items in My Sidebar and the Search menu, and changes the home page, certain bookmarks, and other items. You will not lose bookmarks and other items that you have customized when you switch content packs. You must restart for a new content pack to take effect.">
|
||||||
<!ENTITY installedContentPacks.label "Installed content packs:">
|
<!ENTITY installedContentPacks.label "Installed content packs:">
|
||||||
|
<!ENTITY downloadContentPacks.accesskey "d">
|
||||||
|
<!ENTITY downloadContentPacks.label "Download More...">
|
Загрузка…
Ссылка в новой задаче