From 918d60bf4e8e8fb5825804c909d86872f4af4143 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sat, 2 Sep 2017 18:48:11 +0200 Subject: fixed translators into about dialog --- modules/rpmdragora/dragoraUpdate | 7 +++---- modules/rpmdragora/rpmdragora | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'modules/rpmdragora') diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate index 9ae6bd2b..50111e60 100755 --- a/modules/rpmdragora/dragoraUpdate +++ b/modules/rpmdragora/dragoraUpdate @@ -345,9 +345,8 @@ sub run_treeview_dialog { last if quit(); } elsif ($widget == $aboutButton) { - my $translators = $loc->N("_: Translator(s) name(s) & email(s)\n"); - $translators =~ s/\/\>\;/g; + my $translators = ManaTools::Shared::i18NTranslators($loc->N("_: Translator(s) name(s) & email(s)\n")); + my $sh_gui = ManaTools::Shared::GUI->new(); $sh_gui->AboutDialog({ name => "dragoraUpdate", @@ -358,7 +357,7 @@ sub run_treeview_dialog { authors => $loc->N("

Developers

Translators

- ", + ", "Angelo Naselli <anaselli\@linux.it>", $translators ), diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora index edab7f97..6018e181 100755 --- a/modules/rpmdragora/rpmdragora +++ b/modules/rpmdragora/rpmdragora @@ -1085,9 +1085,8 @@ print "Menu " . $menuLabel . " chosen\n"; elsif ($menuLabel eq $settingsMenuLabel{options}) { } elsif ($menuLabel eq $helpMenu{ about }->label()) { - my $translators = $loc->N("_: Translator(s) name(s) & email(s)\n"); - $translators =~ s/\/\>\;/g; + my $translators = ManaTools::Shared::i18NTranslators($loc->N("_: Translator(s) name(s) & email(s)\n")); + my $sh_gui = ManaTools::Shared::GUI->new(); $sh_gui->AboutDialog({ name => "Rpmdragora", version => $VERSION, @@ -1237,4 +1236,4 @@ _run_treeview_dialog(\&perform_installation); writeconf(); -1; \ No newline at end of file +1; -- cgit v1.2.1