From: tolimar Date: Mon, 5 Mar 2012 13:57:14 +0000 (+0000) Subject: Make the debconf templates translatable X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=483e68f9e366834c9b55cbdc35fd491b35cf6dc5;p=pkg-nagvis.git Make the debconf templates translatable git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@2004 98d490a6-b407-0410-aaaa-fdee166ba3f5 --- diff --git a/debian/control b/debian/control index aeba191..01d582c 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: net Priority: extra Maintainer: Debian Nagios Maintainer Group Uploaders: Jan Wagner , Alexander Wirt , Alexander Reichle-Schmehl -Build-Depends: debhelper (>= 7.0.50~), quilt +Build-Depends: debhelper (>= 7.0.50~), quilt, po-debconf Standards-Version: 3.9.2 Homepage: http://www.nagvis.org Vcs-Svn: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk/ diff --git a/debian/nagvis.templates b/debian/nagvis.templates index 332f287..799e1fd 100644 --- a/debian/nagvis.templates +++ b/debian/nagvis.templates @@ -2,7 +2,7 @@ Template: nagvis/monitoring_system Type: select Default: icinga Choices: icinga, nagios, other -Description: For which monitoring suite should NagVis be configured? +_Description: For which monitoring suite should NagVis be configured? This NagVis package supports the monitoring suites Icinga as well as well as Nagios using the check-mk-live broker backend. please choose the, respective entry. @@ -14,7 +14,7 @@ Description: For which monitoring suite should NagVis be configured? Template: nagvis/delete_on_purge Type: boolean Default: false -Description: Should the user created NagVis data be removed? +_Description: Should the user created NagVis data be removed? During usage NagVis creates some file in /var/cache/nagvis and and /etc/nagvis (e.g. background images and map files), including a small database for authentification. If you don't need any of these files, diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..3d21aab --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] nagvis.templates diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..a9cb1ae --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,58 @@ +# 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 , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: nagvis@packages.debian.org\n" +"POT-Creation-Date: 2012-03-05 14:48+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Description +#: ../nagvis.templates:1001 +msgid "For which monitoring suite should NagVis be configured?" +msgstr "" + +#. Type: select +#. Description +#: ../nagvis.templates:1001 +msgid "" +"This NagVis package supports the monitoring suites Icinga as well as well as " +"Nagios using the check-mk-live broker backend. please choose the, " +"respective entry." +msgstr "" + +#. Type: select +#. Description +#: ../nagvis.templates:1001 +msgid "" +"If you would like to use NagVis with a different backend or a different " +"monitoring suite, please choose \"other\". You'll have to configure it " +"manually." +msgstr "" + +#. Type: boolean +#. Description +#: ../nagvis.templates:2001 +msgid "Should the user created NagVis data be removed?" +msgstr "" + +#. Type: boolean +#. Description +#: ../nagvis.templates:2001 +msgid "" +"During usage NagVis creates some file in /var/cache/nagvis and and /etc/" +"nagvis (e.g. background images and map files), including a small database " +"for authentification. If you don't need any of these files, they can be " +"removed now, or you may want to keep them and clean up by hand later." +msgstr "" diff --git a/debian/rules b/debian/rules index 4014b36..27b1337 100755 --- a/debian/rules +++ b/debian/rules @@ -55,3 +55,8 @@ override_dh_install: override_dh_fixperms: dh_fixperms -X /var/cache/nagvis -X /etc/nagvis -X /var/lib/nagvis/userfiles/images + + +override_dh_clean: + dh_clean + debconf-updatepo