1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00

Publish Brazilian Portuguese translation (#381)

The IETF language tag for “Brazilian Portuguese” is “pt-BR”[1]. This
tag is also used in the HTML lang attribute[2].

We derive the language code directly from the “.po” filename, so I’ve
renamed “pt_BR.po” to “pt-BR.po” make everything use the correct
language code. Nothing in the Gettext pipeline cares about the precise
filename, so it should be fine to rename it like this.

[1]: https://en.wikipedia.org/wiki/Brazilian_Portuguese#Language_codes
[2]: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang
This commit is contained in:
Martin Geisler 2023-02-13 14:45:58 +01:00 committed by GitHub
parent 957f2a70f0
commit 3a29be8c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ concurrency:
env:
CARGO_TERM_COLOR: always
LANGUAGES: da
LANGUAGES: da pt-BR
jobs:
publish: