250 lines
7.9 KiB
PHP
250 lines
7.9 KiB
PHP
<?php
|
|
/**
|
|
* Tzn Framework
|
|
*
|
|
* @package tzn_language
|
|
* @author Stan Ozier <framework@tirzen.com>
|
|
* @version 0.4
|
|
* @copyright GNU Lesser General Public License (LGPL) version 3
|
|
*/
|
|
|
|
$GLOBALS['lang']['data'] = array(
|
|
'new' => 'new item',
|
|
'read' => 'read this item',
|
|
'view' => 'view details',
|
|
'modify' => 'modify item',
|
|
'delete' => 'delete this item',
|
|
'delete_confirm' => 'really delete this item ?',
|
|
'remove' => 'remove this item',
|
|
'remove_confirm' => 'really remove from the list ?',
|
|
'search' => 'search',
|
|
'next' => 'next',
|
|
'previous' => 'previous',
|
|
'next_page' => 'next page',
|
|
'previous_page' => 'previous page',
|
|
'all' => 'all',
|
|
'more' => 'more',
|
|
'less' => 'less',
|
|
'item_found' => 'item found',
|
|
'items_found' => 'items found',
|
|
'empty' => 'no data available'
|
|
);
|
|
|
|
$GLOBALS['lang']['message'] = array(
|
|
'saved' => 'data successfully saved',
|
|
'created' => 'data successfully created',
|
|
'updated' => 'data successfully updated',
|
|
'deleted' => 'data successfully deleted',
|
|
'removed' => 'data successfully removed'
|
|
);
|
|
|
|
$GLOBALS['lang']['error'] = array(
|
|
'db_no_connection' => 'can not connect to database',
|
|
'db_no_database' => 'database not found',
|
|
'db_sql_error' => 'database query error',
|
|
'sql_injection' => 'possible SQL injection intended',
|
|
'search_empty' => 'sorry, no item could be found',
|
|
'not_found' => 'data not found',
|
|
'login_failed' => 'login failed',
|
|
'access_denied' => 'access denied',
|
|
'data_denied' => 'access to data denied',
|
|
'not_found_denied' => 'data not found or access denied',
|
|
'action_failed' => 'requested action could not be performed',
|
|
'form_error' => 'form contains error(s)',
|
|
'compulsory_field' => 'information required',
|
|
'account_disabled' => 'account is disabled',
|
|
'account_expired' => 'account has expired',
|
|
'account_not_found' => 'account does not exist',
|
|
'username_required' => 'please enter your username',
|
|
'username_not_found'=> 'username does not exists',
|
|
'username_invalid' => 'not a valid username (avoid special characters or spaces)',
|
|
'username_length' => 'username must have between '.APP_USER_NAME_MIN.' and '.APP_USER_NAME_MAX.' characters',
|
|
'email_not_found' => 'email does not exists',
|
|
'password_required' => 'password required',
|
|
'password_invalid' => 'invalid password',
|
|
'password_length' => 'password must have between '.APP_USER_PASS_MIN.' and '.APP_USER_PASS_MAX.' characters',
|
|
'password_mismatch' => 'password and verification do not match',
|
|
'password_recover' => 'password can not be recovered',
|
|
'field_length' => 'too short or too long',
|
|
'field_exists' => 'this entry already exists',
|
|
'field_invalid' => 'entry is not valid',
|
|
'field_mismatch' => 'entries do not match',
|
|
'invalid_date' => 'not a valid date',
|
|
'invalid_time' => 'not a valid time',
|
|
'invalid_email' => 'e-mail address is not valid',
|
|
'invalid_duration' => 'not a valid duration',
|
|
'file_wrong_type' => 'wrong file type',
|
|
'file_empty' => 'please select a file',
|
|
'none_checked' => 'please check at least one item'
|
|
);
|
|
|
|
$GLOBALS['lang']['security'] = array(
|
|
'login' => 'login',
|
|
'logout' => 'logout',
|
|
'sign_in' => 'not a member? Sign in now',
|
|
'my_account' => 'my account',
|
|
'account' => 'account',
|
|
'account_active' => 'account is activated',
|
|
'account_not_active'=> 'account is not activated',
|
|
'account_enabled' => 'account is enabled',
|
|
'visit_count' => 'visits',
|
|
'visit_fail_count' => 'failed login attempts',
|
|
'access_denied' => 'access denied',
|
|
'permission_denied' => 'permission denied',
|
|
'session_expired' => 'your session has expired',
|
|
'login_last_date' => 'Last login date',
|
|
'login_last_address'=> 'Last login address'
|
|
);
|
|
|
|
$GLOBALS['lang']['form'] = array(
|
|
'compulsory' => 'compulsory',
|
|
'username' => 'username',
|
|
'password' => 'password',
|
|
'password_confirm' => '(verification)',
|
|
'auto_login' => 'remember me on this computer',
|
|
'password_legend' => 'enter a password (and confirm) only if you want to change it.',
|
|
'name' => 'name',
|
|
'category' => 'category',
|
|
'title' => 'title',
|
|
'last_name' => 'last name',
|
|
'middle_name' => 'middle name',
|
|
'first_name' => 'first name',
|
|
'nick_name' => 'nick name',
|
|
'address' => 'address',
|
|
'location' => 'location',
|
|
'city' => 'city',
|
|
'state' => 'state',
|
|
'state_us_only' => 'for US members only',
|
|
'country' => 'country',
|
|
'time_zone' => 'time zone',
|
|
'user_rights' => 'permissions',
|
|
'email' => 'email',
|
|
'subject' => 'subject',
|
|
'body' => 'body',
|
|
'comment' => 'comment',
|
|
'in' => 'in',
|
|
'out' => 'out',
|
|
'from' => 'from',
|
|
'to' => 'to',
|
|
'cc' => 'cc',
|
|
'url' => 'URL',
|
|
'website' => 'website',
|
|
'description' => 'description',
|
|
'user' => 'user',
|
|
'member' => 'member',
|
|
'author' => 'author',
|
|
'status' => 'status',
|
|
'file' => 'file',
|
|
'image' => 'image',
|
|
'thumbnail' => 'thumbnail',
|
|
'document' => 'document',
|
|
'file_legend' => 'please select a file by clicking the \'Browse..\' button',
|
|
'file_name' => 'filename',
|
|
'file_size' => 'file size',
|
|
'file_type' => 'file type',
|
|
'date' => 'date',
|
|
'deadline' => 'deadline',
|
|
'start' => 'start',
|
|
'stop' => 'stop',
|
|
'publish_date' => 'publish',
|
|
'post_date' => 'post',
|
|
'creation_date' => 'date of creation',
|
|
'last_change_date' => 'last update',
|
|
'last_visit_date' => 'last visit',
|
|
'last_visit_addr' => 'from',
|
|
'posted_on' => 'posted on',
|
|
'published on' => 'published on',
|
|
'by' => 'by',
|
|
'action' => 'action'
|
|
);
|
|
|
|
// buttons
|
|
$GLOBALS['lang']['button'] = array(
|
|
'add' => 'add',
|
|
'create' => 'create',
|
|
'edit' => 'edit',
|
|
'submit' => 'submit',
|
|
'login' => 'login',
|
|
'save' => 'save',
|
|
'save_changes' => 'save changes',
|
|
'save_and_add' => 'save and add more',
|
|
'save_and_close' => 'save and close',
|
|
'update' => 'update',
|
|
'cancel' => 'cancel',
|
|
'close' => 'close',
|
|
'reset' => 'reset form',
|
|
'delete' => 'delete',
|
|
'remove' => 'remove',
|
|
'start' => 'start',
|
|
'stop' => 'stop',
|
|
'enable' => 'enable',
|
|
'disable' => 'disable',
|
|
'activate' => 'activate',
|
|
'deactivate' => 'deactivate',
|
|
'next_step' => 'next step',
|
|
'previous_step' => 'previous step',
|
|
'back' => 'go back',
|
|
'back_to_list' => 'back to list'
|
|
);
|
|
|
|
$GLOBALS['lang']['date'] = array(
|
|
'future_pre' => 'in', // eg. "in" 2 days
|
|
'future_app' => '', // ie. when keyword needs to be appended to the date
|
|
'past_pre' => '', // eg. "il y a" 2 jours (french)
|
|
'past_app' => 'ago', // eg. 2 days "ago"
|
|
'yesterday' => 'yesterday',
|
|
'today' => 'today',
|
|
'tomorrow' => 'tomorrow',
|
|
'days' => 'days',
|
|
'day' => 'day',
|
|
'weeks' => 'weeks',
|
|
'week' => 'week',
|
|
'months' => 'months',
|
|
'month' => 'month',
|
|
'years' => 'years',
|
|
'year' => 'year',
|
|
'hour' => 'hour',
|
|
'hours' => 'hours',
|
|
'minute' => 'minute',
|
|
'minutes' => 'minutes',
|
|
'second' => 'second',
|
|
'seconds' => 'seconds',
|
|
'january' => 'january',
|
|
'february' => 'february',
|
|
'march' => 'march',
|
|
'april' => 'april',
|
|
'may' => 'may',
|
|
'june' => 'june',
|
|
'july' => 'july',
|
|
'august' => 'august',
|
|
'september' => 'september',
|
|
'october' => 'october',
|
|
'november' => 'november',
|
|
'december' => 'december',
|
|
'jan' => 'jan',
|
|
'feb' => 'feb',
|
|
'mar' => 'mar',
|
|
'apr' => 'apr',
|
|
'may' => 'may',
|
|
'jun' => 'jun',
|
|
'jul' => 'jul',
|
|
'aug' => 'aug',
|
|
'sep' => 'sep',
|
|
'oct' => 'oct',
|
|
'nov' => 'nov',
|
|
'dec' => 'dec',
|
|
'monday' => 'monday',
|
|
'tuesday' => 'tuesday',
|
|
'wednesday' => 'wednesday',
|
|
'thursday' => 'thursday',
|
|
'friday' => 'friday',
|
|
'saturday' => 'saturday',
|
|
'sunday' => 'sunday',
|
|
'mon' => 'mon',
|
|
'tue' => 'tue',
|
|
'wed' => 'wed',
|
|
'thu' => 'thu',
|
|
'fri' => 'fri',
|
|
'sat' => 'sat',
|
|
'sun' => 'sun'
|
|
); |