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:
Gavin Sharp 2010-12-02 14:54:58 -05:00
Родитель c5862b84ba
Коммит 717169622e
5 изменённых файлов: 16 добавлений и 5 удалений

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

@ -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>

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

@ -2,4 +2,3 @@
<!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.">