Blame Scripts/Php/Webenv/includes/translations/en.php
Branch: dfba6afb95ab8f7ff4ab4feec90a9b6d34c9496f
878a2b
878a2b
/**
878a2b
* Language : English
878a2b
* Language-code: en
878a2b
* Description : English Translation
878a2b
*
878a2b
* Alain Reguera Delgado <al@ciget.cienfuegos.cu>
878a2b
*/
878a2b
878a2b
function translate($word)
878a2b
{
878a2b
878a2b
$translation = array('' => '',
878a2b
// Admonition translations
878a2b
// LDAP translations
878a2b
'uid' => 'User ID',
878a2b
'cn' => 'Full Name',
878a2b
'preferredlanguage' => 'Language',
878a2b
'employeetype'=>'privileges',
878a2b
'displayname'=>'nickname',
878a2b
'userpassword'=>'password',
878a2b
// Others
878a2b
'go back' => 'go back',
878a2b
'default_f' => 'default',
878a2b
'default_m' => 'default',
878a2b
'en' => 'English',
878a2b
'credits_on_footer_1' => 'The CentOS Project - '.date('Y').' | "Linux" is a registered trademark of Linus Torvalds. All other trademarks are property of their respective owners.',
878a2b
''=>'');
878a2b
878a2b
// if $word hasn't a translation here, return it.
878a2b
if ( array_key_exists($word, $translation))
878a2b
{
878a2b
$translation[$word] = $translation[$word];
878a2b
return $translation[$word];
878a2b
}
878a2b
else
878a2b
{
878a2b
return $word;
878a2b
}
878a2b
}
878a2b
878a2b
?>