Internationalized system messages.

This commit is contained in:
Martin Kamerbeek 2010-05-31 16:22:22 +02:00
parent bcb265e188
commit 2490e166d3
15 changed files with 422 additions and 79 deletions

View file

@ -23,21 +23,21 @@ sub definition {
tie my %properties, 'Tie::IxHash', (
viewTemplateId => {
fieldType => 'template',
label => 'Template',
label => $i18n->get( 'template' ),
tab => 'display',
defaultValue => 'aYVYFpofaYvmRYoHwl3x4w',
namespace => 'NewsletterCollection',
},
recentIssueCount => {
fieldType => 'integer',
label => 'Number of recent issues',
label => $i18n->get( 'number of recent issues' ),
tab => 'display',
defaultValue => 1,
},
);
push @{ $definition }, {
assetName => $i18n->echo('newsletter'),
assetName => $i18n->get('Newsletter Collection'),
icon => 'newWobject.gif',
autoGenerateForms => 1,
tableName => 'NewsletterCollection',