tags 616344 + patch
thanks

Hello,
I noticed that CDBS is gone. So attached you'll find a patch (it
includes the German translation, as an example/first translation).

If you have any questions, do not hesitate to ask (and please CC me
explicitly, the bts does not do so by default).

This 

Greetings

          Helge
-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
diff -u -r -N berusky-1.3/debian/changelog berusky-1.3.po4a/debian/changelog
--- berusky-1.3/debian/changelog	2011-08-27 12:43:43.000000000 +0200
+++ berusky-1.3.po4a/debian/changelog	2012-01-29 16:11:15.000000000 +0100
@@ -1,3 +1,10 @@
+berusky (1.3-2) unstable; urgency=low
+
+  * Add infrastructure to i18n the man page. Closes: 616344.
+  * Add German man page translation. Closes: 616345.
+
+ -- Helge Kreutzmann <deb...@helgefjell.de>  Sun, 29 Jan 2012 16:10:11 +0100
+
 berusky (1.3-1) unstable; urgency=low
 
   * New upstream release.
diff -u -r -N berusky-1.3/debian/control berusky-1.3.po4a/debian/control
--- berusky-1.3/debian/control	2011-08-27 12:42:48.000000000 +0200
+++ berusky-1.3.po4a/debian/control	2012-01-29 15:40:39.000000000 +0100
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Bart Martens <ba...@debian.org>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev, sharutils, imagemagick, libsdl1.2-dev, libncurses5-dev, chrpath, libgtk2.0-dev
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, sharutils, imagemagick, libsdl1.2-dev, libncurses5-dev, chrpath, libgtk2.0-dev, po4a
 Standards-Version: 3.9.2
 Homepage: http://www.anakreon.cz/en/Berusky.htm
 
diff -u -r -N berusky-1.3/debian/manpage/berusky.de.6 berusky-1.3.po4a/debian/manpage/berusky.de.6
--- berusky-1.3/debian/manpage/berusky.de.6	1970-01-01 01:00:00.000000000 +0100
+++ berusky-1.3.po4a/debian/manpage/berusky.de.6	2012-01-29 15:36:07.000000000 +0100
@@ -0,0 +1,28 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH BERUSKY 6 "August 27, 2011"  
+.SH NAME
+berusky \- logic game based on an ancient puzzle named Sokoban
+.SH ÜBERSICHT
+\fBberusky\fP [\-e [level.lv3]] [\-u level.lv3]
+.SH BESCHREIBUNG
+This manual page documents briefly the \fBberusky\fP command.
+.PP
+\fBberusky\fP is a free logic game, based on an ancient puzzle named Sokoban.
+
+An old idea of moving boxes in a maze has been expanded with new logic items
+such as explosives, stones, special gates and so on.  In addition, up to
+five bugs can cooperate and be controlled by the player.
+
+In order to leave each level (there's about 120 levels in the game)  it is
+necessary to own five keys and also to have a free way to the exit.
+.SH OPTIONEN
+.TP 
+\fB\-e [level.lv3]\fP
+Run level editor.
+.TP 
+\fB\-u level.lv3\fP
+Run level.
diff -u -r -N berusky-1.3/debian/manpage/berusky.pot berusky-1.3.po4a/debian/manpage/berusky.pot
--- berusky-1.3/debian/manpage/berusky.pot	1970-01-01 01:00:00.000000000 +0100
+++ berusky-1.3.po4a/debian/manpage/berusky.pot	2012-01-29 15:36:07.000000000 +0100
@@ -0,0 +1,110 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2012-01-29 15:36+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <l...@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: debian/berusky.6:1
+#, no-wrap
+msgid "BERUSKY"
+msgstr ""
+
+#. type: TH
+#: debian/berusky.6:1
+#, no-wrap
+msgid "August 27, 2011"
+msgstr ""
+
+#. type: SH
+#: debian/berusky.6:2
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:4
+msgid "berusky - logic game based on an ancient puzzle named Sokoban"
+msgstr ""
+
+#. type: SH
+#: debian/berusky.6:4
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:7
+msgid "B<berusky> [-e [level.lv3]] [-u level.lv3]"
+msgstr ""
+
+#. type: SH
+#: debian/berusky.6:7
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:11
+msgid "This manual page documents briefly the B<berusky> command."
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:14
+msgid "B<berusky> is a free logic game, based on an ancient puzzle named Sokoban."
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:18
+msgid ""
+"An old idea of moving boxes in a maze has been expanded with new logic items "
+"such as explosives, stones, special gates and so on.  In addition, up to "
+"five bugs can cooperate and be controlled by the player."
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:21
+msgid ""
+"In order to leave each level (there's about 120 levels in the game)  it is "
+"necessary to own five keys and also to have a free way to the exit."
+msgstr ""
+
+#. type: SH
+#: debian/berusky.6:21
+#, no-wrap
+msgid "OPTIONS"
+msgstr ""
+
+#. type: TP
+#: debian/berusky.6:22
+#, no-wrap
+msgid "B<-e [level.lv3]>"
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:25
+msgid "Run level editor."
+msgstr ""
+
+#. type: TP
+#: debian/berusky.6:25
+#, no-wrap
+msgid "B<-u level.lv3>"
+msgstr ""
+
+#. type: Plain text
+#: debian/berusky.6:27
+msgid "Run level."
+msgstr ""
diff -u -r -N berusky-1.3/debian/manpage/de.po berusky-1.3.po4a/debian/manpage/de.po
--- berusky-1.3/debian/manpage/de.po	1970-01-01 01:00:00.000000000 +0100
+++ berusky-1.3.po4a/debian/manpage/de.po	2012-01-29 16:09:44.000000000 +0100
@@ -0,0 +1,172 @@
+# German translation of the berusky man page
+# This file is distributed under the same license as the berusky package.
+# Helge Kreutzmann <deb...@helgefjell.de>, 2011, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: berusky 1.3\n"
+"POT-Creation-Date: 2012-01-29 15:36+0100\n"
+"PO-Revision-Date: 2012-01-29 16:09+0100\n"
+"Last-Translator: Helge Kreutzmann <deb...@helgefjell.de>\n"
+"Language-Team: de <debian-l10n-ger...@lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: debian/berusky.6:1
+#, no-wrap
+msgid "BERUSKY"
+msgstr "BERUSKY"
+
+#. type: TH
+#: debian/berusky.6:1
+#, no-wrap
+msgid "August 27, 2011"
+msgstr "27. August 2011"
+
+#. type: SH
+#: debian/berusky.6:2
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: debian/berusky.6:4
+msgid "berusky - logic game based on an ancient puzzle named Sokoban"
+msgstr ""
+"B<Berusky> - Logikspiel, da auf einem uralten Puzzle namens Sokoban basiert"
+
+#. type: SH
+#: debian/berusky.6:4
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "ÜBERSICHT"
+
+#. type: Plain text
+#: debian/berusky.6:7
+msgid "B<berusky> [-e [level.lv3]] [-u level.lv3]"
+msgstr "B<berusky> [-e [level.lv3]] [-u level.lv3]"
+
+#. type: SH
+#: debian/berusky.6:7
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "BESCHREIBUNG"
+
+#. type: Plain text
+#: debian/berusky.6:11
+msgid "This manual page documents briefly the B<berusky> command."
+msgstr "Diese Handbuchseite beschreibt kurz den Befehl B<berusky>."
+
+#. type: Plain text
+#: debian/berusky.6:14
+msgid ""
+"B<berusky> is a free logic game, based on an ancient puzzle named Sokoban."
+msgstr ""
+"B<Berusky> ist ein freies Logikspiel, auf einem uralten Puzzle namens Sokoban "
+"basiert."
+
+#. type: Plain text
+#: debian/berusky.6:18
+msgid ""
+"An old idea of moving boxes in a maze has been expanded with new logic items "
+"such as explosives, stones, special gates and so on.  In addition, up to "
+"five bugs can cooperate and be controlled by the player."
+msgstr ""
+"Eine alte Idee, Kisten in einem Labyrinth zu verschieben, wurde um neue "
+"Logikdinge wie Sprengkörper, Steine, spezielle Tore und so weiter, ergänzt. "
+"Zusätzlich können bis zu fünf Käfer zusammenarbeiten und durch den Spieler "
+"gesteuert werden."
+
+#. type: Plain text
+#: debian/berusky.6:21
+msgid ""
+"In order to leave each level (there's about 120 levels in the game)  it is "
+"necessary to own five keys and also to have a free way to the exit."
+msgstr ""
+"Um einen Level zu verlassen (es gibt rund 120 Level im Spiel), ist es "
+"notwendig, fünf Schlüssel zu besitzen und auch einen freien Weg zum Ausgang "
+"zu haben."
+
+#. type: SH
+#: debian/berusky.6:21
+#, no-wrap
+msgid "OPTIONS"
+msgstr "OPTIONEN"
+
+#. type: TP
+#: debian/berusky.6:22
+#, no-wrap
+msgid "B<-e [level.lv3]>"
+msgstr "B<-e [level.lv3]>"
+
+#. type: Plain text
+#: debian/berusky.6:25
+msgid "Run level editor."
+msgstr "Level-Editor ausführen."
+
+#. type: TP
+#: debian/berusky.6:25
+#, no-wrap
+msgid "B<-u level.lv3>"
+msgstr "B<-u level.lv3>"
+
+#. type: Plain text
+#: debian/berusky.6:27
+msgid "Run level."
+msgstr "Level-Editor ausführen."
+
+# type: TH
+#~ msgid "berusky"
+#~ msgstr "berusky"
+
+# type: TH
+#~ msgid "12/2/2010"
+#~ msgstr "2.12.2010"
+
+# type: TH
+#~ msgid "1.1"
+#~ msgstr "1.1"
+
+# type: TH
+#~ msgid "berusky Man Page"
+#~ msgstr "Berusky-Handbuchseite"
+
+# type: Plain text
+#~ msgid "A summary of the options supported by berusky is included below."
+#~ msgstr ""
+#~ "Eine Zusammenfassung der von Berusky unterstützen Optionen folgt unten."
+
+# type: Plain text
+#~ msgid "Run level \"level.lv3\""
+#~ msgstr "Level »level.lv3« ausführen"
+
+# type: SH
+#~ msgid "VERSION"
+#~ msgstr "VERSION"
+
+# type: Plain text
+#~ msgid "The last B<berusky> version is the 1.1"
+#~ msgstr "Die neuste Version von B<berusky> ist 1.1."
+
+# type: SH
+#~ msgid "AUTHORS"
+#~ msgstr "AUTOREN"
+
+# type: Plain text
+#~ msgid "This package was written by Bart Martens"
+#~ msgstr "Dieses Paket wurde von Bart Martens erstellt."
+
+# type: Plain text
+#~ msgid ""
+#~ "E<lt>ba...@debian.orge<gt> This little Man Page has been made by Braulio "
+#~ "Valdivielso"
+#~ msgstr ""
+#~ "E<lt>ba...@debian.orge<gt> Diese kleine Handbuchseite wurde von Braulio "
+#~ "Valdivielso geschrieben und von Helge Kreutzmann ins Deutsche übersetzt."
+
+# type: Plain text
+#~ msgid "E<lt>brlvldvlsmr...@gmail.come<gt>"
+#~ msgstr "E<lt>brlvldvlsmr...@gmail.come<gt>, E<lt>deb...@helgefjell.dee<gt>"
diff -u -r -N berusky-1.3/debian/manpages berusky-1.3.po4a/debian/manpages
--- berusky-1.3/debian/manpages	2011-08-27 10:19:50.000000000 +0200
+++ berusky-1.3.po4a/debian/manpages	2012-01-29 15:32:37.000000000 +0100
@@ -1 +1 @@
-debian/berusky.6
+debian/berusky.6 debian/manpage/berusky.de.6
diff -u -r -N berusky-1.3/debian/po4a.cfg berusky-1.3.po4a/debian/po4a.cfg
--- berusky-1.3/debian/po4a.cfg	1970-01-01 01:00:00.000000000 +0100
+++ berusky-1.3.po4a/debian/po4a.cfg	2012-01-29 15:23:31.000000000 +0100
@@ -0,0 +1,5 @@
+ [po_directory] debian/manpage/
+
+ [type: man] debian/berusky.6 $lang:debian/manpage/berusky.$lang.6 \
+             add_$lang:?*debian/manpage/berusky.$lang.add opt:"-k 20"
+
diff -u -r -N berusky-1.3/debian/rules berusky-1.3.po4a/debian/rules
--- berusky-1.3/debian/rules	2011-08-27 12:35:28.000000000 +0200
+++ berusky-1.3.po4a/debian/rules	2012-01-29 15:22:59.000000000 +0100
@@ -10,6 +10,11 @@
 		--bindir=/usr/games \
 		--sysconfdir=/etc/berusky \
 
+override_dh_auto_build:
+	$(MAKE)
+	touch debian/manpage/berusky.pot
+	po4a -v -f debian/po4a.cfg
+
 override_dh_install: debian/berusky.xpm
 	dh_install
 

Attachment: signature.asc
Description: Digital signature

Reply via email to