provide German translations for cybertools.commerce; reduce interfaces to generic fields only
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2795 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
6caeb35a9f
commit
95a372807e
6 changed files with 80 additions and 117 deletions
11
commerce/configure.zcml
Normal file
11
commerce/configure.zcml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!-- $Id$ -->
|
||||||
|
|
||||||
|
<configure
|
||||||
|
xmlns:zope="http://namespaces.zope.org/zope"
|
||||||
|
xmlns:browser="http://namespaces.zope.org/browser"
|
||||||
|
xmlns:i18n="http://namespaces.zope.org/i18n"
|
||||||
|
i18n_domain="zope">
|
||||||
|
|
||||||
|
<i18n:registerTranslations directory="locales" />
|
||||||
|
|
||||||
|
</configure>
|
|
@ -40,7 +40,7 @@ class IShop(Interface):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name = schema.ASCII(
|
name = schema.ASCII(
|
||||||
title=_(u'Shop name'),
|
title=_(u'Shop Identifier'),
|
||||||
description=_(u'An internal name uniquely identifying the shop.'),
|
description=_(u'An internal name uniquely identifying the shop.'),
|
||||||
default='',
|
default='',
|
||||||
required=True)
|
required=True)
|
||||||
|
@ -54,6 +54,7 @@ class IShop(Interface):
|
||||||
description=_(u'A medium-length description.'),
|
description=_(u'A medium-length description.'),
|
||||||
default=u'',
|
default=u'',
|
||||||
required=False)
|
required=False)
|
||||||
|
|
||||||
products = Attribute(u'The products available in this shop.')
|
products = Attribute(u'The products available in this shop.')
|
||||||
categories = Attribute(u'The product categories provided by this shop.')
|
categories = Attribute(u'The product categories provided by this shop.')
|
||||||
suppliers = Attribute(u'The suppliers providing products for '
|
suppliers = Attribute(u'The suppliers providing products for '
|
||||||
|
@ -68,7 +69,7 @@ class ISupplier(Interface):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name = schema.ASCII(
|
name = schema.ASCII(
|
||||||
title=_(u'Supplier name'),
|
title=_(u'Supplier Identifier'),
|
||||||
description=_(u'An internal name uniquely identifying the supplier.'),
|
description=_(u'An internal name uniquely identifying the supplier.'),
|
||||||
default='',
|
default='',
|
||||||
required=True)
|
required=True)
|
||||||
|
@ -102,136 +103,27 @@ class IProduct(Interface):
|
||||||
default='',
|
default='',
|
||||||
required=True)
|
required=True)
|
||||||
title = schema.TextLine(
|
title = schema.TextLine(
|
||||||
title=_(u'Artikelname'),
|
title=_(u'Product Name'),
|
||||||
description=_(u'Artikelname'),
|
description=_(u'Product name.'),
|
||||||
default=u'',
|
default=u'',
|
||||||
required=True)
|
required=True)
|
||||||
manufnumber = schema.TextLine(
|
|
||||||
title=_(u'Manufacturer Number'),
|
|
||||||
description=_(u'Manufacturer Number'),
|
|
||||||
default=u'',
|
|
||||||
required=False)
|
|
||||||
headline = schema.TextLine(
|
|
||||||
title=_(u'Headline'),
|
|
||||||
description=_(u'special headline'),
|
|
||||||
default=u'',
|
|
||||||
required=False)
|
|
||||||
description = schema.Text(
|
description = schema.Text(
|
||||||
title=_(u'Description'),
|
title=_(u'Description'),
|
||||||
description=_(u'Description'),
|
description=_(u'A medium-length description.'),
|
||||||
default=u'',
|
default=u'',
|
||||||
missing_value=u'',
|
missing_value=u'',
|
||||||
required=False)
|
required=False)
|
||||||
fullDescription = schema.Text(
|
fullDescription = schema.Text(
|
||||||
title=_(u'Full Description'),
|
title=_(u'Full Description'),
|
||||||
description=_(u'Full Description'),
|
description=_(u'A Detailled description of the product.'),
|
||||||
default=u'',
|
default=u'',
|
||||||
required=False)
|
required=False)
|
||||||
advantages = schema.Text(
|
|
||||||
title=_(u'Advantages'),
|
|
||||||
description=_(u'Advantages'),
|
|
||||||
default=u'',
|
|
||||||
missing_value=u'',
|
|
||||||
required=False)
|
|
||||||
includes = schema.Text(
|
|
||||||
title=_(u'Includes'),
|
|
||||||
description=_(u'Includes'),
|
|
||||||
default=u'',
|
|
||||||
missing_value=u'',
|
|
||||||
required=False)
|
|
||||||
remarks = schema.Text(
|
remarks = schema.Text(
|
||||||
title=_(u'Remarks'),
|
title=_(u'Remarks'),
|
||||||
description=_(u'Remarks'),
|
description=_(u'Some additional remarks.'),
|
||||||
default=u'',
|
default=u'',
|
||||||
missing_value=u'',
|
missing_value=u'',
|
||||||
required=False)
|
required=False)
|
||||||
intremarks = schema.Text(
|
|
||||||
title=_(u'internal Remarks'),
|
|
||||||
description=_(u'internal Remarks'),
|
|
||||||
default=u'',
|
|
||||||
missing_value=u'',
|
|
||||||
required=False)
|
|
||||||
manufwarranty = schema.TextLine(
|
|
||||||
title=_(u'Manufacturer Warranty'),
|
|
||||||
description=_(u'Manufacturer Warranty'),
|
|
||||||
default=u'',
|
|
||||||
required=False)
|
|
||||||
warranty = schema.Choice(
|
|
||||||
title=_(u'Warranty'),
|
|
||||||
description=_(u'Warranty'),
|
|
||||||
source=util.KeywordVocabulary((
|
|
||||||
('w1', _(u'14 Tage')),
|
|
||||||
('w2', _(u'3 Monate')),
|
|
||||||
('w3', _(u'6 Monate')),
|
|
||||||
('w4', _(u'1 Jahr')),
|
|
||||||
('w5', _(u'2 Jahre')),
|
|
||||||
('w6', _(u'3 Jahre')),
|
|
||||||
('w7', _(u'4 Jahre')),
|
|
||||||
('w8', _(u'5 Jahre')),
|
|
||||||
('w9', _(u'6 Jahre')),
|
|
||||||
('w10', _(u'Keine Garantie')),
|
|
||||||
('w11', _(u'Wie Einzelartikel')),
|
|
||||||
)),
|
|
||||||
default=u'w1',
|
|
||||||
required=True)
|
|
||||||
originalwarranty = schema.Choice(
|
|
||||||
title=_(u'Original Warranty'),
|
|
||||||
description=_(u'Original Warranty'),
|
|
||||||
source=util.KeywordVocabulary((
|
|
||||||
('ow1', _(u'14 Tage')),
|
|
||||||
('ow2', _(u'3 Monate')),
|
|
||||||
('ow3', _(u'6 Monate')),
|
|
||||||
('ow4', _(u'1 Jahr')),
|
|
||||||
('ow5', _(u'2 Jahre')),
|
|
||||||
('ow6', _(u'3 Jahre')),
|
|
||||||
('ow7', _(u'4 Jahre')),
|
|
||||||
('ow8', _(u'5 Jahre')),
|
|
||||||
('ow9', _(u'6 Jahre')),
|
|
||||||
('ow10', _(u'Keine Garantie')),
|
|
||||||
('ow11', _(u'Wie Einzelartikel')),
|
|
||||||
)),
|
|
||||||
default=u'ow1',
|
|
||||||
required=True)
|
|
||||||
state = schema.Choice(
|
|
||||||
title=_(u'State'),
|
|
||||||
description=_(u'State'),
|
|
||||||
source=util.KeywordVocabulary((
|
|
||||||
('1', _(u'Im Programm')),
|
|
||||||
('2', _(u'Bald im Programm')),
|
|
||||||
('3', _(u'Nicht im Programm')),
|
|
||||||
)),
|
|
||||||
default=u'1',
|
|
||||||
required=True)
|
|
||||||
oldstock = schema.Bool(
|
|
||||||
title=_(u'Old Stock'),
|
|
||||||
description=_(u'Old Stock'),
|
|
||||||
required=False)
|
|
||||||
retail = schema.Bool(
|
|
||||||
title=_(u'Retail'),
|
|
||||||
description=_(u'Reatil'),
|
|
||||||
required=False)
|
|
||||||
notinstock = schema.Bool(
|
|
||||||
title=_(u'Not In Stock'),
|
|
||||||
description=_(u'Not In Stock'),
|
|
||||||
required=False)
|
|
||||||
rohs = schema.Bool(
|
|
||||||
title=_(u'RoHS'),
|
|
||||||
description=_(u'RoHS'),
|
|
||||||
required=False)
|
|
||||||
takepicture = schema.Bool(
|
|
||||||
title=_(u'Take Picture'),
|
|
||||||
description=_(u'Take Picture'),
|
|
||||||
required=False)
|
|
||||||
stocklist = schema.TextLine(
|
|
||||||
title=_(u'Stocklist'),
|
|
||||||
description=_(u'Stocklist'),
|
|
||||||
default=u'',
|
|
||||||
required=False)
|
|
||||||
special = schema.TextLine(
|
|
||||||
title=_(u'Special'),
|
|
||||||
description=_(u'Special'),
|
|
||||||
default=u'',
|
|
||||||
required=False)
|
|
||||||
|
|
||||||
categories = Attribute(u'The product categories this product belongs to.')
|
categories = Attribute(u'The product categories this product belongs to.')
|
||||||
suppliers = Attribute(u'The suppliers (typically only one) providing '
|
suppliers = Attribute(u'The suppliers (typically only one) providing '
|
||||||
|
|
16
commerce/locales/cybertools.commerce.pot
Normal file
16
commerce/locales/cybertools.commerce.pot
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
"Project-Id-Version: $Id$\n"
|
||||||
|
"POT-Creation-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"PO-Revision-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
||||||
|
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: kwrite\n"
|
||||||
|
|
||||||
|
msgid "Product"
|
||||||
|
msgstr ""
|
||||||
|
|
BIN
commerce/locales/de/LC_MESSAGES/cybertools.commerce.mo
Normal file
BIN
commerce/locales/de/LC_MESSAGES/cybertools.commerce.mo
Normal file
Binary file not shown.
28
commerce/locales/de/LC_MESSAGES/cybertools.commerce.po
Normal file
28
commerce/locales/de/LC_MESSAGES/cybertools.commerce.po
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
"Project-Id-Version: $Id$\n"
|
||||||
|
"POT-Creation-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"PO-Revision-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
||||||
|
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: kwrite\n"
|
||||||
|
|
||||||
|
msgid "Product"
|
||||||
|
msgstr "Artikel"
|
||||||
|
|
||||||
|
msgid "Product Identifier"
|
||||||
|
msgstr "Artikelnummer"
|
||||||
|
|
||||||
|
msgid "A name or number uniquely identifiying the product within a shop."
|
||||||
|
msgstr "Kurzbezeichnung oder Nummer, die den Artikel innerhalb eines Shops eindeutig identifiziert."
|
||||||
|
|
||||||
|
msgid "Product Name"
|
||||||
|
msgstr "Artikelbezeichnung"
|
||||||
|
|
||||||
|
msgid "Product name."
|
||||||
|
msgstr "Artikelbezeichnung."
|
||||||
|
|
16
commerce/locales/en/LC_MESSAGES/cybertools.commerce.po
Normal file
16
commerce/locales/en/LC_MESSAGES/cybertools.commerce.po
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
"Project-Id-Version: $Id$\n"
|
||||||
|
"POT-Creation-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"PO-Revision-Date: 2008-08-09 12:00 CET\n"
|
||||||
|
"Last-Translator: Helmut Merz <helmutm@cy55.de>\n"
|
||||||
|
"Language-Team: loops developers <helmutm@cy55.de>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: kwrite\n"
|
||||||
|
|
||||||
|
msgid "Product"
|
||||||
|
msgstr "Product"
|
||||||
|
|
Loading…
Add table
Reference in a new issue