Blame Scripts/CentOS-Web/includes/translations/en.php

61a2f1
61a2f1
/**
61a2f1
 * Language     : English
61a2f1
 * Language-code: en
61a2f1
 * Description  : English Translation
61a2f1
 *
61a2f1
 * Alain Reguera Delgado <al@ciget.cienfuegos.cu>
61a2f1
 */
61a2f1
61a2f1
 function translate($word)
61a2f1
 {
61a2f1
61a2f1
    $translation = array('' => '',
61a2f1
                         // Admonition translations
61a2f1
                         // LDAP translations
61a2f1
                         'uid' => 'User ID',
61a2f1
                         'cn' => 'Full Name',
61a2f1
                         'preferredlanguage' => 'Language',
61a2f1
                         'employeetype'=>'privileges',
61a2f1
                         'displayname'=>'nickname',
61a2f1
                         'userpassword'=>'password',
61a2f1
                         // Others
61a2f1
                         'go back' => 'go back',
61a2f1
                         'default_f' => 'default',
61a2f1
                         'default_m' => 'default',
61a2f1
                         'en' => 'English',
61a2f1
                         '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.',
61a2f1
                         ''=>'');
61a2f1
61a2f1
    // if $word hasn't a translation here, return it.
61a2f1
    if ( array_key_exists($word, $translation))
61a2f1
    {
61a2f1
        $translation[$word] = $translation[$word];
61a2f1
        return $translation[$word];
61a2f1
    }
61a2f1
    else
61a2f1
    {
61a2f1
        return $word;
61a2f1
    }
61a2f1
 }
61a2f1
61a2f1
?>