]> git.sesse.net Git - ccbs/commitdiff
Translate season names.
authorSteinar H. Gunderson <sesse@samfundet.no>
Wed, 20 Jul 2005 17:51:58 +0000 (17:51 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Wed, 20 Jul 2005 17:51:58 +0000 (17:51 +0000)
html/po/nb_NO.po
html/po/nn_NO.po
html/po/templates.pot
intl/make-all-pot.sh
intl/make-season-pot.pl [new file with mode: 0644]

index c314b9e84a671abe2baf64ee34ddb726755c509b..dac029f19587e196b6e84a912c9a3e506eda53f8 100644 (file)
@@ -34,7 +34,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ccbs--mainline- 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-20-20 13:20+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "PO-Revision-Date: 2005-07-17 01:55+0200\n"
 "Last-Translator: Steinar H. Gunderson <sgunderson@bigfoot.com>\n"
 "Language-Team: Norwegian <no@translate.freefriends.org>\n"
@@ -264,6 +264,27 @@ msgstr "Korte titler"
 msgid "Songs"
 msgstr "Sanger"
 
+msgid "Nick"
+msgstr "Nick"
+
+msgid "Country"
+msgstr "Land"
+
+msgid "Club"
+msgstr "Klubb"
+
+msgid "Songs played"
+msgstr "Sanger spilt"
+
+msgid "Different played"
+msgstr "Forskjellige spilt"
+
+msgid "High score"
+msgstr "Rekord"
+
+msgid "Average"
+msgstr "Gjennomsnitt"
+
 msgid "General facts"
 msgstr "Generelle fakta"
 
@@ -276,15 +297,6 @@ msgstr "Klubb:"
 msgid "Edit player"
 msgstr "Rediger spiller"
 
-msgid "Nick"
-msgstr "Nick"
-
-msgid "Country"
-msgstr "Land"
-
-msgid "Club"
-msgstr "Klubb"
-
 msgid ""
 "\n"
 "\t    <input type=\"submit\" value=\"Edit\" />\n"
@@ -309,18 +321,6 @@ msgstr "Arrangement"
 msgid "All songs"
 msgstr "Alle sanger"
 
-msgid "Songs played"
-msgstr "Sanger spilt"
-
-msgid "Different played"
-msgstr "Forskjellige spilt"
-
-msgid "High score"
-msgstr "Rekord"
-
-msgid "Average"
-msgstr "Gjennomsnitt"
-
 msgid "At the moment,"
 msgstr "For øyeblikket er"
 
@@ -385,6 +385,41 @@ msgstr "Sett som betalt"
 msgid "Remove"
 msgstr "Fjern"
 
+msgid "European Cup"
+msgstr ""
+
+msgid "Challenge Cup 2003"
+msgstr ""
+
+msgid "Challenge Cup 2004"
+msgstr ""
+
+msgid "Challenge Cup 2005"
+msgstr ""
+
+msgid "Beginner"
+msgstr ""
+
+#, fuzzy
+msgid "Geneva Tournament"
+msgstr "Turneringer"
+
+msgid "International"
+msgstr ""
+
+msgid "Standalone"
+msgstr ""
+
+#, fuzzy
+msgid "Test tournament"
+msgstr "Turneringer"
+
+msgid "Norwegian national championship"
+msgstr ""
+
+msgid "EuroMix 2 series 2002"
+msgstr ""
+
 msgid ""
 "This function sets what tournament is active (that is, what the big screen\n"
 "  is to show information from)."
@@ -540,9 +575,6 @@ msgstr "C"
 msgid "<input type=\"submit\" value=\"Update\" />"
 msgstr "<input type=\"submit\" value=\"Oppdater\" />"
 
-msgid "Best scores"
-msgstr "Beste scores"
-
 msgid "Single"
 msgstr "Single"
 
@@ -561,6 +593,9 @@ msgstr "Standardavvik"
 msgid "by"
 msgstr "av"
 
+msgid "Best scores"
+msgstr "Beste scores"
+
 msgid "registration"
 msgstr "registrering"
 
index 5e05afec06f06d3ead9273b22c4fa9ef1cd72651..129623d80b1cb95bc4b6b058dad40b0340f60658 100644 (file)
@@ -44,12 +44,12 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "PO-Revision-Date: 2005-07-20 14:19+0200\n"
 "Last-Translator: Knut Auvor Grythe <knut@auvor.no>\n"
 "Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  add-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "#-#-#-#-#  do-add-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
@@ -293,6 +293,27 @@ msgstr "Korte titlar"
 msgid "Songs"
 msgstr "Songar"
 
+msgid "Nick"
+msgstr "Kallenamn"
+
+msgid "Country"
+msgstr "Land"
+
+msgid "Club"
+msgstr "Klubb"
+
+msgid "Songs played"
+msgstr "Songar spelt"
+
+msgid "Different played"
+msgstr "Ulike spelt"
+
+msgid "High score"
+msgstr "Rekord"
+
+msgid "Average"
+msgstr "Gjennomsnitt"
+
 msgid "General facts"
 msgstr "Generelle fakta"
 
@@ -305,15 +326,6 @@ msgstr "Klubb:"
 msgid "Edit player"
 msgstr "Rediger spelar"
 
-msgid "Nick"
-msgstr "Kallenamn"
-
-msgid "Country"
-msgstr "Land"
-
-msgid "Club"
-msgstr "Klubb"
-
 msgid ""
 "\n"
 "\t    <input type=\"submit\" value=\"Edit\" />\n"
@@ -338,18 +350,6 @@ msgstr "Arrangement"
 msgid "All songs"
 msgstr "Alle songar"
 
-msgid "Songs played"
-msgstr "Songar spelt"
-
-msgid "Different played"
-msgstr "Ulike spelt"
-
-msgid "High score"
-msgstr "Rekord"
-
-msgid "Average"
-msgstr "Gjennomsnitt"
-
 msgid "At the moment,"
 msgstr "Nett no er"
 
@@ -413,6 +413,41 @@ msgstr "Sett som betala"
 msgid "Remove"
 msgstr "Fjern"
 
+msgid "European Cup"
+msgstr ""
+
+msgid "Challenge Cup 2003"
+msgstr ""
+
+msgid "Challenge Cup 2004"
+msgstr ""
+
+msgid "Challenge Cup 2005"
+msgstr ""
+
+msgid "Beginner"
+msgstr ""
+
+#, fuzzy
+msgid "Geneva Tournament"
+msgstr "Turneringar"
+
+msgid "International"
+msgstr ""
+
+msgid "Standalone"
+msgstr ""
+
+#, fuzzy
+msgid "Test tournament"
+msgstr "Turneringar"
+
+msgid "Norwegian national championship"
+msgstr ""
+
+msgid "EuroMix 2 series 2002"
+msgstr ""
+
 msgid ""
 "This function sets what tournament is active (that is, what the big screen\n"
 "  is to show information from)."
@@ -566,9 +601,6 @@ msgstr "C"
 msgid "<input type=\"submit\" value=\"Update\" />"
 msgstr "<input type=\"submit\" value=\"Oppdater\" />"
 
-msgid "Best scores"
-msgstr "Beste poengsummar"
-
 msgid "Single"
 msgstr "Enkel"
 
@@ -587,6 +619,9 @@ msgstr "Standardavvik"
 msgid "by"
 msgstr "av"
 
+msgid "Best scores"
+msgstr "Beste poengsummar"
+
 msgid "registration"
 msgstr "registrering"
 
index 0561da4178dba4a3f71d09ae1a8440287c195636..1835c223196c380c3709f28141ad6c34edfe2540 100644 (file)
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 #
-# #-#-#-#-#  player.tmpl.pot (ccbs)  #-#-#-#-#
-# ccbs template file for templates/player.tmpl
 # #-#-#-#-#  players.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/players.tmpl
+# #-#-#-#-#  player.tmpl.pot (ccbs)  #-#-#-#-#
+# ccbs template file for templates/player.tmpl
 # #-#-#-#-#  randomsongs.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/randomsongs.tmpl
 # #-#-#-#-#  registration.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/registration.tmpl
+# #-#-#-#-#  seasons.pot (ccbs)  #-#-#-#-#
+# ccbs template file for seasons
 # #-#-#-#-#  set-active-tournament.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/set-active-tournament.tmpl
 # #-#-#-#-#  shorttitles.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/shorttitles.tmpl
 # #-#-#-#-#  show-tournament.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/show-tournament.tmpl
-# #-#-#-#-#  song.tmpl.pot (ccbs)  #-#-#-#-#
-# ccbs template file for templates/song.tmpl
 # #-#-#-#-#  songratings.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/songratings.tmpl
 # #-#-#-#-#  songs.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/songs.tmpl
+# #-#-#-#-#  song.tmpl.pot (ccbs)  #-#-#-#-#
+# ccbs template file for templates/song.tmpl
 # #-#-#-#-#  tournaments.tmpl.pot (ccbs)  #-#-#-#-#
 # ccbs template file for templates/tournaments.tmpl
 # #-#-#-#-#  user-error.tmpl.pot (ccbs)  #-#-#-#-#
@@ -46,136 +48,143 @@ msgstr ""
 "#-#-#-#-#  add-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  do-add-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  error.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  index.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  main-pg.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  main.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  messages.pot (PACKAGE VERSION)  #-#-#-#-#\n"
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-07-20 13:21+0000\n"
+"POT-Creation-Date: 2005-07-20 19:50+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"#-#-#-#-#  player.tmpl.pot (ccbs)  #-#-#-#-#\n"
+"#-#-#-#-#  players.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"#-#-#-#-#  players.tmpl.pot (ccbs)  #-#-#-#-#\n"
+"#-#-#-#-#  player.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  randomsongs.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  registration.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"#-#-#-#-#  seasons.pot (ccbs)  #-#-#-#-#\n"
+"Project-Id-Version: ccbs\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-50-20 19:50+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  set-active-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  shorttitles.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  show-tournament.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"#-#-#-#-#  song.tmpl.pot (ccbs)  #-#-#-#-#\n"
+"#-#-#-#-#  songratings.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"#-#-#-#-#  songratings.tmpl.pot (ccbs)  #-#-#-#-#\n"
+"#-#-#-#-#  songs.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"#-#-#-#-#  songs.tmpl.pot (ccbs)  #-#-#-#-#\n"
+"#-#-#-#-#  song.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  tournaments.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "#-#-#-#-#  user-error.tmpl.pot (ccbs)  #-#-#-#-#\n"
 "Project-Id-Version: ccbs\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-21-20 13:21+0000\n"
+"POT-Creation-Date: 2005-51-20 19:51+0200\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -382,25 +391,37 @@ msgstr ""
 msgid "Songs"
 msgstr ""
 
-msgid "General facts"
+msgid "Nick"
 msgstr ""
 
-msgid "Nick:"
+msgid "Country"
 msgstr ""
 
-msgid "Club:"
+msgid "Club"
 msgstr ""
 
-msgid "Edit player"
+msgid "Songs played"
 msgstr ""
 
-msgid "Nick"
+msgid "Different played"
 msgstr ""
 
-msgid "Country"
+msgid "High score"
 msgstr ""
 
-msgid "Club"
+msgid "Average"
+msgstr ""
+
+msgid "General facts"
+msgstr ""
+
+msgid "Nick:"
+msgstr ""
+
+msgid "Club:"
+msgstr ""
+
+msgid "Edit player"
 msgstr ""
 
 msgid ""
@@ -424,18 +445,6 @@ msgstr ""
 msgid "All songs"
 msgstr ""
 
-msgid "Songs played"
-msgstr ""
-
-msgid "Different played"
-msgstr ""
-
-msgid "High score"
-msgstr ""
-
-msgid "Average"
-msgstr ""
-
 msgid "At the moment,"
 msgstr ""
 
@@ -490,6 +499,39 @@ msgstr ""
 msgid "Remove"
 msgstr ""
 
+msgid "European Cup"
+msgstr ""
+
+msgid "Challenge Cup 2003"
+msgstr ""
+
+msgid "Challenge Cup 2004"
+msgstr ""
+
+msgid "Challenge Cup 2005"
+msgstr ""
+
+msgid "Beginner"
+msgstr ""
+
+msgid "Geneva Tournament"
+msgstr ""
+
+msgid "International"
+msgstr ""
+
+msgid "Standalone"
+msgstr ""
+
+msgid "Test tournament"
+msgstr ""
+
+msgid "Norwegian national championship"
+msgstr ""
+
+msgid "EuroMix 2 series 2002"
+msgstr ""
+
 msgid ""
 "This function sets what tournament is active (that is, what the big screen\n"
 "  is to show information from)."
@@ -624,9 +666,6 @@ msgstr ""
 msgid "<input type=\"submit\" value=\"Update\" />"
 msgstr ""
 
-msgid "Best scores"
-msgstr ""
-
 msgid "Single"
 msgstr ""
 
@@ -645,6 +684,9 @@ msgstr ""
 msgid "by"
 msgstr ""
 
+msgid "Best scores"
+msgstr ""
+
 msgid "registration"
 msgstr ""
 
index 51e4eb38951663ebd8b0e0099a814a9590ce943c..0e4958b0ef20510fc08a3ed0304ef68feee4b77c 100755 (executable)
@@ -7,6 +7,9 @@ rm -f templates/*.pot
 # Extract strings from all the Perl code
 xgettext --keyword=_ --from-code=utf-8 -o templates/messages.pot -L Perl *.{pm,pl} 
 
+# ...from the database
+perl ../intl/make-season-pot.pl > templates/seasons.pot
+
 # ...and from all the TT templates
 for FILE in templates/*.tmpl; do
        echo $FILE...
diff --git a/intl/make-season-pot.pl b/intl/make-season-pot.pl
new file mode 100644 (file)
index 0000000..60c5778
--- /dev/null
@@ -0,0 +1,30 @@
+#! /usr/bin/perl
+use strict;
+use warnings;
+use ccbs;
+
+my $dbh = ccbs::db_connect();
+my $seasons = ccbs::db_fetch_all($dbh, 'SELECT seasonname FROM seasons');
+my $date = `date +"%Y-%M-%d %H:%M%z"`;   # pah :-)
+chomp $date;
+
+print <<"EOF";
+# ccbs template file for seasons
+msgid ""
+msgstr ""
+"Project-Id-Version: ccbs\\n"
+"Report-Msgid-Bugs-To: \\n"
+"POT-Creation-Date: $date\\n"
+"MIME-Version: 1.0\\n"
+"Content-Type: text/plain; charset=utf-8\\n"
+"Content-Transfer-Encoding: 8bit\\n"
+
+EOF
+
+for my $s (@$seasons) {
+       my $n = $s->{'seasonname'};
+       print "msgid \"$n\"\n";
+       print "msgstr \"\"\n\n";
+}
+
+print "# eof\n";