diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 06:32:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-12 06:32:09 +0000 |
commit | bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb (patch) | |
tree | d042c1ef0af40345dcdf94d05e4cbffc94eacb3e /perl-install/share/po | |
parent | 734b72f54925e95c9601794e4642a4781b629218 (diff) | |
download | drakx-bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb.tar drakx-bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb.tar.gz drakx-bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb.tar.bz2 drakx-bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb.tar.xz drakx-bec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb.zip |
- nicer error message for help.pm N parameters error
- handle <sect3> (and also <option>)
Diffstat (limited to 'perl-install/share/po')
-rwxr-xr-x | perl-install/share/po/help_xml2pm.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/share/po/help_xml2pm.pl b/perl-install/share/po/help_xml2pm.pl index 7eaa15498..e8adefeb4 100755 --- a/perl-install/share/po/help_xml2pm.pl +++ b/perl-install/share/po/help_xml2pm.pl @@ -86,7 +86,7 @@ sub $_() { N($s); } EOF - my @nb = $main =~ /\%s/g; @nb == @inside or die "bad \%s in $_\n"; + my @nb = $main =~ /\%s/g; @nb == @inside or die "help.pm error: bad \%s in sub $_\n"; } } @@ -233,8 +233,8 @@ sub rewrite2_ { "\n$text\n"; } elsif (member($tree->{tag}, 'acronym', 'application', 'emphasis', - 'keycombo', 'note', 'sect1', 'sect2', - 'superscript', 'systemitem', + 'keycombo', 'note', 'sect1', 'sect2', 'sect3', + 'superscript', 'systemitem', 'option', 'tip', 'ulink', 'xref', 'varlistentry', 'variablelist', 'term', 'phrase', 'hardware', )) { |