Add missing translatable configs and make translatable photoswipe configs translatable

Created on 11 October 2023, about 1 year ago
Updated 24 January 2024, 11 months ago

Problem/Motivation

There are a few options which are translatable, see https://photoswipe.com/options/#translating. These should be set translatable.
Note, that a few of these options are not even documented properly, see https://github.com/dimsemenov/PhotoSwipe/issues/2071.

Steps to reproduce

Proposed resolution

  • Add missing options .
  • Create an update hook, to initiate the missing options with their default value.
  • Modify the schema definition to use "label" instead of "string" for the translatable configs.
  • Create a "config_translation.yml" and a translation tab to the photoswipe settings page.
  • Test it!

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

5.0

Component

Code

Created by

🇩🇪Germany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024