summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-10 11:39:54 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-12-20 11:01:02 +0100
commitd8f21c35278cbf9cae498f9723e8e331953db88c (patch)
treeac41daf22cca6525b383e88894a312db3061224b
parentb908a9dfd6810b690c9e43b9f31267de0cfc723f (diff)
downloadcontrol-center-d8f21c35278cbf9cae498f9723e8e331953db88c.tar
control-center-d8f21c35278cbf9cae498f9723e8e331953db88c.tar.gz
control-center-d8f21c35278cbf9cae498f9723e8e331953db88c.tar.bz2
control-center-d8f21c35278cbf9cae498f9723e8e331953db88c.tar.xz
control-center-d8f21c35278cbf9cae498f9723e8e331953db88c.zip
simplify after converting to UIM
-rwxr-xr-xcontrol-center16
1 files changed, 1 insertions, 15 deletions
diff --git a/control-center b/control-center
index 85ceea07..c2ee153b 100755
--- a/control-center
+++ b/control-center
@@ -606,13 +606,6 @@ my $pending_app = 0;
my $help_on_context = 'drakconf-intro';
-#-PO Translators, please keep all "/" charaters !!!
-my %options = (
- 'show_log' => [ N("/_Options"), N("/Display _Logs") ],
- 'embedded_mode' => [ N("/_Options"), N("/_Embedded Mode") ],
- 'wiz_expert' => [ N("/_Options"), N("/Expert mode in _wizards") ],
-);
-
my $mga_rel = common::mageia_release();
my ($steps, $view);
@@ -1028,14 +1021,7 @@ foreach my $label (difference2([ keys %programs ], [ keys %tool_callbacks ])) {
foreach (keys %check_boxes) {
my $widget = $check_boxes{$_};
- if (defined $widget) {
- $widget->set_active($option_values{$_});
- } else {
- print STDERR qq(BUG with LANGUAGE "$ENV{LANGUAGE}" for "$_"\n);
- err_dialog(N("Error"), N("There's a bug in translations of your language (%s)
-
-Please report that bug.", $ENV{LANGUAGE}));
- }
+ $widget->set_active($option_values{$_});
}
# "wait while launching a program" area :