Code

Use po-debconf to make translations of debconf templates possible.
authorSebastian Harl <sh@tokkee.org>
Mon, 30 Apr 2007 12:36:10 +0000 (14:36 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 2 May 2007 18:00:53 +0000 (18:00 +0000)
debian/collectd.templates
debian/control
debian/po/POTFILES.in [new file with mode: 0644]
debian/po/templates.pot [new file with mode: 0644]
debian/rules

index 7a9a6ef43551507c0e0f32c61461309b606cc387..1b72b0601cb4209827fd06695a61bc2a6ba0c7cf 100644 (file)
@@ -1,7 +1,7 @@
 Template: collectd/auto-migrate-3-4
 Type: boolean
 Default: false
-Description: Automatically try to migrate your RRD files?
+_Description: Automatically try to migrate your RRD files?
  The layout of the RRD files created by collectd has changed significantly
  since version 3.x. In order to keep your old data you have to migrate it.
  This can be done by using /usr/lib/collectd/utils/migrate-3-4.px. This step
index 9602a6fd4ea545248d000441468ca9df98036653..c90a346a30114d35890e51214c120c3b96e0eafd 100644 (file)
@@ -2,7 +2,7 @@ Source: collectd
 Section: utils
 Priority: optional
 Maintainer: Sebastian Harl <sh@tokkee.org>
-Build-Depends: debhelper (>= 5), dpatch, autotools-dev, libcurl3-gnutls-dev, libmysqlclient15-dev | libmysqlclient14-dev, librrd2-dev | librrd0-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap-dev, iptables-dev [!amd64 !ia64 !ppc64], nut-dev [!amd64 !ia64 !ppc64], libperl-dev
+Build-Depends: debhelper (>= 5), po-debconf, dpatch, autotools-dev, libcurl3-gnutls-dev, libmysqlclient15-dev | libmysqlclient14-dev, librrd2-dev | librrd0-dev, libsensors-dev, liboping-dev (>= 0.3.3), libpcap-dev, iptables-dev [!amd64 !ia64 !ppc64], nut-dev [!amd64 !ia64 !ppc64], libperl-dev
 Build-Conflicts: libpthread-dev
 Standards-Version: 3.7.2
 
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644 (file)
index 0000000..f201e9d
--- /dev/null
@@ -0,0 +1,2 @@
+[type: gettext/rfc822deb] collectd.templates
+
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644 (file)
index 0000000..e454f25
--- /dev/null
@@ -0,0 +1,47 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# 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"
+"Report-Msgid-Bugs-To: sh@tokkee.org\n"
+"POT-Creation-Date: 2007-04-30 08:45+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=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../collectd.templates:1001
+msgid "Automatically try to migrate your RRD files?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../collectd.templates:1001
+msgid ""
+"The layout of the RRD files created by collectd has changed significantly "
+"since version 3.x. In order to keep your old data you have to migrate it. "
+"This can be done by using /usr/lib/collectd/utils/migrate-3-4.px. This step "
+"can be done automatically. In this case a backup of /var/lib/collectd/ is "
+"made in /var/backups/."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../collectd.templates:1001
+msgid "See /usr/share/doc/collectd/NEWS.Debian for details."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../collectd.templates:1001
+msgid ""
+"This script is still experimental. Do not expect it to work in all cases."
+msgstr ""
index a83d0de3cb5330b835ba71d497bcf9faf86ce268..7c4fe95ab6313458c2f0cca707481a6e751b4ebd 100755 (executable)
@@ -55,6 +55,7 @@ clean: unpatch
        -$(MAKE) distclean
        
        dh_clean 
+       debconf-updatepo
 
 install-indep:
        dh_testdir