Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Update english strings

Chocobozzzdb8b2f56c014
diff --git a/client/src/app/+about/about-follows/about-follows.component.html b/client/src/app/+about/about-follows/about-follows.component.html
index 2cf890acfb..e9139b5036 100644
--- a/client/src/app/+about/about-follows/about-follows.component.html
+++ b/client/src/app/+about/about-follows/about-follows.component.html
@@ -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>
diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html
index d8794d602d..1f372090e2 100644
--- a/client/src/app/+about/about-instance/about-instance.component.html
+++ b/client/src/app/+about/about-instance/about-instance.component.html
@@ -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>
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
index 03770ceece..594935afdc 100644
--- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
+++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
@@ -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>
diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.html b/client/src/app/+videos/+video-watch/comment/video-comments.component.html
index 4a6426d304..9e6fde2e04 100644
--- a/client/src/app/+videos/+video-watch/comment/video-comments.component.html
+++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.html
@@ -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>
diff --git a/client/src/app/+videos/+video-watch/comment/video-comments.component.ts b/client/src/app/+videos/+video-watch/comment/video-comments.component.ts
index d36dd9e34c..210236b611 100644
--- a/client/src/app/+videos/+video-watch/comment/video-comments.component.ts
+++ b/client/src/app/+videos/+video-watch/comment/video-comments.component.ts
@@ -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',
diff --git a/client/src/app/modal/instance-config-warning-modal.component.html b/client/src/app/modal/instance-config-warning-modal.component.html
index 5a8adf7264..498adfeffd 100644
--- a/client/src/app/modal/instance-config-warning-modal.component.html
+++ b/client/src/app/modal/instance-config-warning-modal.component.html
@@ -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>