diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-01-20 12:28:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-01-20 12:28:06 +0000 |
commit | 18c484e289859836247a07d7a4b4db0659676d27 (patch) | |
tree | aaf7bd567772219a5693449be3d12111a61500c2 /bin | |
parent | 4183b3106590d48db72cf1ea216fa460f7aea80a (diff) | |
download | drakx-net-18c484e289859836247a07d7a4b4db0659676d27.tar drakx-net-18c484e289859836247a07d7a4b4db0659676d27.tar.gz drakx-net-18c484e289859836247a07d7a4b4db0659676d27.tar.bz2 drakx-net-18c484e289859836247a07d7a4b4db0659676d27.tar.xz drakx-net-18c484e289859836247a07d7a4b4db0659676d27.zip |
fix untranslatable strings (inspirated by Yuri Chornoivan, mga#8628)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/draknetprofile | 6 |
1 files changed, 5 insertions, 1 deletions
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}, ]; } } |