Bug 1440235 - Fix linting errors in calStartupService.js. r=philipp
This commit is contained in:
Родитель
907e130396
Коммит
cf81410812
|
@ -73,9 +73,12 @@ calStartupService.prototype = {
|
||||||
// Localization service
|
// Localization service
|
||||||
let locales = {
|
let locales = {
|
||||||
startup: function(aCompleteListener) {
|
startup: function(aCompleteListener) {
|
||||||
let locales = Services.locale.getPackagedLocales();
|
let packaged = Services.locale.getPackagedLocales();
|
||||||
let fs = new FileSource("calendar", locales , "resource://calendar/chrome/calendar-{locale}/locale/{locale}/");
|
let fileSrc = new FileSource(
|
||||||
L10nRegistry.registerSource(fs);
|
"calendar", packaged,
|
||||||
|
"resource://calendar/chrome/calendar-{locale}/locale/{locale}/"
|
||||||
|
);
|
||||||
|
L10nRegistry.registerSource(fileSrc);
|
||||||
aCompleteListener.onResult(null, Components.results.NS_OK);
|
aCompleteListener.onResult(null, Components.results.NS_OK);
|
||||||
},
|
},
|
||||||
shutdown: function(aCompleteListener) {
|
shutdown: function(aCompleteListener) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче