rewrote internationalization and help system
This commit is contained in:
parent
e0d4792587
commit
7bb6ac31c1
57 changed files with 11072 additions and 731 deletions
187
lib/WebGUI/i18n/English/Article.pm
Normal file
187
lib/WebGUI/i18n/English/Article.pm
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
package WebGUI::i18n::English::Article;
|
||||
|
||||
our $I18N = {
|
||||
1 => q|Article|,
|
||||
|
||||
3 => q|Start Date|,
|
||||
|
||||
4 => q|End Date|,
|
||||
|
||||
6 => q|Image|,
|
||||
|
||||
7 => q|Link Title|,
|
||||
|
||||
8 => q|Link URL|,
|
||||
|
||||
9 => q|Attachment|,
|
||||
|
||||
10 => q|Convert carriage returns?|,
|
||||
|
||||
11 => q|(Select "Yes" only if you aren't adding <br> manually.)|,
|
||||
|
||||
12 => q|Edit Article|,
|
||||
|
||||
13 => q|Delete|,
|
||||
|
||||
22 => q|Author|,
|
||||
|
||||
23 => q|Date|,
|
||||
|
||||
24 => q|Post Response|,
|
||||
|
||||
28 => q|View Responses|,
|
||||
|
||||
61 => q|Article, Add/Edit|,
|
||||
|
||||
71 => q|Articles are the Swiss Army knife of WebGUI. Most pieces of static content can be added via the Article.
|
||||
<br><br>
|
||||
|
||||
NOTE: You can create a multi-paged article by placing the seperator macro (^-;) at various places through-out your article.
|
||||
|
||||
<p />
|
||||
<b>Template</b><br/>
|
||||
Select a template to layout your article.
|
||||
<p />
|
||||
|
||||
<b>Image</b><br>
|
||||
Choose an image (.jpg, .gif, .png) file from your hard drive. This file will be uploaded to the server and displayed in your article.
|
||||
<br><br>
|
||||
|
||||
|
||||
<b>Attachment</b><br>
|
||||
If you wish to attach a word processor file, a zip file, or any other file for download by your users, then choose it from your hard drive.
|
||||
<br><br>
|
||||
|
||||
<b>Link Title</b><br>
|
||||
If you wish to add a link to your article, enter the title of the link in this field.
|
||||
<br><br>
|
||||
<i>Example:</i> Google
|
||||
<br><br>
|
||||
|
||||
<b>Link URL</b><br>
|
||||
If you added a link title, now add the URL (uniform resource locator) here.
|
||||
<br><br>
|
||||
<i>Example:</i> http://www.google.com
|
||||
|
||||
<br><br>
|
||||
|
||||
<b>Convert carriage returns?</b><br>
|
||||
If you're publishing HTML there's generally no need to check this option, but if you aren't using HTML and you want a carriage return every place you hit your "Enter" key, then check this option.
|
||||
<p>
|
||||
|
||||
<b>Allow discussion?</b><br>
|
||||
Checking this box will enable responses to your article much like Articles on Slashdot.org.
|
||||
<p>
|
||||
|
||||
|
||||
|,
|
||||
|
||||
73 => q|The following template variables are available for article templates.
|
||||
<p/>
|
||||
|
||||
<b>new.template</b><br>
|
||||
Articles have the special ability to change their template so that you can allow users to see different views of the article. You do this by creating a link with a URL like this (replace 999 with the template Id you wish to use):<p>
|
||||
<a href="<tmpl_var new.template>999">Read more...</a>
|
||||
<p>
|
||||
<b>description.full</b><br>
|
||||
The full description without any pagination. (For the paginated description use "description" instead.)
|
||||
<p>
|
||||
|
||||
<b>description.first.100words</b><br>
|
||||
The first 100 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.
|
||||
<p>
|
||||
|
||||
<b>description.first.75words</b><br>
|
||||
The first 75 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.
|
||||
<p>
|
||||
|
||||
<b>description.first.50words</b><br>
|
||||
The first 50 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.
|
||||
<p>
|
||||
|
||||
<b>description.first.25words</b><br>
|
||||
The first 25 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.
|
||||
<p>
|
||||
|
||||
<b>description.first.10words</b><br>
|
||||
The first 10 words in the description. Words are defined as characters separated by whitespace, so HTML entities and tags count as words.
|
||||
<p>
|
||||
|
||||
<b>description.first.paragraph</b><br>
|
||||
The first paragraph of the description. The first paragraph is determined by the first carriage return found in the text.
|
||||
<p>
|
||||
|
||||
<b>description.first.2paragraphs</b><br>
|
||||
The first two paragraphs of the description. A paragraph is determined by counting the carriage returns found in the text.
|
||||
<p>
|
||||
|
||||
<b>description.first.sentence</b><br>
|
||||
The first sentence in the description. A sentence is determined by counting the periods found in the text.
|
||||
<p>
|
||||
|
||||
<b>description.first.2sentences</b><br>
|
||||
The first two sentences in the description. A sentence is determined by counting the periods found in the text.
|
||||
<p>
|
||||
|
||||
<b>description.first.3sentences</b><br>
|
||||
The first three sentences in the description. A sentence is determined by counting the periods found in the text.
|
||||
<p>
|
||||
|
||||
<b>description.first.4sentences</b><br>
|
||||
The first four sentences in the description. A sentence is determined by counting the periods found in the text.
|
||||
<p>
|
||||
|
||||
|
||||
|
||||
<b>attachment.box</b><br/>
|
||||
Outputs a standard WebGUI attachment box including icon, filename, and attachment indicator.
|
||||
<p/>
|
||||
|
||||
<b>attachment.icon</b><br/>
|
||||
The URL to the icon image for this attachment type.
|
||||
<p/>
|
||||
|
||||
<b>attachment.name</b><br/>
|
||||
The filename for this attachment.
|
||||
<p/>
|
||||
|
||||
<b>attachment.url</b><br/>
|
||||
The URL to download this attachment.
|
||||
<p/>
|
||||
|
||||
<b>image.thumbnail</b><br/>
|
||||
The URL to the thumbnail for the attached image.
|
||||
<p/>
|
||||
|
||||
<b>image.url</b><br/>
|
||||
The URL to the attached image.
|
||||
<p/>
|
||||
|
||||
<b>post.label</b><br/>
|
||||
The translated label to add a comment to this article.
|
||||
<p/>
|
||||
|
||||
|
||||
<b>post.URL</b><br/>
|
||||
The URL to add a comment to this article.
|
||||
<p/>
|
||||
|
||||
<b>replies.count</b><br/>
|
||||
The number of comments attached to this article.
|
||||
<p/>
|
||||
|
||||
<b>replies.label</b><br/>
|
||||
The translated text indicating that you can view the replies.
|
||||
<p/>
|
||||
|
||||
<b>replies.url</b><br/>
|
||||
The URL to view the replies to this article.
|
||||
<p/>
|
||||
|
||||
|,
|
||||
|
||||
72 => q|Article Template|,
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue