[phpMP-CVS] CVS: phpMP/languages/english lang_main.php,1.10,1.11
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2002-12-03 11:17:45
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv27709/languages/english Modified Files: lang_main.php Log Message: Reformatted language file. Started organizing constants file. Added a bit of logic to variables - U_ prefix is a user var. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** lang_main.php 2 Dec 2002 22:30:13 -0000 1.10 --- lang_main.php 3 Dec 2002 11:17:42 -0000 1.11 *************** *** 9,33 **** { // // General language used throughout site. // ! $this->lang['Welcome_to_Site'] = 'Welcome to ' . SITE_NAME . '!'; ! $this->lang['Home'] = 'Home'; ! $this->lang['Profile'] = 'Profile'; ! $this->lang['Modules'] = 'Modules'; ! $this->lang['Downloads'] = 'Downloads'; ! $this->lang['Username'] = 'Username'; ! $this->lang['User_CP'] = 'User CP'; ! $this->lang['User_Control_Panel'] = 'User Control Panel'; ! $this->lang['E-mail'] = 'E-mail'; ! $this->lang['Password'] = 'Password'; ! $this->lang['Comfirm'] = 'Confirm'; ! $this->lang['Real Name'] = 'Real Name'; ! $this->lang['Location'] = 'Location'; ! $this->lang['Register'] = 'Register'; ! $this->lang['Welcome'] = 'Welcome'; ! $this->lang['Administration_Area'] = 'Administration Area'; ! $this->lang['Register_a_Username'] = 'Register a Username'; --- 9,37 ---- { + $lang = array( + // // General language used throughout site. // ! // Note: Always escape singe quote characters (') with a backslash (\). ! // ! 'L_Welcome_to_Site' => 'Welcome to ' . SITE_NAME . '!', ! 'L_Home' => 'Home', ! 'L_Profile' => 'Profile', ! 'L_Modules' => 'Modules', ! 'L_Downloads' => 'Downloads', ! 'L_Username' => 'Username', ! 'L_User_CP' => 'User CP', ! 'L_User_Control_Panel' => 'User Control Panel', ! 'L_E-mail' => 'E-mail', ! 'L_Password' => 'Password', ! 'L_Comfirm' => 'Confirm', ! 'L_Real Name' => 'Real Name', ! 'L_Location' => 'Location', ! 'L_Register' => 'Register', ! 'L_Welcome' => 'Welcome', ! 'L_Administration_Area' => 'Administration Area', ! 'L_Register_a_Username' => 'Register a Username', *************** *** 35,53 **** // Below is language used almost specifically for auth. // ! $this->lang['Login'] = 'Login'; ! $this->lang['Logout'] = 'Logout'; ! $this->lang['Account_Activated'] = 'Your account has been activated. You may now log in.'; ! $this->lang['Required_Field'] = 'Denotes a Required Field'; ! $this->lang['Registration_Finished'] = 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.'; ! $this->lang['Forgot_Password'] = 'Forgot Your Password?'; ! $this->lang['You_are_not_logged_in'] = 'You are not logged in.'; // ! // Other various language stuff. // ! $this->lang['Powered_by_phpMP'] = 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.'; ! $this->lang['Copyright'] = 'All content is property of its respective owner. All rights reserved.'; } --- 39,62 ---- // Below is language used almost specifically for auth. // ! 'L_Login' => 'Login', ! 'L_Logout' => 'Logout', ! 'L_Account_Activated' => 'Your account has been activated. You may now log in.', ! 'L_Required_Field' => 'Denotes a Required Field', ! 'L_Register_Finished' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', ! 'L_Forgot_Password' => 'Forgot Your Password?', ! 'L_Not_logged_in' => 'You are not logged in.', // ! // Other various parts of the templates. // ! 'L_Powered_by_phpMP' => 'powered by phpMP ' . VERSION . ' © 2002 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! 'L_Copyright' => 'All content is property of its respective owner. All rights reserved.' ! ! // It is IMPERATIVE that the last array value entered (usually the copyright) ! // does not end in a comma. ! ! ); } *************** *** 55,57 **** } ! ?> --- 64,66 ---- } ! ?> \ No newline at end of file |