internationalize getName for all Assets, bugfix 1239601

This commit is contained in:
Colin Kuskie 2005-07-18 16:26:52 +00:00
parent 824a473694
commit e19f50a481
18 changed files with 73 additions and 11 deletions

View file

@ -172,7 +172,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "File"; return WebGUI::International::get('file',"Asset_File");
} }

View file

@ -161,7 +161,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "Image"; return WebGUI::International::get('image',"Asset_Image");
} }

View file

@ -204,7 +204,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "File Pile"; return WebGUI::International::get('file pile',"Asset_FilePile");
} }
#------------------------------------------------------------------- #-------------------------------------------------------------------

View file

@ -281,7 +281,7 @@ sub getImageUrl {
#------------------------------------------------------------------- #-------------------------------------------------------------------
sub getName { sub getName {
return "Post"; return WebGUI::International::get('post',"Asset_Post");
} }
#------------------------------------------------------------------- #-------------------------------------------------------------------

View file

@ -174,7 +174,7 @@ sub getLockUrl {
#------------------------------------------------------------------- #-------------------------------------------------------------------
sub getName { sub getName {
return "Thread"; return WebGUI::International::get('thread',"Asset_Thread");
} }
#------------------------------------------------------------------- #-------------------------------------------------------------------

View file

@ -125,7 +125,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "Redirect"; return WebGUI::International::get('redirect',"Asset_Redirect");
} }

View file

@ -168,7 +168,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "Snippet"; return WebGUI::International::get('snippet',"Asset_Snippet");
} }

View file

@ -218,7 +218,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "Template"; return WebGUI::International::get('template',"Asset_Template");
} }

View file

@ -616,7 +616,7 @@ sub getIcon {
#------------------------------------------------------------------- #-------------------------------------------------------------------
sub getName { sub getName {
return "Collaboration System"; return WebGUI::International::get('collaboration system',"Asset_collaboration");
} }

View file

@ -120,7 +120,7 @@ Returns the displayable name of this asset.
=cut =cut
sub getName { sub getName {
return "Folder"; return WebGUI::International::get("folder","Asset_Folder");
} }

View file

@ -1,6 +1,13 @@
package WebGUI::i18n::English::Asset_Collaboration; package WebGUI::i18n::English::Asset_Collaboration;
our $I18N = { our $I18N = {
'collaboration system' => {
message => q|Collaboration System|,
context => q|label for Asset Manager|,
lastUpdated => 1107391162,
},
'preview' => { 'preview' => {
message => q|preview|, message => q|preview|,
lastUpdated => 0, lastUpdated => 0,

View file

@ -62,7 +62,12 @@ The type of the file (PDF, etc.)
lastUpdated => 1106762088 lastUpdated => 1106762088
}, },
'file' => {
message => q|File|,
context => q|label for Asset Manager, getName|,
lastUpdated => 1121703035,
},
'new file description' => { '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.|, 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 lastUpdated => 1119068745

View file

@ -72,6 +72,12 @@ have the following properties:
lastUpdated => 1107387324, lastUpdated => 1107387324,
}, },
'file pile' => {
message => q|File Pile|,
context => q|label for Asset Manager, getName|,
lastUpdated => 1121702938,
},
'upload files' => { 'upload files' => {
message => q|Upload Files|, message => q|Upload Files|,
context => q|label for File Pile asset form|, context => q|label for File Pile asset form|,

View file

@ -108,6 +108,11 @@ If this Asset is a File, the URL to the actual file for downloading.
lastUpdated => 1106683494, lastUpdated => 1106683494,
}, },
'folder' => {
message => q|Folder|,
context => q|label for Asset Manager|,
lastUpdated => 1121703567,
},
}; };

View file

@ -16,6 +16,17 @@ as File Assets. Below are the properties that are specific to Image Assets:</P>
lastUpdated => 1119409764, 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' => { 'Thumbnail size description' => {
message => q|A thumbnail of the Image will be created and available for use in 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 templates. The longest side of the thumbnail will be set to this size

View file

@ -441,6 +441,17 @@ user subscribed to.
lastUpdated => 1031514049 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; 1;

View file

@ -30,6 +30,12 @@ The URL where the user will be redirected.
lastUpdated => 1119574089, lastUpdated => 1119574089,
}, },
'redirect' => {
message => q|Redirect|,
context => q|label for Asset Manager, getName|,
lastUpdated => 1121703197,
},
}; };
1; 1;

View file

@ -166,6 +166,17 @@ The description of the collaboration system that this post is a part of.
lastUpdated => 1111768115, 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; 1;