Internationalized system messages.
This commit is contained in:
parent
bcb265e188
commit
2490e166d3
15 changed files with 422 additions and 79 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue