package com.sun.wizards;
import java.util.*;

/**
 * Localizable resources for "com.sun.wizard" classes  
 *
 * To localize,
 *  1)  copy this file to file named WizardResources_<locale name>.java
 *      such WizardResources_fr.java, WizardResources_ja.java, etc 
 *  2)  change class name below to WizardResources_<locale name>.java
 *  3)  and translate the phases in right hand side of the following 
 *      { key, localized string } pairs.  
 */

public class WizardResources extends ListResourceBundle
{

  public static final int MSG_HOST_NOT_VALID = 1;
  public static final int MSG_BACK = 2;
  public static final int MSG_NEXT = 3;
  public static final int MSG_STOP = 4;
  public static final int MSG_EXIT = 5;
  public static final int MSG_CONTINUE = 6;
  public static final int MSG_QUIT_WARNING = 7;
  public static final int MSG_REBOOT_REQUIRED = 8;
  public static final int MSG_REBOOT = 9;
  public static final int MSG_DONT_REBOOT = 10;
  public static final int MSG_TITLE_FORMAT = 11;
  public static final int MSG_STOP_CONFIRM = 12;
  public static final int MSG_STOP_CONFIRM2 = 13;
  public static final int MSG_ENTER_HOSTNAME = 14;
  public static final int MSG_TARGET_HOST = 15;
  public static final int MSG_GUI_ERROR = 16;
  public static final int MSG_CLOSE = 17;
  public static final int MSG_EXTRACTING= 18;
  public static final int MSG_DISMISS = 19;
  public static final int MSG_TRANSFERRING = 20;
  public static final int MSG_INITIALIZING = 21;
  public static final int MSG_PASSWORD_TITLE = 22;
  public static final int MSG_PASSWORD_DESCRIPTION = 23;
  public static final int MSG_NO_PASSWORD_ENTERED = 24;
  public static final int MSG_WRONG_PASSWORD_ENTERED = 25;

  public static final int MSG_CLI_TTY_ERROR1 = 100;
  public static final int MSG_CLI_TTY_ERROR2 = 101;
  public static final int MSG_CLI_TTY_ERROR3 = 102;
 
  public static final int MSG_CLI_CLC_DESC = 103;
  public static final int MSG_CLI_CLC_PROMPT = 104;
  public static final int MSG_EXIT_Q = 105;
  public static final int MSG_CONFIRM = 106;
  public static final int MSG_CLI_Q = 107;
  public static final int MSG_CLI_PRESS_ENTER = 108;
  public static final int MSG_CLI_Q_CHAR = 109;
  public static final int MSG_CLI_Y_CHAR = 110;
  public static final int MSG_CLI_N_CHAR = 111;
  public static final int MSG_CLI_ENTER_Q_TO_QUIT = 112;

  public static final int MSG_ERROR = 113;
  public static final int MSG_WARNING = 114;
  public static final int MSG_NOTICE = 115;

  public static final int MSG_YES = 116;
  public static final int MSG_NO = 117;
  public static final int MSG_OK = 118;
  

  public Object[][] getContents() { return contents; }
  static final Object[][] contents =
  { 
    /* basic panel navication buttons */

    { "MSG1", "Cannot connect to Web Start host {0}.  Please try " +
              "again with the same host, or enter a new one."},
    { "MSG2", " < Back  "},
    { "MSG3", "  Next > "},
    { "MSG4", " Stop "},
    { "MSG5", "  Exit  "},

    /* some confirmation window strings */

    { "MSG6", " Continue "},
    { "MSG7", "If you exit now, any selections you have made " + 
	      "will not be saved.  Do you want to exit?"},

    { "MSG8", "For correct operation, a system reboot" +
	      " is required.  Do you want to reboot now?"},

    { "MSG9", "  Reboot  "},
    { "MSG10", " Don't Reboot "},

    /**
    /* Panel title format.  The {0} and {1} are variable fields.
    /* Leave them in as {0} and {1}.  The {0} is wizards purpose.
    /* The {1} is product's title.  In English would look something
    /* like ... wizard install : Title of product being installed ...
     */

    { "MSG11", "{0} : {1}" },

    /* some Progress panel confirmation strings */

    { "MSG12", "Are you sure you want to stop? " +
	       "(Actions performed up to this point will remain " +
	       "in effect.)" },
    { "MSG13", "Stop - Are you sure?"},
    { "MSG14", "Enter the name of the host this wizard will execute on.  " +
               "The host will be contacted and this wizard will be executed once "+
               " you authenticate yourself."},
    { "MSG15", "Enter Hostname:"},

    { "MSG16", "The Wizard cannot be started on this display.  On Solaris," +
		System.getProperty("line.separator") +
                "you must allow the wizard access to the display.  " +
		System.getProperty("line.separator") +
		"Try typing \"xhost +\" in another window."},

    { "MSG17", "Close" },

    /* Archive reader initializing */

    { "MSG18", "Extracting..." },

    { "MSG19", " Dismiss " },
    { "MSG20", "Transferring Wizard..." },
    { "MSG21", "Initializing..." },

    /* Password protection panel */

    {"MSG22", "Enter Password"},
    {"MSG23", "This installation is protected by a password.  Please " +
              "provide the password. <bold>(Note that passwords are case-sensitive.)</bold>"},
    {"MSG24", "Please specify a password"},
    {"MSG25", "The password is not correct.  Please check the password and try again."}, 

     
     /* CLI errors -- in TTYDisplay */
     { "MSG100", "Please enter a value between {0} and {1}" },
     { "MSG101", "Please type one of {0} or {1}" },
     { "MSG102", "No help available" },
     
     /* CLI errors in CommandLineConsole */
     { "MSG103", "Would you like to:" },
     { "MSG104", "Enter the number corresponding to your choice " },
     { "MSG105", "Exit?" },
     { "MSG106", "Confirm" },
     { "MSG107", "?" },

     /* CLI messages */
     { "MSG108", "Press ENTER to continue" },
     { "MSG109", "q" },
     { "MSG110", "y" },
     { "MSG111", "n" },
     { "MSG112", "Type {0} to quit" },

     /* Popup Query Panel Titles */

     { "MSG113", "Error" },
     { "MSG114", "Warning" },
     { "MSG115", "Notice" },

     /* Simple Responses */

     { "MSG116", "Yes" },
     { "MSG117", "No" }, 
     { "MSG118", "OK" } 
  };
}
