Skip to content

Instantly share code, notes, and snippets.

@oelmekki
Created August 5, 2009 13:56
Show Gist options
  • Save oelmekki/162691 to your computer and use it in GitHub Desktop.
Save oelmekki/162691 to your computer and use it in GitHub Desktop.
<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');
/**
* TYPOlight webCMS
* Copyright (C) 2005-2009 Leo Feyer
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 2.1 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at http://www.gnu.org/licenses/.
*
* PHP version 5
* @copyright Leo Feyer 2005-2009
* @author Leo Feyer <[email protected]>
* @package Config
* @license LGPL
* @filesource
*/
/**
* -------------------------------------------------------------------------
* CUSTOM LABELS
* -------------------------------------------------------------------------
*
* If you want to modify a language file, you do not have to edit it
* directly. You can save your changes in this configuration file instead.
* Thus, you can update or replace the original files without having to
* worry about your modifications.
*
* Usage example:
*
* $GLOBALS['TL_LANG']['tl_layout']['column'] = 'Section';
*
* This line would replace the original label ("Column") with a custom
* label ("Section"). You can also set different languages:
*
* if ($GLOBALS['TL_LANGUAGE'] == 'de')
* {
* $GLOBALS['TL_LANG']['tl_layout']['column'] = 'Bereich';
* }
* else
* {
* $GLOBALS['TL_LANG']['tl_layout']['column'] = 'Section';
* }
*
* This line would replace the original label with a custom german label
* or an english label that is used as fallback.
*/
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment