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
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
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
sub getName {
return "File Pile";
return WebGUI::International::get('file pile',"Asset_FilePile");
}
#-------------------------------------------------------------------

View file

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

View file

@ -174,7 +174,7 @@ sub getLockUrl {
#-------------------------------------------------------------------
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
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
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
sub getName {
return "Template";
return WebGUI::International::get('template',"Asset_Template");
}

View file

@ -616,7 +616,7 @@ sub getIcon {
#-------------------------------------------------------------------
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
sub getName {
return "Folder";
return WebGUI::International::get("folder","Asset_Folder");
}