diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 10:29:07 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 10:29:07 +0000 |
commit | ad4557699b6fe111e668fa9b4885a873b91d6605 (patch) | |
tree | 50acedca528501e68290541a0d78bbbd81f5c6fd | |
parent | d9ff96f60f8aa7515d440df0d233649f99f3438c (diff) | |
download | sitesummary-ad4557699b6fe111e668fa9b4885a873b91d6605.tar.gz sitesummary-ad4557699b6fe111e668fa9b4885a873b91d6605.tar.bz2 sitesummary-ad4557699b6fe111e668fa9b4885a873b91d6605.tar.xz |
Rename templates and make them translatable.
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/output | 1 | ||||
-rw-r--r-- | debian/po/templates.pot | 49 | ||||
-rw-r--r-- | debian/sitesummary-client.config | 4 | ||||
-rw-r--r-- | debian/sitesummary-client.postinst | 4 | ||||
-rw-r--r-- | debian/sitesummary-client.templates | 8 |
6 files changed, 59 insertions, 8 deletions
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..e8c6bc0 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] sitesummary-client.templates diff --git a/debian/po/output b/debian/po/output new file mode 100644 index 0000000..8a91a1e --- /dev/null +++ b/debian/po/output @@ -0,0 +1 @@ +2 utf8 diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..252ce4f --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,49 @@ +# +# 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: 2006-08-27 12:28+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: string +#. Description +#: ../sitesummary-client.templates:3 +msgid "URL to sitesummary collector" +msgstr "" + +#. Type: string +#. Description +#: ../sitesummary-client.templates:3 +msgid "Where should the sitesummary information be submitted" +msgstr "" + +#. Type: string +#. Description +#: ../sitesummary-client.templates:8 +msgid "Site string" +msgstr "" + +#. Type: string +#. Description +#: ../sitesummary-client.templates:8 +msgid "Insert a string identifying the site where this machine is located." +msgstr "" diff --git a/debian/sitesummary-client.config b/debian/sitesummary-client.config index 03b1535..801f3c1 100644 --- a/debian/sitesummary-client.config +++ b/debian/sitesummary-client.config @@ -3,7 +3,7 @@ # if we do not have debconf, we just skip this . /usr/share/debconf/confmodule || exit 0 -db_input medium sitesummary/collector_url || true +db_input medium sitesummary-client/collector_url || true db_go || true if [ -f /etc/sitesummary/site ] ; then @@ -11,5 +11,5 @@ if [ -f /etc/sitesummary/site ] ; then db_set sitesummary/site "$SITE" fi -db_input medium sitesummary/site || true +db_input medium sitesummary-client/site || true db_go || true diff --git a/debian/sitesummary-client.postinst b/debian/sitesummary-client.postinst index 88dddcc..3d43043 100644 --- a/debian/sitesummary-client.postinst +++ b/debian/sitesummary-client.postinst @@ -4,10 +4,10 @@ set -e . /usr/share/debconf/confmodule -db_get sitesummary/collector_url +db_get sitesummary-client/collector_url URL="$RET" -db_get sitesummary/site +db_get sitesummary-client/site SITE="$RET" # Only replace the site file if the content changed diff --git a/debian/sitesummary-client.templates b/debian/sitesummary-client.templates index 8a2f0c7..78d4a32 100644 --- a/debian/sitesummary-client.templates +++ b/debian/sitesummary-client.templates @@ -1,10 +1,10 @@ -Template: sitesummary/collector_url -Type: text +Template: sitesummary-client/collector_url +Type: string _Description: URL to sitesummary collector Where should the sitesummary information be submitted -Template: sitesummary/site -Type: text +Template: sitesummary-client/site +Type: string _Description: Site string Insert a string identifying the site where this machine is located. |