mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
bfojcapell: default language file
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41897 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
be9fff205e
commit
15ed167583
@ -161,8 +161,8 @@ 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",PR_HIGH,"Menu title") => array("content", "admin/", "CMSMain"),
|
_(__FILE__,'HELLO',"Site content",100,"Menu title") => array("content", "admin/", "CMSMain"),
|
||||||
_(__FILE__,'FILESIMAGES',"Files & Images",PR_HIGH) => array("files", "admin/assets/", "AssetAdmin"),
|
_(__FILE__,'FILESIMAGES',"Files & Images",100) => array("files", "admin/assets/", "AssetAdmin"),
|
||||||
_("LeftAndMain",'NEWSLETTERS',"Newsletters") => array("newsletter", "admin/newsletter/", "NewsletterAdmin"),
|
_("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"),
|
||||||
|
16
lang/en.php
Executable file
16
lang/en.php
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
global $lang;
|
||||||
|
|
||||||
|
$lang['en']['LeftAndMain']['HELLO'] = array(
|
||||||
|
'Site content',
|
||||||
|
PR_HIGH,
|
||||||
|
'Menu title'
|
||||||
|
);
|
||||||
|
$lang['en']['LeftAndMain']['FILESIMAGES'] = array(
|
||||||
|
'Files & Images',
|
||||||
|
PR_HIGH
|
||||||
|
);
|
||||||
|
$lang['en']['LeftAndMain']['NEWSLETTERS'] = 'Newsletters';
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user