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.
It would duplicate an existing translation instead of inserting a new translation if there were two new translations listed consecutively for an anchor.
This reverts commit 556ad04bf6.
The import script mangled the prelude and the following export
caused some data loss in the translation files, so reverting this
to redo it with a fixed script.
If the Weblate GitHub user opens a PR, this will import the Weblate translations in that PR into the prelude, then export them, then create a diff of the changes that is used to add a commit to the PR's branch containing those changes.
The export is done because Weblate just appends new translations to its YAML files, but they're otherwise sorted alphabetically and the export is a way of doing that.