Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub action to check formatting of Markdown files? #330

Open
gendx opened this issue Feb 3, 2023 · 1 comment
Open

GitHub action to check formatting of Markdown files? #330

gendx opened this issue Feb 3, 2023 · 1 comment

Comments

@gendx
Copy link
Collaborator

gendx commented Feb 3, 2023

In #329, I'm adding some text which makes a line exceed the 80-column standard formatting of markdown files. I'm waiting for the workflows to be approved to see if they will catch the formatting mistake.

If not, it would be good to have a way to automatically format and check the markdown files (ala cargo fmt and cargo fmt --check).

@mgeisler
Copy link
Collaborator

mgeisler commented Feb 9, 2023

Yes, that's definitely something we should add — I'm thinking that we might not need to make it a check for merging (since I want to encourage people to make small drive-by commits). Instead I simply want to reformat things once in a while.

Reformatting everything is waiting on #318 since that will allow us to change the formatting of the Markdown text without affecting the translations.

mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/bn.po had these statistics:

    328 translated messages, 35 fuzzy translations, 1418 untranslated messages.

Afterwards, the statistics for po/bn.po is:

    351 translated messages, 42 fuzzy translations, 2074 untranslated messages.

The number of translated messages changed from 18% to 14%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/de.po had these statistics:

    410 translated messages, 697 fuzzy translations, 674 untranslated messages.

Afterwards, the statistics for po/de.po is:

    556 translated messages, 814 fuzzy translations, 1097 untranslated messages.

The number of translated messages stayed at 23%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/da.po had these statistics:

    279 translated messages, 26 fuzzy translations, 1476 untranslated messages.

Afterwards, the statistics for po/da.po is:

    244 translated messages, 22 fuzzy translations, 2201 untranslated messages.

The number of translated messages changed from 16% to 10%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/es.po had these statistics:

    386 translated messages, 133 fuzzy translations, 1262 untranslated messages.

Afterwards, the statistics for po/es.po is:

    585 translated messages, 142 fuzzy translations, 1740 untranslated messages.

The number of translated messages changed from 22% to 24%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/fa.po had these statistics:

    300 translated messages, 4 fuzzy translations, 1477 untranslated messages.

Afterwards, the statistics for po/fa.po is:

    291 translated messages, 6 fuzzy translations, 2170 untranslated messages.

The number of translated messages changed from 17% to 12%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/el.po had these statistics:

    227 translated messages, 846 fuzzy translations, 708 untranslated messages.

Afterwards, the statistics for po/el.po is:

    236 translated messages, 992 fuzzy translations, 1239 untranslated messages.

The number of translated messages changed from 13% to 10%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/fr.po had these statistics:

    312 translated messages, 984 fuzzy translations, 485 untranslated messages.

Afterwards, the statistics for po/fr.po is:

    343 translated messages, 1363 fuzzy translations, 761 untranslated messages.

The number of translated messages changed from 18% to 14%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/id.po had these statistics:

    32 translated messages, 4 fuzzy translations, 1745 untranslated messages.

Afterwards, the statistics for po/id.po is:

    32 translated messages, 3 fuzzy translations, 2432 untranslated messages.

The number of translated messages changed from 2% to 1%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/it.po had these statistics:

    447 translated messages, 927 fuzzy translations, 407 untranslated messages.

Afterwards, the statistics for po/it.po is:

    583 translated messages, 1288 fuzzy translations, 596 untranslated messages.

The number of translated messages changed from 25% to 24%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/ko.po had these statistics:

    1323 translated messages, 231 fuzzy translations, 227 untranslated messages.

Afterwards, the statistics for po/ko.po is:

    1898 translated messages, 259 fuzzy translations, 310 untranslated messages.

The number of translated messages changed from 74% to 77%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/ja.po had these statistics:

    351 translated messages, 32 fuzzy translations, 1398 untranslated messages.

Afterwards, the statistics for po/ja.po is:

    472 translated messages, 46 fuzzy translations, 1949 untranslated messages.

The number of translated messages changed from 20% to 19%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/pl.po had these statistics:

    441 translated messages, 713 fuzzy translations, 627 untranslated messages.

Afterwards, the statistics for po/pl.po is:

    666 translated messages, 882 fuzzy translations, 919 untranslated messages.

The number of translated messages changed from 25% to 27%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/pt-BR.po had these statistics:

    1272 translated messages, 93 fuzzy translations, 416 untranslated messages.

Afterwards, the statistics for po/pt-BR.po is:

    1703 translated messages, 114 fuzzy translations, 650 untranslated messages.

The number of translated messages changed from 71% to 69%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/ru.po had these statistics:

    217 translated messages, 35 fuzzy translations, 1529 untranslated messages.

Afterwards, the statistics for po/ru.po is:

    374 translated messages, 47 fuzzy translations, 2046 untranslated messages.

The number of translated messages changed from 12% to 15%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/tr.po had these statistics:

    164 translated messages, 6 fuzzy translations, 1611 untranslated messages.

Afterwards, the statistics for po/tr.po is:

    165 translated messages, 6 fuzzy translations, 2296 untranslated messages.

The number of translated messages changed from 9% to 7%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/zh-CN.po had these statistics:

    693 translated messages, 90 fuzzy translations, 998 untranslated messages.

Afterwards, the statistics for po/zh-CN.po is:

    1079 translated messages, 121 fuzzy translations, 1267 untranslated messages.

The number of translated messages changed from 39% to 44%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/uk.po had these statistics:

    63 translated messages, 15 fuzzy translations, 1703 untranslated messages.

Afterwards, the statistics for po/uk.po is:

    104 translated messages, 19 fuzzy translations, 2344 untranslated messages.

The number of translated messages stayed at 4%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
mgeisler added a commit that referenced this issue Aug 23, 2023
Before, po/zh-TW.po had these statistics:

    492 translated messages, 55 fuzzy translations, 1234 untranslated messages.

Afterwards, the statistics for po/zh-TW.po is:

    776 translated messages, 67 fuzzy translations, 1624 untranslated messages.

The number of translated messages changed from 28% to 31%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of #330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/de.po had these statistics:

410 translated messages, 697 fuzzy translations, 674 untranslated
messages.

Afterwards, the statistics for po/de.po is:

556 translated messages, 814 fuzzy translations, 1097 untranslated
messages.

The number of translated messages stayed at 23%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/it.po had these statistics:

447 translated messages, 927 fuzzy translations, 407 untranslated
messages.

Afterwards, the statistics for po/it.po is:

583 translated messages, 1288 fuzzy translations, 596 untranslated
messages.

The number of translated messages changed from 25% to 24%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/pt-BR.po had these statistics:

1272 translated messages, 93 fuzzy translations, 416 untranslated
messages.

Afterwards, the statistics for po/pt-BR.po is:

1703 translated messages, 114 fuzzy translations, 650 untranslated
messages.

The number of translated messages changed from 71% to 69%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/zh-TW.po had these statistics:

492 translated messages, 55 fuzzy translations, 1234 untranslated
messages.

Afterwards, the statistics for po/zh-TW.po is:

776 translated messages, 67 fuzzy translations, 1624 untranslated
messages.

The number of translated messages changed from 28% to 31%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/ko.po had these statistics:

1323 translated messages, 231 fuzzy translations, 227 untranslated
messages.

Afterwards, the statistics for po/ko.po is:

1898 translated messages, 259 fuzzy translations, 310 untranslated
messages.

The number of translated messages changed from 74% to 77%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
I have created PRs to normalize all PO files to the new version of
mdbook-i18n-helpers. Simultaneously, we need to update the version used
to publish the course.

This is indirectly part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/el.po had these statistics:

227 translated messages, 846 fuzzy translations, 708 untranslated
messages.

Afterwards, the statistics for po/el.po is:

236 translated messages, 992 fuzzy translations, 1239 untranslated
messages.

The number of translated messages changed from 13% to 10%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/bn.po had these statistics:

328 translated messages, 35 fuzzy translations, 1418 untranslated
messages.

Afterwards, the statistics for po/bn.po is:

351 translated messages, 42 fuzzy translations, 2074 untranslated
messages.

The number of translated messages changed from 18% to 14%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/da.po had these statistics:

279 translated messages, 26 fuzzy translations, 1476 untranslated
messages.

Afterwards, the statistics for po/da.po is:

244 translated messages, 22 fuzzy translations, 2201 untranslated
messages.

The number of translated messages changed from 16% to 10%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/ru.po had these statistics:

217 translated messages, 35 fuzzy translations, 1529 untranslated
messages.

Afterwards, the statistics for po/ru.po is:

374 translated messages, 47 fuzzy translations, 2046 untranslated
messages.

The number of translated messages changed from 12% to 15%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/es.po had these statistics:

386 translated messages, 133 fuzzy translations, 1262 untranslated
messages.

Afterwards, the statistics for po/es.po is:

585 translated messages, 142 fuzzy translations, 1740 untranslated
messages.

The number of translated messages changed from 22% to 24%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/fa.po had these statistics:

300 translated messages, 4 fuzzy translations, 1477 untranslated
messages.

Afterwards, the statistics for po/fa.po is:

291 translated messages, 6 fuzzy translations, 2170 untranslated
messages.

The number of translated messages changed from 17% to 12%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/fr.po had these statistics:

312 translated messages, 984 fuzzy translations, 485 untranslated
messages.

Afterwards, the statistics for po/fr.po is:

343 translated messages, 1363 fuzzy translations, 761 untranslated
messages.

The number of translated messages changed from 18% to 14%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/id.po had these statistics:

32 translated messages, 4 fuzzy translations, 1745 untranslated
messages.

Afterwards, the statistics for po/id.po is:

32 translated messages, 3 fuzzy translations, 2432 untranslated
messages.

The number of translated messages changed from 2% to 1%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/pl.po had these statistics:

441 translated messages, 713 fuzzy translations, 627 untranslated
messages.

Afterwards, the statistics for po/pl.po is:

666 translated messages, 882 fuzzy translations, 919 untranslated
messages.

The number of translated messages changed from 25% to 27%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/ja.po had these statistics:

351 translated messages, 32 fuzzy translations, 1398 untranslated
messages.

Afterwards, the statistics for po/ja.po is:

472 translated messages, 46 fuzzy translations, 1949 untranslated
messages.

The number of translated messages changed from 20% to 19%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/uk.po had these statistics:

63 translated messages, 15 fuzzy translations, 1703 untranslated
messages.

Afterwards, the statistics for po/uk.po is:

104 translated messages, 19 fuzzy translations, 2344 untranslated
messages.

The number of translated messages stayed at 4%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/tr.po had these statistics:

164 translated messages, 6 fuzzy translations, 1611 untranslated
messages.

Afterwards, the statistics for po/tr.po is:

165 translated messages, 6 fuzzy translations, 2296 untranslated
messages.

The number of translated messages changed from 9% to 7%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
Before, po/zh-CN.po had these statistics:

693 translated messages, 90 fuzzy translations, 998 untranslated
messages.

Afterwards, the statistics for po/zh-CN.po is:

1079 translated messages, 121 fuzzy translations, 1267 untranslated
messages.

The number of translated messages changed from 39% to 44%.

With this change, it becomes important to use the latest version of
mdbook-i18n-helpers when viewing the translation locally. To update to
the latest version, run

    cargo install mdbook-i18n-helpers

You will now be able to serve the translation locally.

Part of google#330.
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
yohcop pushed a commit to yohcop/comprehensive-rust that referenced this issue Sep 12, 2023
I'm preparing several PRs to submit the Spanish translation, but I need
first to normalize the existing es.po file, otherwise the PRs will be
humongous.
Part of google#330, google#282, google#284.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants