зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 1d12266ddc4c (bug 914927)
CLOSED TREE
This commit is contained in:
Родитель
b770c3935d
Коммит
5cc87d9147
|
@ -216,20 +216,13 @@ SocialUI = {
|
|||
// enabled == true means we at least have a defaultProvider
|
||||
let provider = Social.provider || Social.defaultProvider;
|
||||
// We only need to update the command itself - all our menu items use it.
|
||||
let label;
|
||||
if (Social.providers.length == 1) {
|
||||
label = gNavigatorBundle.getFormattedString(Social.provider
|
||||
? "social.turnOff.label"
|
||||
: "social.turnOn.label",
|
||||
[provider.name]);
|
||||
} else {
|
||||
label = gNavigatorBundle.getString(Social.provider
|
||||
? "social.turnOffAll.label"
|
||||
: "social.turnOnAll.label");
|
||||
}
|
||||
let accesskey = gNavigatorBundle.getString(Social.provider
|
||||
? "social.turnOff.accesskey"
|
||||
: "social.turnOn.accesskey");
|
||||
let label = gNavigatorBundle.getFormattedString(Social.provider ?
|
||||
"social.turnOff.label" :
|
||||
"social.turnOn.label",
|
||||
[provider.name]);
|
||||
let accesskey = gNavigatorBundle.getString(Social.provider ?
|
||||
"social.turnOff.accesskey" :
|
||||
"social.turnOn.accesskey");
|
||||
toggleCommand.setAttribute("label", label);
|
||||
toggleCommand.setAttribute("accesskey", accesskey);
|
||||
}
|
||||
|
|
|
@ -428,8 +428,6 @@ social.turnOff.accesskey=T
|
|||
# LOCALIZATION NOTE (social.turnOn.label): %S is the name of the social provider
|
||||
social.turnOn.label=Turn on %S
|
||||
social.turnOn.accesskey=T
|
||||
social.turnOffAll.label=Turn off all Services
|
||||
social.turnOnAll.label=Turn on all Services
|
||||
|
||||
# LOCALIZATION NOTE (social.markpageMenu.label): %S is the name of the social provider
|
||||
social.markpageMenu.label=Save Page to %S
|
||||
|
|
Загрузка…
Ссылка в новой задаче