Oliver Hamlet 6b5871c0a2 Update software versions used in CI
The ubuntu-20.04 runner is due to be deprecated on 2025-02-01 and unsupported by 2025-04-01.

The previous version of the metadata validator wouldn't run on Ubuntu 24.04 due to a dependency version mismatch, so has been updated.

The actions/checkout and actions/setup-node actions have also been updated to their latest major versions.

The version of Node.js used has been updated to the latest LTS version.

The version of Python used has been updated to the latest minor version.
2025-01-13 22:30:06 +00:00
2024-07-28 12:32:16 +01:00
2021-09-25 08:08:32 +02:00
2024-09-26 00:08:40 +00:00

About

This repository holds the masterlist prelude, a metadata file that is used to supply common metadata to all masterlists.

See CONTRIBUTING.md for information on how to contribute to the prelude.

Synchronising Weblate translations

The translations directory holds files that are read and written by Weblate. There are a couple of scripts that can be used to keep them in sync with prelude.yaml.

To use the scripts, first install their dependencies in a virtual environment. On Windows, make sure Python 3 is installed, then run:

py -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt

To regenerate the files in the translations directory from prelude.yaml, run:

py scripts/export-translations.py

It's also possible to overwrite the message text in prelude.yaml using the contents of the translations directory:

py scripts/import-translations.py

The scripts make assumptions about the formatting and layout of entries in prelude.yaml, so it's worth double-checking their changes.

S
Description
No description provided
Readme CC0-1.0
508 KiB
Languages
Python 100%