diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 19:11:35 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 19:11:35 +0000 |
commit | 6b3a715dc98ffa7ae86e5e04797f6ff95a40af83 (patch) | |
tree | a0252f9b864420553a760b893e1d08d87b3c9069 | |
parent | d5cf68b5df03e57dfd617068c83897bbeab86d03 (diff) | |
download | rpmdrake-6b3a715dc98ffa7ae86e5e04797f6ff95a40af83.tar rpmdrake-6b3a715dc98ffa7ae86e5e04797f6ff95a40af83.tar.gz rpmdrake-6b3a715dc98ffa7ae86e5e04797f6ff95a40af83.tar.bz2 rpmdrake-6b3a715dc98ffa7ae86e5e04797f6ff95a40af83.tar.xz rpmdrake-6b3a715dc98ffa7ae86e5e04797f6ff95a40af83.zip |
let rpm groups be translatable (exhausts many invalid groups...)
-rwxr-xr-x | rpmdrake | 93 | ||||
-rw-r--r-- | rpmdrake.spec | 1 |
2 files changed, 93 insertions, 1 deletions
@@ -67,7 +67,98 @@ You will not be able to perform modifications on the system, but you may still browse the existing database."), yesno => 1, text => { yes => N("Ok"), no => N("Cancel") }) or myexit(0)); -sub ctreefy { $_[0] =~ s,/,|,g; $_[0] } +#- /usr/share/rpmlint/TagsCheck.py +my @valid_groups = ( + N_("Accessibility"), + N_("System/Servers"), + N_("System/Kernel and hardware"), + N_("System/Libraries"), + N_("System/XFree86"), + N_("System/Fonts/Console"), + N_("System/Fonts/True type"), + N_("System/Fonts/Type1"), + N_("System/Fonts/X11 bitmap"), + N_("System/Base"), + N_("System/Configuration/Hardware"), + N_("System/Configuration/Packaging"), + N_("System/Configuration/Networking"), + N_("System/Configuration/Printing"), + N_("System/Configuration/Boot and Init"), + N_("System/Configuration/Other"), + N_("System/Internationalization"), + N_("Development/Kernel"), + N_("Development/Databases"), + N_("Development/Perl"), + N_("Development/Python"), + N_("Development/C"), + N_("Development/C++"), + N_("Development/Java"), + N_("Development/GNOME and GTK+"), + N_("Development/KDE and Qt"), + N_("Development/Other"), + N_("Sciences/Astronomy"), + N_("Sciences/Biology"), + N_("Sciences/Chemistry"), + N_("Sciences/Computer science"), + N_("Sciences/Geosciences"), + N_("Sciences/Mathematics"), + N_("Sciences/Physics"), + N_("Sciences/Other"), + N_("Communications"), + N_("Databases"), + N_("Editors"), + N_("Emulators"), + N_("Games/Adventure"), + N_("Games/Arcade"), + N_("Games/Boards"), + N_("Games/Cards"), + N_("Games/Puzzles"), + N_("Games/Sports"), + N_("Games/Strategy"), + N_("Games/Other"), + N_("Toys"), + N_("Archiving/Compression"), + N_("Archiving/Cd burning"), + N_("Archiving/Backup"), + N_("Archiving/Other"), + N_("Monitoring"), + N_("Sound"), + N_("Graphics"), + N_("Video"), + N_("Networking/File transfer"), + N_("Networking/IRC"), + N_("Networking/Instant messaging"), + N_("Networking/Chat"), + N_("Networking/News"), + N_("Networking/Mail"), + N_("Networking/WWW"), + N_("Networking/Remote access"), + N_("Networking/Other"), + N_("Office"), + N_("Publishing"), + N_("Terminals"), + N_("Shells"), + N_("File tools"), + N_("Text tools"), + N_("Graphical desktop/GNOME"), + N_("Graphical desktop/Icewm"), + N_("Graphical desktop/FVWM based"), + N_("Graphical desktop/KDE"), + N_("Graphical desktop/Sawfish"), + N_("Graphical desktop/WindowMaker"), + N_("Graphical desktop/Enlightenment"), + N_("Graphical desktop/Other"), + N_("Books/Howtos"), + N_("Books/Faqs"), + N_("Books/Computer books"), + N_("Books/Litterature"), + N_("Books/Other")); + +sub ctreefy { + my $grp = translate($_[0]); + $grp =~ s,/,|,g; + $grp +} sub beautify_description { my ($t, $tmp); diff --git a/rpmdrake.spec b/rpmdrake.spec index b5314cd4..ff91061b 100644 --- a/rpmdrake.spec +++ b/rpmdrake.spec @@ -107,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT packages but can't modify the system) - edit-medias: remove weird looking Save&Quit / Quit buttons, use Ok only - adding an update source: fix sorting according to tz +- let rpm groups be translatable (exhausts many invalid groups...) * Fri May 16 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-20mdk - perl-URPM API change: gives architecture in ask_remove |