You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/08/28 19:23:21 UTC

svn commit: r689901 - in /ofbiz/trunk/debian: control ofbiz.templates po/ po/POTFILES.in po/templates.pot rules

Author: doogie
Date: Thu Aug 28 10:23:20 2008
New Revision: 689901

URL: http://svn.apache.org/viewvc?rev=689901&view=rev
Log:
Add translation support to debconf messages.

Added:
    ofbiz/trunk/debian/po/
    ofbiz/trunk/debian/po/POTFILES.in
    ofbiz/trunk/debian/po/templates.pot
Modified:
    ofbiz/trunk/debian/control
    ofbiz/trunk/debian/ofbiz.templates
    ofbiz/trunk/debian/rules

Modified: ofbiz/trunk/debian/control
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/control?rev=689901&r1=689900&r2=689901&view=diff
==============================================================================
--- ofbiz/trunk/debian/control (original)
+++ ofbiz/trunk/debian/control Thu Aug 28 10:23:20 2008
@@ -5,7 +5,7 @@
 Origin: brainfood
 Bugs: mozilla://bugs.brainfood.com
 Standards-Version: 3.7.2
-Build-Depends: sun-java6-jdk, debhelper (>= 5)
+Build-Depends: sun-java6-jdk, debhelper (>= 5), po-debconf
 
 Package: ofbiz
 Architecture: all

Modified: ofbiz/trunk/debian/ofbiz.templates
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.templates?rev=689901&r1=689900&r2=689901&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz.templates (original)
+++ ofbiz/trunk/debian/ofbiz.templates Thu Aug 28 10:23:20 2008
@@ -1,55 +1,56 @@
 Template: ofbiz/admin-password
 Type: password
-Description: Enter the password for ofbiz admin accounts:
+_Description: Enter the password for ofbiz admin accounts:
 
 Template: ofbiz/password-confirmation
 Type: password
-Description: Password confirmation:
+_Description: Password confirmation:
 
 Template: ofbiz/readers
 Default: seed
 Type: multiselect
 Choices: ${choices}
-Description: Which additional data readers should be imported:
+_Description: Which additional data readers should be imported:
 
 Template: ofbiz/from-email
 Default: ofbiztest@yahoo.com
 Type: string
-Description: Email from address:
+_Description: Email from address:
  Various parts of ofbiz can be configured to send email.  This specifies
  what the from address should be.
 
 Template: ofbiz/admin-password-encrypted
 Type: password
-Description: temporary placeholder for the encrypted password, not shown
+_Description: temporary placeholder for the encrypted password, not shown
 
 Template: ofbiz/mismatched-passwords
 Type: note
-Description: passwords do not match
+_Description: passwords do not match
  The passwords you have entered do not match.
 
 Template: ofbiz/empty-password-not-allowed
 Type: note
-Description: empty password is not allowed
+_Description: empty password is not allowed
  The password you have entered is empty.  This is not allowed.
 
 Template: ofbiz/admin-port
 Type: string
 Default: 10523
-Description: Admin port for status queries:
+_Description: Admin port for status queries:
  This is the port used to communicate with a running ofbiz instance, to
  see if it is starting, running, or stopping.
 
 Template: ofbiz/import-additional-data
 Type: boolean
 Default: false
-Description: Important example data:
+_Description: Important example data?
  OfBiz comes with lots of example data, showing products/categories/users
- etc.  Answering yes will import this additional data.
+ etc.  If this is your first time working with ofbiz, you may want to
+ import this extra data to see how to better use it.
 
 Template: ofbiz/reimport-data
 Type: boolean
 Default: false
-Description: Reimport data:
+_Description: Reimport data?
  Whether data should be reimported on upgrade.
 

Added: ofbiz/trunk/debian/po/POTFILES.in
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/po/POTFILES.in?rev=689901&view=auto
==============================================================================
--- ofbiz/trunk/debian/po/POTFILES.in (added)
+++ ofbiz/trunk/debian/po/POTFILES.in Thu Aug 28 10:23:20 2008
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] ofbiz.templates

Added: ofbiz/trunk/debian/po/templates.pot
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/po/templates.pot?rev=689901&view=auto
==============================================================================
--- ofbiz/trunk/debian/po/templates.pot (added)
+++ ofbiz/trunk/debian/po/templates.pot Thu Aug 28 10:23:20 2008
@@ -0,0 +1,120 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2008
+# This file is distributed under the same license as the ofbiz package.
+# Adam Heath <do...@brainfood.com>, 2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: ofbiz 684389\n"
+"Report-Msgid-Bugs-To: ofbiz@packages.debian.org\n"
+"POT-Creation-Date: 2008-08-09 22:53-0500\n"
+"PO-Revision-Date: 2008-08-09 23:03-0500\n"
+"Last-Translator: Adam Heath <do...@brainfood.com>\n"
+"Language-Team: English <en...@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: password
+#. Description
+#: ../ofbiz.templates:1001
+msgid "Enter the password for ofbiz admin accounts:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../ofbiz.templates:2001
+msgid "Password confirmation:"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../ofbiz.templates:3001
+msgid "Which additional data readers should be imported:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../ofbiz.templates:4001
+msgid "Email from address:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../ofbiz.templates:4001
+msgid ""
+"Various parts of ofbiz can be configured to send email.  This specifies what "
+"the from address should be."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../ofbiz.templates:5001
+msgid "for internal use"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../ofbiz.templates:6001
+msgid "passwords do not match"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../ofbiz.templates:6001
+msgid "The passwords you have entered do not match."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../ofbiz.templates:7001
+msgid "empty password is not allowed"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../ofbiz.templates:7001
+msgid "The password you have entered is empty.  This is not allowed."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../ofbiz.templates:8001
+msgid "Admin port for status queries:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../ofbiz.templates:8001
+msgid ""
+"This is the port used to communicate with a running ofbiz instance, to see "
+"if it is starting, running, or stopping."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../ofbiz.templates:9001
+msgid "Important example data?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../ofbiz.templates:9001
+msgid ""
+"OfBiz comes with lots of example data, showing products/categories/users "
+"etc.  If this is your first time working with ofbiz, you may want to import "
+"this extra data to see how to better use it."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../ofbiz.templates:10001
+msgid "Reimport data?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../ofbiz.templates:10001
+msgid "Whether data should be reimported on upgrade."
+msgstr ""

Modified: ofbiz/trunk/debian/rules
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/rules?rev=689901&r1=689900&r2=689901&view=diff
==============================================================================
--- ofbiz/trunk/debian/rules (original)
+++ ofbiz/trunk/debian/rules Thu Aug 28 10:23:20 2008
@@ -32,6 +32,7 @@
 
 clean: clean-debian
 	ant clean-all
+	debconf-updatepo
 
 build: build-ofbiz debian/EncryptPassword.class
 build-ofbiz: