home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 October A / Pcwk10a98.iso / Inprise / TRIAL / JBUILDER / JSAMPLES.Z / Res.java < prev    next >
Text File  |  1998-05-08  |  7KB  |  164 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.  
  22. package borland.samples.apps.chess.client;
  23.  
  24. import java.util.*;
  25.  
  26. public class Res extends java.util.ListResourceBundle {
  27.   static final Object[][] contents = {
  28.     { "Players", "Players" },
  29.     { "Library", "Library" },
  30.     { "Moves", "Moves" },
  31.     { "Created_with_Borland", "Created with Borland JBuilder \r\n" },
  32.     { "Description:_A_Chess", "Description: A Chess Server/Viewer " },
  33.     { "ChessViewer", "ChessViewer" },
  34.     { "Name:_ChessViewer" , "Name: ChessViewer\r\n" },
  35.     { "Author:_Greg", "Author: Greg Hamer\r\n" },
  36.     { "Move", "Move" },
  37.     { "White", "White" },
  38.     { "Black", "Black" },
  39.     { "Connecting_", "Connecting..." },
  40.   { "WHITE",  "White" },
  41.   { "BLACK", "Black" },
  42.   { "PLEASE_ENTER_YOUR", "Please enter your name and password" },
  43.   { "CONFUSED", "I am so confused by that move!!" },
  44.   { "LOGONHINT", "Enter your name and password" },
  45.   { "CHATHINT", "chat by typing in here and pressing Enter" },
  46.   { "LISTPLAYERS", "List Players" },
  47.   { "GAMEPARAMNAME", "game" },
  48.   { "IMAGENAME", "image" },
  49.   { "ZEROTIME", "0:00:00" },
  50.   { "COULD_NOT_OPEN", "could not open " },
  51.   { "LOGOFF", "Log Off" },
  52.   { "LOGON", "Log On..." },
  53.   { "LOG_ON", "Log on" },
  54.   { "CANCEL", "Cancel" },
  55.   { "CONNECTION_ERROR", "Connection error " },
  56.   { "UNKNOWN_HOST", "Trying to connect to unknown host: " },
  57.   { "OFFER_ABORT", "Offer Abort" },
  58.   { "SEMICOLON_DELIMITED", "semicolon delimited list of Chesspiece image files " },
  59.   { "PGN_FILE_TO_LOAD_VERY", "pgn file to load (very optional)" },
  60.   { "THE_HOSTNAME_OF_THE", "the hostname of the Chess Server (Ignored when invoked as an Applet)" },
  61.   { "BEGINNING_OF_GAME", "  |<  " },
  62.   { "BACK_ONE_MOVE", "  <  " },
  63.   { "FORWARD_ONE_MOVE", "   >   " },
  64.   { "END_OF_GAME", "  >|  " },
  65.   { "DEFAULT_GAME_TIME", "05" },
  66.   { "DEFAULT_MOVE_TIME", "05" },
  67.   { "OPTIONS_", "Options..." },
  68.   { "QUESTION_MARKS", "??" },
  69.   { "OFFER_DRAW", "Offer Draw" },
  70.   { "RESIGN", "Resign" },
  71.   { "SUSPEND", "Suspend" },
  72.   { "LOGGED_OFF", "Logged Off" },
  73.   { "UPDATE", "Update" },
  74.   { "CHALLENGE", "Challenge" },
  75.   { "TIME_CONTROL_FIELDS", "Time Control fields must be numeric" },
  76.   { "PASTE_AND_THEN", "Paste and then Highlight the entire game you wish to import, then press Enter" },
  77.   { "IMPORTEDGAME", "ImportedGame " },
  78.   { "COPY_PASTE", "Copy/Paste" },
  79.   { "ABORT_OFFERED_TO", "Abort offered to " },
  80.   { "DRAW_OFFERED_TO", "Draw offered to " },
  81.   { "GAME_OVER", "Game Over" },
  82.   { "RESIGNED", " resigned" },
  83.   { "GAME_SUSPENDED", "Game Suspended" },
  84.   { "WAITING_ON_YOUR", "Waiting on your opponent..." },
  85.   { "YOUR_MOVE", "Your move" },
  86.   { "WHITE_TO_MOVE", "White to move" },
  87.   { "BLACK_TO_MOVE", "Black to move" },
  88.   { "BLACK_LOST_ON_TIME", " 1-0 Lost on Time" },
  89.   { "WHITE_LOST_ON_TIME", " 0-1 Lost on Time" },
  90.   { "tring LIST_PLAYERS", "List Players" },
  91.   { "tring LIST_GAMES", "List Games" },
  92.   { "OBSERVE", "Observe" },
  93.   { "RESUME", "Resume" },
  94.   { "VIEW", "View" },
  95.   { "GET", "Get" },
  96.   { "OFFER_REFUSED", "Offer refused" },
  97.   { "WELCOME", "Welcome " },
  98.   { "GAME_ABORTED", "Game aborted" },
  99.   { "GAME_DRAWN", "Game drawn" },
  100.   { "BORLAND_CHESS_CLUB", "Borland Chess Club" },
  101.   { "RATED_GAME", "Rated Game" },
  102.   { "LOST_CONNECTION_", "Lost connection: " },
  103.   { "RECEIVED_", "Received: " },
  104.   { "FRESH_MEAT_", "Fresh meat!" },
  105.   { "GAMEIN", "Game in" },
  106.   { "MINUTES", "min, +" },
  107.   { "MOVETIME", "sec/move" },
  108.   { "TIME_CONTROL", "Game in % minutes, plus % seconds per move" },
  109.   { "YOU_GET_WHITE", "You get white" },
  110.   { "YOU_GET_BLACK", "You get black" },
  111.   { "DO_YOU_WANT_TO_PLAY", "Do you want to play %?" },
  112.   { "YES", "Yes" },
  113.   { "NO", "No" },
  114.   { "WELCOME_TO_THE", "Welcome to the Borland Chess Club" },
  115.   { "WAITING_FOR", "Waiting for % to move" },
  116.   { "YOUR_NAME", "Your Name" },
  117.   { "PASSWORD", "Password" },
  118.   { "INEED_A_NAME", "I need a name..." },
  119.   { "PLEASE_CHOOSE_A", "Please choose a longer name" },
  120.   { "INEED_A_PASSWORD", "I need a password..." },
  121.   { "PLEASE_CHOOSE_PASSWORD", "Please choose a longer password" },
  122.   { "LOGGING_ON_", "Logging on..." },
  123.   { "FEEL_FREE_TO_USE_THE", "Feel free to use the chessboard" },
  124.   { "CHESSBOARD_OPTIONS", "Chessboard Options" },
  125.   { "PIECES_", "Pieces:" },
  126.   { "LIGHT_SQUARES", "Light Squares" },
  127.   { "DARK_SQUARES", "Dark Squares" },
  128.   { "OK", "Ok" },
  129.   { "BLACK_AT_TOP", "Black at Top" },
  130.   { "WHITE_AT_TOP", "White at Top" },
  131.   { "WANNA_DRAW_", "Wanna Draw?" },
  132.   { "WANNA_ABORT_", "Wanna Abort?" },
  133.   { "HAS_OFFERED_YOU_A", " has offered you a draw" },
  134.   { "HAS_OFFERED_TO_ABORT", " has offered to Abort the game" },
  135.   { "DO_YOU_ACCEPT_", "Do you accept?" },
  136.   { "VERY_PRIMITIVE_PGN", "Very primitive pgn file import/export" },
  137.   { "COPY_TO_THE_CLIPBOARD", "Copy to the clipboard" },
  138.   { "TO_IMPORT_PASTE_THE", "To import, paste the pgn formated game into the edit box and then press import" },
  139.   { "IMPORT", "  Import  " },
  140.   { "YOUR_PUBLIC", "Your Public Information" },
  141.   { "PUBLIC_INFO", "Public Information for " },
  142.   { "EXPECTED_EIGHT_PIECES", "expected eight pieces of information; received " },
  143.   { "CHANGE_AS_DESIRED", "Change as desired" },
  144.   { "RATING", " Rating " },
  145.   { "GAMES_PLAYED", " Games Played" },
  146.   { "NAME", "Name " },
  147.   { "EMAIL_ADDRESS", "E-mail address " },
  148.   { "LOCATION", "Location " },
  149.   { "OTHER_STUFF", "Other Stuff " },
  150.   { "USER_DATA_UPDATED", "User data updated" },
  151.   { "SEND_NOTE", "Send Note:" },
  152.   { "ONLY_SHOW", "Only show logged on Players" },
  153.   { "MESSAGE_SENT", "message sent to " },
  154.   { "FROM", "from " },
  155.   { "NOTE_INSTRUCTIONS", "select recipient, then type note here" },
  156.      { ">", ">" }};
  157.  
  158.  
  159.   public Object[][] getContents() {
  160.     return contents;
  161.   }
  162. }
  163.  
  164.