r3706 - in packages/trunk/hex-a-hop/debian: . i18n

Jens Seidel jseidel-guest at alioth.debian.org
Sat Aug 18 20:58:03 UTC 2007


Author: jseidel-guest
Date: 2007-08-18 20:58:02 +0000 (Sat, 18 Aug 2007)
New Revision: 3706

Added:
   packages/trunk/hex-a-hop/debian/i18n/hex-a-hop.pot.comments
Modified:
   packages/trunk/hex-a-hop/debian/control
   packages/trunk/hex-a-hop/debian/i18n/Makefile
Log:
Add a few tips for translators to the generated POT file


Modified: packages/trunk/hex-a-hop/debian/control
===================================================================
--- packages/trunk/hex-a-hop/debian/control	2007-08-18 20:28:33 UTC (rev 3705)
+++ packages/trunk/hex-a-hop/debian/control	2007-08-18 20:58:02 UTC (rev 3706)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Jens Seidel <jensseidel at users.sf.net>, Sam Hocevar (Debian packages) <sam+deb at zoy.org>
-Build-Depends: debhelper (>= 5), quilt, gettext, libsdl1.2-dev, libsdl-pango-dev
+Build-Depends: debhelper (>= 5), quilt, gettext, libsdl1.2-dev, libsdl-pango-dev, sed
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/hex-a-hop/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/hex-a-hop/?op=log

Modified: packages/trunk/hex-a-hop/debian/i18n/Makefile
===================================================================
--- packages/trunk/hex-a-hop/debian/i18n/Makefile	2007-08-18 20:28:33 UTC (rev 3705)
+++ packages/trunk/hex-a-hop/debian/i18n/Makefile	2007-08-18 20:58:02 UTC (rev 3706)
@@ -31,10 +31,12 @@
 # as the preprocessed file does not contain all strings as preprocessor
 # conditionals are already evaluated for the second file. We also want proper
 # path references to source files (no ../.. prefix).
-	cd ../..; xgettext --add-comments="TRANSLATORS:" -k_ -o "debian/i18n/$@" \
+	cd ../..; xgettext --add-comments="TRANSLATORS:" -k_ -o "debian/i18n/$@.templ" \
 	  gfx.cpp hex_puzzzle.cpp debian/i18n/hex_puzzzle_preprocessed.cpp \
 		--msgid-bugs-address=hex-a-hop at packages.debian.org \
 		--copyright-holder="Tom Beaumont" --from-code=iso-8859-1
+	sed "/^#$$/ r hex-a-hop.pot.comments" $@.templ > $@
+	rm -f $@.templ
 
 build: build-stamp
 build-stamp: hex-a-hop.pot

Added: packages/trunk/hex-a-hop/debian/i18n/hex-a-hop.pot.comments
===================================================================
--- packages/trunk/hex-a-hop/debian/i18n/hex-a-hop.pot.comments	                        (rev 0)
+++ packages/trunk/hex-a-hop/debian/i18n/hex-a-hop.pot.comments	2007-08-18 20:58:02 UTC (rev 3706)
@@ -0,0 +1,18 @@
+# Translators: A few hints:
+#
+# Support for translations is still experimental. You may find a few minor
+# flaws. If you do not understand a message please ask to allow us adding
+# helpful comments.
+#
+# The English help messages contain unusual spaces. "  " is internally
+# replaced by a newline, "    " starts a new paragraph. You may ignore
+# these spaces for now. You can also use "\n" in translations to force
+# a linebreak and "\n\n" to start a new paragraph. It is suggested not to
+# use fixed line breaks in paragraphs as this depends on font settings.
+#
+# To get properly help messages as in the English help you have to set
+# these linebreaks yourself (either via "  " or "\n") and you don't have
+# to translate the msgid "Press any key" (later we will provide a proper
+# solution). This way the text will look (currently) better but it also
+# needs more time for you and requires a lot of tests from your side.
+#


Property changes on: packages/trunk/hex-a-hop/debian/i18n/hex-a-hop.pot.comments
___________________________________________________________________
Name: svn:eol-style
   + native




More information about the Pkg-games-commits mailing list