mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 18:31:29 +00:00
Fix some CCK only untranslatable strings
This commit is contained in:
parent
2d706cafbe
commit
e92f2832d2
@ -151,6 +151,7 @@
|
||||
|
||||
<!ENTITY prefName.label "Preference Name:">
|
||||
<!ENTITY prefValue.label "Value: ">
|
||||
<!ENTITY prefLock.label "Lock Preference">
|
||||
|
||||
<!ENTITY newButton.label "New">
|
||||
<!ENTITY newButton.accesskey "W">
|
||||
|
@ -6,3 +6,6 @@ zipError=Unable to create JAR or XPI file. Please ensure that a command line ver
|
||||
intError=The value must be an integer
|
||||
lockError=You cannot set this value here, you can only lock it.
|
||||
prefExistsError=This preference already exists in the list.
|
||||
chooseFile=Choose File...
|
||||
chooseDirectory=Choose Directory...
|
||||
chooseImage=Choose Image...
|
||||
|
@ -49,7 +49,8 @@ function choosefile(labelname)
|
||||
try {
|
||||
var nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
|
||||
fp.init(window, "Choose File...", nsIFilePicker.modeOpen);
|
||||
var bundle = document.getElementById("bundle_cckwizard");
|
||||
fp.init(window, bundle.getString("chooseFile"), nsIFilePicker.modeOpen);
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
||||
|
||||
if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec && fp.fileURL.spec.length > 0) {
|
||||
@ -68,7 +69,8 @@ function choosedir(labelname)
|
||||
while (keepgoing) {
|
||||
var nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
|
||||
fp.init(window, "Choose File...", nsIFilePicker.modeGetFolder);
|
||||
var bundle = document.getElementById("bundle_cckwizard");
|
||||
fp.init(window, bundle.getString("chooseDirectory"), nsIFilePicker.modeGetFolder);
|
||||
fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText |
|
||||
nsIFilePicker.filterAll | nsIFilePicker.filterImages | nsIFilePicker.filterXML);
|
||||
|
||||
@ -88,7 +90,8 @@ function chooseimage(labelname, imagename)
|
||||
try {
|
||||
var nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
|
||||
fp.init(window, "Choose File...", nsIFilePicker.modeOpen);
|
||||
var bundle = document.getElementById("bundle_cckwizard");
|
||||
fp.init(window, bundle.getString("chooseImage"), nsIFilePicker.modeOpen);
|
||||
fp.appendFilters(nsIFilePicker.filterImages);
|
||||
|
||||
if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec && fp.fileURL.spec.length > 0) {
|
||||
@ -810,7 +813,8 @@ function onEditBundle()
|
||||
try {
|
||||
var nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
|
||||
fp.init(window, "Choose File...", nsIFilePicker.modeOpen);
|
||||
var bundle = document.getElementById("bundle_cckwizard");
|
||||
fp.init(window, bundle.getString("chooseFile"), nsIFilePicker.modeOpen);
|
||||
fp.displayDirectory = sourcefile.parent;
|
||||
fp.defaultString = sourcefile.leafName;
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
||||
|
@ -61,4 +61,9 @@
|
||||
<checkbox id="trustEmail" label="&cert.trustEmail;"/>
|
||||
<checkbox id="trustObjSign" label="&cert.trustObjSign;"/>
|
||||
</vbox>
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_cckwizard" src="chrome://cckwizard/locale/cckwizard.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
</dialog>
|
||||
|
@ -64,6 +64,11 @@
|
||||
<menuitem label="Macintosh (Intel)" value="Darwin_x86-gcc3"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_cckwizard" src="chrome://cckwizard/locale/cckwizard.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
</dialog>
|
||||
|
@ -64,6 +64,6 @@
|
||||
<menuitem label="false" value="false"/>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
<checkbox id="lockPref" label="Lock Preference"/>
|
||||
<checkbox id="lockPref" label="&prefLocal.label"/>
|
||||
</vbox>
|
||||
</dialog>
|
||||
|
@ -63,6 +63,11 @@
|
||||
<textbox flex="1" id="searchengineicon" onchange="searchEngineCheckOKButton();" onkeyup="searchEngineCheckOKButton();"/>
|
||||
<image id="icon" src='' width='16' height='16'/>
|
||||
<button label="&chooseFile.label;" oncommand="chooseimage('searchengineicon','icon');searchEngineCheckOKButton();"/>
|
||||
</hbox>
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
<stringbundle id="bundle_cckwizard" src="chrome://cckwizard/locale/cckwizard.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
</dialog>
|
||||
|
Loading…
Reference in New Issue
Block a user