Localize a few isolated strings

This commit is contained in:
Florian Dupret 2021-11-12 18:16:23 +01:00
commit c08c98eefb
4 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import { Component } from "@angular/core";
@Component({
template: "<h2>Page not found</h2>",
template: "<h2>{{ 'ErrorPages.NotFound' | translate }}</h2>",
})
export class PageNotFoundComponent { }

View file

@ -143,7 +143,7 @@
<div class="row" *ngIf="movie.videos?.results?.length > 0">
<div class="col-12">
<mat-card class="mat-elevation-z8">
<mat-card-header>Trailers</mat-card-header>
<mat-card-header>{{'MediaDetails.Trailers' | translate}}</mat-card-header>
<mat-card-content>
<p-carousel class="no-indicator" [numVisible]="2" [numScroll]="10" [page]="0" [value]="movie.videos?.results">
<ng-template let-result pTemplate="item">

View file

@ -70,7 +70,7 @@
<hr />
<div class="keyword-button-container" *ngIf="tv?.keywords?.keywordsValue?.length > 0">
<span class="label">{{'MediaDetails.Keywords' | translate }}:</span>
<span class="label">{{'MediaDetails.Keywords' | translate }}</span>
<mat-chip-list>
<mat-chip selected *ngFor="let keyword of tv.keywords.keywordsValue">
{{keyword.name}}

View file

@ -55,6 +55,9 @@
"OfflineParagraph": "The media server is currently offline.",
"CheckPageForUpdates": "Check this page for continuous site updates."
},
"ErrorPages": {
"NotFound": "Page not found"
},
"NavigationBar": {
"Discover": "Discover",
"Search": "Search",
@ -283,6 +286,7 @@
},
"MediaDetails": {
"Denied": "Denied",
"Trailers": "Trailers",
"RecommendationsTitle": "Recommendations",
"SimilarTitle": "Similar",
"VideosTitle": "Videos",