File tree 1 file changed +0
-15
lines changed
projects/ngx-translate/src/lib
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -290,21 +290,6 @@ export class TranslateService {
290
290
}
291
291
292
292
293
-
294
- /**
295
- * Gets an object of translations for a given language with the current loader
296
- * and passes it through the compiler
297
- *
298
- * @deprecated This function is meant for internal use. There should
299
- * be no reason to use outside this service. You can plug into this
300
- * functionality by using a customer TranslateLoader or TranslateCompiler.
301
- * To load a new language use setDefaultLang() and/or use()
302
- */
303
- public getTranslation ( lang : string ) : Observable < InterpolatableTranslationObject >
304
- {
305
- return this . loadAndCompileTranslations ( lang ) ;
306
- }
307
-
308
293
private loadAndCompileTranslations ( lang : string ) : Observable < InterpolatableTranslationObject > {
309
294
310
295
this . pending = true ;
You can’t perform that action at this time.
0 commit comments