# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
# $Id: setup,v 1.4 2012-05-15 08:17:51 ww161634 Exp $
# Messages for install scripts

lf_usage="<options>
 where <options> are:
   --instdir     Installation directory
   --datadir     Data directory
   --version     Current product version
   --oldinstdir  Old installation directory
   --olddatadir  Old data directory
   --oldversion  Old version
   --savefile    File containing shell variables
"

m_noprtinstallscript="Printing configuration failed (prtinstall script not found)"

####
# Install type

q_installtype="Installation type"

a_upgrade="upgrade"
a_downgrade="downgrade"
a_reinstall="reinstall"

####
# Install directory 

h_instdir="$PRODUCT_SHORT_NAME installation directory"
p_instdir="\
$PRODUCT_SHORT_NAME uses a single directory for all its code and other
static and dynamic components. Which directory would you like to use?"
q_instdir="Installation directory"
a_base_definstdir="/opt"
a_definstdir="/opt/tarantella"
a_definstdir2="/usr/tarantella"

m_isafile="Sorry, but that's a file, not a directory. Please try again."

e_nospace1="IMPORTANT:  There is not enough space in "
e_nospace2="Please name a directory with at least "
e_nospace3="K free."
e_carryonregardless="... attempting installation anyway, by user request."

####
# Peer dns name

h_peerdns="Peer (internal) DNS name"
p_peerdns="\
Each computer on the network may have a number of DNS names.  In
$PRODUCT_SHORT_NAME, the peer DNS name is the name by which this host
is known to others within your firewall, if you have one. If you're
using an array of multiple $PRODUCT_SHORT_NAME servers, this is the
name used by other servers in the array to identify this server."
q_peerdns="Peer DNS name"

####
# For setup summary heading
l_summary="Setting up $PRODUCT_FULL_NAME"
l_recommend="$PRODUCT_SHORT_NAME Setup recommends you use the following settings:"

####
# Add entry to rc file
h_restart="Start $PRODUCT_SHORT_NAME on reboot"
p_restart="\
Would you like the $PRODUCT_SHORT_NAME server to start automatically
when the UNIX host reboots?"
q_restart="Start $PRODUCT_SHORT_NAME on reboot?"
p_runlevel="\
At which run level should the $PRODUCT_SHORT_NAME server start?
Choose from:
  S - Single-user mode
  1 - Administration mode
  2 - Multi-user mode
  3 - Remote file-sharing mode
  4 - Alternative remote file-sharing mode
"
p_currun="Current run level is: "
p_instrun="Currently installed at run level: "
q_runlevel="Run level"
q_mkrcdir="The correct run-level directory doesn't exist. Do you want to create
it?"
v_runlevel="The valid run levels are S, 1, 2, 3 and 4."

####
# Is it OK type stuff

p_damage="\
Are these settings OK?
  Y - Yes, install using these settings
  N - No, tell me more about the options and let me change the settings
  Q - Quit now"

q_damage="OK to use these settings?"

h_nochange="$PRODUCT_FULL_NAME Setup made no changes to your system."

####
# Yes and No

a_case_y="yY"
a_case_yes="yY"
s_yes="yes"

a_case_n="nN"
a_case_no="nN"
s_no="no"

a_case_q="qQ"
a_case_quit="qQ"
s_quit="quit"

a_case_a="aA"

a_y="y"
a_n="n"
a_q="q"
a_a="a"

a_yes="yes"
a_no="no"
a_quit="quit"
a_auto="auto"

####
# Add entry to crontab to archive logs
h_checkpoint="Archive logs every week"
p_checkpoint="\
Would you like the $PRODUCT_SHORT_NAME server to archive its log files
every week?"
q_checkpoint="Archive logs every week?"
p_checktime="
At what time should the archive occur?
Type a number between 0 (midnight) and 23 (11pm).
"
q_checktime="Archive time"
q_hours=":00 hours"
v_badnumber="Please type a number from 0 to 23, inclusive."
p_checkday="
On what day should the archive occur?
Type a number between 0 (Sunday) and 6 (Saturday).
"
q_checkday="Archive day"
v_badday="Please type a number from 0 to 6, inclusive."

l_sun="Sunday"
l_mon="Monday"
l_tue="Tuesday"
l_wed="Wednesday"
l_thu="Thursday"
l_fri="Friday"
l_sat="Saturday"


####
# Licensing
h_licmode="License mode"
h_addlicense2="$PRODUCT_SHORT_NAME has two license modes. Each mode gives you different
rights for using the $PRODUCT_SHORT_NAME software."
q_addlicense="License key"
p_addlicense="If you'd like to add a new license key, type it now.
Press [Return] to continue without adding any license keys."
l_evalmsg="This $PRODUCT_SHORT_NAME server is licensed for a 30-day evaluation only."
l_fullmsg="This $PRODUCT_SHORT_NAME server is licensed for "
l_fullmsg2=" concurrent users."

l_chtoeval="Changing to Evaluation license mode."
l_chtofull="Changing to Fully Licensed mode."
l_alreadyfull="This server is already fully licensed."
l_nochange="No changes have been made."
l_addinglic="Adding "
l_addinglic2="-user license..."
l_unlimited="unlimited"

l_mode_full="Full"
l_mode_full2=" concurrent users)"
l_mode_eval="Evaluation"
l_mode_eval2=" (30-day limit)"

l_currentmode="Current license mode: "
l_nolicenses="No $PRODUCT_SHORT_NAME license keys are currently installed."
l_somelicenses="$PRODUCT_SHORT_NAME license keys:"

l_licnum="License key '"
l_notalic="' is not a $PRODUCT_SHORT_NAME server license key."
l_licinstalled="' has already been installed."

####
# Misc

###
#ask whether to create Tarantella printer
h_prtsetup="Create $PRODUCT_SHORT_NAME printer"
p_prtsetup="\
Would you like Setup to recreate the $PRODUCT_SHORT_NAME printer,
as if this was a new installation?

Note: This won't have any effect unless the $PRODUCT_SHORT_NAME printer
configuration has been changed since installation.  If any changes
have been made, this option will restore the installation configuration."

q_prtsetup="Create $PRODUCT_SHORT_NAME printer?"

l_serverbeans_start="Setting up server beans..."
l_serverbeans_end="...finished setting up server beans."
