Add MailPoet.I18n for basic translation handling, removed MailPoetI18n
This commit is contained in:
@@ -48,7 +48,7 @@ define(
|
||||
})
|
||||
.done(function(response) {
|
||||
if(!response.result) {
|
||||
MailPoet.Notice.error(MailPoetI18n.daemonControlError);
|
||||
MailPoet.Notice.error(MailPoet.I18n.t('daemonControlError'));
|
||||
}
|
||||
}.bind(this));
|
||||
},
|
||||
@@ -103,4 +103,4 @@ define(
|
||||
container
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user