Change pdfviewer->pdf.js for chrome://;new line

This commit is contained in:
Yury Delendik 2012-05-11 17:35:43 -05:00
parent 7d648cfa13
commit d9f995f9ca
3 changed files with 4 additions and 3 deletions

View File

@ -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();

View File

@ -110,4 +110,5 @@
};
}
};
})(this);
})(this);

View File

@ -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');