home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / TRIAL / JBUILDER / JREFRNCE.Z / Res.java < prev    next >
Encoding:
Java Source  |  1998-05-08  |  11.9 KB  |  285 lines

  1. /*
  2.  * Copyright (c) 1997-1998 Borland International, Inc. All Rights Reserved.
  3.  * 
  4.  * This SOURCE CODE FILE, which has been provided by Borland as part
  5.  * of a Borland product for use ONLY by licensed users of the product,
  6.  * includes CONFIDENTIAL and PROPRIETARY information of Borland.  
  7.  *
  8.  * USE OF THIS SOFTWARE IS GOVERNED BY THE TERMS AND CONDITIONS 
  9.  * OF THE LICENSE STATEMENT AND LIMITED WARRANTY FURNISHED WITH
  10.  * THE PRODUCT.
  11.  *
  12.  * IN PARTICULAR, YOU WILL INDEMNIFY AND HOLD BORLAND, ITS RELATED
  13.  * COMPANIES AND ITS SUPPLIERS, HARMLESS FROM AND AGAINST ANY CLAIMS
  14.  * OR LIABILITIES ARISING OUT OF THE USE, REPRODUCTION, OR DISTRIBUTION
  15.  * OF YOUR PROGRAMS, INCLUDING ANY CLAIMS OR LIABILITIES ARISING OUT OF
  16.  * OR RESULTING FROM THE USE, MODIFICATION, OR DISTRIBUTION OF PROGRAMS
  17.  * OR FILES CREATED FROM, BASED ON, AND/OR DERIVED FROM THIS SOURCE
  18.  * CODE FILE.
  19.  */
  20.  
  21. //Title:        Cliffhanger Adventure Gear
  22. //Version:
  23. //Copyright:    Copyright (c) 1997 Borland International, Inc.
  24. //Author:       Application Methods, Inc.
  25. //Description:  Cliffhanger Adventure Gear order entry system
  26.  
  27. package borland.reference.cliffhanger;
  28.  
  29. import java.util.*;
  30.  
  31. /*
  32.  ResourceBundles are the standard JDK 1.1 mechanism to allow an application to
  33.  respond to different user locale environments. Locale dependent resources,
  34.  such as messages, are isolated into ResourceBundles, separate from the code
  35.  that will be universal among locales. With a single set of class files, the
  36.  language of menus and messages of an application can change depending on
  37.  whether it is run in the United States or Japan.
  38.  
  39.  We have adopted our own convention of prefixing the Bundle Keys with the
  40.  initials of the corresponding java file where the string is used.
  41.  This has the advantage that we can change a string for one frame without
  42.  affecting other frames that might use the same string. However, it does
  43.  end up with some redundancy. Depending on your needs you could choose to do
  44.  it as we have, or use common Bundle Keys across the entire application.
  45.  
  46.  Because resource bundles are loaded dynamically at runtime, it is not
  47.  possible at compile time to know which resource bundles need to be recompiled.
  48.  Thus in order to see changes you make to this file updated in the application,
  49.  you must explicitly recompile this file whenever you make a change to it.
  50.  
  51.  The comment '// must be consistent with DataStock.sql' indicates that if the
  52.  string is localized here, it must also be changed in DataStock.sql.  This is
  53.  because some of the data elements appearing in the UI (e.g., the column
  54.  on which to perform a search) are stored as data in database tables.
  55. */
  56.  
  57. public class Res extends ListResourceBundle {
  58.   static final Object[][] contents = {
  59. // SplashFrame
  60.      {"SF_Loading_","Loading ..."},
  61.      // MainFrame
  62.      {"MF_Cliffhanger_Title","Cliffhanger Order Management System"},
  63.      {"MF_DBConnect_Failed", "Unable to connect to the cliffhanger database. Closing the application..."},
  64.      {"MF_Error","Error"},
  65.      {"MF_File","File"},
  66.      {"MF_Exit","Exit"},
  67.      {"MF_Help","Help"},
  68.      {"MF_About","About"},
  69.      {"MF_Orders","Orders"},
  70.      {"MF_Customers","Customers"},
  71.      {"MF_Products","Products"},
  72.      {"MF_Categories","Categories"},
  73.      {"MF_New_Order","New Order"},
  74.      {"MF_Find_Order","Find Order"},
  75.      {"MF_New_Customer","New Customer"},
  76.      {"MF_Find_Customer","Find Customer"},
  77.      {"MF_New_Product","New Product"},
  78.      {"MF_Find_Product","Find Product"},
  79.      {"MF_Customer_Orders","Customer Orders"},
  80.      {"MF_Customer_Records","Customer Records"},
  81.      {"MF_Cliffhanger_Products","Cliffhanger Products"},
  82.      {"MF_Product_Categories","Product Categories"},
  83.      {"MF_Exit_Cliffhanger","Exit Cliffhanger Application"},
  84.      {"MF_OK","OK"},
  85.      //AboutBox
  86.      {"AB_product","Cliffhanger Adventure Gear"},
  87.      {"AB_version","Version 1.0, 97.10.25"},
  88.      {"AB_copyright","Copyright (c) 1997 Borland International, Inc."},
  89.      {"AB_comments","Cliffhanger Adventure Gear order entry system"},
  90.      {"AB_writtenby","Written by Application Methods, Inc."},
  91.      //OrderEntryFrame
  92.      {"OEF_Orders","Orders"},
  93.      {"OEF_Bill_To","Bill To"},
  94.      {"OEF_Ship_To","Ship To"},
  95.      {"OEF_Date","Date:"},
  96.      {"OEF_Credit_Card_No","Credit Card #"},
  97.      {"OEF_Payment_Method","Payment Method"},
  98.      {"OEF_Ship_Via","Ship Via"},
  99.      {"OEF_Status","Status"},
  100.      {"OEF_Save","Save"},
  101.      {"OEF_Cancel","Cancel"},
  102.      {"OEF_Close","Close"},
  103.      {"OEF_SubTotal","SubTotal:"},
  104.      {"OEF_Tax","Tax:"},
  105.      {"OEF_Shipping","Shipping:"},
  106.      {"OEF_Paid","Paid:"},
  107.      {"OEF_Due","Due:"},
  108.      {"OEF_Order_No","Order #:"},
  109.      {"OEF_OrderTrack_No","OrderTrack #:"},
  110.      {"OEF_PO_No","PO #:"},
  111.      {"OEF_Save_as_Default","Save as Default"},
  112.      {"OEF_Add_Item"," Add Item "},
  113.      {"OEF_Remove_Item"," Remove Item "},
  114.      {"OEF_Order_Item"," Order Item: "},
  115.      {"OEF_Ship_Date","Ship Date"},
  116.      {"OEF_Find_","Find..."},
  117.      {"OEF_New_","New..."},
  118.      {"OEF_Save_Pending_Changes","Save Pending Changes"},
  119.      {"OEF_Save_pending_changes?","Save pending changes?"},
  120.      {"OEF_Error","Error"},
  121.      {"OEF_Find_Customer","Find Customer"},
  122.      {"OEF_Add_Customer","Add Customer"},
  123.      {"OEF_COD","COD"},                              // must be consistent with DataStock.sql
  124.      // CustomerFrame
  125.      {"CF_Customers","Customers"},
  126.      {"CF_Name","Name:"},
  127.      {"CF_Address_1","Address 1:"},
  128.      {"CF_City_StateProv","City/State:"},
  129.      {"CF_Phone","Phone:"},
  130.      {"CF_EMail","EMail:"},
  131.      {"CF_Fax","Fax:"},
  132.      {"CF_Address_2","Address 2:"},
  133.      {"CF_Postal_Code","Postal Code:"},
  134.      {"CF_Country","Country:"},
  135.      {"CF_First","First"},
  136.      {"CF_MI","MI"},
  137.      {"CF_Last","Last"},
  138.      {"CF_View_Order"," View Order "},
  139.      {"CF_Orders_placed_by_this","  Orders placed by this customer:"},
  140.      {"CF_Close"," Close "},
  141.      {"CF_New_Order"," New Order "},
  142.      {"CF_Save_Pending_Changes","Save Pending Changes"},
  143.      {"CF_Save_pending_changes?","Save pending changes?"},
  144.      {"CF_Error","Error"},
  145.      {"CF_No_order_selected","No order selected."},
  146.      {"CF_Order_not_found","Selected order not found"},
  147.      {"CF_No_customer_selected","No customer selected."},
  148.      //ProductFrame
  149.      {"PF_Products","Products"},
  150.      {"PF_Active","Active"},
  151.      {"PF_Name","Name:"},
  152.      {"PF_Category","Category:"},
  153.      {"PF_Base_Price","Base Price:"},
  154.      {"PF_Discount_%","Discount %:"},
  155.      {"PF_Stock_Qty","Stock Qty:"},
  156.      {"PF_Min_Reorder_Qty","Min Reorder Qty:"},
  157.      {"PF_Product_ID","Product ID:"},
  158.      {"PF_Close"," Close "},
  159.      {"PF_Save_Pending_Changes","Save Pending Changes"},
  160.      {"PF_Save_pending_changes?","Save pending changes?"},
  161.      {"PF_Error","Error"},
  162.      // CategoryFrame
  163.      {"CAF_Categories","Categories"},
  164.      {"CAF_Close"," Close "},
  165.      {"CAF_New_Product"," New Product "},
  166.      {"CAF_Save_Pending_Changes","Save Pending Changes"},
  167.      {"CAF_Save_pending_changes?","Save pending changes?"},
  168.      {"CAF_Error","Error"},
  169.      // FindFrame
  170.      {"FF_Find","Find"},
  171.      {"FF_Field","Field:"},
  172.      {"FF_Value","Value:"},
  173.      {"FF_Close","Close"},
  174.      {"FF_Go_To","Go To"},
  175.      // OrderFindFrame
  176.      {"OFF_Find_Order","Find Order"},
  177.      // CustomerFindFrame
  178.      {"CFF_Find_Customer","Find Customer"},
  179.      // ProductFindFrame
  180.      {"PFF_Find_Product","Find Product"},
  181.      // AddCustomerDlg
  182.      {"ACD_Name","Name:"},
  183.      {"ACD_Address_1","Address 1:"},
  184.      {"ACD_CityStateProv","City/State:"},
  185.      {"ACD_PostalCode","Postal Code:"},
  186.      {"ACD_Phone","Phone:"},
  187.      {"ACD_EMail","EMail:"},
  188.      {"ACD_Address_2","Address 2:"},
  189.      {"ACD_Country","Country:"},
  190.      {"ACD_First","First"},
  191.      {"ACD_MI","MI"},
  192.      {"ACD_Last","Last"},
  193.      {"ACD_OK","   OK   "},
  194.      {"ACD_Cancel","Cancel"},
  195.      // AddOrderItemDlg
  196.      {"AOD_OK","   OK   "},
  197.      {"AOD_Cancel","Cancel"},
  198.      {"AOD_Product_Name","Product Name:"},
  199.      {"AOD_Sale_Price","Sale Price:"},
  200.      {"AOD_Extended_Price","Extended Price:"},
  201.      {"AOD_Qty","Qty"},
  202.      {"AOD_Product_ID","Product ID:"},
  203.      // FindOrderCustomer
  204.      {"FOC_OK","   OK   "},
  205.      {"FOC_Cancel"," Cancel "},
  206.      {"FOC_Field","Field:"},
  207.      {"FOC_Value","Value:"},
  208.      // DataModule1
  209.      {"DM_Error","Error"},
  210.      {"DM_DateDisplayMask","MM/dd/yyyy"},
  211.      {"DM_DateEditMask","MM/dd/yyyy"},
  212.      {"DM_Qty","Qty"},
  213.      {"DM_Product_ID","Product ID"},
  214.      {"DM_Name","Name"},
  215.      {"DM_Sale_Price","Sale Price"},
  216.      {"DM_Ext_Price","Ext Price"},
  217.      {"DM_SubTotal","SubTotal"},
  218.      {"DM_Order_ID","Order ID"},
  219.      {"DM_Tax","Tax"},
  220.      {"DM_Shipping","Shipping"},
  221.      {"DM_Amt_Due","Amt Due"},
  222.      {"DM_ID","ID"},
  223.      {"DM_Is_Active","Is Active"},
  224.      {"DM_Category","Category"},
  225.      {"DM_Base_Price","Base Price"},
  226.      {"DM_Discount_%","Discount %"},
  227.      {"DM_Stock_Qty","Stock Qty"},
  228.      {"DM_Min_ReOrder_Qty","Min ReOrder Qty"},
  229.      {"DM_Insufficient_stock","Insufficient stock quantity"},
  230.      {"DM_Delete_this_order","Delete this order item?"},
  231.      {"DM_Confirm","Confirm"},
  232.      {"DM_Delete_canceled","Delete canceled"},
  233.      {"DM_Cannot_modify_order","Cannot modify a 'Fulfilled' order."},
  234.      {"DM_Invalid_customer","An order must have a valid customer."},
  235.      {"DM_Invalid_order_date","An order must have a valid order date."},
  236.      {"DM_Invalid_status","An order must have a valid status."},
  237.      {"DM_Invalid_paymethod","An order must have a valid payment method."},
  238.      {"DM_Invalid_product","An order item must have a valid product."},
  239.      {"DM_Invalid_product_quantity","An order item must have a valid product quantity."},
  240.      {"DM_Invalid_product_name","A product must have a valid name."},
  241.      {"DM_Invalid_product_category","A product must have a valid product category."},
  242.      {"DM_Invalid_base_price","A product must have a valid base price value."},
  243.      {"DM_Invalid_stock_qty","A product must have a valid stock qty value."},
  244.      {"DM_Invalid_min_reorder_qty","A product must have a valid min reorder qty value."},
  245.      {"DM_Invalid_category_name","A category must have a valid name."},
  246.      {"DM_Invalid_first_name","A customer must have a valid first name."},
  247.      {"DM_Invalid_last_name","A customer must have a valid last name."},
  248.      {"DM_Invalid_phone","A customer must have a valid phone number."},
  249.      {"DM_Non_Cliffcard_member","This customer is not a CliffCard member."},
  250.      {"DM_Delete_this_order?","Delete this order?"},
  251.      {"DM_Delete_this_product?","Delete this product?"},
  252.      {"DM_Delete_this_customer?","Delete this customer?"},
  253.      {"DM_Delete_this_category?","Delete this category?"},
  254.      {"DM_Add_Order_Item","Add Order Item"},
  255.      {"DM_Open","Open"},                // must be consistent with DataStock.sql
  256.      {"DM_VISA","VISA"},                // must be consistent with DataStock.sql
  257.      {"DM_UPS","UPS"},                  // must be consistent with DataStock.sql
  258.      {"DM_Active_Wear","Active Wear"},  // must be consistent with DataStock.sql
  259.      {"DM_Fulfilled","Fulfilled"},      // must be consistent with DataStock.sql
  260.      {"DM_CLIFFCARD","CLIFFCARD"},      // must be consistent with DataStock.sql
  261.      {"DM_CategoryDS_CATEGORY","Category"},
  262.      {"DM_OrderDS_ID","ID"},
  263.      {"DM_OrderDS_CUSTOMERID","Customer ID"},
  264.      {"DM_OrderDS_ORDERDATE","Order Date"},
  265.      {"DM_OrderDS_STATUS","Status"},
  266.      {"DM_OrderDS_SHIPDATE","Ship Date"},
  267.      {"DM_OrderDS_ORDERTRACKNUM","Order Tracking #"},
  268.      {"DM_OrderDS_CUSTOMERPONUM","Purchase Order #"},
  269.      {"DM_CustOrderDS_ORDERDATE","Order Date"},
  270.      {"DM_CustOrderDS_STATUS","Status"},
  271.      {"DM_CustOrderDS_SHIPDATE","Ship Date"},
  272.      {"DM_CustomerDS_ID","ID"},
  273.      {"DM_CustomerDS_FIRSTNAME","First Name"},
  274.      {"DM_CustomerDS_MI","MI"},
  275.      {"DM_CustomerDS_LASTNAME","Last Name"},
  276.      {"DM_CustomerDS_FIRSTNAME","First Name"},
  277.      {"DM_CustomerDS_PHONE","Phone"},
  278.  
  279. };
  280.  
  281.   public Object[][] getContents() {
  282.     return contents;
  283.   }
  284. }
  285.