1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-06 06:27:53 +02:00

Format all PO files with dprint (#1359)

This enforces a consistent formatting for the PO files. The goal of this
is to avoid large diffs due to random and unnecessary reformatting.

We use the format of `msgcat`: this is also waht `msgmerge` produces and
it’s easy to replicate for people by installing Gettext and running
`dprint fmt`.

This is a follow-up to #1351 which started enforcing that the `msgid`
fields don’t change due to reformatting in a PR.

If this turns out to be cumbersome, then we can disable it again.
This commit is contained in:
Martin Geisler
2023-10-14 12:53:18 +02:00
committed by GitHub
parent 5fafa4842c
commit 4560ee8484
7 changed files with 3302 additions and 2643 deletions

View File

@ -16,6 +16,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Gettext
run: |
sudo apt install gettext
- name: Install nightly rustfmt
run: |
rustup default nightly