]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/menu/language-chooser.component.html
Add lang attribute in languages list menu
[github/Chocobozzz/PeerTube.git] / client / src / app / menu / language-chooser.component.html
1 <ng-template #modal let-hide="close">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Change the language</h4>
4 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon>
5 </div>
6
7
8 <a i18n class="help-to-translate" target="_blank" rel="noreferrer noopener" href="https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/translation.md">
9 Help to translate PeerTube!
10 </a>
11
12 <div class="modal-body">
13 <a *ngFor="let lang of languages" [href]="buildLanguageLink(lang)" [lang]=lang.iso>{{ lang.label }}</a>
14 </div>
15 </ng-template>