Bug 870461 - Add 'Clear Recent History', 'Restore Previous Session', and tweak some of the text. r=gijs

--HG--
extra : rebase_source : bf880c3a7f75c43d32b63c190af8e79495ad2c9b
This commit is contained in:
Jared Wein 2013-05-21 10:27:16 -04:00
Родитель 0f37dbe9a7
Коммит 0c6b659e40
3 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -56,8 +56,14 @@
<panelsubview id="PanelUI-history" flex="1">
<label value="&appMenuHistory.label;"/>
<toolbarbutton id="appMenuClearRecentHistory"
label="&appMenuHistory.clearRecentLabel;"
command="Tools:Sanitize"/>
<toolbarbutton id="appMenuRestoreLastSession"
label="&appMenuHistory.restoreSession;"
command="Browser:RestoreLastSession"/>
<vbox id="PanelUI-historyItems"/>
<label value="&appMenuHistoryMore.label;"
<label value="&appMenuHistory.moreLabel;"
id="PanelUI-historyMore"
class="text-link"
onclick="PlacesCommandHook.showPlacesOrganizer('History'); PanelUI.hide();"/>

Просмотреть файл

@ -33,7 +33,7 @@ const CustomizableWidgets = [{
type: "view",
viewId: "PanelUI-history",
name: "History...",
description: "History repeats itself!",
description: "History",
defaultArea: CustomizableUI.AREA_PANEL,
allowedAreas: [CustomizableUI.AREA_PANEL, CustomizableUI.AREA_NAVBAR],
icons: {

Просмотреть файл

@ -322,7 +322,9 @@ These should match what Safari and other Apple applications use on OS X Lion. --
<!ENTITY appMenuCustomize.label "Customize">
<!ENTITY appMenuBookmarks.label "Bookmarks">
<!ENTITY appMenuHistory.label "History">
<!ENTITY appMenuHistoryMore.label "More…">
<!ENTITY appMenuHistory.moreLabel "Show All History">
<!ENTITY appMenuHistory.clearRecentLabel "Clear Recent History…">
<!ENTITY appMenuHistory.restoreSession "Restore Previous Session">
<!ENTITY openCmd.commandkey "l">
<!ENTITY urlbar.placeholder2 "Search or enter address">