[Debconf6-data-commit] r299 - website/www-es/debianday
Antonio Ognio
gnrfan-guest at costa.debian.org
Tue Feb 7 02:11:37 UTC 2006
Author: gnrfan-guest
Date: 2006-02-07 02:11:36 +0000 (Tue, 07 Feb 2006)
New Revision: 299
Modified:
website/www-es/debianday/top.html
Log:
Fixed perl code to correctly show countdown in spanish
Modified: website/www-es/debianday/top.html
===================================================================
--- website/www-es/debianday/top.html 2006-02-07 02:08:18 UTC (rev 298)
+++ website/www-es/debianday/top.html 2006-02-07 02:11:36 UTC (rev 299)
@@ -9,11 +9,12 @@
$datetill = Date::Manip::DateCalc("today","09:00 13th May, 2006",\$err,1);
$datetill =~ s/\+//;
@array = split(/:/,$datetill);
- my $output = "Nos vemos en ";
- my @names = ('year','month','week','day','hour','minute','second');
+ my $output = "¡Nos vemos en ";
+ my @names = ('año','mes','semana','dia','hora','minuto','segundo');
my $i = 0;
my @array;
foreach $element(split(/:/,$datetill)) {
+ $names[1] = "mese" if ($element > 1);
if ($element > 0 && $i < 6 ) {
$temp = $element." ".$names[$i];
$temp .= "s" if ($element > 1);
More information about the Debconf6-data-commit
mailing list