1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Updating translations #569

This commit is contained in:
Patrik J. Braun 2023-01-07 11:34:50 +01:00
parent be2cfbdd4b
commit 95eccade0e
16 changed files with 33872 additions and 26961 deletions

View File

@ -244,7 +244,7 @@ export class ServerDataBaseConfig {
uiResetNeeded: {server: true}, uiResetNeeded: {server: true},
priority: ConfigPriority.advanced priority: ConfigPriority.advanced
}, },
description: $localize`All file-based data will be stored here (sqlite database, user database in case of memory db, job history data).`, description: $localize`All file-based data will be stored here (sqlite database, job history data).`,
}) })
dbFolder: string = 'db'; dbFolder: string = 'db';
@ -298,7 +298,7 @@ export class ServerThumbnailConfig extends ClientThumbnailConfig {
name: $localize`Enforced users`, name: $localize`Enforced users`,
priority: ConfigPriority.underTheHood priority: ConfigPriority.underTheHood
}, },
description: $localize`if true, 'lanczos3' will used to scale photos, otherwise faster but lowe quality 'nearest'.` description: $localize`if true, 'lanczos3' will used to scale photos, otherwise faster but lower quality 'nearest'.`
}) })
useLanczos3: boolean = true; useLanczos3: boolean = true;
@ConfigProperty({ @ConfigProperty({
@ -507,7 +507,7 @@ export class ServerLogConfig {
name: $localize`Server timing`, name: $localize`Server timing`,
priority: ConfigPriority.underTheHood, priority: ConfigPriority.underTheHood,
}, },
description: $localize`If enabled. The app ads "Server-Timing" http header to the response.` description: $localize`If enabled, the app ads "Server-Timing" http header to the response.`
}) })
logServerTiming: boolean = false; logServerTiming: boolean = false;
} }
@ -888,9 +888,10 @@ export class ServerMediaConfig extends ClientMediaConfig {
tags: { tags: {
name: $localize`Metadata read buffer`, name: $localize`Metadata read buffer`,
priority: ConfigPriority.underTheHood, priority: ConfigPriority.underTheHood,
uiResetNeeded: {db: true, server: true},
githubIssue: 398, githubIssue: 398,
unit: 'bytes' unit: 'bytes'
}, } as TAGS,
description: $localize`Only this many bites will be loaded when scanning photo/video for metadata. Increase this number if your photos shows up as square.`, description: $localize`Only this many bites will be loaded when scanning photo/video for metadata. Increase this number if your photos shows up as square.`,
}) })
photoMetadataSize: number = 512 * 1024; // only this many bites will be loaded when scanning photo for metadata photoMetadataSize: number = 512 * 1024; // only this many bites will be loaded when scanning photo for metadata

View File

@ -32,21 +32,21 @@ export class BackendtextService {
case DefaultsJobs.Indexing: case DefaultsJobs.Indexing:
return $localize`Indexing`; return $localize`Indexing`;
case DefaultsJobs['Database Reset']: case DefaultsJobs['Database Reset']:
return $localize`Database Reset`; return $localize`Database reset`;
case DefaultsJobs['Thumbnail Generation']: case DefaultsJobs['Thumbnail Generation']:
return $localize`Thumbnail Generation`; return $localize`Thumbnail generation`;
case DefaultsJobs['Photo Converting']: case DefaultsJobs['Photo Converting']:
return $localize`Photo Converting`; return $localize`Photo converting`;
case DefaultsJobs['Video Converting']: case DefaultsJobs['Video Converting']:
return $localize`Video Converting`; return $localize`Video converting`;
case DefaultsJobs['Temp Folder Cleaning']: case DefaultsJobs['Temp Folder Cleaning']:
return $localize`Temp Folder Cleaning`; return $localize`Temp folder cleaning`;
case DefaultsJobs['Preview Filling']: case DefaultsJobs['Preview Filling']:
return $localize`Preview Filling`; return $localize`Preview filling`;
case DefaultsJobs['Preview Reset']: case DefaultsJobs['Preview Reset']:
return $localize`Preview Reset`; return $localize`Preview reset`;
case DefaultsJobs['GPX Compression']: case DefaultsJobs['GPX Compression']:
return $localize`GPX Compression`; return $localize`GPX compression`;
default: default:
return DefaultsJobs[job as DefaultsJobs]; return DefaultsJobs[job as DefaultsJobs];
} }

View File

@ -13,9 +13,7 @@
<div body class="container-fluid"> <div body class="container-fluid">
<div class="card mb-4" *ngIf="notificationService.countedNotifications.length>0"> <div class="card mb-4" *ngIf="notificationService.countedNotifications.length>0">
<h5 class="card-header" i18n> <h5 class="card-header" i18n>Server notifications</h5>
Server notifications
</h5>
<div class="card-body"> <div class="card-body">
<ng-container *ngFor="let notification of notificationService.countedNotifications"> <ng-container *ngFor="let notification of notificationService.countedNotifications">

View File

@ -279,7 +279,7 @@
<button class="btn btn-primary mt-1 float-end" <button class="btn btn-primary mt-1 float-end"
[id]="'btn_add_'+idName" [id]="'btn_add_'+idName"
[name]="'btn_add_'+idName" [name]="'btn_add_'+idName"
(click)="AddNew()" i18n>+Add (click)="AddNew()" i18n>+ Add
</button> </button>
</div> </div>
</ng-container> </ng-container>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff