I18n missing parameter (#5782)

* fix syntax

* Missing i18n parameter
This commit is contained in:
Wicklow 2023-05-02 08:31:00 +00:00 committed by GitHub
parent 73ef4b54aa
commit a8d42c560a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@
<div class="row mt-4"> <!-- moderation & nsfw grid --> <div class="row mt-4"> <!-- moderation & nsfw grid -->
<div class="col-12 col-lg-4 col-xl-3"> <div class="col-12 col-lg-4 col-xl-3">
<div i18n class="inner-form-title">MODERATION & NSFW</div> <div i18n class="inner-form-title">MODERATION & NSFW</div>
<div i18row="inner-form-description"> <div i18n class="inner-form-description">
Manage <a class="link-orange" routerLink="/admin/users">users</a> to build a moderation team. Manage <a class="link-orange" routerLink="/admin/users">users</a> to build a moderation team.
</div> </div>
</div> </div>

View File

@ -8,7 +8,7 @@
<div class="peertube-select-container peertube-select-button ms-2 me-2"> <div class="peertube-select-container peertube-select-button ms-2 me-2">
<select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control"> <select [(ngModel)]="notificationSortType" (ngModelChange)="onChangeSortColumn()" class="form-control">
<option value="undefined" disabled>Sort by</option> <option value="undefined" disabled i18n>Sort by</option>
<option value="createdAt" i18n>Newest first</option> <option value="createdAt" i18n>Newest first</option>
<option value="read" [disabled]="!hasUnreadNotifications()" i18n>Unread first</option> <option value="read" [disabled]="!hasUnreadNotifications()" i18n>Unread first</option>
</select> </select>