Package: lukemftpd Version: 1.1-2.2 Severity: wishlist Tags: patch l10n If you aren't going to use debconf please *remove* the templates from the package. If confuses translators looking for packages. If you are planning to reenable debconf here is a patch to use po-debconf.
Using the "new" gettext format for debconf templates helps for templates translations. For instance, detecting outdated or untranslated strings becomes considerably easier. It also keeps track of who did which translation. Patch description: ------------------ The attached patch does the required modifications: - debian/control modification for dependencies: build-dep: debhelper (>= 4.1.16) which depends on po-debconf depend: debconf (>= 1.2.0) since old versions have problems with templates specifying the encoding of their content - Add 'debconf-updatepo' to the clean target of your debian/rules (to make sure that the relevant files are ready for translation in the distributed source packages, and thus help translators) - execute "debconf-gettextize debian/*templates*". This does: - generate po/ directory containing all the translation mecanism - change the template file to mark some strings as translatable by putting a _ before the field name. - mark the right strings as translatable in the templates. This is a manual check to make sure that fields containing stuff which cannot be translated such as kernel module name, and the one not shown to the users are not marked as translatable. - removed files left by debconf-gettextize (*.templates.XX which are the old-style translations and now live in debian/po/XX.po) The previously existing translation were not lost in the process, but automatically converted to po files. You may however want to ask your previous translator to review them and update them if needed. Also ask them to add their name in the header of the po files, to ease future maintainance and update of the file. For more details, see po-debconf documentation, especially "man 7 po-debconf" About backports: ---------------- Please note that the suggested modifications will make your package a little bit harder to backport to earlier Debian releases. If this is a concern to you, you may try to adopt the method used by the openssh package and detailed by Colin Watson in http://lists.debian.org/debian-i18n/2003/debian-i18n-200307/msg00026.html This patch does not includes this method as this would make it too invasive, IMHO. So, preserving backportability is up to you... Stylistic considerations: ------------------------- The templates of your package may be easily improved by applying the advices contained at the following address: http://people.debian.org/~bubulle/dtsg/dtsg.txt Don't get me wrong, I don't want to criticize, I just want the template to reach a translatable state (ie quite stable) rather soon. Future: ------- Once the switch is achieved, and style improvements are done (if any), I guess that you will receive translations of your templates rather soon. They will consist in XX.po files where XX is the code of the language they contain. Simply put them to debian/po, add a changelog entry, and your package is ready for rebuilding and uploading after the usual checks. If you modify your templates in the future, no action is absolutely mandatory from you to take care of the translations (outdated translations will be automatically discarded). But it is nicer to your translators and your not english speaking users to include the updated translations in the same upload. For that, run debconf-updatepo, and mail each translator the XX.po file they provided you. Their adress can be found in the headers of the po file. Wait a few days so that they can do their work, and put the new version of the po file back in position in debian/po before upload. Thanks for helping the translators, and thus your non english speaker end-users. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-k7 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages lukemftpd depends on: ii debconf 1.4.45 Debian configuration management sy ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii netkit-inetd 0.10-10 The Internet Superserver -- no debconf information -- Lucas Wall <[EMAIL PROTECTED]> .''`. Buenos Aires, Argentina : :ø : Debian GNU/Linux http://www.kadath.com.ar `. `' http://www.debian.org PGP: 1024D/84FB46D6 `- 5D25 528A 83AB 489B 356A http://people.debian.org/~lwall 4087 BC9B 4733 84FB 46D6 mailto:[EMAIL PROTECTED]
diff -ruN orig/lukemftpd-1.1/debian/control lukemftpd-1.1/debian/control --- orig/lukemftpd-1.1/debian/control 2005-02-19 19:22:02.000000000 -0300 +++ lukemftpd-1.1/debian/control 2005-02-19 19:23:14.000000000 -0300 @@ -2,12 +2,12 @@ Section: net Priority: optional Maintainer: Takuo KITAME <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0), byacc, bison +Build-Depends: debhelper (>= 4.1.16), byacc, bison Standards-Version: 3.5.2 Package: lukemftpd Architecture: any -Depends: ${shlibs:Depends}, netkit-inetd +Depends: ${shlibs:Depends}, netkit-inetd, debconf (>= 1.2.0) Conflicts: ftpd, wu-ftpd, proftpd, ftp-server, wu-ftpd-academ, proftpd-ldap, proftpd-sql Replaces: ftpd Provides: ftp-server, ftpd diff -ruN orig/lukemftpd-1.1/debian/po/ja.po lukemftpd-1.1/debian/po/ja.po --- orig/lukemftpd-1.1/debian/po/ja.po 1969-12-31 21:00:00.000000000 -0300 +++ lukemftpd-1.1/debian/po/ja.po 2005-02-19 19:27:27.000000000 -0300 @@ -0,0 +1,59 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-19 19:27-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n" +"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Start lukemftpd as daemon?" +msgstr "lukemftpd ¤ò¥Ç¡¼¥â¥ó¤È¤·¤Æµ¯Æ°¤·¤Þ¤¹¤«¡©" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can start the service as a standalone daemon at boot time or run it " +"throught inetd." +msgstr "" + +#. Type: string +#. Description +#: ../templates:11 +msgid "ftp access refused users" +msgstr "ftp ¥¢¥¯¥»¥¹¤òÀ©¸Â¤µ¤ì¤ë¥æ¡¼¥¶¡¼" + +#. Type: string +#. Description +#: ../templates:11 +#, fuzzy +msgid "List the users you want to refuse ftp access." +msgstr "ftp ¥¢¥¯¥»¥¹¤òÀ©¸Â¤·¤¿¤¤¥æ¡¼¥¶¡¼¤òÎóµó¤·¤Æ¤¯¤À¤µ¤¤¡£" + +#~ msgid "" +#~ "Choose Yes if you want to start lukemftpd as daemon at system booting. If " +#~ "you want to use with inetd, choose No," +#~ msgstr "" +#~ "lukemftpd ¤ò¥Ç¡¼¥â¥ó¤È¤·¤Æ¥·¥¹¥Æ¥àµ¯Æ°»þ¤ËΩ¤Á¾å¤²¤¿¤¤¤Î¤Ê¤é ¤Ï¤¤ ¤òÁª¤ó¤Ç" +#~ "¤¯¤À¤µ¤¤¡£ ¤â¤·¡¢inetd ¤òÍøÍѤ·¤¿¤¤¤Î¤Ê¤é ¤¤¤¤¤¨ ¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£" diff -ruN orig/lukemftpd-1.1/debian/po/POTFILES.in lukemftpd-1.1/debian/po/POTFILES.in --- orig/lukemftpd-1.1/debian/po/POTFILES.in 1969-12-31 21:00:00.000000000 -0300 +++ lukemftpd-1.1/debian/po/POTFILES.in 2005-02-19 19:23:29.000000000 -0300 @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff -ruN orig/lukemftpd-1.1/debian/po/templates.pot lukemftpd-1.1/debian/po/templates.pot --- orig/lukemftpd-1.1/debian/po/templates.pot 1969-12-31 21:00:00.000000000 -0300 +++ lukemftpd-1.1/debian/po/templates.pot 2005-02-19 19:27:27.000000000 -0300 @@ -0,0 +1,51 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-19 19:27-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n" +"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Start lukemftpd as daemon?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You can start the service as a standalone daemon at boot time or run it " +"throught inetd." +msgstr "" + +#. Type: string +#. Description +#: ../templates:11 +msgid "ftp access refused users" +msgstr "" + +#. Type: string +#. Description +#: ../templates:11 +msgid "List the users you want to refuse ftp access." +msgstr "" diff -ruN orig/lukemftpd-1.1/debian/rules lukemftpd-1.1/debian/rules --- orig/lukemftpd-1.1/debian/rules 2005-02-19 19:22:02.000000000 -0300 +++ lukemftpd-1.1/debian/rules 2005-02-19 19:23:42.000000000 -0300 @@ -29,6 +29,7 @@ dh_testdir dh_testroot rm -f build-stamp configure-stamp + debconf-updatepo # Add here commands to clean up after the build process. -$(MAKE) distclean diff -ruN orig/lukemftpd-1.1/debian/templates lukemftpd-1.1/debian/templates --- orig/lukemftpd-1.1/debian/templates 2005-02-19 19:22:02.000000000 -0300 +++ lukemftpd-1.1/debian/templates 2005-02-19 19:26:47.000000000 -0300 @@ -1,17 +1,12 @@ Template: lukemftpd/enable_daemon Type: boolean Default: false -Description: Start lukemftpd as daemon? - Choose Yes if you want to start lukemftpd as daemon at system booting. - If you want to use with inetd, choose No, -Description-ja: lukemftpd ¤ò¥Ç¡¼¥â¥ó¤È¤·¤Æµ¯Æ°¤·¤Þ¤¹¤«¡© - lukemftpd ¤ò¥Ç¡¼¥â¥ó¤È¤·¤Æ¥·¥¹¥Æ¥àµ¯Æ°»þ¤ËΩ¤Á¾å¤²¤¿¤¤¤Î¤Ê¤é ¤Ï¤¤ ¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£ - ¤â¤·¡¢inetd ¤òÍøÍѤ·¤¿¤¤¤Î¤Ê¤é ¤¤¤¤¤¨ ¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£ +_Description: Start lukemftpd as daemon? + You can start the service as a standalone daemon at boot time or run it + throught inetd. Template: lukemftpd/ftpusers Type: string Default: root ftp anonymous -Description: ftp access refused users - List users you want to refuse ftp access. -Description-ja: ftp ¥¢¥¯¥»¥¹¤òÀ©¸Â¤µ¤ì¤ë¥æ¡¼¥¶¡¼ - ftp ¥¢¥¯¥»¥¹¤òÀ©¸Â¤·¤¿¤¤¥æ¡¼¥¶¡¼¤òÎóµó¤·¤Æ¤¯¤À¤µ¤¤¡£ +_Description: ftp access refused users + List the users you want to refuse ftp access.
signature.asc
Description: Digital signature