From ba7914ed6904f4d4aefdbbf478bff86e7fdde439 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Jan 2004 11:33:52 +0000 Subject: - kill spurious warning on translating options - keep no more used options in translations if we ever reverse this change --- control-center | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/control-center b/control-center index b183b0c8..74f5212f 100755 --- a/control-center +++ b/control-center @@ -61,7 +61,7 @@ $h{HEIGTH} ||= $default_heigth; $h{WIDTH} ||= $default_width; my %option_values; -@option_values{qw(show_log wiz_expert)} = (text2bool($h{LOGS}), text2bool($h{EXPERT_WIZARD})); +$option_values{show_log} = text2bool($h{LOGS}); my $theme = $h{THEME}; $theme = $1 if "@ARGV" =~ /--theme (\w+)/; -d "$themes_dir/$theme" or $theme = 'default'; @@ -299,6 +299,7 @@ my @themes = grep { -d "$themes_dir/$_" } all($themes_dir); #-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") ], ); @@ -487,7 +488,7 @@ update_profiles(); %check_boxes = map { $_ => $factory->get_widget("
" . get_path(@{$options{$_}})) -} ("show_log", if_($::isWiz, "wiz_expert")); +} ("show_log", if_(0 && $::isWiz, "wiz_expert")); gtkadd($window_global, -- cgit v1.2.1