Thread: [phpMP-CVS] CVS: phpMP/languages/english lang_main.php,1.24,1.25
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2003-08-22 15:57:48
|
Update of /cvsroot/phpmp/phpMP/languages/english In directory sc8-pr-cvs1:/tmp/cvs-serv7161/languages/english Modified Files: lang_main.php Log Message: Removed the Localization class as it seemed rather redundant. Index: lang_main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/languages/english/lang_main.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** lang_main.php 29 Jun 2003 19:04:19 -0000 1.24 --- lang_main.php 22 Aug 2003 15:57:45 -0000 1.25 *************** *** 2,90 **** /* ! * phpMP - The PHP Modular Portal System ! * Copyright (C) 2002-2003 Brian Rose and the phpMP group ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 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 General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! * ! * $Id$ ! * ! */ ! ! class Localization ! { ! ! var $lang; ! ! function Localization() ! { ! global $Config; ! ! $this->lang = array( ! ! // ! // General language used throughout site. ! // ! // Note: Always escape single quote characters (') with a backslash (\). ! // ! 'WELCOME_TO' => 'Welcome to ', ! 'HOME' => 'Home', ! 'PROFILE' => 'Profile', ! 'MODULES' => 'Modules', ! 'DOWNLOADS' => 'Downloads', ! 'USERNAME' => 'Username', ! 'USER_CP' => 'User CP', ! 'USER_CONTROL_PANEL' => 'User Control Panel', ! 'E_MAIL' => 'E-mail', ! 'PASSWORD' => 'Password', ! 'CONFIRM' => 'Confirm', ! 'REAL_NAME' => 'Real Name', ! 'LOCATION' => 'Location', ! 'REGISTER' => 'Register', ! 'MAIN_MENU' => 'Main Menu', ! 'USER_SETTINGS' => 'User Settings', ! ! 'ADMINISTRATION AREA' => 'Administration Area', ! 'REGISTER_A_USERNAME' => 'Register a Username', ! ! ! // ! // Below is language used almost specifically for auth. ! // ! 'LOGIN' => 'Login', ! 'LOGOUT' => 'Logout', ! ! 'ACCOUNT_ACTIVATED' => 'Your account has been activated. You may now log in.', ! 'REQUIRED_FIELD' => 'Denotes a Required Field', ! 'REGISTER_FINISHED' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', ! 'FORGOT_PASSWORD' => 'Forgot Your Password?', ! 'NOT_LOGGED_IN' => 'You are not logged in.', ! ! ! // ! // Other various parts of the templates. ! // ! 'POWERED_BY' => 'Powered by phpMP ' . $Config->get('version') . ' © 2003 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! '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. ! ! ); ! ! } ! ! } ?> --- 2,79 ---- /* ! * phpMP - The PHP Modular Portal System ! * Copyright (C) 2002-2003 Brian Rose and the phpMP group ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 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 General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! * ! * $Id$ ! * ! */ ! ! global $Config; ! ! $Language->lang = array( ! ! // ! // General language used throughout site. ! // ! // Note: Always escape single quote characters (') with a backslash (\). ! // ! 'WELCOME_TO' => 'Welcome to ', ! 'HOME' => 'Home', ! 'PROFILE' => 'Profile', ! 'MODULES' => 'Modules', ! 'DOWNLOADS' => 'Downloads', ! 'USERNAME' => 'Username', ! 'USER_CP' => 'User CP', ! 'USER_CONTROL_PANEL' => 'User Control Panel', ! 'E_MAIL' => 'E-mail', ! 'PASSWORD' => 'Password', ! 'CONFIRM' => 'Confirm', ! 'REAL_NAME' => 'Real Name', ! 'LOCATION' => 'Location', ! 'REGISTER' => 'Register', ! 'MAIN_MENU' => 'Main Menu', ! 'USER_SETTINGS' => 'User Settings', ! ! 'ADMINISTRATION AREA' => 'Administration Area', ! 'REGISTER_A_USERNAME' => 'Register a Username', ! ! ! // ! // Below is language used almost specifically for auth. ! // ! 'LOGIN' => 'Login', ! 'LOGOUT' => 'Logout', ! ! 'ACCOUNT_ACTIVATED' => 'Your account has been activated. You may now log in.', ! 'REQUIRED_FIELD' => 'Denotes a Required Field', ! 'REGISTER_FINISHED' => 'Your registration has been processed. Please check your e-mail for a message explaining how to activate your new account.', ! 'FORGOT_PASSWORD' => 'Forgot Your Password?', ! 'NOT_LOGGED_IN' => 'You are not logged in.', ! ! ! // ! // Other various parts of the templates. ! // ! 'POWERED_BY' => 'Powered by phpMP ' . $Config->get('version') . ' © 2003 <a href="http://phpmp.sourceforge.net/">phpMP Dev. Group</a>.', ! '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. ! ! ); ?> |