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:
Ingo Schommer 2007-09-15 01:27:57 +00:00
parent be9fff205e
commit 15ed167583
2 changed files with 18 additions and 2 deletions

View File

@ -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
// users who have the rights to access some other part of the admin area.
$menuSrc = array(
_(__FILE__,'HELLO',"Site content",PR_HIGH,"Menu title") => array("content", "admin/", "CMSMain"),
_(__FILE__,'FILESIMAGES',"Files & Images",PR_HIGH) => array("files", "admin/assets/", "AssetAdmin"),
_(__FILE__,'HELLO',"Site content",100,"Menu title") => array("content", "admin/", "CMSMain"),
_(__FILE__,'FILESIMAGES',"Files & Images",100) => array("files", "admin/assets/", "AssetAdmin"),
_("LeftAndMain",'NEWSLETTERS',"Newsletters") => array("newsletter", "admin/newsletter/", "NewsletterAdmin"),
"Reports" => array("report", "admin/reports/", "ReportAdmin"),
"Security" => array("security", "admin/security/", "SecurityAdmin"),

16
lang/en.php Executable file
View 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';
?>