From 77850360046341a57a70af62bb0be9e475f5e169 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 4 Jan 2023 23:25:59 +0100 Subject: [PATCH] Improving comments --- docker/docker-compose/default/docker-compose.yml | 2 +- docker/docker-compose/pigallery2-only/docker-compose.yml | 2 +- docker/docker-compose/with-mysql/docker-compose.yml | 2 +- src/common/config/public/ClientConfig.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose/default/docker-compose.yml b/docker/docker-compose/default/docker-compose.yml index ca65eacc..07c0f5c2 100644 --- a/docker/docker-compose/default/docker-compose.yml +++ b/docker/docker-compose/default/docker-compose.yml @@ -21,7 +21,7 @@ services: volumes: - "./pigallery2/config:/app/data/config" # CHANGE ME - "db-data:/app/data/db" - - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only + - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME expose: - "80" diff --git a/docker/docker-compose/pigallery2-only/docker-compose.yml b/docker/docker-compose/pigallery2-only/docker-compose.yml index 523e03bf..94b9cfb8 100644 --- a/docker/docker-compose/pigallery2-only/docker-compose.yml +++ b/docker/docker-compose/pigallery2-only/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - "./pigallery2/config:/app/data/config" # CHANGE ME - "db-data:/app/data/db" - - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only + - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME ports: - 80:80 diff --git a/docker/docker-compose/with-mysql/docker-compose.yml b/docker/docker-compose/with-mysql/docker-compose.yml index 020df438..6d6601c4 100644 --- a/docker/docker-compose/with-mysql/docker-compose.yml +++ b/docker/docker-compose/with-mysql/docker-compose.yml @@ -33,7 +33,7 @@ services: volumes: - "./pigallery2/config:/app/data/config" # CHANGE ME - "db-data:/app/data/db" - - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only + - "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only - "./pigallery2/tmp:/app/data/tmp" # CHANGE ME expose: - "80" diff --git a/src/common/config/public/ClientConfig.ts b/src/common/config/public/ClientConfig.ts index d77fa68f..af7dae97 100644 --- a/src/common/config/public/ClientConfig.ts +++ b/src/common/config/public/ClientConfig.ts @@ -600,7 +600,7 @@ export class ClientPhotoConfig { name: $localize`Supported photo formats`, priority: ConfigPriority.underTheHood }, - description: $localize`Photo formats that are supported.`, + description: $localize`Photo formats that are supported. Browser needs to support these formats natively. Also sharp (libvips) package should be able to convert these formats.`, }) supportedFormats: string[] = ['gif', 'jpeg', 'jpg', 'jpe', 'png', 'webp', 'svg']; }