chore(translate): add deprecation notice

Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/
This commit is contained in:
Justin Willis
2016-08-25 09:38:59 -05:00
committed by Adam Bradley
parent 144ffe3b03
commit 96d630e42a

View File

@ -37,6 +37,7 @@ export class Translate {
setLanguage(lang: any) {
this._language = lang;
console.warn('Translate provider and TranslatePipe has been deprecated and will be removed in the next version. Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/');
}
getTranslations(lang: any) {