[gnome-games] aisleriot: Add translator comments for the game names



commit 007376d057c2f419d73a252080418752f64f7f9e
Author: Christian Persch <chpe gnome org>
Date:   Fri Jul 10 20:26:38 2009 +0200

    aisleriot: Add translator comments for the game names
    
    Change get_titles.pl script to add translator comments for the strings
    in game-names.h (moved from translatable_game_names.h).

 aisleriot/Makefile.am               |    2 +-
 aisleriot/game-names.h              |  630 +++++++++++++++++++++++++++++++++++
 aisleriot/get_titles.pl             |    9 +-
 aisleriot/translatable_game_names.h |   88 -----
 po/POTFILES.in                      |    2 +-
 5 files changed, 639 insertions(+), 92 deletions(-)
---
diff --git a/aisleriot/Makefile.am b/aisleriot/Makefile.am
index 460b106..559d98d 100644
--- a/aisleriot/Makefile.am
+++ b/aisleriot/Makefile.am
@@ -187,7 +187,7 @@ EXTRA_DIST = \
 	$(ossoservice_in_files)	\
 	$(schema_in_files)	\
 	aisleriot.supp		\
-	translatable_game_names.h
+	game-names.h
 
 CLEANFILES = \
 	$(desktop_DATA)	\
diff --git a/aisleriot/game-names.h b/aisleriot/game-names.h
new file mode 100644
index 0000000..322bd97
--- /dev/null
+++ b/aisleriot/game-names.h
@@ -0,0 +1,630 @@
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Peek")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Auld Lang Syne")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Fortunes")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Seahaven")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("King Albert")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("First Law")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Straight Up")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Jumbo")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Accordion")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Ten Across")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Plait")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Lady Jane")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Gypsy")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Neighbor")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Terrace~")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Jamestown")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Osmosis")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Kings Audience")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Glenwood")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Gay Gordons")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Monte Carlo")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Kansas")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Camelot")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Fourteen")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Scorpion")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Isabel")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Escalator")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Agnes")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Bristol")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Quatorze")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Bear River")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Gold Mine")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Athena")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Spiderette")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Chessboard")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Backbone")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Yukon")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Union Square")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Eight Off")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Napoleons Tomb")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Forty Thieves")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Streets And Alleys")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Maze")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Clock")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Pileon")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Canfield")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Thirteen")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Bakers Game")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Triple Peaks")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Easthaven")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Terrace")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Aunt Mary")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Carpet")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Sir Tommy")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Diamond Mine")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Yield")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Labyrinth")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Thieves")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Saratoga")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Cruel")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Block Ten")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Will O The Wisp")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Odessa")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Eagle Wing")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Treize")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Zebra")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Cover")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Elevator")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Fortress")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Giant")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Spider")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Gaps")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Bakers Dozen")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Whitehead")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Freecell")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Helsinki")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Spider Three Decks")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Scuffle")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Poker")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Klondike Three Decks")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Valentine")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Royal East")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Thumb And Pouch")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Klondike")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Doublets")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Template")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Golf")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Westhaven")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Beleaguered Castle")
+
+/* Translators: this string is the name of a game of patience.
+ If there is an established standard name for this game in your
+ locale, use that; otherwise you can translate this string
+ freely, literally, or not at all, at your option.
+ */
+N_("Hopscotch")
+
diff --git a/aisleriot/get_titles.pl b/aisleriot/get_titles.pl
index 078d768..c548e70 100755
--- a/aisleriot/get_titles.pl
+++ b/aisleriot/get_titles.pl
@@ -22,7 +22,7 @@
 #  2006 - Richard Hoelscher <rah rahga com>
 #  2001 - Kenneth Christiansen <kenneth gnu org>
 
-open OUTFILE, "| sort >translatable_game_names.h";
+open OUTFILE, "> game-names.h";
 
 opendir(DIR, "rules/");
 
@@ -30,6 +30,11 @@ while ($_ = readdir(DIR)) {
   if (s/^(.)(.*).scm/\u$1$2/) { # Match scm filenames. Upcase first letter.
     s/_(.)/ \u$1/g;             # Replace underscores and following letter
 				# with space and upcase letter.
-    print OUTFILE "gchar *s = N_(\"$_\")\n";
+    print OUTFILE "/* Translators: this string is the name of a game of patience.\n";
+    print OUTFILE " If there is an established standard name for this game in your\n";
+    print OUTFILE " locale, use that; otherwise you can translate this string\n";
+    print OUTFILE " freely, literally, or not at all, at your option.\n";
+    print OUTFILE " */\n";
+    print OUTFILE "N_(\"$_\")\n\n";
   }
 }
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fc1bf70..a958c48 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -7,11 +7,11 @@ aisleriot/board-noclutter.c
 aisleriot/conf.c
 aisleriot/freecell.desktop.in.in
 aisleriot/game.c
+aisleriot/game-names.h
 aisleriot/sol.c
 aisleriot/sol.desktop.in.in
 aisleriot/sol.scm
 aisleriot/stats-dialog.c
-aisleriot/translatable_game_names.h
 aisleriot/util.c
 aisleriot/window.c
 aisleriot/rules/accordion.scm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]