From 0e8e20bb8a27907ab5e23c2446e76a16892d29c8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Aug 2004 08:09:32 +0000 Subject: add hint about ala LaTeX strings for translators --- perl-install/harddrake/sound.pm | 8 ++++++-- perl-install/install_any.pm | 8 ++++++-- perl-install/install_interactive.pm | 4 +++- perl-install/install_messages.pm | 3 +++ perl-install/standalone/drakfont | 4 +++- perl-install/standalone/draksec | 5 +++-- perl-install/standalone/draksound | 4 +++- perl-install/standalone/drakxtv | 3 ++- 8 files changed, 29 insertions(+), 10 deletions(-) diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index b79f2cc0c..8705abccc 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -276,7 +276,9 @@ sub config { sub trouble { my ($in) = @_; $in->ask_warn(N("Sound trouble shooting"), - formatAlaTeX(N("The classic bug sound tester is to run the following commands: + formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("The classic bug sound tester is to run the following commands: - \"lspcidrake -v | fgrep AUDIO\" will tell you which driver your card uses @@ -306,7 +308,9 @@ sub get_any_driver_entry { clicked => sub { my $old_driver = $driver; if ($in->ask_from(N("Choosing an arbitrary driver"), - formatAlaTeX(N("If you really think that you know which driver is the right one for your card + formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("If you really think that you know which driver is the right one for your card you can pick one in the above list. The current driver for your \"%s\" sound card is \"%s\" ", $device->{description}, $driver)), diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 07ba0c1dc..582d5222c 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -545,7 +545,9 @@ sub warnAboutNaughtyServers { my ($o) = @_; my @naughtyServers = pkgs::naughtyServers($o->{packages}) or return 1; my $r = $o->ask_from_list_('', -formatAlaTeX(N("You have selected the following server(s): %s +formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("You have selected the following server(s): %s These servers are activated by default. They don't have any known security @@ -566,7 +568,9 @@ sub warnAboutRemovedPackages { my ($o, $packages) = @_; my @removedPackages = keys %{$packages->{state}{ask_remove} || {}} or return; if (!$o->ask_yesorno('', -formatAlaTeX(N("The following packages will be removed to allow upgrading your system: %s +formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("The following packages will be removed to allow upgrading your system: %s Do you really want to remove these packages? diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index 14a791e1f..92ae1ae0b 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -161,7 +161,9 @@ the following error occured: %s", formatError($@)); $min_win += partition_table::raw::cylinder_size($hd); $part->{size} > $min_linux + $min_swap + $min_freewin + $min_win or die N("Your Windows partition is too fragmented. Please reboot your computer under Windows, run the ``defrag'' utility, then restart the Mandrakelinux installation."); - $o->ask_okcancel('', formatAlaTeX(N("WARNING! + $o->ask_okcancel('', formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("WARNING! DrakX will now resize your Windows partition. Be careful: this operation is dangerous. If you have not already done so, you diff --git a/perl-install/install_messages.pm b/perl-install/install_messages.pm index ef42d1cda..aa045e3f6 100644 --- a/perl-install/install_messages.pm +++ b/perl-install/install_messages.pm @@ -6,6 +6,7 @@ use strict; use common; sub main_license() { +#-PO: keep the doble empty lines between sections, this is formated a la LaTeX N("Introduction The operating system and the different components available in the Mandrakelinux distribution @@ -93,6 +94,7 @@ http://www.mp3licensing.com for more details). If you are unsure if a patent may be applicable to you, check your local laws."); } sub com_license() { +#-PO: keep the doble empty lines between sections, this is formated a la LaTeX N(" Warning @@ -125,6 +127,7 @@ copyright laws applicable to software programs. } sub install_completed() { +#-PO: keep the doble empty lines between sections, this is formated a la LaTeX N("Congratulations, installation is complete. Remove the boot media and press return to reboot. diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 89c3c3bb5..2bbb36b6e 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -509,7 +509,9 @@ sub interactive_mode() { $list_all_font_path || $xlsfonts || $windows || @install || @uninstall ? backend_mod() : interactive_mode(); sub help() { - ugtk2::create_dialog(N("Help"), formatAlaTeX(N("Copyright (C) 2001-2002 by Mandrakesoft + ugtk2::create_dialog(N("Help"), formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("Copyright (C) 2001-2002 by Mandrakesoft DUPONT Sebastien (original version) diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 89cac5a95..9be5a015b 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -85,8 +85,9 @@ sub basic_seclevel_explanations() { } split("\n", formatAlaTeX( -#-PO: Do not alter the and tags -#-PO: Translate the security levels (Poor, Standard, High, Higher and Paranoid) in the same way, you translated these individuals words +#-PO: Do not alter the and tags. +#-PO: Translate the security levels (Poor, Standard, High, Higher and Paranoid) in the same way, you translated these individuals words. +#-PO: keep the doble empty lines between sections, this is formated a la LaTeX. N("Here, you can setup the security level and administrator of your machine. diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound index 4807bf686..005bc585c 100755 --- a/perl-install/standalone/draksound +++ b/perl-install/standalone/draksound @@ -45,7 +45,9 @@ if (my @devices = modules::probe_category('multimedia/sound')) { } @devices; } else { $in->ask_warn(N("No Sound Card detected!"), - formatAlaTeX(N("No Sound Card has been detected on your machine. Please verify that a Linux-supported Sound Card is correctly plugged in. + formatAlaTeX( + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("No Sound Card has been detected on your machine. Please verify that a Linux-supported Sound Card is correctly plugged in. You can visit our hardware database at: diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv index 51738d3ed..689f72ddc 100755 --- a/perl-install/standalone/drakxtv +++ b/perl-install/standalone/drakxtv @@ -130,7 +130,8 @@ if (@devices) { } @devices } else { $in->ask_warn(N("No TV Card detected!"), formatAlaTeX( - N("No TV Card has been detected on your machine. Please verify that a Linux-supported Video/TV Card is correctly plugged in. + #-PO: keep the doble empty lines between sections, this is formated a la LaTeX + N("No TV Card has been detected on your machine. Please verify that a Linux-supported Video/TV Card is correctly plugged in. You can visit our hardware database at: -- cgit v1.2.1