|
From: Gordon P. H. <gph...@us...> - 2005-04-23 18:55:43
|
Update of /cvsroot/cmsforme/CMSformE/l10n/en_US In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8505/l10n/en_US Modified Files: admin.php common.php index.html Added Files: l10n.txt Log Message: Implementing the new Localization and Modules engines. Both could use great improvement. Index: admin.php =================================================================== RCS file: /cvsroot/cmsforme/CMSformE/l10n/en_US/admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- admin.php 4 Mar 2005 23:27:12 -0000 1.1 +++ admin.php 23 Apr 2005 18:55:32 -0000 1.2 @@ -18,25 +18,27 @@ if( !( defined( 'ROOT' ) ) ) { - include( '../../includes/errors.php' ); + include( './../../includes/errors.php' ); viewed_alone(); } +$L10n->current_page = 'admin'; + // Basics -$lang += array( +$L10n->put_langs( array( 'admin_index' => 'Admin Index', 'index' => 'Index' -); +) ); // Categories -$lang += array( +$L10n->put_langs( array( 'authorization' => 'Authorization', 'general' => 'General', 'users' => 'Users' -); +) ); // Pages -$lang += array( +$L10n->put_langs( array( 'auth_levels' => 'Authorization Levels', 'config' => 'Configuration', 'faq_categories' => 'FAQ Categories', @@ -45,10 +47,10 @@ 'news_types' => 'News Types', 'templates' => 'Templates', 'user_management' => 'User Management' -); +) ); // Statistics -$lang += array( +$L10n->put_langs( array( 'articles' => 'Articles', 'db_version' => '%s Version', 'php_version' => 'PHP Version', @@ -56,10 +58,10 @@ 'stats' => 'Statistics', 'table_prefix' => 'Table Prefix', 'version' => 'Version' -); +) ); // Warnings -$lang += array( +$L10n->put_langs( array( 'install_dir' => 'Install Directory', 'install_dir_explain' => 'The install directory still exists. This is a security risk.', 'install_lang' => 'Install Language Files', @@ -67,10 +69,10 @@ 'name' => 'Name', 'warning' => 'Warning', 'warnings' => 'Warnings' -); +) ); // Authorization Levels -$lang += array( +$L10n->put_langs( array( 'admin' => 'Administrator', 'auth_admin' => 'Administrator Privileges', 'auth_comment' => 'Make Comments', @@ -86,10 +88,10 @@ 'levels_updated' => 'Autorization Levels Updated', 'levels_updated_explain' => 'The authorization levels have been updated.', 'registered' => 'Registered' -); +) ); // Configuration -$lang += array( +$L10n->put_langs( array( 'apply_staff' => 'Allow users to apply to staff?', 'config_updated' => 'Configuration Updated', 'config_updated_explain' => 'The config has been updated.', @@ -102,19 +104,19 @@ 'site_keys' => 'Site Keywords', 'site_name' => 'Site Name', 'use_compiled_tpl' => 'Use Compiled Templates?' -); +) ); // FAQ Categories // STANDARDIZE -$lang += array( +$L10n->put_langs( array( 'category_name' => 'Category Name', 'category_removed_success' => 'You have successfully removed a category.', 'create_faq_category' => 'Create FAQ Category', 'faq_category_create_success' => 'You have successfully created an FAQ Category.' -); +) ); // FAQ Entries -$lang += array( +$L10n->put_langs( array( 'answer' => 'Answer', 'edit_faq_entry' => 'Edit FAQ Category', 'faq_added_explain' => 'You have successfully added a new FAQ entry.', @@ -123,10 +125,10 @@ 'new_faq_entry' => 'New FAQ Entry', 'question' => 'Question', 'select_category' => 'Select Category' -); +) ); // News Types -$lang += array( +$L10n->put_langs( array( 'move_contents' => 'Move Contents', 'new_news_category' => 'New News Type', 'news_categories' => 'News Categories', @@ -134,20 +136,20 @@ 'type_desc' => 'Type Description', 'type_name' => 'Type Name', 'type_url' => 'Type URL' -); +) ); // Templates -$lang += array( +$L10n->put_langs( array( 'inst_uninst_complete' => 'Install/Uninstall Complete', 'inst_uninst_complete_explain' => 'Installation/Uninstallation of styles completed successfully.', 'install' => 'Install?', 'installed_styles' => 'Installed Styles', 'uninstall' => 'Uninstall?', 'uninstalled_styles' => 'Uninstalled Styles' -); +) ); // User Information -$lang += array( +$L10n->put_langs( array( 'activate_user' => 'Activate User?', 'delete_user' => 'Delete User', 'delete_user_success_explain' => 'Successfully removed user from CMSform<sup>E</sup> system.', @@ -156,10 +158,10 @@ 'multi_users_explain' => 'Your query returned more than one user. Please use fewer wildcards.', 'no_users' => 'No Users Found', 'no_users_explain' => 'Your search returned no users. Please try a different username.' -); +) ); // eCode management -$lang += array( +$L10n->put_langs( array( 'enable_answer' => 'Enable in FAQ Answers?', 'enable_article' => 'Enable in News Articles?', 'enable_comment' => 'Enable in Comments?', @@ -169,6 +171,6 @@ 'manage_ecode' => 'Manage eCode', 'specific_enable' => 'Specific Locations', 'success_update_ecode' => 'Successfully updated ecodes' -); +) ); ?> \ No newline at end of file Index: index.html =================================================================== RCS file: /cvsroot/cmsforme/CMSformE/l10n/en_US/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- index.html 4 Mar 2005 23:27:12 -0000 1.1 +++ index.html 23 Apr 2005 18:55:32 -0000 1.2 @@ -1,10 +1,10 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html lang="en"> +<html lang="en_US"> <head> - <title>CMSformE - languages/english/ Directory</title> + <title>l10n/en_US/ Directory :: CMSformE</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> - <h1 align="center">languages/english/ Directory for CMSform<sup>E</sup></h1> + <h1 align="center">l10n/en_US/ Directory for CMSform<sup>E</sup></h1> </body> </html> --- NEW FILE: l10n.txt --- English (United States) English (United States) Index: common.php =================================================================== RCS file: /cvsroot/cmsforme/CMSformE/l10n/en_US/common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- common.php 4 Mar 2005 23:27:12 -0000 1.1 +++ common.php 23 Apr 2005 18:55:32 -0000 1.2 @@ -1,7 +1,7 @@ <?php /******************************************************************* - * Filename: languages/english/main.php + * Filename: l10n/en_US/common.php * Copyright: © 2003-2005 CMSformE * $Id$ ******************************************************************* @@ -18,19 +18,21 @@ if( !( defined( 'ROOT' ) ) ) { - include( '../../includes/errors.php' ); + include( './../../includes/errors.php' ); viewed_alone(); } +$L10n->current_page = 'common'; + // Language Details -$lang += array( +$L10n->put_langs( array( 'charset' => 'iso-8859-1', 'dir' => 'ltr', - 'lang' => 'en' -); + 'lang' => 'en-US' +) ); // Miscellaneous -$lang += array( +$L10n->put_langs( array( 'back' => 'Back', 'by' => 'By', 'date' => 'Date', @@ -54,10 +56,10 @@ 'top' => 'Return to Top', 'users' => 'Users', 'yes' => 'Yes' -); +) ); // Sidebar -$lang += array( +$L10n->put_langs( array( 'april' => 'April', 'archives' => 'Archives', 'august' => 'August', @@ -73,10 +75,10 @@ 'registered_user' => 'There is <strong>1</strong> registered user on this CMSform<sup>E</sup> system.', 'registered_users' => 'There are <strong>%d</strong> registered users on this CMSform<sup>E</sup> system.', 'september' => 'September' -); +) ); // News -$lang += array( +$L10n->put_langs( array( 'allow_comments' => 'Allow Comments?', 'allow_ecode' => 'Allow eCode?', 'article_empty' => 'Article is Empty', @@ -133,18 +135,18 @@ 'recent_comments' => 'Recent Comments', 'short_text_explain' => 'If you do not want to display the full text of the article on the front page, enter a short version below. Otherwise, leave it empty.', 'text_explain' => 'Enter the full text of the article below.' -); +) ); // FAQ -$lang += array( +$L10n->put_langs( array( 'category' => 'Category', 'faq' => 'FAQ', 'faq_empty' => 'FAQ Empty', 'faq_empty_explain' => 'Sorry, there are no FAQ entries for your language.' -); +) ); // Staff -$lang += array( +$L10n->put_langs( array( 'administrator' => 'Administrator', 'apply_staff' => 'Apply to Staff', 'approve_user' => 'Approve User', @@ -165,10 +167,10 @@ 'staff_added' => 'This user was added to the roster of staff.', 'staff_denied' => 'This user\'s application for staff has been denied.', 'staff_pending' => 'You are now a pending staff member.' -); +) ); // Login -$lang += array( +$L10n->put_langs( array( 'already_logged_in' => 'Already Logged In', 'already_logged_in_explain' => 'You have already logged in.', 'auto_login_fail' => 'Automatic Login Failed', @@ -186,16 +188,16 @@ 'username' => 'Username', 'username_not_found' => 'Username Not Found', 'username_not_found_explain' => 'User <strong>%s</strong> not found.' -); +) ); // User Control Panel (Default) -$lang += array( +$L10n->put_langs( array( 'default' => 'Default', 'ucp' => 'User Control Panel' -); +) ); // User Control Panel (Register) -$lang += array( +$L10n->put_langs( array( 'aim' => 'AOL Instant Messenger', 'date_format' => 'Date Format', 'email' => 'E-mail Address', @@ -222,34 +224,34 @@ 'username_taken' => 'Username Already Taken', 'username_taken_explain' => 'The username you chose is already taken. Please go back and try a different one.', 'yim' => 'Yahoo! Instant Messenger' -); +) ); // User Control Panel (Edit Profile) -$lang += array( +$L10n->put_langs( array( 'edit_profile' => 'Edit Profile', 'update_success' => 'Success', 'update_success_explain' => 'Information Successfully Updated!' -); +) ); // Footer -$lang += array( +$L10n->put_langs( array( 'admin_panel' => 'Administrator Control Panel', 'article_panel' => 'Article Control Panel', 'copyright' => 'Copyright © 2003-2005 CMSform<sup>E</sup> Development Crew', 'generation_time' => 'Generation Time', 'powered_by' => 'Powered By CMSform<sup>E</sup>', 'staff_panel' => 'Staff Control Panel' -); +) ); // General Errors -$lang += array( +$L10n->put_langs( array( 'mail_status' => 'Failed sending %d emails' -); +) ); // E-mail Strings -$lang += array( +$L10n->put_langs( array( 'comment_notify_message' => "A new comment has been posted by %s in the article %s.\nYou can view this comment at %s", 'comment_notify_subject' => 'New Comment Notification :: %s', -); +) ); ?> \ No newline at end of file |