mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed Folder singular/plural name i18n by overloading the statics inherited from File class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92555 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1afe18a268
commit
16f69c3080
@ -6,6 +6,10 @@
|
||||
*/
|
||||
class Folder extends File {
|
||||
|
||||
static $singular_name = "Folder";
|
||||
|
||||
static $plural_name = "Folders";
|
||||
|
||||
/*
|
||||
* Find the given folder or create it, recursively.
|
||||
*
|
||||
|
@ -265,12 +265,12 @@ $lang['en_US']['Folder']['FILENAME'] = 'Filename';
|
||||
$lang['en_US']['Folder']['FILESTAB'] = 'Files';
|
||||
$lang['en_US']['Folder']['LASTEDITED'] = 'Last Updated';
|
||||
$lang['en_US']['Folder']['PLURALNAME'] = array(
|
||||
'Files',
|
||||
'Folders',
|
||||
50,
|
||||
'Pural name of the object, used in dropdowns and to generally identify a collection of this object in the interface'
|
||||
);
|
||||
$lang['en_US']['Folder']['SINGULARNAME'] = array(
|
||||
'File',
|
||||
'Folder',
|
||||
50,
|
||||
'Singular name of the object, used in dropdowns and to generally identify a single object in the interface'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user