For lib/*.pm, template variable breakout.

Collaboration template labels need to be rethought
fix t/i18n/label.t to not always check on the name of a variable as an i18n entry,
since the description may hold the actual variable description.
This commit is contained in:
Colin Kuskie 2006-06-07 05:10:08 +00:00
parent 00293b3388
commit 4c39c6759b
9 changed files with 1973 additions and 1108 deletions

View file

@ -214,6 +214,108 @@ our $HELP = {
body => 'collaboration post list template variables body',
fields => [
],
variables => [
{
'name' => 'post_loop',
'variables' => [
{
'name' => 'id'
},
{
'name' => 'url',
'description' => 'tmplVar url'
},
{
'name' => 'rating_loop',
'variables' => [
{
'name' => 'rating_loop.count'
}
]
},
{
'name' => 'content'
},
{
'name' => 'status',
'description' => 'tmplVar status'
},
{
'name' => 'thumbnail',
'description' => 'tmplVar thumbnail'
},
{
'name' => 'image.url'
},
{
'name' => 'dateSubmitted.human'
},
{
'name' => 'dateUpdated.human'
},
{
'name' => 'timeSubmitted.human'
},
{
'name' => 'timeUpdated.human'
},
{
'name' => 'userProfile.url'
},
{
'name' => 'user.isVisitor'
},
{
'name' => 'edit.url'
},
{
'name' => 'controls'
},
{
'name' => 'isSecond'
},
{
'name' => 'isThird'
},
{
'name' => 'isFourth'
},
{
'name' => 'isFifth'
},
{
'name' => 'user.isPoster'
},
{
'name' => 'user.hasRead'
},
{
'name' => 'avatar.url'
},
{
'name' => 'lastReply.url'
},
{
'name' => 'lastReply.title'
},
{
'name' => 'lastReply.user.isVisitor'
},
{
'name' => 'lastReply.username'
},
{
'name' => 'lastReply.userProfile.url'
},
{
'name' => 'lastReply.dateSubmitted.human'
},
{
'name' => 'lastReply.timeSubmitted.human'
}
]
}
],
related => [
{
tag => 'asset fields',
@ -231,6 +333,62 @@ our $HELP = {
body => 'collaboration template body',
fields => [
],
variables => [
{
'name' => 'user.canPost'
},
{
'name' => 'user.isModerator'
},
{
'name' => 'user.isVisitor',
},
{
'name' => 'user.isSubscribed'
},
{
'name' => 'add.url'
},
{
'name' => 'rss.url'
},
{
'name' => 'search.url'
},
{
'name' => 'subscribe.url'
},
{
'name' => 'unsubscribe.url'
},
{
'name' => 'karmaIsEnabled'
},
{
'name' => 'sortby.karmaRank.url'
},
{
'name' => 'sortby.title.url'
},
{
'name' => 'sortby.username.url'
},
{
'name' => 'sortby.date.url'
},
{
'name' => 'sortby.lastreply.url'
},
{
'name' => 'sortby.views.url'
},
{
'name' => 'sortby.replies.url'
},
{
'name' => 'sortby.rating.url'
}
],
related => [
{
tag => 'collaboration template labels',
@ -248,6 +406,44 @@ our $HELP = {
body => 'collaboration search template body',
fields => [
],
variables => [
{
'name' => 'form.header'
},
{
'name' => 'query.form'
},
{
'name' => 'form.search'
},
{
'name' => 'back.url'
},
{
'name' => 'unsubscribe.url',
},
{
'name' => 'sortby.title.url',
},
{
'name' => 'sortby.username.url',
},
{
'name' => 'sortby.date.url',
},
{
'name' => 'sortby.lastreply.url',
},
{
'name' => 'sortby.views.url',
},
{
'name' => 'sortby.replies.url',
},
{
'name' => 'sortby.rating.url',
}
],
related => [
{
tag => 'collaboration post list template variables',
@ -261,6 +457,72 @@ our $HELP = {
body => 'collaboration rss template body',
fields => [
],
variables => [
{
'name' => 'title',
'description' => 'feed title'
},
{
'name' => 'link',
'description' => 'collab link'
},
{
'name' => 'description',
'description' => 'feed description'
},
{
'name' => 'generator'
},
{
'name' => 'webMaster'
},
{
'name' => 'docs'
},
{
'name' => 'lastBuildDate'
},
{
'name' => 'item_loop',
'variables' => [
{
'name' => 'author'
},
{
'name' => 'title',
'description' => 'post title'
},
{
'name' => 'link',
'description' => 'full text link'
},
{
'name' => 'description',
'description' => 'item description'
},
{
'name' => 'guid'
},
{
'name' => 'pubDate'
},
{
'name' => 'attachmentLoop',
'variables' => [
{
'name' => 'attachment.url'
},
{
'name' => 'attachment.path'
},
{
'name' => 'attachment.length'
}
]
}
]
}
],
related => [
{
tag => 'collaboration post list template variables',

View file

@ -67,6 +67,52 @@ our $HELP = {
body => '74',
fields => [
],
variables => [
{
'name' => 'canVote'
},
{
'name' => 'question'
},
{
'name' => 'form.start'
},
{
'name' => 'answer_loop',
'variables' => [
{
'name' => 'answer.form'
},
{
'name' => 'answer.text'
},
{
'name' => 'answer.number'
},
{
'name' => 'answer.graphWidth'
},
{
'name' => 'answer.percent'
},
{
'name' => 'answer.total'
}
]
},
{
'name' => 'form.submit'
},
{
'name' => 'form.end'
},
{
'name' => 'responses.label'
},
{
'name' => 'responses.total'
}
],
related => [
{
tag => 'poll add/edit',

View file

@ -221,6 +221,150 @@ our $HELP = {
body => '63',
fields => [
],
variables => [
{
'name' => 'brochure.icon'
},
{
'name' => 'brochure.url'
},
{
'name' => 'brochure.label'
},
{
'name' => 'manual.icon'
},
{
'name' => 'manual.url'
},
{
'name' => 'manual.label'
},
{
'name' => 'warranty.icon'
},
{
'name' => 'warranty.url'
},
{
'name' => 'warranty.label'
},
{
'name' => 'image1'
},
{
'name' => 'thumbnail1'
},
{
'name' => 'image2'
},
{
'name' => 'thumbnail2'
},
{
'name' => 'image3'
},
{
'name' => 'thumbnail3'
},
{
'name' => 'addfeature.url'
},
{
'name' => 'addfeature.label'
},
{
'name' => 'feature_loop',
'variables' => [
{
'name' => 'feature.controls'
},
{
'name' => 'feature.feature'
}
]
},
{
'name' => 'addbenefit.url'
},
{
'name' => 'addbenefit.label'
},
{
'name' => 'benefit_loop',
'variables' => [
{
'name' => 'benefit.benefit'
},
{
'name' => 'benefit.controls'
}
]
},
{
'name' => 'addspecification.url'
},
{
'name' => 'addspecification.label'
},
{
'name' => 'specification_loop',
'variables' => [
{
'name' => 'specification.controls'
},
{
'name' => 'specification.specification'
},
{
'name' => 'specification.units'
},
{
'name' => 'specification.label'
}
]
},
{
'name' => 'addaccessory.url'
},
{
'name' => 'addaccessory.label'
},
{
'name' => 'accessory_loop',
'variables' => [
{
'name' => 'accessory.url'
},
{
'name' => 'accessory.title'
},
{
'name' => 'accessory.controls'
}
]
},
{
'name' => 'addRelatedProduct.url'
},
{
'name' => 'addRelatedProduct.label'
},
{
'name' => 'relatedproduct.loop',
'variables' => [
{
'name' => 'relatedproduct.url'
},
{
'name' => 'relatedproduct.title'
},
{
'name' => 'relatedproduct.controls'
}
]
}
],
related => [
{
tag => 'product add/edit',

View file

@ -192,6 +192,120 @@ our $HELP = {
body => '89',
fields => [
],
variables => [
{
'name' => 'question.add.url'
},
{
'name' => 'question.add.label'
},
{
'name' => 'user.canTakeSurvey'
},
{
'name' => 'form.header'
},
{
'name' => 'form.footer'
},
{
'name' => 'form.submit'
},
{
'name' => 'questions.sofar.label'
},
{
'name' => 'start.newresponse.label'
},
{
'name' => 'start.newresponse.url'
},
{
'name' => 'thanks.survey.label'
},
{
'name' => 'thanks.quiz.label'
},
{
'name' => 'questions.total'
},
{
'name' => 'questions.correct.count.label'
},
{
'name' => 'questions.correct.percent.label'
},
{
'name' => 'mode.isSurvey'
},
{
'name' => 'survey.noprivs.label'
},
{
'name' => 'quiz.noprivs.label'
},
{
'name' => 'response.id'
},
{
'name' => 'response.count'
},
{
'name' => 'user.isFirstResponse'
},
{
'name' => 'user.canRespondAgain'
},
{
'name' => 'questions.sofar.count'
},
{
'name' => 'questions.correct.count'
},
{
'name' => 'questions.correct.percent'
},
{
'name' => 'response.isComplete'
},
{
'name' => 'question_loop',
'variables' => [
{
'name' => 'question.question'
},
{
'name' => 'question.allowComment'
},
{
'name' => 'question.id'
},
{
'name' => 'question.comment.field'
},
{
'name' => 'question.comment.label'
},
{
'name' => 'question.answer.field'
}
]
},
{
'name' => 'question.edit_loop',
'variables' => [
{
'name' => 'question.edit.controls'
},
{
'name' => 'question.edit.question'
},
{
'name' => 'question.edit.id'
}
]
}
],
related => [
{
tag => 'survey template common vars',
@ -212,6 +326,59 @@ our $HELP = {
body => '91',
fields => [
],
variables => [
{
'name' => 'user.canViewReports'
},
{
'name' => 'delete.all.responses.url'
},
{
'name' => 'delete.all.responses.label'
},
{
'name' => 'export.answers.url'
},
{
'name' => 'export.answers.label'
},
{
'name' => 'export.questions.url'
},
{
'name' => 'export.questions.label'
},
{
'name' => 'export.responses.url'
},
{
'name' => 'export.responses.label'
},
{
'name' => 'export.composite.url'
},
{
'name' => 'export.composite.label'
},
{
'name' => 'report.gradebook.url'
},
{
'name' => 'report.gradebook.label'
},
{
'name' => 'report.overview.url'
},
{
'name' => 'report.overview.label'
},
{
'name' => 'survey.url'
},
{
'name' => 'survey.label'
}
],
related => [
{
tag => 'survey template',
@ -224,6 +391,40 @@ our $HELP = {
body => '1088',
fields => [
],
variables => [
{
'name' => 'title'
},
{
'name' => 'question.count'
},
{
'name' => 'response.user.label'
},
{
'name' => 'response.count.label'
},
{
'name' => 'response.percent.label'
},
{
'name' => 'response_loop',
'variables' => [
{
'name' => 'response.url'
},
{
'name' => 'response.user.name'
},
{
'name' => 'response.count.correct'
},
{
'name' => 'response.percent'
}
]
}
],
related => [
{
tag => 'pagination template variables',
@ -244,6 +445,91 @@ our $HELP = {
body => '1090',
fields => [
],
variables => [
{
'name' => 'title',
},
{
'name' => 'delete.url'
},
{
'name' => 'delete.label'
},
{
'name' => 'start.date.label'
},
{
'name' => 'start.date.epoch'
},
{
'name' => 'start.date.human'
},
{
'name' => 'start.time.human'
},
{
'name' => 'end.date.label'
},
{
'name' => 'end.date.epoch'
},
{
'name' => 'end.date.human'
},
{
'name' => 'end.time.human'
},
{
'name' => 'duration.label'
},
{
'name' => 'duration.minutes'
},
{
'name' => 'duration.minutes.label'
},
{
'name' => 'duration.seconds'
},
{
'name' => 'duration.seconds.label'
},
{
'name' => 'answer.label'
},
{
'name' => 'response.label'
},
{
'name' => 'comment.label'
},
{
'name' => 'question_loop',
'variables' => [
{
'name' => 'question'
},
{
'name' => 'question.id',
},
{
'name' => 'question.isRadioList'
},
{
'name' => 'question.response'
},
{
'name' => 'question.comment'
},
{
'name' => 'question.isCorrect'
},
{
'name' => 'question.answer'
}
],
}
],
related => [
{
tag => 'survey template common vars',
@ -260,6 +546,73 @@ our $HELP = {
body => '1092',
fields => [
],
variables => [
{
'name' => 'title',
},
{
'name' => 'answer.label',
'description' => 'report answer.label'
},
{
'name' => 'response.count.label',
'description' => 'report response.count.label'
},
{
'name' => 'response.percent.label',
},
{
'name' => 'show.responses.label'
},
{
'name' => 'show.comments.label'
},
{
'name' => 'question_loop',
'variables' => [
{
'name' => 'question',
},
{
'name' => 'question.id',
},
{
'name' => 'question.isRadioList',
},
{
'name' => 'question.response.total'
},
{
'name' => 'question.allowComment',
},
{
'name' => 'answer_loop',
'variables' => [
{
'name' => 'answer.isCorrect'
},
{
'name' => 'answer'
},
{
'name' => 'answer.response.count'
},
{
'name' => 'answer.response.percent'
},
{
'name' => 'comment_loop',
'variables' => [
{
'name' => 'answer.comment'
}
]
}
]
}
],
}
],
related => [
{
tag => 'pagination template variables',

View file

@ -1130,159 +1130,167 @@ the preview is displayed, the Post can either be edited or canceled.|,
lastUpdated => 1113673895,
},
'post_loop' => {
message => q|A list of posts for this Collateral Asset.|,
lastUpdated => 1149655722,
},
'id' => {
message => q|The AssetId of this Post.|,
lastUpdated => 1149655722,
},
'tmplVar url' => {
message => q|The URL of this Post.|,
lastUpdated => 1149655722,
},
'rating_loop' => {
message => q|A loop that runs once for each point of <b>rating</b> that the Post has|,
lastUpdated => 1149655722,
},
'rating_loop.count' => {
message => q|The index variable for the <b>rating_loop</b>.|,
lastUpdated => 1149655722,
},
'content' => {
message => q|The formatted content of this Post.|,
lastUpdated => 1149655722,
},
'tmplVar status' => {
message => q|The status of this Post.|,
lastUpdated => 1149655722,
},
'tmplVar thumbnail' => {
message => q|If this Post has attachments, the URL for the thumbnail of the first image attachment.|,
lastUpdated => 1149655722,
},
'image.url' => {
message => q|If this Post has attachments, the URL for the first image attachment.|,
lastUpdated => 1149655722,
},
'dateSubmitted.human' => {
message => q|The date this Post was submitted, in a human readable format.|,
lastUpdated => 1149655722,
},
'dateUpdated.human' => {
message => q|The date this Post was last updated, in a human readable format.|,
lastUpdated => 1149655722,
},
'timeSubmitted.human' => {
message => q|The time this Post was submitted, in a human readable format.|,
lastUpdated => 1149655722,
},
'timeUpdated.human' => {
message => q|The time this Post was last updated, in a human readable format.|,
lastUpdated => 1149655722,
},
'userProfile.url' => {
message => q|The URL to the Profile of the User who submitted this Post.|,
lastUpdated => 1149655722,
},
'user.isVisitor' => {
message => q|A conditional that is true if the poster is a visitor.|,
lastUpdated => 1149655722,
},
'edit.url' => {
message => q|The URL to edit this Post.|,
lastUpdated => 1149655722,
},
'controls' => {
message => q|A set of editing icons to delete or re-order this Post.|,
lastUpdated => 1149655722,
},
'isSecond' => {
message => q|A conditional indicating that is true if this Post is the second in this Collaboration Asset.|,
lastUpdated => 1149655722,
},
'isThird' => {
message => q|A conditional indicating that is true if this Post is the third in this Collaboration Asset.|,
lastUpdated => 1149655722,
},
'isFourth' => {
message => q|A conditional indicating that is true if this Post is the fourth in this Collaboration Asset.|,
lastUpdated => 1149655722,
},
'isFifth' => {
message => q|A conditional indicating that is true if this Post is the fifth in this Collaboration Asset.|,
lastUpdated => 1149655722,
},
'user.isPoster' => {
message => q|A conditional indicating that is true if the current user submitted this Post.|,
lastUpdated => 1149655722,
},
'user.hasRead' => {
message => q|A conditional indicating whether a user has read this thread.|,
lastUpdated => 1149655722,
},
'avatar.url' => {
message => q|A URL to the avatar for the owner of the Post, if avatars are enabled and the
user has an avatar.|,
lastUpdated => 1149655722,
},
'lastReply.url' => {
message => q|The URL to the last reply to this Post.|,
lastUpdated => 1149655722,
},
'lastReply.title' => {
message => q|The title of the last reply.|,
lastUpdated => 1149655722,
},
'lastReply.user.isVisitor' => {
message => q|A conditional that is true if the poster of the last reply is a visitor.|,
lastUpdated => 1149655722,
},
'lastReply.username' => {
message => q|The name of user who submitted the last reply.|,
lastUpdated => 1149655722,
},
'lastReply.userProfile.url' => {
message => q|The URL to the Profile of the User who submitted this Post.|,
lastUpdated => 1149655722,
},
'lastReply.dateSubmitted.human' => {
message => q|The date the last reply was submitted, in a human readable format.|,
lastUpdated => 1149655722,
},
'lastReply.timeSubmitted.human' => {
message => q|The time the last reply was submitted, in a human readable format.|,
lastUpdated => 1149655722,
},
'collaboration post list template variables body' => {
message => q|<p>These variables are available in several of the templates
used by Collaboration Assets:</p>
<p><b>post_loop</b><br />
A list of posts for this Collateral Asset.
</p>
<div class="helpIndent">
<p><b>Asset variables</b><br />
The variables common to all Assets, such as <b>title</b>, <b>menuTitle</b>, etc.
</p>
<p><b>Post variables</b><br />
All template variables from the Post template. Some of those variables will be duplicates
of the ones below.
</p>
<p><b>id</b><br />
The AssetId of this Post.
</p>
<p><b>url</b><br />
The URL of this Post.
</p>
<p><b>rating_loop</b><br />
A loop that runs once for each point of <b>rating</b> that the Post has
</p>
<div class="helpIndent">
<p><b>rating_loop.count</b><br />
The index variable for the <b>rating_loop</b>.
</p>
</div>
<p><b>content</b><br />
The formatted content of this Post.
</p>
<p><b>status</b><br />
The status of this Post.
</p>
<p><b>thumbnail</b><br />
If this Post has attachments, the URL for the thumbnail of the first image attachment.
</p>
<p><b>image.url</b><br />
If this Post has attachments, the URL for the first image attachment.
</p>
<p><b>dateSubmitted.human</b><br />
The date this Post was submitted, in a human readable format.
</p>
<p><b>dateUpdated.human</b><br />
The date this Post was last updated, in a human readable format.
</p>
<p><b>timeSubmitted.human</b><br />
The time this Post was submitted, in a human readable format.
</p>
<p><b>timeUpdated.human</b><br />
The time this Post was last updated, in a human readable format.
</p>
<p><b>userProfile.url</b><br />
The URL to the Profile of the User who submitted this Post.
</p>
<p><b>user.isVisitor</b><br />
A conditional that is true if the poster is a visitor.
</p>
<p><b>edit.url</b><br />
The URL to edit this Post.
</p>
<p><b>controls</b><br />
A set of editing icons to delete or re-order this Post.
</p>
<p><b>isSecond</b><br />
A conditional indicating that is true if this Post is the second in this Collaboration Asset.
</p>
<p><b>isThird</b><br />
A conditional indicating that is true if this Post is the third in this Collaboration Asset.
</p>
<p><b>isFourth</b><br />
A conditional indicating that is true if this Post is the fourth in this Collaboration Asset.
</p>
<p><b>isFifth</b><br />
A conditional indicating that is true if this Post is the fifth in this Collaboration Asset.
</p>
<p><b>user.isPoster</b><br />
A conditional indicating that is true if the current user submitted this Post.
</p>
<p><b>user.hasRead</b><br />
A conditional indicating whether a user has read this thread.
</p>
<p><b>avatar.url</b><br />
A URL to the avatar for the owner of the Post, if avatars are enabled and the
user has an avatar.
</p>
<p><b>lastReply.*</b><br />
These variables are only defined if the <b>Display last reply</b> property is set to true
in the Collaboration Asset.
</p>
<p><b>lastReply.url</b><br />
The URL to the last reply to this Post.
</p>
<p><b>lastReply.title</b><br />
The title of the last reply.
</p>
<p><b>lastReply.user.isVisitor</b><br />
A conditional that is true if the poster of the last reply is a visitor.
</p>
<p><b>lastReply.username</b><br />
The name of user who submitted the last reply.
</p>
<p><b>lastReply.userProfile.url</b><br />
The URL to the Profile of the User who submitted this Post.
</p>
<p><b>lastReply.dateSubmitted.human</b><br />
The date the last reply was submitted, in a human readable format.
</p>
<p><b>lastReply.timeSubmitted.human</b><br />
The time the last reply was submitted, in a human readable format.
</p>
</div>
|,
lastUpdated => 1120083131,
lastUpdated => 1149655819,
},
'collaboration template title' => {
@ -1290,84 +1298,96 @@ The time the last reply was submitted, in a human readable format.
lastUpdated => 1114466567,
},
'user.canPost' => {
message => q|A conditional that is true if the current user can add posts to this Collaboration Asset.|,
lastUpdated => 1149655833,
},
'user.isModerator' => {
message => q|A conditional that is true if the current user is a moderator for this Asset.|,
lastUpdated => 1149655833,
},
'user.isSubscribed' => {
message => q|A conditional that is true if the current user is subscribed to this Collaboration Asset.|,
lastUpdated => 1149655833,
},
'add.url' => {
message => q|A URL for adding a new thread.|,
lastUpdated => 1149655833,
},
'rss.url' => {
message => q|A URL for downloading the RSS summary of this Asset.|,
lastUpdated => 1149655833,
},
'search.url' => {
message => q|A URL for accessing the search form for this Collaboration Asset.|,
lastUpdated => 1149655833,
},
'subscribe.url' => {
message => q|A URL for subscribing the current user to this Collaboration Asset. When new content is submitted to
the Collaboration Asset, the user will be notified.|,
lastUpdated => 1149655833,
},
'unsubscribe.url' => {
message => q|A URL for unsubscribing the current user from this Asset.|,
lastUpdated => 1149655833,
},
'karmaIsEnabled' => {
message => q|A boolean indicating whether the use of karma is enabled or not.|,
lastUpdated => 1149655833,
},
'sortby.karmaRank.url' => {
message => q|A URL for sorting and displaying the list of posts by the amount of karma users have transfered to the thread.|,
lastUpdated => 1149655833,
},
'sortby.title.url' => {
message => q|A URL for sorting and displaying the list of posts by title.|,
lastUpdated => 1149655833,
},
'sortby.username.url' => {
message => q|A URL for sorting and displaying the list of posts by username.|,
lastUpdated => 1149655833,
},
'sortby.date.url' => {
message => q|A URL for sorting and displaying the list of posts by the date they were submitted.|,
lastUpdated => 1149655833,
},
'sortby.lastreply.url' => {
message => q|A URL for sorting and displaying the list of posts by the date they were last updated.|,
lastUpdated => 1149655833,
},
'sortby.views.url' => {
message => q|A URL for sorting and displaying the list of posts by the number of times each has been read.|,
lastUpdated => 1149655833,
},
'sortby.replies.url' => {
message => q|A URL for sorting and displaying the list of posts by the number of replies to the post.|,
lastUpdated => 1149655833,
},
'sortby.rating.url' => {
message => q|A URL for sorting and displaying the list of posts by their ratings.|,
lastUpdated => 1149655833,
},
'collaboration template body' => {
message => q|<p>These variables are available in the Collaboration Template:</p>
<p><b>user.canPost</b><br />
A conditional that is true if the current user can add posts to this Collaboration Asset.
</p>
<p><b>user.isModerator</b><br />
A conditional that is true if the current user is a moderator for this Asset.
</p>
<p><b>user.isVisitor</b><br />
A conditional that is true if the current user is a Visitor.
</p>
<p><b>user.isSubscribed</b><br />
A conditional that is true if the current user is subscribed to this Collaboration Asset.
</p>
<p><b>add.url</b><br />
A URL for adding a new thread.
</p>
<p><b>rss.url</b><br />
A URL for downloading the RSS summary of this Asset.
</p>
<p><b>search.url</b><br />
A URL for accessing the search form for this Collaboration Asset.
</p>
<p><b>subscribe.url</b><br />
A URL for subscribing the current user to this Collaboration Asset. When new content is submitted to
the Collaboration Asset, the user will be notified.
</p>
<p><b>unsubscribe.url</b><br />
A URL for unsubscribing the current user from this Asset.
</p>
<p><b>karmaIsEnabled</b><br />
A boolean indicating whether the use of karma is enabled or not.
</p>
<p><b>sortby.karmaRank.url</b><br />
A URL for sorting and displaying the list of posts by the amount of karma users have transfered to the thread.
</p>
<p><b>sortby.title.url</b><br />
A URL for sorting and displaying the list of posts by title.
</p>
<p><b>sortby.username.url</b><br />
A URL for sorting and displaying the list of posts by username.
</p>
<p><b>sortby.date.url</b><br />
A URL for sorting and displaying the list of posts by the date they were submitted.
</p>
<p><b>sortby.lastreply.url</b><br />
A URL for sorting and displaying the list of posts by the date they were last updated.
</p>
<p><b>sortby.views.url</b><br />
A URL for sorting and displaying the list of posts by the number of times each has been read.
</p>
<p><b>sortby.replies.url</b><br />
A URL for sorting and displaying the list of posts by the number of replies to the post.
</p>
<p><b>sortby.rating.url</b><br />
A URL for sorting and displaying the list of posts by their ratings.
</p>
|,
lastUpdated => 1146762019,
lastUpdated => 1149655899,
},
'collaboration search template title' => {
@ -1375,58 +1395,29 @@ A URL for sorting and displaying the list of posts by their ratings.
lastUpdated => 1114467745,
},
'form.header' => {
message => q|HTML and javascript required to make the form work.|,
lastUpdated => 1149655909,
},
'query.form' => {
message => q|HTML form for adding a field where all input has to be in matched pages.|,
lastUpdated => 1149655909,
},
'form.search' => {
message => q|A button to add to the form to begin searching.|,
lastUpdated => 1149655909,
},
'back.url' => {
message => q|A URL for returning to the main view for this Collaboration Asset.|,
lastUpdated => 1149655909,
},
'collaboration search template body' => {
message => q|<p>These variables are available in the Collaboration Search Template:</p>
<p><b>form.header</b><br />
HTML and javascript required to make the form work.
</p>
<p><b>query.form</b><br />
HTML form for adding a field where all input has to be in matched pages.
</p>
<p><b>form.search</b><br />
A button to add to the form to begin searching.
</p>
<p><b>back.url</b><br />
A URL for returning to the main view for this Collaboration Asset.
</p>
<p><b>unsubscribe.url</b><br />
A URL for unsubscribing the current user from this Asset.
</p>
<p><b>sortby.title.url</b><br />
A URL for sorting and displaying the list of posts by title.
</p>
<p><b>sortby.username.url</b><br />
A URL for sorting and displaying the list of posts by username.
</p>
<p><b>sortby.date.url</b><br />
A URL for sorting and displaying the list of posts by the date they were submitted.
</p>
<p><b>sortby.lastreply.url</b><br />
A URL for sorting and displaying the list of posts by the date they were last updated.
</p>
<p><b>sortby.views.url</b><br />
A URL for sorting and displaying the list of posts by the number of times each has been read.
</p>
<p><b>sortby.replies.url</b><br />
A URL for sorting and displaying the list of posts by the number of replies to the post.
</p>
<p><b>sortby.rating.url</b><br />
A URL for sorting and displaying the list of posts by their ratings.
</p>
|,
lastUpdated => 1145039922,
},
@ -1446,91 +1437,100 @@ A URL for sorting and displaying the list of posts by their ratings.
lastUpdated => 1114467745,
},
'feed title' => {
message => q|The title of the rss feed (comes from the collaboration title).|,
lastUpdated => 1149656056,
},
'collab link' => {
message => q|The url to the collaboration.|,
lastUpdated => 1149656056,
},
'feed description' => {
message => q|The description of the rss feed (comes from the collaboration description).|,
lastUpdated => 1149656056,
},
'generator' => {
message => q|The program used to generate the rss feed, i.e. WebGUI plus version information. (optional field)|,
lastUpdated => 1149656056,
},
'webMaster' => {
message => q|The email address of the person responsible for the technical issues relating to this rss feed. (optional field)|,
lastUpdated => 1149656056,
},
'docs' => {
message => q|The url of documentation about the format of this file, RSS 2.0 (optional field)|,
lastUpdated => 1149656056,
},
'lastBuildDate' => {
message => q|The date that this feed was last updated. (optional field)|,
lastUpdated => 1149656056,
},
'item_loop' => {
message => q|Loops over the posts to be transmitted in this RSS feed.|,
lastUpdated => 1149656056,
},
'author' => {
message => q|The username of the person who submitted the post.|,
lastUpdated => 1149656056,
},
'post title' => {
message => q|The title of the item (post).|,
lastUpdated => 1149656056,
},
'full text link' => {
message => q|The url to the full text of the item.|,
lastUpdated => 1149656056,
},
'item description' => {
message => q|A synopsis of the item.|,
lastUpdated => 1149656056,
},
'guid' => {
message => q|A unique identifier for this item.|,
lastUpdated => 1149656056,
},
'pubDate' => {
message => q|The date the item was published.|,
lastUpdated => 1149656056,
},
'attachmentLoop' => {
message => q|A loop containg all attachements to this item (post).|,
lastUpdated => 1149656056,
},
'attachment.url' => {
message => q|The URL to this attachment.|,
lastUpdated => 1149656056,
},
'attachment.path' => {
message => q|The path in the filesystem to this attachment.|,
lastUpdated => 1149656056,
},
'attachment.length' => {
message => q|The length in this attachment, in bytes.|,
lastUpdated => 1149656056,
},
'collaboration rss template body' => {
message => q|<p>The Collaboration RSS template is available to allow configuration of the XML produced as an RSS feed for a collaboration. To produce a valid rss feed, this template must adhere to the <a href="http://blogs.law.harvard.edu/tech/rss">RSS 2.0 Specification.</a> These variables are available in the Collaboration RSS Template:</p>
<p><b>title</b><br />
The title of the rss feed (comes from the collaboration title).
</p>
<p><b>link</b><br />
The url to the collaboration.
</p>
<p><b>description</b><br />
The description of the rss feed (comes from the collaboration description).
</p>
<p><b>generator</b><br />
The program used to generate the rss feed, i.e. WebGUI plus version information. (optional field)
</p>
<p><b>webMaster</b><br />
The email address of the person responsible for the technical issues relating to this rss feed. (optional field)
</p>
<p><b>docs</b><br />
The url of documentation about the format of this file, RSS 2.0 (optional field)
</p>
<p><b>lastBuildDate</b><br />
The date that this feed was last updated. (optional field)
</p>
<p><b>item_loop</b><br />
Loops over the posts to be transmitted in this RSS feed.
</p>
<div class="helpIndent">
<p><b>author</b><br />
The username of the person who submitted the post.
</p>
<p><b>title</b><br />
The title of the item (post).
</p>
<p><b>link</b><br />
The url to the full text of the item.
</p>
<p><b>description</b><br />
A synopsis of the item.
</p>
<p><b>guid</b><br />
A unique identifier for this item.
</p>
<p><b>pubDate</b><br />
The date the item was published.
</p>
<p><b>attachmentLoop</b><br />
A loop containg all attachements to this item (post).
</p>
<div class="helpIndent">
<p><b>attachment.url</b><br />
The URL to this attachment.
</p>
<p><b>attachment.path</b><br />
The path in the filesystem to this attachment.
</p>
<p><b>attachment.length</b><br />
The length in this attachment, in bytes.
</p>
</div>
</div>
|,
lastUpdated => 1146762108,
lastUpdated => 1149656374,
},

View file

@ -1,72 +1,81 @@
package WebGUI::i18n::English::Asset_Poll;
our $I18N = {
'canVote' => {
message => q|A condition indicating whether the user has the right to vote on this poll.|,
lastUpdated => 1149655462,
},
'question' => {
message => q|The poll question.|,
lastUpdated => 1149655462,
},
'form.start' => {
message => q|The beginning of the poll form.|,
lastUpdated => 1149655462,
},
'answer_loop' => {
message => q|A loop containing information about the answers in the poll.|,
lastUpdated => 1149655462,
},
'answer.form' => {
message => q|The radio button for this answer.|,
lastUpdated => 1149655462,
},
'answer.text' => {
message => q|The text of the answer.|,
lastUpdated => 1149655462,
},
'answer.number' => {
message => q|The number of this answer. As in 1, 2, 3, etc.|,
lastUpdated => 1149655462,
},
'answer.graphWidth' => {
message => q|The width that the graph should be rendered for this answer. Based upon a percentage of the total graph size.|,
lastUpdated => 1149655462,
},
'answer.percent' => {
message => q|The percentage of the vote that this answer has received.|,
lastUpdated => 1149655462,
},
'answer.total' => {
message => q|The total number of votes that this answer has received.|,
lastUpdated => 1149655462,
},
'form.submit' => {
message => q|The submit button for the poll form.|,
lastUpdated => 1149655462,
},
'form.end' => {
message => q|The end of the poll form.|,
lastUpdated => 1149655462,
},
'responses.label' => {
message => q|The label for the total responses. "Total Votes"|,
lastUpdated => 1149655462,
},
'responses.total' => {
message => q|The total number of votes that have been placed on this poll.|,
lastUpdated => 1149655462,
},
'74' => {
message => q|<p>The following variables are available to the poll template:
</p>
<p><b>canVote</b><br />
A condition indicating whether the user has the right to vote on this poll.
</p>
<p><b>question</b><br />
The poll question.
</p>
<p><b>form.start</b><br />
The beginning of the poll form.
</p>
<p><b>answer_loop</b><br />
A loop containing information about the answers in the poll.
</p>
<div class="helpIndent">
<p><b>answer.form</b><br />
The radio button for this answer.
</p>
<p><b>answer.text</b><br />
The text of the answer.
</p>
<p><b>answer.number</b><br />
The number of this answer. As in 1, 2, 3, etc.
</p>
<p><b>answer.graphWidth</b><br />
The width that the graph should be rendered for this answer. Based upon a percentage of the total graph size.
</p>
<p><b>answer.percent</b><br />
The percentage of the vote that this answer has received.
</p>
<p><b>answer.total</b><br />
The total number of votes that this answer has received.
</p>
</div>
<p><b>form.submit</b><br />
The submit button for the poll form.
</p>
<p><b>form.end</b><br />
The end of the poll form.
</p>
<p><b>responses.label</b><br />
The label for the total responses. "Total Votes"
</p>
<p><b>responses.total</b><br />
The total number of votes that have been placed on this poll.
</p>
message => q|<p>The following variables are available to the poll template:</p>
|,
lastUpdated => 1146785056,
lastUpdated => 1149655485,
},
'6' => {

View file

@ -21,209 +21,230 @@ our $I18N = {
lastUpdated => 1031514049
},
'brochure.icon' => {
message => q|The URL to the icon for the brochure.|,
lastUpdated => 1149655398,
},
'brochure.url' => {
message => q|The URL to download the brochure.|,
lastUpdated => 1149655398,
},
'brochure.label' => {
message => q|The translated label for the brochure URL.|,
lastUpdated => 1149655398,
},
'manual.icon' => {
message => q|The URL to the icon for the manual.|,
lastUpdated => 1149655398,
},
'manual.url' => {
message => q|The URL to download the manual.|,
lastUpdated => 1149655398,
},
'manual.label' => {
message => q|The translated label for the manual URL.|,
lastUpdated => 1149655398,
},
'warranty.icon' => {
message => q|The URL to the icon for the warranty.|,
lastUpdated => 1149655398,
},
'warranty.url' => {
message => q|The URL to download the warranty.|,
lastUpdated => 1149655398,
},
'warranty.label' => {
message => q|The label for the warranty URL.|,
lastUpdated => 1149655398,
},
'image1' => {
message => q|The URL to the first image uploaded to this product.|,
lastUpdated => 1149655398,
},
'thumbnail1' => {
message => q|The URL to the thumbnail of the first image uploaded to this product.|,
lastUpdated => 1149655398,
},
'image2' => {
message => q|The URL to the second image uploaded to this product.|,
lastUpdated => 1149655398,
},
'thumbnail2' => {
message => q|The URL to the thumbnail of the second image uploaded to this product.|,
lastUpdated => 1149655398,
},
'image3' => {
message => q|The URL to the third image uploaded to this product.|,
lastUpdated => 1149655398,
},
'thumbnail3' => {
message => q|The URL to the thumbnail of the third image uploaded to this product.|,
lastUpdated => 1149655398,
},
'addfeature.url' => {
message => q|The URL to add a feature to this product.|,
lastUpdated => 1149655398,
},
'addfeature.label' => {
message => q|The translated label for the add feature link.|,
lastUpdated => 1149655398,
},
'feature_loop' => {
message => q|This loop contains all of the features associated with this product.|,
lastUpdated => 1149655398,
},
'feature.controls' => {
message => q|The WebGUI management controls for this feature.|,
lastUpdated => 1149655398,
},
'feature.feature' => {
message => q|The text of the feature itself.|,
lastUpdated => 1149655398,
},
'addbenefit.url' => {
message => q|The URL to add a benefit to this product.|,
lastUpdated => 1149655398,
},
'addbenefit.label' => {
message => q|The translated label for the add benefit link.|,
lastUpdated => 1149655398,
},
'benefit_loop' => {
message => q|This loop contains the benefits for this product.|,
lastUpdated => 1149655398,
},
'benefit.benefit' => {
message => q|The benefit text itself.|,
lastUpdated => 1149655398,
},
'benefit.controls' => {
message => q|The WebGUI management controls for this benefit.|,
lastUpdated => 1149655398,
},
'addspecification.url' => {
message => q|The URL to add a specification to this product.|,
lastUpdated => 1149655398,
},
'addspecification.label' => {
message => q|The translated label for the add specification link.|,
lastUpdated => 1149655398,
},
'specification_loop' => {
message => q|The list of specifications associated with this product.|,
lastUpdated => 1149655398,
},
'specification.controls' => {
message => q|The WebGUI management controls for this specification.|,
lastUpdated => 1149655398,
},
'specification.specification' => {
message => q|The text of the specification itself.|,
lastUpdated => 1149655398,
},
'specification.units' => {
message => q|The units for this specification. ex: meters|,
lastUpdated => 1149655398,
},
'specification.label' => {
message => q|The label for this specification. ex: height|,
lastUpdated => 1149655398,
},
'addaccessory.url' => {
message => q|The URL to add an accessory to this product.|,
lastUpdated => 1149655398,
},
'addaccessory.label' => {
message => q|The translated label for the add accessory link.|,
lastUpdated => 1149655398,
},
'accessory_loop' => {
message => q|This loop contains all of the accessories associated with this product.|,
lastUpdated => 1149655398,
},
'accessory.url' => {
message => q|The URL to the linked accessory.|,
lastUpdated => 1149655398,
},
'accessory.title' => {
message => q|The title of the linked accessory.|,
lastUpdated => 1149655398,
},
'accessory.controls' => {
message => q|The WebGUI management controls for this accessory.|,
lastUpdated => 1149655398,
},
'addRelatedProduct.url' => {
message => q|The URL to add a related product to this product.|,
lastUpdated => 1149655398,
},
'addRelatedProduct.label' => {
message => q|The translated label for the add related product link.|,
lastUpdated => 1149655398,
},
'relatedproduct.loop' => {
message => q|This loop contains all of the products related to this product.|,
lastUpdated => 1149655398,
},
'relatedproduct.url' => {
message => q|The URL to the related product.|,
lastUpdated => 1149655398,
},
'relatedproduct.title' => {
message => q|The title of the related product.|,
lastUpdated => 1149655398,
},
'relatedproduct.controls' => {
message => q|The WebGUI management controls for this related product.|,
lastUpdated => 1149655398,
},
'63' => {
message => q|<p>The following is the list of template variables available in product templates.
</p>
<p><b>brochure.icon</b><br />
The URL to the icon for the brochure.
</p>
<p><b>brochure.url</b><br />
The URL to download the brochure.
</p>
<p><b>brochure.label</b><br />
The translated label for the brochure URL.
</p>
<p><b>manual.icon</b><br />
The URL to the icon for the manual.
</p>
<p><b>manual.url</b><br />
The URL to download the manual.
</p>
<p><b>manual.label</b><br />
The translated label for the manual URL.
</p>
<p><b>warranty.icon</b><br />
The URL to the icon for the warranty.
</p>
<p><b>warranty.url</b><br />
The URL to download the warranty.
</p>
<p><b>warranty.label</b><br />
The label for the warranty URL.
</p>
<p><b>image1</b><br />
The URL to the first image uploaded to this product.
</p>
<p><b>thumbnail1</b><br />
The URL to the thumbnail of the first image uploaded to this product.
</p>
<p><b>image2</b><br />
The URL to the second image uploaded to this product.
</p>
<p><b>thumbnail2</b><br />
The URL to the thumbnail of the second image uploaded to this product.
</p>
<p><b>image3</b><br />
The URL to the third image uploaded to this product.
</p>
<p><b>thumbnail3</b><br />
The URL to the thumbnail of the third image uploaded to this product.
</p>
<p><b>addfeature.url</b><br />
The URL to add a feature to this product.
</p>
<p><b>addfeature.label</b><br />
The translated label for the add feature link.
</p>
<p><b>feature_loop</b><br />
This loop contains all of the features associated with this product.
</p>
<div class="helpIndent">
<p><b>feature.controls</b><br />
The WebGUI management controls for this feature.
</p>
<p><b>feature.feature</b><br />
The text of the feature itself.
</p>
</div>
<p><b>addbenefit.url</b><br />
The URL to add a benefit to this product.
</p>
<p><b>addbenefit.label</b><br />
The translated label for the add benefit link.
</p>
<p><b>benefit_loop</b><br />
This loop contains the benefits for this product.
</p>
<div class="helpIndent">
<p><b>benefit.benefit</b><br />
The benefit text itself.
</p>
<p><b>benefit.controls</b><br />
The WebGUI management controls for this benefit.
</p>
</div>
<p><b>addspecification.url</b><br />
The URL to add a specification to this product.
</p>
<p><b>addspecification.label</b><br />
The translated label for the add specification link.
</p>
<p><b>specification_loop</b><br />
The list of specifications associated with this product.
</p>
<div class="helpIndent">
<p><b>specification.controls</b><br />
The WebGUI management controls for this specification.
</p>
<p><b>specification.specification</b><br />
The text of the specification itself.
</p>
<p><b>specification.units</b><br />
The units for this specification. ex: meters
</p>
<p><b>specification.label</b><br />
The label for this specification. ex: height
</p>
</div>
<p><b>addaccessory.url</b><br />
The URL to add an accessory to this product.
</p>
<p><b>addaccessory.label</b><br />
The translated label for the add accessory link.
</p>
<p><b>accessory_loop</b><br />
This loop contains all of the accessories associated with this product.
</p>
<div class="helpIndent">
<p><b>accessory.url</b><br />
The URL to the linked accessory.
</p>
<p><b>accessory.title</b><br />
The title of the linked accessory.
</p>
<p><b>accessory.controls</b><br />
The WebGUI management controls for this accessory.
</p>
</div>
<p><b>addRelatedProduct.url</b><br />
The URL to add a related product to this product.
</p>
<p><b>addRelatedProduct.label</b><br />
The translated label for the add related product link.
</p>
<p><b>relatedproduct.loop</b><br />
This loop contains all of the products related to this product.
</p>
<div class="helpIndent">
<p><b>relatedproduct.url</b><br />
The URL to the related product.
</p>
<p><b>relatedproduct.title</b><br />
The title of the related product.
</p>
<p><b>relatedproduct.controls</b><br />
The WebGUI management controls for this related product.
</p>
</div>
message => q|<p>The following is the list of template variables available in product templates.</p>
|,
lastUpdated => 1146798062,
lastUpdated => 1149655422,
},
'21' => {

File diff suppressed because it is too large Load diff

View file

@ -204,16 +204,14 @@ sub getHelpLabels {
entry=>$entry,
tag=>'variables',
namespace=>$namespace,
label=>$variable->{name},
};
if ($variable->{description}) {
$one->{label} = $variable->{description},
}
else {
$one->{label} = $variable->{name},
}
push @helpLabels, $one;
push @helpLabels, {
topic=>$topic,
entry=>$entry,
tag=>'variables',
namespace=>$namespace,
label=>$variable->{description},
} if $variable->{description};
}
}
}