internationalize getName for all Assets, bugfix 1239601
This commit is contained in:
parent
824a473694
commit
e19f50a481
18 changed files with 73 additions and 11 deletions
|
|
@ -172,7 +172,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "File";
|
||||
return WebGUI::International::get('file',"Asset_File");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "Image";
|
||||
return WebGUI::International::get('image',"Asset_Image");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ sub getImageUrl {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub getName {
|
||||
return "Post";
|
||||
return WebGUI::International::get('post',"Asset_Post");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ sub getLockUrl {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub getName {
|
||||
return "Thread";
|
||||
return WebGUI::International::get('thread',"Asset_Thread");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "Redirect";
|
||||
return WebGUI::International::get('redirect',"Asset_Redirect");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "Snippet";
|
||||
return WebGUI::International::get('snippet',"Asset_Snippet");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "Template";
|
||||
return WebGUI::International::get('template',"Asset_Template");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -616,7 +616,7 @@ sub getIcon {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub getName {
|
||||
return "Collaboration System";
|
||||
return WebGUI::International::get('collaboration system',"Asset_collaboration");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ Returns the displayable name of this asset.
|
|||
=cut
|
||||
|
||||
sub getName {
|
||||
return "Folder";
|
||||
return WebGUI::International::get("folder","Asset_Folder");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue