aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2017-09-02 18:48:11 +0200
committerAngelo Naselli <anaselli@linux.it>2017-09-02 18:52:51 +0200
commit918d60bf4e8e8fb5825804c909d86872f4af4143 (patch)
tree51d19343cc003cfc3b3fe842115062f26718688d /modules
parent2a4b82f4fddb38d40e4e65654452f34200319756 (diff)
downloadmanatools-918d60bf4e8e8fb5825804c909d86872f4af4143.tar
manatools-918d60bf4e8e8fb5825804c909d86872f4af4143.tar.gz
manatools-918d60bf4e8e8fb5825804c909d86872f4af4143.tar.bz2
manatools-918d60bf4e8e8fb5825804c909d86872f4af4143.tar.xz
manatools-918d60bf4e8e8fb5825804c909d86872f4af4143.zip
fixed translators into about dialog
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate7
-rwxr-xr-xmodules/rpmdragora/rpmdragora7
2 files changed, 6 insertions, 8 deletions
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/\</\&lt\;/g;
- $translators =~ s/\>/\&gt\;/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("<h3>Developers</h3>
<ul><li>%s</li></ul>
<h3>Translators</h3>
- <ul><li>%s</li></ul>",
+ <ul>%s</ul>",
"Angelo Naselli &lt;anaselli\@linux.it&gt;",
$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/\</\&lt\;/g;
- $translators =~ s/\>/\&gt\;/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;