Localize a few isolated strings

This commit is contained in:
Florian Dupret 2021-11-12 18:38:38 +01:00
commit 474fe8acd1
10 changed files with 17 additions and 12 deletions

View file

@ -104,7 +104,7 @@
<hr />
<div class="genre-button-container" *ngIf="movie.genres">
<span class="label">{{'MediaDetails.Genres' | translate }}</span>
<span class="label">{{'MediaDetails.GenresLabel' | translate }}</span>
<div>
<mat-chip-list>
<mat-chip selected *ngFor="let genre of movie.genres">

View file

@ -58,7 +58,7 @@
<div class="genre-button-container" *ngIf="tv.genres">
<span class="label">{{'MediaDetails.Genres' | translate }}</span>
<span class="label">{{'MediaDetails.GenresLabel' | translate }}</span>
<div>
<mat-chip-list>
<mat-chip selected *ngFor="let genre of tv.genres">

View file

@ -1,6 +1,6 @@
<div class="form-group">
<div class="input-group">
<input type="text" id="search" class="form-control form-control-custom searchwidth" placeholder="Search"
<input type="text" id="search" class="form-control form-control-custom searchwidth" [placeholder]="'Search.Search' | translate"
(keyup)="search($event)">
<span class="input-group-btn">
<button id="filterBtn" class="btn btn-sm btn-info-outline" (click)="filterDisplay = !filterDisplay">

View file

@ -1,6 +1,6 @@
<div class="form-group">
<div class="input-group">
<input type="text" id="search" class="form-control form-control-custom searchwidth" placeholder="Search"
<input type="text" id="search" class="form-control form-control-custom searchwidth" [placeholder]="'Search.Search' | translate"
(keyup)="search($event)">
<span class="input-group-btn">
<button id="filterBtn" class="btn btn-sm btn-info-outline" (click)="filterDisplay = !filterDisplay">

View file

@ -1,6 +1,6 @@
<div class="form-group">
<div>
<input type="text" id="search" class="form-control form-control-custom" placeholder="Search" (keyup)="search($event)">
<input type="text" id="search" class="form-control form-control-custom" [placeholder]="'Common.Search' | translate" (keyup)="search($event)">
</div>
</div>
<br />

View file

@ -1,7 +1,7 @@
<div class='container'>
<div class='chatbox'>
<div class='chatbox__user-list'>
<h1>Users</h1>
<h1>{{ "Issues.UserManagement" | translate }}</h1>
<div class='chatbox__user--active' *ngFor="let user of userList">
<p>{{user}}</p>
</div>
@ -19,7 +19,7 @@
</div>
</div>
<div class="form">
<input type="text" [(ngModel)]="currentMessage" placeholder="Enter your message">
<button mat-raised-button class="add-message" (click)="addMessage()">Send</button>
<input type="text" [(ngModel)]="currentMessage" [placeholder]="'Issues.EnterYourMessage' | translate">
<button mat-raised-button class="add-message" (click)="addMessage()">{{ "Issues.SendMessageButton" | translate }}</button>
</div>
</div>

View file

@ -10,7 +10,7 @@
<mat-icon matChipRemove>cancel</mat-icon>
</mat-chip>
<input
placeholder="Search Keyword"
[placeholder]="'Search.SearchGenre' | translate"
#keywordInput
[formControl]="control"
[matAutocomplete]="auto"

View file

@ -9,7 +9,7 @@
<mat-icon matChipRemove>cancel</mat-icon>
</mat-chip>
<input
placeholder="Search Keyword"
[placeholder]="'Search.SearchKeyword' | translate"
#keywordInput
[formControl]="control"
[matAutocomplete]="auto"

View file

@ -9,7 +9,7 @@
<mat-icon matChipRemove>cancel</mat-icon>
</mat-chip>
<input
placeholder="Search Keyword"
[placeholder]="'Search.SearchProvider' | translate"
#keywordInput
[formControl]="control"
[matAutocomplete]="auto"

View file

@ -134,6 +134,9 @@
},
"AdvancedSearchInstructions": "Please choose what type of media you are searching for:",
"YearOfRelease": "Year of Release",
"SearchGenre": "Search Genre",
"SearchKeyword": "Search Keyword",
"SearchProvider": "Search Provider",
"KeywordSearchingDisclaimer": "Please note that Keyword Searching is very hit and miss due to the inconsistent data in TheMovieDb"
},
"Requests": {
@ -260,6 +263,7 @@
"Delete": "Delete issue",
"DeletedIssue": "Issue has been deleted",
"Chat":"Chat",
"EnterYourMessage":"Enter Your Message",
"Requested":"Requested",
"UserOnDate": "{{user}} on {{date}}"
},
@ -323,7 +327,8 @@
"RootFolderOverride":"Root Folder Override:",
"QualityOverride":"Quality Override:",
"Network":"Network:",
"Genres":"Genres:",
"GenresHeader":"Genres:",
"Genres":"Genres",
"FirstAired":"First Aired:",
"TheatricalRelease":"Release:",
"DigitalRelease":"Digital Release:",