Change pdfviewer->pdf.js for chrome://;new line
This commit is contained in:
parent
7d648cfa13
commit
d9f995f9ca
@ -62,7 +62,7 @@ function getDOMWindow(aChannel) {
|
||||
function getLocalizedStrings(path) {
|
||||
var stringBundle = Cc['@mozilla.org/intl/stringbundle;1'].
|
||||
getService(Ci.nsIStringBundleService).
|
||||
createBundle('chrome://pdfviewer/locale/' + path);
|
||||
createBundle('chrome://pdf.js/locale/' + path);
|
||||
|
||||
var map = {};
|
||||
var enumerator = stringBundle.getSimpleEnumeration();
|
||||
|
@ -110,4 +110,5 @@
|
||||
};
|
||||
}
|
||||
};
|
||||
})(this);
|
||||
})(this);
|
||||
|
||||
|
2
make.js
2
make.js
@ -98,7 +98,7 @@ target.locale = function() {
|
||||
}
|
||||
|
||||
mkdir('-p', EXTENSION_LOCALE_OUTPUT + '/' + locale);
|
||||
chromeManifestContent += 'locale pdfviewer ' + locale + ' locale/' + locale + '/\n';
|
||||
chromeManifestContent += 'locale pdf.js ' + locale + ' locale/' + locale + '/\n';
|
||||
|
||||
if (test('-f', path + '/viewer.properties')) {
|
||||
var properties = cat(path + '/viewer.properties');
|
||||
|
Loading…
x
Reference in New Issue
Block a user