Update english strings

pull/3888/head
Chocobozzz 2021-03-10 16:11:47 +01:00
parent e7053b1d9d
commit db8b2f56c0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
6 changed files with 10 additions and 14 deletions

View File

@ -1,7 +1,7 @@
<div class="row">
<h1 class="sr-only" i18n>Follows</h1>
<div class="col-xl-6 col-md-12">
<h2 i18n class="subtitle">Followers instances ({{ followersPagination.totalItems }})</h2>
<h2 i18n class="subtitle">Follower instances ({{ followersPagination.totalItems }})</h2>
<div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div>

View File

@ -83,7 +83,7 @@
fragment="business-model"
#anchorLink
(click)="onClickCopyLink(anchorLink)">
<h3 i18n class="section-title">How we will pay for this instance</h3>
<h3 i18n class="section-title">How we will pay for keeping our instance running</h3>
</a>
<div [innerHTML]="html.businessModel"></div>

View File

@ -1,6 +1,6 @@
<div class="margin-content">
<div i18n class="title-page title-page-single">
Created {{ pagination.totalItems }} playlists
Created {pagination.totalItems, plural, =1 {1 playlist} other {{{ pagination.totalItems }} playlists}}
</div>
<div i18n class="no-results" *ngIf="pagination.totalItems === 0">This channel does not have playlists.</div>

View File

@ -1,12 +1,7 @@
<div>
<div class="title-block">
<h2 class="title-page title-page-single">
<ng-container *ngIf="totalNotDeletedComments > 0; then hasComments; else noComments"></ng-container>
<ng-template #hasComments>
<ng-container i18n *ngIf="totalNotDeletedComments === 1; else manyComments">1 Comment</ng-container>
<ng-template i18n #manyComments>{{ totalNotDeletedComments }} Comments</ng-template>
</ng-template>
<ng-template i18n #noComments>Comments</ng-template>
{totalNotDeletedComments, plural, =0 {Comments} =1 {1 Comment} other {{{totalNotDeletedComments}} Comments}}
</h2>
<my-feed [syndicationItems]="syndicationItems"></my-feed>
@ -79,15 +74,17 @@
<span class="glyphicon glyphicon-menu-down"></span>
<ng-container *ngIf="comment.totalRepliesFromVideoAuthor > 0; then hasAuthorComments; else noAuthorComments"></ng-container>
<ng-template #hasAuthorComments>
<ng-container *ngIf="comment.totalReplies !== comment.totalRepliesFromVideoAuthor; else onlyAuthorComments" i18n>
View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }} and others
View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}} from {{ video?.account?.displayName || 'the author' }} and others
</ng-container>
<ng-template i18n #onlyAuthorComments>
View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }}
View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}} from {{ video?.account?.displayName || 'the author' }}
</ng-template>
</ng-template>
<ng-template i18n #noAuthorComments>View {{ comment.totalReplies }} replies</ng-template>
<ng-template i18n #noAuthorComments>View {comment.totalReplies, plural, =1 {1 reply} other {{{ comment.totalReplies }} replies}}</ng-template>
<my-small-loader class="comment-thread-loading ml-1" [loading]="threadLoading[comment.id]"></my-small-loader>
</div>

View File

@ -5,7 +5,6 @@ import { AuthService, ComponentPagination, ConfirmService, hasMoreItems, Notifie
import { HooksService } from '@app/core/plugins/hooks.service'
import { Syndication, VideoDetails } from '@app/shared/shared-main'
import { VideoComment, VideoCommentService, VideoCommentThreadTree } from '@app/shared/shared-video-comment'
import { ThisReceiver } from '@angular/compiler'
@Component({
selector: 'my-video-comments',

View File

@ -15,7 +15,7 @@
<li i18n *ngIf="!about.instance.administrator">Who you are</li>
<li i18n *ngIf="!about.instance.maintenanceLifetime">How long you plan to maintain your instance</li>
<li i18n *ngIf="!about.instance.businessModel">How you plan to pay your instance</li>
<li i18n *ngIf="!about.instance.businessModel">How you plan to pay for keeping your instance running</li>
<li i18n *ngIf="!about.instance.moderationInformation">How you will moderate your instance</li>
<li i18n *ngIf="!about.instance.terms">Instance terms</li>