]> git.deb.at Git - deb/packages.git/blobdiff - lib/Packages/Sections.pm
Packages::Sections: Add translations section
[deb/packages.git] / lib / Packages / Sections.pm
index 1311bc12b30ab8016b1116b5445cdab6ed15c039..a586c17e79787e3067c4a715b81bd76248ac577c 100644 (file)
@@ -3,83 +3,84 @@ package Packages::Sections;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
+use Packages::I18N::Locale;
 use Exporter;
 our @ISA = qw( Exporter );
 our @EXPORT = qw( %sections_descs );
 
 our %sections_descs = (
 use Exporter;
 our @ISA = qw( Exporter );
 our @EXPORT = qw( %sections_descs );
 
 our %sections_descs = (
-                     'admin'           => [ "Administration Utilities",
-                                            "Utilities to administer system resources, manage user accounts, etc." ],
-                     'base'            => [ "Base Utilities",
-                                            "Basic needed utilities of every Debian system." ],
-                     'comm'            => [ "Communication Programs",
-                                            "Software to use your modem in the old fashioned style." ],
-                     'devel'           => [ "Development",
-                                            "Development utilities, compilers, development environments, libraries, etc." ],
-                     'doc'             => [ "Documentation",
-                                            "FAQs, HOWTOs and other documents trying to explain everything related to Debian, and software needed to browse documentation (man, info, etc)." ],
-                     'editors' => [ "Editors",
-                                    "Software to edit files. Programming environments." ],
-                     'electronics'     => [ "Electronics",
-                                            "Electronics utilities." ],
-                     'embedded'        => [ "Embedded software",
-                                            "Software suitable for use in embedded applications." ],
-                     'games'           => [ "Games",
-                                            "Programs to spend a nice time with after all this setting up." ],
-                     'gnome'           => [ "GNOME",
-                                            "The GNOME desktop environment, a powerful, easy to use set of integrated applications." ],
-                     'graphics'        => [ "Graphics",
-                                            "Editors, viewers, converters... Everything to become an artist." ],
-                     'hamradio'        => [ "Ham Radio",
-                                            "Software for ham radio." ],
-                     'interpreters'    => [ "Interpreters",
-                                            "All kind of interpreters for interpreted languages. Macro processors." ],
-                     'kde'             => [ "KDE",
-                                            "The K Desktop Environment, a powerful, easy to use set of integrated applications." ],
-                     'libs'            => [ "Libraries",
-                                            "Libraries to make other programs work. They provide special features to developers." ],
-                     'libdevel'        => [ "Library development",
-                                            "Libraries necessary for developers to write programs that use them." ],
-                     'mail'            => [ "Mail",
-                                            "Programs to route, read, and compose E-mail messages." ],
-                     'math'            => [ "Mathematics",
-                                            "Math software." ],
-                     'misc'            => [ "Miscellaneous",
-                                            "Miscellaneous utilities that didn\'t fit well anywhere else." ],
-                     'net'             => [ "Network",
-                                            "Daemons and clients to connect your Debian GNU/Linux system to the world." ],
-                     'news'            => [ "Newsgroups",
-                                            "Software to access Usenet, to set up news servers, etc." ],
-                     'non-US'  => [ "Software restricted in the U.S.",
-                                    "These packages probably may not be used in or distributed from the U.S. due to software patents. You should check the regulations in your country before using this software." ],
-                     'oldlibs' => [ "Old Libraries",
-                                    "Old versions of libraries, kept for backward compatibility with old applications." ],
-                     'otherosfs'       => [ "Other OS\'s and file systems",
-                                            "Software to run programs compiled for other operating system, and to use their filesystems." ],
-                     'perl'            => [ "Perl",
-                                            "Everything about Perl, an interpreted scripting language." ],
-                     'python'  => [ "Python",
-                                    "Everything about Python, an interpreted, interactive object oriented language." ],
-                     'science' => [ "Science",
-                                    "Basic tools for scientific work" ],
-                     'shells'  => [ "Shells",
-                                    "Command shells. Friendly user interfaces for beginners." ],
-                     'sound'           => [ "Sound",
-                                            "Utilities to deal with sound: mixers, players, recorders, CD players, etc." ],
-                     'tex'             => [ "TeX",
-                                            "The famous typesetting software and related programs." ],
-                     'text'            => [ "Text Processing",
-                                            "Utilities to format and print text documents." ],
-                     'utils'           => [ "Utilities",
-                                            "Utilities for file/disk manipulation, backup and archive tools, system monitoring, input systems, etc." ],
-                     'virtual' => [ "Virtual packages",
-                                    "Virtual packages." ],
-                     'web'             => [ "Web Software",
-                                            "Web servers, browsers, proxies, download tools etc." ],
-                     'x11'             => [ "X Window System software",
-                                            "X servers, libraries, fonts, window managers, terminal emulators and many related applications." ],
-                     'debian-installer' => [ "debian-installer udeb packages",
-                                             "Special packages for building customized debian-installer variants. Do not install them on a normal system!" ],
+                     admin             => [ N_("Administration Utilities"),
+                                            N_("Utilities to administer system resources, manage user accounts, etc.") ],
+                     base              => [ N_("Base Utilities"),
+                                            N_("Basic needed utilities of every Debian system.") ],
+                     comm              => [ N_("Communication Programs"),
+                                            N_("Software to use your modem in the old fashioned style.") ],
+                     devel             => [ N_("Development"),
+                                            N_("Development utilities, compilers, development environments, libraries, etc.") ],
+                     doc               => [ N_("Documentation"),
+                                            N_("FAQs, HOWTOs and other documents trying to explain everything related to Debian, and software needed to browse documentation (man, info, etc).") ],
+                     editors   => [ N_("Editors"),
+                                    N_("Software to edit files. Programming environments.") ],
+                     electronics       => [ N_("Electronics"),
+                                            N_("Electronics utilities.") ],
+                     embedded  => [ N_("Embedded software"),
+                                            N_("Software suitable for use in embedded applications.") ],
+                     games             => [ N_("Games"),
+                                            N_("Programs to spend a nice time with after all this setting up.") ],
+                     gnome             => [ N_("GNOME"),
+                                            N_("The GNOME desktop environment, a powerful, easy to use set of integrated applications.") ],
+                     graphics  => [ N_("Graphics"),
+                                            N_("Editors, viewers, converters... Everything to become an artist.") ],
+                     hamradio  => [ N_("Ham Radio"),
+                                            N_("Software for ham radio.") ],
+                     interpreters      => [ N_("Interpreters"),
+                                            N_("All kind of interpreters for interpreted languages. Macro processors.") ],
+                     kde               => [ N_("KDE"),
+                                            N_("The K Desktop Environment, a powerful, easy to use set of integrated applications.") ],
+                     libs              => [ N_("Libraries"),
+                                            N_("Libraries to make other programs work. They provide special features to developers.") ],
+                     libdevel  => [ N_("Library development"),
+                                            N_("Libraries necessary for developers to write programs that use them.") ],
+                     mail              => [ N_("Mail"),
+                                            N_("Programs to route, read, and compose E-mail messages.") ],
+                     math              => [ N_("Mathematics"),
+                                            N_("Math software.") ],
+                     misc              => [ N_("Miscellaneous"),
+                                            N_("Miscellaneous utilities that didn\'t fit well anywhere else.") ],
+                     net               => [ N_("Network"),
+                                            N_("Daemons and clients to connect your Debian GNU/Linux system to the world.") ],
+                     news              => [ N_("Newsgroups"),
+                                            N_("Software to access Usenet, to set up news servers, etc.") ],
+                     oldlibs   => [ N_("Old Libraries"),
+                                    N_("Old versions of libraries, kept for backward compatibility with old applications.") ],
+                     otherosfs => [ N_("Other OS\'s and file systems"),
+                                            N_("Software to run programs compiled for other operating system, and to use their filesystems.") ],
+                     perl              => [ N_("Perl"),
+                                            N_("Everything about Perl, an interpreted scripting language.") ],
+                     python    => [ N_("Python"),
+                                    N_("Everything about Python, an interpreted, interactive object oriented language.") ],
+                     science   => [ N_("Science"),
+                                    N_("Basic tools for scientific work") ],
+                     shells    => [ N_("Shells"),
+                                    N_("Command shells. Friendly user interfaces for beginners.") ],
+                     sound             => [ N_("Sound"),
+                                            N_("Utilities to deal with sound: mixers, players, recorders, CD players, etc.") ],
+                     tex               => [ N_("TeX"),
+                                            N_("The famous typesetting software and related programs.") ],
+                     text              => [ N_("Text Processing"),
+                                            N_("Utilities to format and print text documents.") ],
+                     translations      => [ N_("Translations"),
+                                            N_("Translation packages and language support meta packages.") ],
+                     utils             => [ N_("Utilities"),
+                                            N_("Utilities for file/disk manipulation, backup and archive tools, system monitoring, input systems, etc.") ],
+                     virtual   => [ N_("Virtual packages"),
+                                    N_("Virtual packages.") ],
+                     web               => [ N_("Web Software"),
+                                            N_("Web servers, browsers, proxies, download tools etc.") ],
+                     x11               => [ N_("X Window System software"),
+                                            N_("X servers, libraries, fonts, window managers, terminal emulators and many related applications.") ],
+                     'debian-installer' => [ N_("debian-installer udeb packages"),
+                                             N_("Special packages for building customized debian-installer variants. Do not install them on a normal system!") ],
                      );
 
 
                      );