Add MailPoet.I18n for basic translation handling, removed MailPoetI18n

This commit is contained in:
Tautvidas Sipavičius
2016-03-18 16:25:43 +02:00
parent 45df02b0ec
commit ccab8b4cf3
24 changed files with 169 additions and 120 deletions

View File

@@ -77,7 +77,7 @@ define([
},
mailpoet_custom_fields: App.getConfig().get('customFields').toJSON(),
mailpoet_custom_fields_window_title: App.getConfig().get('translations.customFieldsWindowTitle'),
mailpoet_custom_fields_window_title: MailPoet.I18n.t('customFieldsWindowTitle'),
});
}
},