improve Thingy i18n

This commit is contained in:
Graham Knop 2008-03-20 15:46:07 +00:00
parent 93ef776635
commit 13df5fb547
3 changed files with 85 additions and 60 deletions

View file

@ -167,8 +167,8 @@ sub definition {
tab=>"display",
noFormPost=>0,
namespace=>"Thingy",
hoverHelp=>$i18n->get('templateId label description'),
label=>$i18n->get('templateId label'),
hoverHelp=>$i18n->get('thingy template description'),
label=>$i18n->get('thingy template label'),
},
defaultThingId => {
autoGenerate => 0,
@ -439,7 +439,7 @@ where asset.state = "published"');
label=>$i18n->get('default value label'),
hoverHelp=>$i18n->get('default value description'),
value=>$defaultValue,
subtext=>'<br />'.$i18n->get(85),
subtext=>'<br />'.$i18n->get('default value subtext'),
width=>200,
height=>60,
resizable=>0,

View file

@ -7,10 +7,10 @@ our $HELP = {
fields => [],
isa => [
{ namespace => "Asset_Thingy",
tag => "thingy asset template variables"
tag => "thingy asset template variables",
},
{ namespace => "Asset_Template",
tag => "template variables"
tag => "template variables",
},
],
variables => [
@ -30,15 +30,15 @@ our $HELP = {
],
related => [
{ tag => 'edit thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'view thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'search thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
]
],
},
'edit thing template' => {
@ -47,10 +47,10 @@ our $HELP = {
fields => [],
isa => [
{ namespace => "Asset_Thingy",
tag => "thingy asset template variables"
tag => "thingy asset template variables",
},
{ namespace => "Asset_Template",
tag => "template variables"
tag => "template variables",
},
],
variables => [
@ -76,26 +76,26 @@ our $HELP = {
]
},
{ 'required' => 1,
'name' => 'form_start'
'name' => 'form_start',
},
{ 'required' => 1,
'name' => 'form_submit'
'name' => 'form_submit',
},
{ 'required' => 1,
'name' => 'form_end'
'name' => 'form_end',
}
],
related => [
{ tag => 'thingy template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'view thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'search thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
]
],
},
'view thing template' => {
@ -103,10 +103,10 @@ our $HELP = {
body => '',
isa => [
{ namespace => "Asset_Thingy",
tag => "thingy asset template variables"
tag => "thingy asset template variables",
},
{ namespace => "Asset_Template",
tag => "template variables"
tag => "template variables",
},
],
fields => [],
@ -130,13 +130,13 @@ our $HELP = {
],
related => [
{ tag => 'edit thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'search thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'thingy template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
]
},
@ -147,16 +147,16 @@ our $HELP = {
fields => [],
isa => [
{ namespace => "Asset_Thingy",
tag => "thingy asset template variables"
tag => "thingy asset template variables",
},
{ namespace => "Asset_Template",
tag => "template variables"
tag => "template variables",
},
],
variables => [
{ 'name' => 'add_url' },
{ 'name' => 'import_url' },
{ 'name' => 'export_url' },
{ 'name' => 'export_url' },
{ 'name' => 'searchScreenTitle' },
{ 'name' => 'searchDescription' },
{ 'name' => 'searchFields_loop',
@ -169,13 +169,13 @@ our $HELP = {
]
},
{ 'required' => 1,
'name' => 'form_start'
'name' => 'form_start',
},
{ 'required' => 1,
'name' => 'form_submit'
'name' => 'form_submit',
},
{ 'required' => 1,
'name' => 'form_end'
'name' => 'form_end',
},
{ 'name' => 'displayInSearchFields_loop',
'variables' => [
@ -201,24 +201,24 @@ our $HELP = {
],
related => [
{ tag => 'edit thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'view thing template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
{ tag => 'thingy template',
namespace => 'Asset_Thingy'
namespace => 'Asset_Thingy',
},
]
],
},
'thingy asset template variables' => {
private => 1,
title => 'data form asset template variables title',
body => 'data form asset template variables body',
title => 'thingy asset template variables title',
body => 'thingy asset template variables body',
isa => [
{ namespace => "Asset_Wobject",
tag => "wobject template variables"
tag => "wobject template variables",
},
],
fields => [],
@ -227,8 +227,9 @@ our $HELP = {
{ 'name' => 'manage_url' },
{ 'name' => 'addThing_url' },
],
related => []
related => [],
},
};
1;

View file

@ -1,32 +1,31 @@
package WebGUI::i18n::English::Asset_Thingy;
our $I18N = {
'cache timeout' => {
message => q|Cache Timeout|,
lastUpdated => 0,
},
'cache timeout' => {
message => q|Cache Timeout|,
lastUpdated => 0
},
'cache timeout help' => {
message => q|Since all users will see this asset the same way, we can cache it for long periods of time to increase performance. How long should we cache it?<br /> <br /><b>UI Level: 8</b>|,
lastUpdated => 0,
},
'cache timeout help' => {
message => q|Since all users will see this asset the same way, we can cache it for long periods of time to increase performance. How long should we cache it?<br /> <br /><b>UI Level: 8</b>|,
lastUpdated => 0
},
'assetName' => {
message => q|Thingy|,
lastUpdated => 1128830080,
context => 'Default name of all snippets'
},
'assetName' => {
message => q|Thingy|,
lastUpdated => 1128830080,
context => 'Default name of all snippets',
},
'template_label' => {
message => q|Thingy List Template|,
lastUpdated => 1121703035,
lastUpdated => 1121703035,
},
'add thing label' => {
message => q|Add Thing|,
lastUpdated => 1104630516,
},
'add thing label' => {
message => q|Add Thing|,
lastUpdated => 1104630516,
},
'default thing label' => {
message => q|Default Thing|,
@ -42,7 +41,7 @@ our $I18N = {
message => q|Are you sure you want to delete this Thing and all data in it? This is not versioned and can not be undone.|,
lastUpdated => 1104630516,
},
'delete thing data warning' => {
message => q|Are you sure you want to delete this thing? This is not versioned and cannot be undone.|,
lastUpdated => 1104630516,
@ -78,6 +77,11 @@ our $I18N = {
lastUpdated => 1104630516,
},
'thing name description' => {
message => q|A human readable name for this thing.|,
lastUpdated => 1104630516,
},
'fields label' => {
message => q|Fields|,
lastUpdated => 1104630516,
@ -422,7 +426,12 @@ our $I18N = {
'default value description' => {
message => q|Enter the default value (if any) for the field. For Yes/No fields, enter "yes" to select "Yes" and "no" to select "No".|,
lastUpdated => 1119156590,
},
},
'default value subtext' => {
message => q|One per line.|,
lastUpdated => 1206025720,
},
'subtext label' => {
message => q|Subtext|,
@ -501,7 +510,7 @@ our $I18N = {
message => q|Vertical|,
lastUpdated => 1104630516,
},
'vertical description' => {
message => q|This property controls whether radio buttons and checklists are laid out horizontally or
vertically.|,
@ -570,6 +579,11 @@ you wish to appear, one per line.|,
lastUpdated => 1104630516,
},
'thingy template description' => {
message => q|Choose a template for your thingy.|,
lastUpdated => 1206026038,
},
'view thing template label' => {
message => q|Thingy View Thing Template|,
lastUpdated => 1104630516,
@ -877,6 +891,16 @@ search has been done.|,
message => q|Field does not have any values.|,
lastUpdated => 1104630516,
},
'thingy asset template variables title' => {
message => q|Thingy Asset Template Variables|,
lastUpdated => 1164910794,
},
'thingy asset template variables body' => {
message => q|Every asset provides a set of variables to most of its templates based on the internal asset properties. Some of these variables may be useful, others may not.|,
lastUpdated => 1164910794,
},
};
1;