mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3745] Updated properties and doc comments (#4134)
This commit is contained in:
committed by
Eugenio Romano
parent
ebde107f41
commit
b32654b236
@@ -74,6 +74,11 @@ export class TranslationService {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a translation file.
|
||||
* @param lang Language code for the language to load
|
||||
* @param fallback Language code to fall back to if the first one was unavailable
|
||||
*/
|
||||
loadTranslation(lang: string, fallback?: string) {
|
||||
this.translate.getTranslation(lang).subscribe(
|
||||
() => {
|
||||
|
Reference in New Issue
Block a user