File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ There's an issue with the inject-initial package under Cordova which causes info
97
97
{
98
98
"public" : {
99
99
...,
100
- "localization " : {
100
+ "msgfmt " : {
101
101
"native" : " en" ,
102
102
"locales" : [" en" , " fr" ]
103
103
}
Original file line number Diff line number Diff line change @@ -403,10 +403,10 @@ if (injected) {
403
403
log . debug ( 'Injected object was undefined, this is most likely a Cordova session' ) ;
404
404
mfPkg . timestamps = { } ;
405
405
var time = ( new Date ( ) ) . getTime ( ) ;
406
- if ( Meteor . settings && Meteor . settings . public && Meteor . settings . public . localization ) {
407
- var localization = Meteor . settings . public . localization ;
408
- mfPkg . native = localization . native ;
409
- _ . each ( localization . locales , function ( locale ) {
406
+ if ( Meteor . settings && Meteor . settings . public && Meteor . settings . public . msgfmt ) {
407
+ var msgfmtSettings = Meteor . settings . public . msgfmt ;
408
+ mfPkg . native = msgfmtSettings . native ;
409
+ _ . each ( msgfmtSettings . locales , function ( locale ) {
410
410
mfPkg . timestamps [ locale ] = time ;
411
411
} ) ;
412
412
} else {
You can’t perform that action at this time.
0 commit comments