But 471836 - Don't need to dynamically set Clear Recent History... menu item label; r=gavin

--HG--
extra : rebase_source : 9a78779af016a0b1e37fdca429fbd90b168fc404
This commit is contained in:
Cork 2010-01-18 17:24:24 -05:00
Родитель e776558579
Коммит b71d86df78
4 изменённых файлов: 4 добавлений и 9 удалений

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

@ -605,8 +605,8 @@
key="key_privatebrowsing"
command="Tools:PrivateBrowsing"/>
<menuitem id="sanitizeItem"
accesskey="&clearRecentHistoryCmd.accesskey;"
label="&clearRecentHistoryCmd.label;"
accesskey="&clearRecentHistory.accesskey;"
label="&clearRecentHistory.label;"
key="key_sanitize"
command="Tools:Sanitize"/>
#ifndef XP_UNIX

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

@ -1536,10 +1536,6 @@ var gAutoHideTabbarPrefListener = {
function initializeSanitizer()
{
// Always use the label with ellipsis
var label = gNavigatorBundle.getString("sanitizeWithPromptLabel2");
document.getElementById("sanitizeItem").setAttribute("label", label);
const kDidSanitizeDomain = "privacy.sanitize.didShutdownSanitize";
if (gPrefService.prefHasUserValue(kDidSanitizeDomain)) {
gPrefService.clearUserPref(kDidSanitizeDomain);

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

@ -172,8 +172,8 @@
<!ENTITY preferencesCmdUnix.label "Preferences">
<!ENTITY preferencesCmdUnix.accesskey "n">
<!ENTITY clearRecentHistoryCmd.label "Clear Recent History">
<!ENTITY clearRecentHistoryCmd.accesskey "H">
<!ENTITY clearRecentHistory.label "Clear Recent History">
<!ENTITY clearRecentHistory.accesskey "H">
<!-- LOCALIZATION NOTE : These two strings can share an access key beause they never appear together on the menu -->
<!ENTITY privateBrowsingCmd.start.label "Start Private Browsing">

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

@ -76,7 +76,6 @@ blockedpluginsMessage.searchButton.label=Update Plugins…
blockedpluginsMessage.searchButton.accesskey=U
# Sanitize
sanitizeWithPromptLabel2=Clear Recent History…
# LOCALIZATION NOTE (sanitizeDialog2.everything.title): When "Time range to
# clear" is set to "Everything", the Clear Recent History dialog's title is
# changed to this. See UI mockup and comment 11 at bug 480169 -->