CLICK HERE TO BUY IT TODAY! OR GET IT FREE VIA TRIALPAY  

PHP Demo Application - Source Code

/Application/Model/MetaData/Languages/English.php

<?php
/**
* English Language Labels and Messages
*/

// Settings

// MySQL Character Set
define('APEEL_MYSQL_CHARSET''latin1');

// Page Character Set
define('APEEL_PAGE_CHARSET''UTF-8');



// Translations

// Written using the Apeel Framework
define('APEEL_WRITTEN_USING_APEEL''Written using the Apeel Framework'); 

// FATAL ERROR!
define('APEEL_LANGUAGE_FATAL_ERROR''FATAL ERROR!');                                        

// Need help?  Please visit
define('APEEL_LANGUAGE_NEED_HELP''Need help?  Please visit');

// Technical Support Department
define('APEEL_LANGUAGE_TECHNICAL_SUPPORT_DEPARTMENT''Technical Support Department');

// PHP Info
define('APEEL_LANGUAGE_PHP_INFO''PHP Info');

// Welcome to
define('APEEL_LANGUAGE_WELCOME_TO''Welcome to');

// Try Again
define('APEEL_LANGUAGE_TRY_AGAIN''Try Again');

// Sorry, an error occurred!<br />Our engineers have been notified and will rectify the issue shortly.
define('APEEL_LANGUAGE_ERROR_OCCURRED''Sorry, an error occurred!<br />Our engineers have been notified and will rectify the issue shortly.');
    
// Please Select
define('APEEL_LANGUAGE_PLEASE_SELECT''Please Select');    

// Please enter text to bring up matching options
define('APEEL_LANGUAGE_PLEASE_ENTER_TEXT''Please enter text to bring up matching options');

// Options Available
define('APEEL_LANGUAGE_OPTIONS_AVAILABLE''Options Available');

// Options Selected
define('APEEL_LANGUAGE_OPTIONS_SELECTED''Options Selected');

// View Matching Records
define('APEEL_BUTTON_VIEW_MATCHING_RECORDS''View Matching Records');

// Cancel
define('APEEL_BUTTON_CANCEL''Cancel');

// Select Column to Filter Results
define('APEEL_LABEL_SELECT_COLUMN''Select Column to Filter Results');

// Edit Selected Record
define('APEEL_BUTTON_LABEL_EDIT''Edit Selected Record');

// Delete
define('APEEL_BUTTON_LABEL_DELETE''Delete');

// Add Record
define('APEEL_BUTTON_LABEL_ADD_RECORD''Add Record');

// Deselect Sort Columns
define('APEEL_BUTTON_LABEL_DESELECT''Deselect Sort Columns');

// Select
define('APEEL_BUTTON_LABEL_SELECT''Select');

// Add
define('APEEL_BUTTON_LABEL_ADD''Add');

// Current User
define('APEEL_MENU_CURRENT_USER''Current User');

// Home
define('APEEL_MENU_HOME''Home');

// Admin
define('APEEL_MENU_ADMIN''Admin');

// Logout
define('APEEL_MENU_LOGOUT''Logout');

// Help
define('APEEL_MENU_HELP''Help');

// Login
define('APEEL_MENU_LOGIN''Login');

// Username
define('APEEL_LOGIN_USERNAME''Username');

// Password
define('APEEL_LOGIN_PASSWORD''Password');

// Admin
define('APEEL_TITLE_ADMIN''Admin');

// maintenance
define('APEEL_TITLE_MAINTENANCE''maintenance');

// File
define('APEEL_MSG_FILE''File');

// is too large, please try again with a smaller file
define('APEEL_MSG_FILE_TOO_BIG''is too large, please try again with a smaller file');

// Unable to Upload File
define('APEEL_MSG_UNABLE_UPLOAD''Unable to Upload File');

// please try again.
define('APEEL_MSG_TRY_AGAIN''please try again.');

// There was an error uploading the file
define('APEEL_MSG_ERROR_UPLOAD_FILE''There was an error uploading the file');

// Invalid File Extension
define('APEEL_MSG_INVALID_FILE_EXTENSION''Invalid File Extension');

// Login Successful
define('APEEL_MSG_LOGIN_SUCCESSFUL''Login Successful');

// Login Credentials not recognised!<br />Please check and try again.
define('APEEL_MSG_LOGIN_NOT_RECOGNISED''Login Credentials not recognised!');

// Error Saving Data, Please check and try again!
define('APEEL_MSG_ERROR_SAVING_DATA''Error Saving Data, Please check and try again!');

// is too short.  Minimum Length
define('APEEL_VALIDATION_TOO_SHORT''is too short.  Minimum Length');

// characters
define('APEEL_VALIDATION_CHARACTERS''characters');

// This field is required!
define('APEEL_VALIDATION_FIELD_REQUIRED''This field is required!');

// Password is required!
define('APEEL_VALIDATION_PASSWORD_IS_REQUIRED''Password is required!');

// Passwords must match!
define('APEEL_VALIDATION_PASSWORDS_MUST_MATCH''Passwords must match!');

// This field must have at least %s characters!
define('APEEL_VALIDATION_MIN_LENGTH''This field must have at least %s characters!');

// is required!
define('APEEL_VALIDATION_IS_REQUIRED''is required!');

// does not match confirmation value!
define('APEEL_VALIDATION_NO_MATCH''does not match confirmation value!');

// Click Admin Menu to begin
define('APEEL_MSG_CLICK_ADMIN_MENU''Click Admin Menu to begin');

// Javascript Strings
define('APEEL_LANGUAGE_JAVASCRIPT'"
    <script type=\"text/javascript\">
        var NEWLINE = " 
'"\r\n"' ";
        
        var language = new Object();
        language.CANCEL = 'Cancel';
        language.SAVE = 'Save';
        language.LOGIN = 'Login';
        language.ADDRECORD = '" 
APEEL_BUTTON_LABEL_ADD_RECORD "';
        language.EDITRECORD = 'Edit Record';
        language.LOGINTITLE = '" 
APEEL_APPLICATION_NAME " - ' + language.LOGIN;         
        
        language.FILTER_BEGINS = 'Begins With';
        language.FILTER_CONTAINS = 'Contains';
        language.FILTER_EQUALS = 'Equals';
        language.FILTER_NOTEQUALS = 'Not Equals';
        language.FILTER_ENDSWITH = 'Ends With';
        language.FILTER_SOUNDSLIKE = 'Sounds Like';
        language.FILTER_SOUNDSUNLIKE = 'Sounds Unlike';
        language.FILTER_REGEXPRESSION = 'Regular Expression';
        language.FILTER_ISNULL = 'Is Null';
        language.FILTER_ISNOTNULL = 'Is Not Null';
        language.PLEASE_SELECT = 'Please Select';
        
        language.MSG_CONFIRM_CANCEL_EDIT = 'Are you sure that you want to abandon editing? ASDF';
        language.MSG_UNABLE_CONTACT_SERVER = 'Unable to contact Server - please try again';
        language.MSG_ERROR_SAVING_DATA = 'Error Saving Data:';
        language.MSG_ERROR_SAVING_DATA_TRY_AGAIN = 'Error Saving Data - Please try again';
        language.MSG_ERROR_OCCURRED = 'Sorry, an error occurred - please try again';
        
        language.ALERT_THIS_RECORD_HAS = 'This record has';
        language.ALERT_THOSE_RECORDS_HAVE = 'Those records have';
        language.ALERT_DEPENDANT_RECORDS = ' dependent record(s) in other tables and cannot be deleted.' + NEWLINE + 'Please delete dependent records and try again.';
        language.ALERT_ONE_RECORD_HAS = '1 Record has';
        language.ALERT_RECORDS_HAVE = ' Records have';
        language.ALERT_ONE_RECORD = '1 record';
        language.ALERT_RECORDS = ' records';
        language.ALERT_DEPENDANT_DELETE = ' dependent record(s) in other tables and cannot be deleted.' + NEWLINE + 'Delete the other ';
        language.ALERT_DELETE = 'Delete ';
        language.ALERT_ITEM = ' item';
        language.ALERT_ITEMS = ' items';
        
        language.GRID_ERRORMSG = 'Connection Error';
        language.GRID_STATS = 'Displaying {from} to {to} of {total} items';
        language.GRID_PAGE = 'Page';
        language.GRID_OF = 'of';
        language.GRID_FIND = 'Find';
        language.GRID_PROCESSING = 'Processing, please wait ...';
        language.GRID_NOITEMS = 'No items';
        language.GRID_RECORDS_MARKED = '(Records marked [*] have linked records and cannot be deleted)';
        language.GRID_EXPORT_ALL = 'Export All';
        
        language.COMMAND_EDIT_RECORD = '" 
APEEL_BUTTON_LABEL_EDIT "';
        language.COMMAND_DELETE_RECORD = '" 
APEEL_BUTTON_LABEL_DELETE "';
        language.COMMAND_ADD_RECORD = '" 
APEEL_BUTTON_LABEL_ADD_RECORD "';
        language.COMMAND_DESELECT = '" 
APEEL_BUTTON_LABEL_DESELECT "';
        language.COMMAND_SELECT = '" 
APEEL_BUTTON_LABEL_SELECT "';
        
    </script>
"
);

?>

PHP Demo Source Code Index