From a173390d34fc7782b0cf94e3d8c9c9f4cb22d565 Mon Sep 17 00:00:00 2001 From: Matteo Pasotti Date: Sat, 12 Jan 2013 00:12:55 +0000 Subject: - gui.pm: added support for icons to tree and table; temporary disabled format_name_n_summary - icon.pm: made get_icon indipendent from gtk - localization.pm: temporary workaround to let rpmdragora access rpmdrake ts - rpmdragora: now use the workaround as the other modules --- AdminPanel/Rpmdragora/localization.pm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 AdminPanel/Rpmdragora/localization.pm (limited to 'AdminPanel/Rpmdragora/localization.pm') diff --git a/AdminPanel/Rpmdragora/localization.pm b/AdminPanel/Rpmdragora/localization.pm new file mode 100644 index 0000000..fb199d9 --- /dev/null +++ b/AdminPanel/Rpmdragora/localization.pm @@ -0,0 +1,35 @@ +#!/usr/bin/perl +# vim: set et ts=4 sw=4: +package AdminPanel::Rpmdragora::localization; +#***************************************************************************** +# +# Copyright (c) 2013 Matteo Pasotti +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2, as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#***************************************************************************** +use strict; +use warnings; +use diagnostics; +use lib qw(/usr/lib/libDrakX); +use common; + +Locale::gettext::bind_textdomain_codeset($_, 'UTF8') foreach 'libDrakX', if_(!$::isInstall, 'libDrakX-standalone'), + if_($::isRestore, 'draksnapshot'), if_($::isInstall, 'urpmi'), + 'drakx-net', 'drakx-kbd-mouse-x11', # shared translation + @::textdomains; + +#========= UGLY WORKAROUND ============ +push @::textdomains, 'rpmdrake'; +#========= UGLY WORKAROUND ============ -- cgit v1.2.1