mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
bfojcapell: using new default locale and function name
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41908 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
71cb143070
commit
7ee0ec6158
@ -161,9 +161,9 @@ abstract class LeftAndMain extends Controller {
|
|||||||
// array[2]: The controller class for this menu, used to check permisssions. If blank, it's assumed that this is public, and always shown to
|
// array[2]: The controller class for this menu, used to check permisssions. If blank, it's assumed that this is public, and always shown to
|
||||||
// users who have the rights to access some other part of the admin area.
|
// users who have the rights to access some other part of the admin area.
|
||||||
$menuSrc = array(
|
$menuSrc = array(
|
||||||
_(__FILE__,'HELLO',"Site content",100,"Menu title") => array("content", "admin/", "CMSMain"),
|
_t ( 'LeftAndMain.HELLO', "Site content",100,"Menu title") => array("content", "admin/", "CMSMain"),
|
||||||
_(__FILE__,'FILESIMAGES',"Files & Images",100) => array("files", "admin/assets/", "AssetAdmin"),
|
_t('LeftAndMain.FILESIMAGES',"Files & Images",100) => array("files", "admin/assets/", "AssetAdmin"),
|
||||||
_("LeftAndMain",'NEWSLETTERS',"Newsletters") => array("newsletter", "admin/newsletter/", "NewsletterAdmin"),
|
_t('LeftAndMain.NEWSLETTERS',"Newsletters") => array("newsletter", "admin/newsletter/", "NewsletterAdmin"),
|
||||||
"Reports" => array("report", "admin/reports/", "ReportAdmin"),
|
"Reports" => array("report", "admin/reports/", "ReportAdmin"),
|
||||||
"Security" => array("security", "admin/security/", "SecurityAdmin"),
|
"Security" => array("security", "admin/security/", "SecurityAdmin"),
|
||||||
"Comments" => array("comments", "admin/comments/", "CommentAdmin"),
|
"Comments" => array("comments", "admin/comments/", "CommentAdmin"),
|
||||||
|
16
lang/en.php
16
lang/en.php
@ -1,16 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
global $lang;
|
|
||||||
|
|
||||||
$lang['en']['LeftAndMain']['HELLO'] = array(
|
|
||||||
'Site content',
|
|
||||||
100,
|
|
||||||
'Menu title'
|
|
||||||
);
|
|
||||||
$lang['en']['LeftAndMain']['FILESIMAGES'] = array(
|
|
||||||
'Files & Images',
|
|
||||||
100
|
|
||||||
);
|
|
||||||
$lang['en']['LeftAndMain']['NEWSLETTERS'] = 'Newsletters';
|
|
||||||
|
|
||||||
?>
|
|
16
lang/en_US.php
Executable file
16
lang/en_US.php
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
global $lang;
|
||||||
|
|
||||||
|
$lang['en_US']['LeftAndMain']['HELLO'] = array(
|
||||||
|
'Site content',
|
||||||
|
100,
|
||||||
|
'Menu title'
|
||||||
|
);
|
||||||
|
$lang['en_US']['LeftAndMain']['FILESIMAGES'] = array(
|
||||||
|
'Files & Images',
|
||||||
|
100
|
||||||
|
);
|
||||||
|
$lang['en_US']['LeftAndMain']['NEWSLETTERS'] = 'Newsletters';
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user