Skip to content

Commit

Permalink
Chore: update MANIFEST, translation files, and align some messages to…
Browse files Browse the repository at this point in the history
… ease the work of translators
  • Loading branch information
mquinson committed Jan 4, 2024
1 parent c862436 commit 7663494
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 200 deletions.
3 changes: 3 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ t/charset/asciidoc/CharsetUtf.norm
t/charset/asciidoc/CharsetUtf.po
t/charset/asciidoc/CharsetUtf.pot
t/charset/asciidoc/CharsetUtf.trans
t/charset/asciidoc/CharsetUtfBOM.adoc
t/charset/asciidoc/CharsetUtfBOM.po
t/charset/asciidoc/CharsetUtfBOM.pot
t/charset/yaml/utf8.norm
t/charset/yaml/utf8.po
t/charset/yaml/utf8.pot
Expand Down
5 changes: 2 additions & 3 deletions lib/Locale/Po4a/Xml.pm
Original file line number Diff line number Diff line change
Expand Up @@ -903,12 +903,11 @@ sub tag_trans_xmlhead {
"po4a::xml",
dgettext(
"po4a",
"The file %s declares %s as encoding, but you provided %s as master charset. Please change either setting. Offending chunk:\n%s"
"The file %s declares %s as encoding, but you provided %s as master charset. Please change either setting."
),
$self->{'current_file'},
$in_charset,
$input_charset,
$tag
$input_charset
) if ( length( $input_charset // '' ) > 0 && uc($input_charset) ne uc($in_charset) );

$tag =~ s/$in_charset/$out_charset/;
Expand Down
Loading

0 comments on commit 7663494

Please sign in to comment.