diff --git a/lib/WebGUI/Asset/File.pm b/lib/WebGUI/Asset/File.pm index b7a373166..ea731cd31 100644 --- a/lib/WebGUI/Asset/File.pm +++ b/lib/WebGUI/Asset/File.pm @@ -172,7 +172,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "File"; + return WebGUI::International::get('file',"Asset_File"); } diff --git a/lib/WebGUI/Asset/File/Image.pm b/lib/WebGUI/Asset/File/Image.pm index 80975cb1a..70c421437 100644 --- a/lib/WebGUI/Asset/File/Image.pm +++ b/lib/WebGUI/Asset/File/Image.pm @@ -161,7 +161,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "Image"; + return WebGUI::International::get('image',"Asset_Image"); } diff --git a/lib/WebGUI/Asset/FilePile.pm b/lib/WebGUI/Asset/FilePile.pm index 90e14c6ed..4ee7fe2cd 100644 --- a/lib/WebGUI/Asset/FilePile.pm +++ b/lib/WebGUI/Asset/FilePile.pm @@ -204,7 +204,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "File Pile"; + return WebGUI::International::get('file pile',"Asset_FilePile"); } #------------------------------------------------------------------- diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index 55b2500e9..22e2c8487 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -281,7 +281,7 @@ sub getImageUrl { #------------------------------------------------------------------- sub getName { - return "Post"; + return WebGUI::International::get('post',"Asset_Post"); } #------------------------------------------------------------------- diff --git a/lib/WebGUI/Asset/Post/Thread.pm b/lib/WebGUI/Asset/Post/Thread.pm index 2223ff021..1eea09212 100644 --- a/lib/WebGUI/Asset/Post/Thread.pm +++ b/lib/WebGUI/Asset/Post/Thread.pm @@ -174,7 +174,7 @@ sub getLockUrl { #------------------------------------------------------------------- sub getName { - return "Thread"; + return WebGUI::International::get('thread',"Asset_Thread"); } #------------------------------------------------------------------- diff --git a/lib/WebGUI/Asset/Redirect.pm b/lib/WebGUI/Asset/Redirect.pm index b082b4669..f7ed9452a 100644 --- a/lib/WebGUI/Asset/Redirect.pm +++ b/lib/WebGUI/Asset/Redirect.pm @@ -125,7 +125,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "Redirect"; + return WebGUI::International::get('redirect',"Asset_Redirect"); } diff --git a/lib/WebGUI/Asset/Snippet.pm b/lib/WebGUI/Asset/Snippet.pm index 42633d34c..780081358 100644 --- a/lib/WebGUI/Asset/Snippet.pm +++ b/lib/WebGUI/Asset/Snippet.pm @@ -168,7 +168,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "Snippet"; + return WebGUI::International::get('snippet',"Asset_Snippet"); } diff --git a/lib/WebGUI/Asset/Template.pm b/lib/WebGUI/Asset/Template.pm index 4bc78a284..82bdfb07e 100644 --- a/lib/WebGUI/Asset/Template.pm +++ b/lib/WebGUI/Asset/Template.pm @@ -218,7 +218,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "Template"; + return WebGUI::International::get('template',"Asset_Template"); } diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index a0e2b8737..8e3128733 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -616,7 +616,7 @@ sub getIcon { #------------------------------------------------------------------- sub getName { - return "Collaboration System"; + return WebGUI::International::get('collaboration system',"Asset_collaboration"); } diff --git a/lib/WebGUI/Asset/Wobject/Folder.pm b/lib/WebGUI/Asset/Wobject/Folder.pm index 09887d7d5..a6773638d 100644 --- a/lib/WebGUI/Asset/Wobject/Folder.pm +++ b/lib/WebGUI/Asset/Wobject/Folder.pm @@ -120,7 +120,7 @@ Returns the displayable name of this asset. =cut sub getName { - return "Folder"; + return WebGUI::International::get("folder","Asset_Folder"); } diff --git a/lib/WebGUI/i18n/English/Asset_Collaboration.pm b/lib/WebGUI/i18n/English/Asset_Collaboration.pm index d42025564..edfeeaa48 100644 --- a/lib/WebGUI/i18n/English/Asset_Collaboration.pm +++ b/lib/WebGUI/i18n/English/Asset_Collaboration.pm @@ -1,6 +1,13 @@ package WebGUI::i18n::English::Asset_Collaboration; our $I18N = { + + 'collaboration system' => { + message => q|Collaboration System|, + context => q|label for Asset Manager|, + lastUpdated => 1107391162, + }, + 'preview' => { message => q|preview|, lastUpdated => 0, diff --git a/lib/WebGUI/i18n/English/Asset_File.pm b/lib/WebGUI/i18n/English/Asset_File.pm index 9c357b2f4..7a76459bd 100644 --- a/lib/WebGUI/i18n/English/Asset_File.pm +++ b/lib/WebGUI/i18n/English/Asset_File.pm @@ -62,7 +62,12 @@ The type of the file (PDF, etc.) lastUpdated => 1106762088 }, - + 'file' => { + message => q|File|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121703035, + }, + 'new file description' => { message => q|Enter the path to a file, or use the "Browse" button to find a file on your local hard drive that you would like to be uploaded.|, lastUpdated => 1119068745 diff --git a/lib/WebGUI/i18n/English/Asset_FilePile.pm b/lib/WebGUI/i18n/English/Asset_FilePile.pm index 886c482fc..7de9e5db8 100644 --- a/lib/WebGUI/i18n/English/Asset_FilePile.pm +++ b/lib/WebGUI/i18n/English/Asset_FilePile.pm @@ -72,6 +72,12 @@ have the following properties: lastUpdated => 1107387324, }, + 'file pile' => { + message => q|File Pile|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121702938, + }, + 'upload files' => { message => q|Upload Files|, context => q|label for File Pile asset form|, diff --git a/lib/WebGUI/i18n/English/Asset_Folder.pm b/lib/WebGUI/i18n/English/Asset_Folder.pm index 0f96ed186..17a26fb6a 100644 --- a/lib/WebGUI/i18n/English/Asset_Folder.pm +++ b/lib/WebGUI/i18n/English/Asset_Folder.pm @@ -108,6 +108,11 @@ If this Asset is a File, the URL to the actual file for downloading. lastUpdated => 1106683494, }, + 'folder' => { + message => q|Folder|, + context => q|label for Asset Manager|, + lastUpdated => 1121703567, + }, }; diff --git a/lib/WebGUI/i18n/English/Asset_Image.pm b/lib/WebGUI/i18n/English/Asset_Image.pm index b88f204df..978215356 100644 --- a/lib/WebGUI/i18n/English/Asset_Image.pm +++ b/lib/WebGUI/i18n/English/Asset_Image.pm @@ -16,6 +16,17 @@ as File Assets. Below are the properties that are specific to Image Assets:

lastUpdated => 1119409764, }, + 'image' => { + message => q|Image|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121703104, + }, + + 'new file description' => { + message => q|Enter the path to a file, or use the "Browse" button to find a file on your local hard drive that you would like to be uploaded.|, + lastUpdated => 1119068745 + }, + 'Thumbnail size description' => { message => q|A thumbnail of the Image will be created and available for use in templates. The longest side of the thumbnail will be set to this size diff --git a/lib/WebGUI/i18n/English/Asset_Post.pm b/lib/WebGUI/i18n/English/Asset_Post.pm index c1a2b6825..322894216 100644 --- a/lib/WebGUI/i18n/English/Asset_Post.pm +++ b/lib/WebGUI/i18n/English/Asset_Post.pm @@ -441,6 +441,17 @@ user subscribed to. lastUpdated => 1031514049 }, + 'post' => { + message => q|Post|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121703104, + }, + + 'new file description' => { + message => q|Enter the path to a file, or use the "Browse" button to find a file on your local hard drive that you would like to be uploaded.|, + lastUpdated => 1119068745 + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_Redirect.pm b/lib/WebGUI/i18n/English/Asset_Redirect.pm index abdd36f40..b2e6db8c7 100644 --- a/lib/WebGUI/i18n/English/Asset_Redirect.pm +++ b/lib/WebGUI/i18n/English/Asset_Redirect.pm @@ -30,6 +30,12 @@ The URL where the user will be redirected. lastUpdated => 1119574089, }, + 'redirect' => { + message => q|Redirect|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121703197, + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_Thread.pm b/lib/WebGUI/i18n/English/Asset_Thread.pm index c224c2c3a..98239eba3 100644 --- a/lib/WebGUI/i18n/English/Asset_Thread.pm +++ b/lib/WebGUI/i18n/English/Asset_Thread.pm @@ -166,6 +166,17 @@ The description of the collaboration system that this post is a part of. lastUpdated => 1111768115, }, + 'thread' => { + message => q|Thread|, + context => q|label for Asset Manager, getName|, + lastUpdated => 1121703197, + }, + + 'new file description' => { + message => q|Enter the path to a file, or use the "Browse" button to find a file on your local hard drive that you would like to be uploaded.|, + lastUpdated => 1119068745 + }, + }; 1;