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

View file

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

View file

@ -1,6 +1,6 @@
<div class="form-group"> <div class="form-group">
<div class="input-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)"> (keyup)="search($event)">
<span class="input-group-btn"> <span class="input-group-btn">
<button id="filterBtn" class="btn btn-sm btn-info-outline" (click)="filterDisplay = !filterDisplay"> <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="form-group">
<div class="input-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)"> (keyup)="search($event)">
<span class="input-group-btn"> <span class="input-group-btn">
<button id="filterBtn" class="btn btn-sm btn-info-outline" (click)="filterDisplay = !filterDisplay"> <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="form-group">
<div> <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>
</div> </div>
<br /> <br />

View file

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

View file

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

View file

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

View file

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

View file

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