[ Index ]
osCommerce Docs :: PHP Cross Reference For osCommerce 2.2 MS2
Provided By OSCdox.com

/includes/languages/ -> english.php (source)

[Summary view]

   1  <?php
   2  /*
   3    $Id: english.php,v 1.114 2003/07/09 18:13:39 dgw_ Exp $
   4  
   5    osCommerce, Open Source E-Commerce Solutions
   6    http://www.oscommerce.com
   7  
   8    Copyright (c) 2003 osCommerce
   9  
  10    Released under the GNU General Public License
  11  */
  12  
  13  // look in your $PATH_LOCALE/locale directory for available locales
  14  // or type locale -a on the server.
  15  // Examples:
  16  // on RedHat try 'en_US'
  17  // on FreeBSD try 'en_US.ISO_8859-1'
  18  // on Windows try 'en', or 'English'
  19  @setlocale(LC_TIME, 'en_US.ISO_8859-1');
  20  
  21  define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
  22  define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
  23  define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
  24  define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
  25  
  26  ////
  27  // Return date in raw format
  28  // $date should be in format mm/dd/yyyy
  29  // raw date is in format YYYYMMDD, or DDMMYYYY
  30  function tep_date_raw($date, $reverse = false) {
  31    if ($reverse) {
  32      return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
  33    } else {
  34      return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
  35    }
  36  }
  37  
  38  // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
  39  define('LANGUAGE_CURRENCY', 'USD');
  40  
  41  // Global entries for the <html> tag
  42  define('HTML_PARAMS','dir="LTR" lang="en"');
  43  
  44  // charset for web pages and emails
  45  define('CHARSET', 'iso-8859-1');
  46  
  47  // page title
  48  define('TITLE', 'osCommerce');
  49  
  50  // header text in includes/header.php
  51  define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');
  52  define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  53  define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents');
  54  define('HEADER_TITLE_CHECKOUT', 'Checkout');
  55  define('HEADER_TITLE_TOP', 'Top');
  56  define('HEADER_TITLE_CATALOG', 'Catalog');
  57  define('HEADER_TITLE_LOGOFF', 'Log Off');
  58  define('HEADER_TITLE_LOGIN', 'Log In');
  59  
  60  // footer text in includes/footer.php
  61  define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');
  62  
  63  // text for gender
  64  define('MALE', 'Male');
  65  define('FEMALE', 'Female');
  66  define('MALE_ADDRESS', 'Mr.');
  67  define('FEMALE_ADDRESS', 'Ms.');
  68  
  69  // text for date of birth example
  70  define('DOB_FORMAT_STRING', 'mm/dd/yyyy');
  71  
  72  // categories box text in includes/boxes/categories.php
  73  define('BOX_HEADING_CATEGORIES', 'Categories');
  74  
  75  // manufacturers box text in includes/boxes/manufacturers.php
  76  define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');
  77  
  78  // whats_new box text in includes/boxes/whats_new.php
  79  define('BOX_HEADING_WHATS_NEW', 'What\'s New?');
  80  
  81  // quick_find box text in includes/boxes/quick_find.php
  82  define('BOX_HEADING_SEARCH', 'Quick Find');
  83  define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.');
  84  define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search');
  85  
  86  // specials box text in includes/boxes/specials.php
  87  define('BOX_HEADING_SPECIALS', 'Specials');
  88  
  89  // reviews box text in includes/boxes/reviews.php
  90  define('BOX_HEADING_REVIEWS', 'Reviews');
  91  define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!');
  92  define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews');
  93  define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!');
  94  
  95  // shopping_cart box text in includes/boxes/shopping_cart.php
  96  define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart');
  97  define('BOX_SHOPPING_CART_EMPTY', '0 items');
  98  
  99  // order_history box text in includes/boxes/order_history.php
 100  define('BOX_HEADING_CUSTOMER_ORDERS', 'Order History');
 101  
 102  // best_sellers box text in includes/boxes/best_sellers.php
 103  define('BOX_HEADING_BESTSELLERS', 'Bestsellers');
 104  define('BOX_HEADING_BESTSELLERS_IN', 'Bestsellers in<br>&nbsp;&nbsp;');
 105  
 106  // notifications box text in includes/boxes/products_notifications.php
 107  define('BOX_HEADING_NOTIFICATIONS', 'Notifications');
 108  define('BOX_NOTIFICATIONS_NOTIFY', 'Notify me of updates to <b>%s</b>');
 109  define('BOX_NOTIFICATIONS_NOTIFY_REMOVE', 'Do not notify me of updates to <b>%s</b>');
 110  
 111  // manufacturer box text
 112  define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');
 113  define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage');
 114  define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products');
 115  
 116  // languages box text in includes/boxes/languages.php
 117  define('BOX_HEADING_LANGUAGES', 'Languages');
 118  
 119  // currencies box text in includes/boxes/currencies.php
 120  define('BOX_HEADING_CURRENCIES', 'Currencies');
 121  
 122  // information box text in includes/boxes/information.php
 123  define('BOX_HEADING_INFORMATION', 'Information');
 124  define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
 125  define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
 126  define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
 127  define('BOX_INFORMATION_CONTACT', 'Contact Us');
 128  
 129  // tell a friend box text in includes/boxes/tell_a_friend.php
 130  define('BOX_HEADING_TELL_A_FRIEND', 'Tell A Friend');
 131  define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.');
 132  
 133  // checkout procedure text
 134  define('CHECKOUT_BAR_DELIVERY', 'Delivery Information');
 135  define('CHECKOUT_BAR_PAYMENT', 'Payment Information');
 136  define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation');
 137  define('CHECKOUT_BAR_FINISHED', 'Finished!');
 138  
 139  // pull down default text
 140  define('PULL_DOWN_DEFAULT', 'Please Select');
 141  define('TYPE_BELOW', 'Type Below');
 142  
 143  // javascript messages
 144  define('JS_ERROR', 'Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n');
 145  
 146  define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n');
 147  define('JS_REVIEW_RATING', '* You must rate the product for your review.\n');
 148  
 149  define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.\n');
 150  
 151  define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.');
 152  
 153  define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');
 154  
 155  define('CATEGORY_COMPANY', 'Company Details');
 156  define('CATEGORY_PERSONAL', 'Your Personal Details');
 157  define('CATEGORY_ADDRESS', 'Your Address');
 158  define('CATEGORY_CONTACT', 'Your Contact Information');
 159  define('CATEGORY_OPTIONS', 'Options');
 160  define('CATEGORY_PASSWORD', 'Your Password');
 161  
 162  define('ENTRY_COMPANY', 'Company Name:');
 163  define('ENTRY_COMPANY_ERROR', '');
 164  define('ENTRY_COMPANY_TEXT', '');
 165  define('ENTRY_GENDER', 'Gender:');
 166  define('ENTRY_GENDER_ERROR', 'Please select your Gender.');
 167  define('ENTRY_GENDER_TEXT', '*');
 168  define('ENTRY_FIRST_NAME', 'First Name:');
 169  define('ENTRY_FIRST_NAME_ERROR', 'Your First Name must contain a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.');
 170  define('ENTRY_FIRST_NAME_TEXT', '*');
 171  define('ENTRY_LAST_NAME', 'Last Name:');
 172  define('ENTRY_LAST_NAME_ERROR', 'Your Last Name must contain a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.');
 173  define('ENTRY_LAST_NAME_TEXT', '*');
 174  define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');
 175  define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970)');
 176  define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');
 177  define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');
 178  define('ENTRY_EMAIL_ADDRESS_ERROR', 'Your E-Mail Address must contain a minimum of ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.');
 179  define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', 'Your E-Mail Address does not appear to be valid - please make any necessary corrections.');
 180  define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', 'Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address.');
 181  define('ENTRY_EMAIL_ADDRESS_TEXT', '*');
 182  define('ENTRY_STREET_ADDRESS', 'Street Address:');
 183  define('ENTRY_STREET_ADDRESS_ERROR', 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.');
 184  define('ENTRY_STREET_ADDRESS_TEXT', '*');
 185  define('ENTRY_SUBURB', 'Suburb:');
 186  define('ENTRY_SUBURB_ERROR', '');
 187  define('ENTRY_SUBURB_TEXT', '');
 188  define('ENTRY_POST_CODE', 'Post Code:');
 189  define('ENTRY_POST_CODE_ERROR', 'Your Post Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.');
 190  define('ENTRY_POST_CODE_TEXT', '*');
 191  define('ENTRY_CITY', 'City:');
 192  define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.');
 193  define('ENTRY_CITY_TEXT', '*');
 194  define('ENTRY_STATE', 'State/Province:');
 195  define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');
 196  define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');
 197  define('ENTRY_STATE_TEXT', '*');
 198  define('ENTRY_COUNTRY', 'Country:');
 199  define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.');
 200  define('ENTRY_COUNTRY_TEXT', '*');
 201  define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');
 202  define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');
 203  define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
 204  define('ENTRY_FAX_NUMBER', 'Fax Number:');
 205  define('ENTRY_FAX_NUMBER_ERROR', '');
 206  define('ENTRY_FAX_NUMBER_TEXT', '');
 207  define('ENTRY_NEWSLETTER', 'Newsletter:');
 208  define('ENTRY_NEWSLETTER_TEXT', '');
 209  define('ENTRY_NEWSLETTER_YES', 'Subscribed');
 210  define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');
 211  define('ENTRY_NEWSLETTER_ERROR', '');
 212  define('ENTRY_PASSWORD', 'Password:');
 213  define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
 214  define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.');
 215  define('ENTRY_PASSWORD_TEXT', '*');
 216  define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:');
 217  define('ENTRY_PASSWORD_CONFIRMATION_TEXT', '*');
 218  define('ENTRY_PASSWORD_CURRENT', 'Current Password:');
 219  define('ENTRY_PASSWORD_CURRENT_TEXT', '*');
 220  define('ENTRY_PASSWORD_CURRENT_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
 221  define('ENTRY_PASSWORD_NEW', 'New Password:');
 222  define('ENTRY_PASSWORD_NEW_TEXT', '*');
 223  define('ENTRY_PASSWORD_NEW_ERROR', 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
 224  define('ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING', 'The Password Confirmation must match your new Password.');
 225  define('PASSWORD_HIDDEN', '--HIDDEN--');
 226  
 227  define('FORM_REQUIRED_INFORMATION', '* Required information');
 228  
 229  // constants for use in tep_prev_next_display function
 230  define('TEXT_RESULT_PAGE', 'Result Pages:');
 231  define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');
 232  define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');
 233  define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> reviews)');
 234  define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> new products)');
 235  define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> specials)');
 236  
 237  define('PREVNEXT_TITLE_FIRST_PAGE', 'First Page');
 238  define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page');
 239  define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page');
 240  define('PREVNEXT_TITLE_LAST_PAGE', 'Last Page');
 241  define('PREVNEXT_TITLE_PAGE_NO', 'Page %d');
 242  define('PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE', 'Previous Set of %d Pages');
 243  define('PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE', 'Next Set of %d Pages');
 244  define('PREVNEXT_BUTTON_FIRST', '&lt;&lt;FIRST');
 245  define('PREVNEXT_BUTTON_PREV', '[&lt;&lt;&nbsp;Prev]');
 246  define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;&gt;&gt;]');
 247  define('PREVNEXT_BUTTON_LAST', 'LAST&gt;&gt;');
 248  
 249  define('IMAGE_BUTTON_ADD_ADDRESS', 'Add Address');
 250  define('IMAGE_BUTTON_ADDRESS_BOOK', 'Address Book');
 251  define('IMAGE_BUTTON_BACK', 'Back');
 252  define('IMAGE_BUTTON_BUY_NOW', 'Buy Now');
 253  define('IMAGE_BUTTON_CHANGE_ADDRESS', 'Change Address');
 254  define('IMAGE_BUTTON_CHECKOUT', 'Checkout');
 255  define('IMAGE_BUTTON_CONFIRM_ORDER', 'Confirm Order');
 256  define('IMAGE_BUTTON_CONTINUE', 'Continue');
 257  define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping');
 258  define('IMAGE_BUTTON_DELETE', 'Delete');
 259  define('IMAGE_BUTTON_EDIT_ACCOUNT', 'Edit Account');
 260  define('IMAGE_BUTTON_HISTORY', 'Order History');
 261  define('IMAGE_BUTTON_LOGIN', 'Sign In');
 262  define('IMAGE_BUTTON_IN_CART', 'Add to Cart');
 263  define('IMAGE_BUTTON_NOTIFICATIONS', 'Notifications');
 264  define('IMAGE_BUTTON_QUICK_FIND', 'Quick Find');
 265  define('IMAGE_BUTTON_REMOVE_NOTIFICATIONS', 'Remove Notifications');
 266  define('IMAGE_BUTTON_REVIEWS', 'Reviews');
 267  define('IMAGE_BUTTON_SEARCH', 'Search');
 268  define('IMAGE_BUTTON_SHIPPING_OPTIONS', 'Shipping Options');
 269  define('IMAGE_BUTTON_TELL_A_FRIEND', 'Tell a Friend');
 270  define('IMAGE_BUTTON_UPDATE', 'Update');
 271  define('IMAGE_BUTTON_UPDATE_CART', 'Update Cart');
 272  define('IMAGE_BUTTON_WRITE_REVIEW', 'Write Review');
 273  
 274  define('SMALL_IMAGE_BUTTON_DELETE', 'Delete');
 275  define('SMALL_IMAGE_BUTTON_EDIT', 'Edit');
 276  define('SMALL_IMAGE_BUTTON_VIEW', 'View');
 277  
 278  define('ICON_ARROW_RIGHT', 'more');
 279  define('ICON_CART', 'In Cart');
 280  define('ICON_ERROR', 'Error');
 281  define('ICON_SUCCESS', 'Success');
 282  define('ICON_WARNING', 'Warning');
 283  
 284  define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
 285  define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
 286  define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');
 287  
 288  define('TEXT_SORT_PRODUCTS', 'Sort products ');
 289  define('TEXT_DESCENDINGLY', 'descendingly');
 290  define('TEXT_ASCENDINGLY', 'ascendingly');
 291  define('TEXT_BY', ' by ');
 292  
 293  define('TEXT_REVIEW_BY', 'by %s');
 294  define('TEXT_REVIEW_WORD_COUNT', '%s words');
 295  define('TEXT_REVIEW_RATING', 'Rating: %s [%s]');
 296  define('TEXT_REVIEW_DATE_ADDED', 'Date Added: %s');
 297  define('TEXT_NO_REVIEWS', 'There are currently no product reviews.');
 298  
 299  define('TEXT_NO_NEW_PRODUCTS', 'There are currently no products.');
 300  
 301  define('TEXT_UNKNOWN_TAX_RATE', 'Unknown tax rate');
 302  
 303  define('TEXT_REQUIRED', '<span class="errorText">Required</span>');
 304  
 305  define('ERROR_TEP_MAIL', '<font face="Verdana, Arial" size="2" color="#ff0000"><b><small>TEP ERROR:</small> Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.</b></font>');
 306  define('WARNING_INSTALL_DIRECTORY_EXISTS', 'Warning: Installation directory exists at: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install. Please remove this directory for security reasons.');
 307  define('WARNING_CONFIG_FILE_WRITEABLE', 'Warning: I am able to write to the configuration file: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.');
 308  define('WARNING_SESSION_DIRECTORY_NON_EXISTENT', 'Warning: The sessions directory does not exist: ' . tep_session_save_path() . '. Sessions will not work until this directory is created.');
 309  define('WARNING_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warning: I am not able to write to the sessions directory: ' . tep_session_save_path() . '. Sessions will not work until the right user permissions are set.');
 310  define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.');
 311  define('WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT', 'Warning: The downloadable products directory does not exist: ' . DIR_FS_DOWNLOAD . '. Downloadable products will not work until this directory is valid.');
 312  
 313  define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.');
 314  define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.');
 315  define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.');
 316  
 317  /*
 318    The following copyright announcement can only be
 319    appropriately modified or removed if the layout of
 320    the site theme has been modified to distinguish
 321    itself from the default osCommerce-copyrighted
 322    theme.
 323  
 324    For more information please read the following
 325    Frequently Asked Questions entry on the osCommerce
 326    support site:
 327  
 328    http://www.oscommerce.com/community.php/faq,26/q,50
 329  
 330    Please leave this comment intact together with the
 331    following copyright announcement.
 332  */
 333  define('FOOTER_TEXT_BODY', 'Copyright &copy; 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');
 334  ?>


Generated: Tue Nov 4 23:53:39 2003
Hosted By :: AABox.com
Cross-referenced by PHPXref 0.4