From 9091151d546e5d749b47e2efce3ff651784fcc8c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 6 Nov 2002 13:20:21 +0000 Subject: replace "_" with "N" and "__" with "N_" rationale: - currently, we use _("xxx") as a shorthand for gettext("xxx"). It also used to call xgettext with --keyword=_ - alas, function &_ is global and not by package (notice esp. that _ is not exported in common.pm) - this lead to big ugly pb with packages defining their own &_, overriding common.pm's &_ - a fix is to set @::textdomains to add a new domain (the default being "libDrakX") but relying on the global "_" is still dangerous! --- perl-install/share/advertising/17-mdkclub.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/share/advertising/17-mdkclub.pl') diff --git a/perl-install/share/advertising/17-mdkclub.pl b/perl-install/share/advertising/17-mdkclub.pl index 03485568a..fe0beeed2 100755 --- a/perl-install/share/advertising/17-mdkclub.pl +++ b/perl-install/share/advertising/17-mdkclub.pl @@ -6,8 +6,8 @@ $icon = 0; $icon_dx = 0; $icon_dy = 0; @data = ( - [ _("Discover MandrakeClub and Mandrake Corporate Club"), 0, 0, 400, 20, 1 ], - [ _("MandrakeClub and Mandrake Corporate Club were created for business and private users of Mandrake Linux who would like to directly support their favorite Linux distribution while also receiving special privileges. If you enjoy our products, if your company benefits from our products to gain a competititve edge, if you want to support Mandrake Linux development, join MandrakeClub!"), 0, 60, 400, 20, 0 ], + [ N("Discover MandrakeClub and Mandrake Corporate Club"), 0, 0, 400, 20, 1 ], + [ N("MandrakeClub and Mandrake Corporate Club were created for business and private users of Mandrake Linux who would like to directly support their favorite Linux distribution while also receiving special privileges. If you enjoy our products, if your company benefits from our products to gain a competititve edge, if you want to support Mandrake Linux development, join MandrakeClub!"), 0, 60, 400, 20, 0 ], [ ("www.mandrakeclub.com"), 0, 220, 400, 40, 0 ], [ ("www.mandrakesoft.com/corporateclub"), 0, 240, 400, 40, 0 ], # [ 'text', $x, $y, $area_width, $area_height ], -- cgit v1.2.1