summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2008-03-26 14:22:15 +0000
committerNicolas Vigier <nvigier@mandriva.com>2008-03-26 14:22:15 +0000
commit3394095d40f97752e83a6eecad1179c109965263 (patch)
tree414a48eaa09f1045562841e0215302856c717c8d
parentb108f1185d45a4101bc570cf0e5e092f79bd1541 (diff)
downloaddrakwizard-3394095d40f97752e83a6eecad1179c109965263.tar
drakwizard-3394095d40f97752e83a6eecad1179c109965263.tar.gz
drakwizard-3394095d40f97752e83a6eecad1179c109965263.tar.bz2
drakwizard-3394095d40f97752e83a6eecad1179c109965263.tar.xz
drakwizard-3394095d40f97752e83a6eecad1179c109965263.zip
factorize strings for translation and remove space before question mark
-rwxr-xr-xproxy_wizard/Squid.pm2
-rwxr-xr-xweb_wizard/Apache.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 801e9e7c..5eec68f3 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -234,7 +234,7 @@ sub do_it {
$::testing and return;
my $in = 'interactive'->vnew('su', 'Squid Config');
if (!services::starts_on_boot('squid')) {
- my $start_httpd = $in->ask_yesorno(N("Start squid server on boot"), N("Would you like to start the squid service automatically on every boot ?"), 1);
+ my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "squid"), N("Would you like to start the %s service automatically on every boot?", "squid"), 1);
if ($start_httpd) {
run_program::rooted($::prefix, '/sbin/chkconfig', '--level', '345', 'squid', 'on');
}
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm
index bae656cc..20077852 100755
--- a/web_wizard/Apache.pm
+++ b/web_wizard/Apache.pm
@@ -249,7 +249,7 @@ sub do_it {
$::testing and return;
my $in = 'interactive'->vnew('su', 'Apache');
if (!services::starts_on_boot('httpd')) {
- my $start_httpd = $in->ask_yesorno(N("Start httpd server on boot"), N("Would you like to start the httpd service automatically on every boot ?"), 1);
+ my $start_httpd = $in->ask_yesorno(N("Start %s server on boot", "httpd"), N("Would you like to start the %s service automatically on every boot?", "httpd"), 1);
if ($start_httpd) {
run_program::rooted($::prefix, '/sbin/chkconfig', '--level', '345', 'httpd', 'on');
}