]> git.sesse.net Git - ccbs/blobdiff - html/do-add-tournament.pl
Gettextify more (the rest?).
[ccbs] / html / do-add-tournament.pl
index 50efd381a64dc90342aaa5ef83e03d3dcbcba8f0..57df3742460ad235d640c2c1223ce3ae5bea6d2a 100755 (executable)
@@ -18,13 +18,13 @@ my $machine = $cgi->param('machine');
 my $scoringsystem = $cgi->param('scoringsystem');
 
 if ($date !~ /^ ( \d{4} - \d\d - \d\d ) $/x) {
-       ccbs::user_error("Ugyldig dato (må være på formen YYYY-MM-DD).");
+       ccbs::user_error(_("Invalid date (must be of the form YYYY-MM-DD)"));
 }
 
 $dbh->do('INSERT INTO tournaments (season, tournamentname, country, location, date, machine, scoringsystem) VALUES (?,?,?,?,?,?,?)',
        undef, $season, $name, $country, $place, $date, $machine, $scoringsystem);
 
 ccbs::print_header();
-ccbs::process_template('do-add-tournament.tmpl', 'Legg til turnering', {});
+ccbs::process_template('do-add-tournament.tmpl', _('Add tournament'), {});
 
 $dbh->disconnect;