зеркало из https://github.com/mozilla/pjs.git
Bug 616193: only show Charlton trademark attribution in en-US/en-GB, don't make it localizable, r=dolske, a=blocking
--HG-- extra : rebase_source : b8efb750ebbe80e547f06a7e4cc81caa0153aad7
This commit is contained in:
Родитель
c5862b84ba
Коммит
717169622e
|
@ -73,6 +73,17 @@ function init(aEvent)
|
|||
document.getElementById("version").value += " (" + buildDate + ")";
|
||||
}
|
||||
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
// Hide the Charlton trademark attribution for non-en-US/en-GB
|
||||
// DO NOT REMOVE without consulting people involved with bug 616193
|
||||
let chromeRegistry = Cc["@mozilla.org/chrome/chrome-registry;1"].
|
||||
getService(Ci.nsIXULChromeRegistry);
|
||||
let currentLocale = chromeRegistry.getSelectedLocale("global");
|
||||
if (currentLocale != "en-US" && currentLocale != "en-GB") {
|
||||
document.getElementById("extra-trademark").hidden = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_UPDATER
|
||||
gAppUpdater = new appUpdater();
|
||||
#endif
|
||||
|
|
|
@ -125,7 +125,10 @@
|
|||
</hbox>
|
||||
<description id="trademark">
|
||||
<label class="trademark-label">&trademarkInfo.part1;</label>
|
||||
<label class="trademark-label">&trademarkInfo.part2;</label>
|
||||
#ifdef MOZ_OFFICIAL_BRANDING
|
||||
<!-- DO NOT REMOVE without consulting people involved with bug 616193 -->
|
||||
<label id="extra-trademark" class="trademark-label">Some of the trademarks used under license from The Charlton Company.</label>
|
||||
#endif
|
||||
</description>
|
||||
</vbox>
|
||||
</vbox>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<!ENTITY brandShortName "Minefield">
|
||||
<!ENTITY brandFullName "Minefield">
|
||||
<!ENTITY brandFullName "Minefield">
|
||||
<!ENTITY vendorShortName "Mozilla">
|
||||
<!ENTITY trademarkInfo.part1 " ">
|
||||
<!ENTITY trademarkInfo.part2 " ">
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
<!ENTITY brandFullName "Mozilla Developer Preview">
|
||||
<!ENTITY vendorShortName "mozilla.org">
|
||||
<!ENTITY trademarkInfo.part1 " ">
|
||||
<!ENTITY trademarkInfo.part2 " ">
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
<!ENTITY brandFullName "Mozilla Firefox">
|
||||
<!ENTITY vendorShortName "Mozilla">
|
||||
<!ENTITY trademarkInfo.part1 "Firefox and the Firefox logos are trademarks of the Mozilla Foundation.">
|
||||
<!ENTITY trademarkInfo.part2 "Some of the trademarks used under license from The Charlton Company.">
|
||||
|
|
Загрузка…
Ссылка в новой задаче