зеркало из https://github.com/mozilla/pjs.git
Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
This commit is contained in:
Родитель
f96befa1a3
Коммит
f404a2f347
|
@ -337,7 +337,7 @@
|
||||||
<stringbundle id="navBundle"
|
<stringbundle id="navBundle"
|
||||||
src="chrome://navigator/locale/navigator.properties"/>
|
src="chrome://navigator/locale/navigator.properties"/>
|
||||||
<stringbundle id="brandBundle"
|
<stringbundle id="brandBundle"
|
||||||
src="chrome://global/locale/brand.properties"/>
|
src="chrome://branding/locale/brand.properties"/>
|
||||||
<groupbox id="javaPluginSettings" align="start">
|
<groupbox id="javaPluginSettings" align="start">
|
||||||
<caption label="&jvm.configuration;"/>
|
<caption label="&jvm.configuration;"/>
|
||||||
<tree id="jvmConfigListObj" style="width: 60em; height: 10em"
|
<tree id="jvmConfigListObj" style="width: 60em; height: 10em"
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
<stringbundle id="bundle_prefApplications"
|
<stringbundle id="bundle_prefApplications"
|
||||||
src="chrome://communicator/locale/pref/pref-applications.properties"/>
|
src="chrome://communicator/locale/pref/pref-applications.properties"/>
|
||||||
<stringbundle id="bundle_Brand" src="chrome://global/locale/brand.properties"/>
|
<stringbundle id="bundle_Brand" src="chrome://branding/locale/brand.properties"/>
|
||||||
|
|
||||||
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
|
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/overrideHandler.js"/>
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/overrideHandler.js"/>
|
||||||
|
|
|
@ -131,7 +131,7 @@ function applySkin()
|
||||||
var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService();
|
var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService();
|
||||||
strBundleService = strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);
|
strBundleService = strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);
|
||||||
var navbundle = strBundleService.createBundle("chrome://navigator/locale/navigator.properties");
|
var navbundle = strBundleService.createBundle("chrome://navigator/locale/navigator.properties");
|
||||||
var brandbundle = strBundleService.createBundle("chrome://global/locale/brand.properties");
|
var brandbundle = strBundleService.createBundle("chrome://branding/locale/brand.properties");
|
||||||
|
|
||||||
if (promptService && navbundle && brandbundle) {
|
if (promptService && navbundle && brandbundle) {
|
||||||
var dialogTitle = navbundle.GetStringFromName("switchskinstitle");
|
var dialogTitle = navbundle.GetStringFromName("switchskinstitle");
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
<stringbundle id="bundle_prefutilities"
|
<stringbundle id="bundle_prefutilities"
|
||||||
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
||||||
<stringbundle id="bundle_brand"
|
<stringbundle id="bundle_brand"
|
||||||
src="chrome://global/locale/brand.properties"/>
|
src="chrome://branding/locale/brand.properties"/>
|
||||||
<stringbundle id="bundle_navigator"
|
<stringbundle id="bundle_navigator"
|
||||||
src="chrome://navigator/locale/navigator.properties"/>
|
src="chrome://navigator/locale/navigator.properties"/>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче