aboutsummaryrefslogtreecommitdiffstats
path: root/Perl/Webwml
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2002-10-02 22:27:35 +0000
committerDenis Barbier <barbier>2002-10-02 22:27:35 +0000
commit345d6425d582544f893132a3e03cd24dd869cb47 (patch)
treeec31d6e7e2f3e0237a45215bded985bb22d79f8f /Perl/Webwml
parent969231392a5e579e6d7bc2a335ff6b10f3ede950 (diff)
Add support for man pages
CVS version numbers Perl/Webwml/L10n/Db.pm: 1.11 -> 1.12
Diffstat (limited to 'Perl/Webwml')
-rw-r--r--Perl/Webwml/L10n/Db.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Perl/Webwml/L10n/Db.pm b/Perl/Webwml/L10n/Db.pm
index bb2198fd987..6622a82c7c4 100644
--- a/Perl/Webwml/L10n/Db.pm
+++ b/Perl/Webwml/L10n/Db.pm
@@ -56,7 +56,7 @@ sub new {
# Package must always be the first field
scalar => [qw(Package Version Section Priority Maintainer PoolDir Type Upstream)],
array1 => [qw(Errors Catgets Gettext)],
- array2 => [qw(NLS PO TEMPLATES PODEBCONF MENU DESKTOP)],
+ array2 => [qw(NLS PO TEMPLATES PODEBCONF MENU DESKTOP MAN)],
};
$self->{methods} = {};
foreach (@{$self->{scalar}}) {
@@ -301,7 +301,8 @@ sub get_date {
Data about packages can be classified within scalar values (C<package>,
C<version>, C<section>, C<priority>, C<maintainer>, C<pooldir>, C<type>,
C<upstream>), arrays (C<errors>, C<catgets>, C<gettext>), and arrays of
-arrays (C<nls>, C<po>, C<templates>, C<podebconf>, C<menu> and C<desktop>).
+arrays (C<nls>, C<po>, C<templates>, C<podebconf>, C<man>, C<menu> and
+C<desktop>).
Each field has a method with the same name to get and set it, e.g.
$section = $l10n_db->section($pkg);

© 2014-2024 Faster IT GmbH | imprint | privacy policy