Skip to content

Commit 67677a8

Browse files
committed
Small bug fix.
Change title when language changes
1 parent dd9ed91 commit 67677a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloudapp/src/app/translate/translate.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class TranslateComponent implements OnInit {
3434
this.translate.onLangChange.subscribe((event: LangChangeEvent) =>
3535
{
3636
this.dir = ['ar', 'he'].includes(event.lang) ? 'rtl' : 'ltr';
37+
this.appService.setTitle(this.translate.instant('Translate.Title'));
3738
});
3839

3940
}

0 commit comments

Comments
 (0)