From 96d630e42a48114205bae08ee72dd7db2418f8cb Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Thu, 25 Aug 2016 09:38:59 -0500 Subject: [PATCH] chore(translate): add deprecation notice Please use NG2-Translate instead: http://ionicframework.com/docs/v2/resources/ng2-translate/ --- src/translation/translate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/translation/translate.ts b/src/translation/translate.ts index 5140cad701..907afd9431 100644 --- a/src/translation/translate.ts +++ b/src/translation/translate.ts @@ -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) {