Add support for European Portuguese variant (#1619)

This commit is contained in:
chico ferreira 2023-06-30 08:35:27 +01:00 committed by GitHub
parent 084c8642db
commit 82b893ec0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,7 @@ impl LocalName for HeadingElem {
Lang::ITALIAN => "Sezione",
Lang::NYNORSK => "Kapittel",
Lang::POLISH => "Sekcja",
Lang::PORTUGUESE if option_eq(region, "PT") => "Secção",
Lang::PORTUGUESE => "Seção",
Lang::RUSSIAN => "Раздел",
Lang::SLOVENIAN => "Poglavje",

View File

@ -273,6 +273,7 @@ impl LocalName for OutlineElem {
Lang::ITALIAN => "Indice",
Lang::NYNORSK => "Innhald",
Lang::POLISH => "Spis treści",
Lang::PORTUGUESE if option_eq(region, "PT") => "Índice",
Lang::PORTUGUESE => "Sumário",
Lang::RUSSIAN => "Содержание",
Lang::SLOVENIAN => "Kazalo",