Skip to content

Commit 58de463

Browse files
committed
Removed deprectated getTranslations function
1 parent 27a1ca2 commit 58de463

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

projects/ngx-translate/src/lib/translate.service.ts

-15
Original file line numberDiff line numberDiff line change
@@ -290,21 +290,6 @@ export class TranslateService {
290290
}
291291

292292

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-
308293
private loadAndCompileTranslations(lang: string): Observable<InterpolatableTranslationObject> {
309294

310295
this.pending = true;

0 commit comments

Comments
 (0)