diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | bin/draknetprofile | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ - drakhosts: fix translation domain (Yuri Chornoivan, mga#8629) -- fix untranslatable strings (Yuri Chornoivan, mga#8638 & #8640) +- fix untranslatable strings (Yuri Chornoivan, mga#8638, #8640 & #8628) 1.17: - update translations diff --git a/bin/draknetprofile b/bin/draknetprofile index 325d9fb..4e81e5e 100755 --- a/bin/draknetprofile +++ b/bin/draknetprofile @@ -93,11 +93,15 @@ $profiles_list->get_selection->signal_connect('changed' => sub { sub load_netprofile_modules() { my @modules = network::network::netprofile_modules(); + my %descriptions = map { $_ => translate($_) } N_("Save and restore the active services"), + N_("Network connection settings"), N_("Firewall settings"), N_("Firewall settings (IPv6)"), + N_("Proxy settings"), N_("Urpmi settings"), N_("Networkmanager connection settings"); + foreach (@modules) { push @{$modules_list->{data}}, [ $_->{module}, $_->{enabled}, - $_->{description}, + $descriptions{$_->{description}} || $_->{description}, ]; } } |