# Text is automatically wrapped to the width of the users screen. Double quotes around the strings should always be used. # You can force a newline by using an \n in the text. # \t will insert a tab (8 spaces). #   will insert a single space. # £ will insert a pound sign (#) # \sXXX will insert multiple spaces (defined by XXX, 1..n). # You can have multiple instances for each variable, ie: # myvar = "this is line #1 " # myvar = "this line is appended to the previous line with proper wrapping applied. " # myvar = "this is also appended.\nBut I just inserted a newline, so this sentence starts on a new line." # # That just makes it easier to have a long paragraph of text w/o having to put it all on a single line in this config file # The order of strings in this file loosely resembles the order of their apperance during the installation steps. # languageloaded = "Loaded language file '$language' successfully." nostatscfg = "\n*** Unable to load config from '$statscfg'. ***\n" nostatscfg = "Are you sure you're running the install from the same directory as your Psychostats files?\n" nostatscfg = "*** Aborting Installation ***\n \n" statscfgloaded = "$statscfg successfully loaded." liststeps = "\nValid steps: $steplist\n" installinit = "The PsychoStats v$psversion installation has several steps, all of which will be handled automatically by this " installinit = "setup wizard. The wizard is interactive and will ask you several questions along the way. " installinit = "New and veteran users will both find this setup quick, easy and helpful. " installinit = "\n\n*** UPGRADE NOTES ***\n" installinit = "If you are upgrading from the previous version 2.2 and everything is currently working for you, DO NOT run " installinit = "this install wizard. \nRun the 'upgrade-224-to-23.pl' script instead. That will alter your database to the new " installinit = "format w/o losing any of your current stats and will update your PsychoStats files on your website." init_start = "\nBefore we begin installing PsychoStats v$psversion on your system I need to know where your web server is " init_start = "located. If your web server shown below is set to 'localhost' this means the web server will be considered " init_start = "local to the machine that you're running this install wizard.\n" init_info1 = "Web server host: $webhost [$webhostip]\n" init_info2 = "-- Web server is remote, Login settings shown below --\n" #init_info2 = "FTP directory:\s1 $themedir\n" init_info2 = "FTP username:\s3 $ftpuser\n" init_info2 = "FTP password:\s3 ********\n" init_info2 = "FTP port:\s7 $ftpport\n" init_info2 = "FTP passive:\s4 $ftppasv" init_info3 = "FTP non-chroot:\s $ftpchroot" init_info4 = "\n" init_webhost = "\nWhere is your web server located? If it's on this machine then enter 'localhost' at the prompt, " init_webhost = "otherwise enter the hostname or IP of the server. DO NOT include http:// or any other protocol " init_webhost = "prefix on the hostname!" init_badwebhost = "\n** Invalid hostname specified (DNS lookup failed) **" init_themedir = "\nThe theme directory below is where PsychoStats will upload its themes files to. This directory will usually " init_themedir = "end with 'themes' in the path, eg: /path/to/themes/. Each 'theme' that is uploaded will be placed into a " init_themedir = "different sub-directory here. This directory must be readable by the webserver user. " init_themedir2 = "\nNote: No themes will be uploaded right now. This setting needs to be set now, before any files are uploaded " init_themedir2 = "to your web server so the config.php can be modified appropriately." init_compiledir = "\nPsychoStats themes are compiled the first time they are used. This requires a directory that is WRITABLE by " init_compiledir = "the web server. " #init_localtheme = "\nYour website is local. Be sure that your PsychoStats themes directory is readable by the web server user. " #init_localtheme = "Themes are stored here: $themedir" init_ftpuser = "\nWhat is the FTP username to connect to your web server with?" init_ftppass = "\nWhat is the FTP password to connect to your web server with?\n" init_ftppass = "NOTE: The password WILL BE VISIBLE as you type it" init_ftpport = "\nIf your FTP server doesn't use port 21 then set it here." init_ftppasv = "\nSome FTP servers will only work if 'PASSIVE' mode is enabled or disabled. If you have trouble connecting " init_ftppasv = "to your host try toggling this setting." init_ftpchroot = "Your FTP server might be using a special 'chrooted' environment. In order for certain file and image paths " init_ftpchroot = "to be set correctly in your config you may need to specify a non-chroot prefix. If you don't know what this is " init_ftpchroot = "just press enter. Otherwise this prefix will be prepended to any paths you supply for the 'root' options " init_ftpchroot = "during the 'configuration' step of this installation." init_verify = "\n*** VERIFYING SETTINGS ***\n\n" init_vftp = "\nVerifying FTP settings ... \n" init_baddir = "*** Without a valid theme directory to copy files to you can not continue. Exiting installation now." init_gooddir = "Theme directory is valid: $themedir" pm_start = "\n>>> STEP: Verifying required perl modules ..." pm_search = "Searching for required perl modules ...\n\s3x = module installed" pm_missing = "\n*** You are missing $totalneeded module(s) that PsychoStats requires." pm_ppmsearch = "Searching for Perl Package Manager (ppm) ... " pm_ppmfound = "PPM$ppmver found!" pm_ppmnotfound = "Perl Package Manager was not found!\n" pm_ppmnotfound = "You can manually enter the full path below (including ppm.bat on the end):\n" pm_download = "\nIf you have an active internet connection the modules listed above may be installed automatically. " pm_download = "If you have a slow internet connection it may take a few minutes for each module to download. " pm_download = "Most modules are under 500k in size." pm_dl = "Downloading and Installing $module ... " pm_dldone = "$dlresult" pm_skip = "\n** SKIPPING MODULE INSTALLATION **\n" pm_skip = "NOTE: PsychoStats may not function properly if not all of the listed modules are installed!\n" pm_linux = "\nTo install these modules you should use CPAN. " pm_linux = "If you do not already have CPAN installed you can get it at: " pm_linux = "http://theoryx5.uwinnipeg.ca/cpan/authors/id/A/AN/ANDK/CPAN-1.76.tar.gz\n\n" pm_linux = "\nOnce CPAN is installed you start it by typing 'cpan' at your shell prompt " pm_linux = "(you will need root privileges to install the modules). " pm_linux = "Install the modules by typing these commands at the CPAN prompt:\n" pm_linux = "\n$neededmodules " pm_linux = "\nAfter installing the modules, rerun the install. You can still continue with the rest of this installation, " pm_linux = "However, Psychostats is not going to work fully on this machine until these modules are installed." pm_done = "All required perl modules are installed! Congratulations!" db_start = "\n>>> STEP: Database initialization and setup ... " db_sqlinitok = "SQL initialization file successfully loaded ($totaltables tables)." db_sqliniterr = "*** Error loading SQL initialization file: $sqlfile" db_searchdb = "\nChecking for DB $dbname@$dbhost ... " db_dbcreated = "DB CREATED!" db_dbexists = "DB EXISTS!" db_userhelp = "\nA database needs to be setup for PsychoStats to use. In order to verify and create the database " db_userhelp = "you need to provide a user that has admin privileges on the DB server. " db_userhelp = "Follow the prompts below to setup the database. " db_userhelp = "Each prompt will show its current setting in [brackets]. If you do not want to " db_userhelp = "change a setting just press enter at the prompt.\n\n" db_userhelp = "WARNING: Your password, if given, will be echoed to the screen!" db_username = "\nMost databases will require a username to connect with. If a default username appears in the [] brackets " db_username = "and you need to use a blank username type in 'none' (w/o quotes) at the prompt." db_password = "\nMost databases will require a password to connect with. If a default password appears in the [] brackets " db_password = "and you need to use a blank password type in 'none' (w/o quotes) at the prompt." db_hostname = "\nWhere is the MYSQL server? Enter 'localhost' if its on this same machine otherwise enter the IP or " db_hostname = "hostname of the server." db_dbname = "\nEach database on a server has a different name. Which name will you use for PsychoStats? We will try to " db_dbname = "create this DB later if it doesn't already exist." db_prefix = "\nChoose a table name prefix. The default prefix is "pstats_" this helps keep all related tables in the DB " db_prefix = "together. Each table in the DB will start with this prefix. Just accept the default if you're not sure." db_compression = "\nShould compression be used for your DB connection? This may or may not help performance (especially if your " db_compression = "DB server is remote). If you experience any problems disable this." db_connecterr = "Unable to connect to database. See error below for details." db_usererr = "ERROR EXPLAINATION:\nThe username '$dbuser' does not have permissions to connect to (or create) the database " db_usererr = "'$dbname'. You will have to provide another username with the proper permissions to connect to your server.\n" db_hosterr = "ERROR EXPLAINATION:\nThe hostname you've entered: '$dbhost' is not a valid host name or IP address.\n" db_srverr = "ERROR EXPLAINATION:\nThe host you've entered: '$dbhost' does not appear to be a valid DB server.\n" db_unknownerr = "ERROR EXPLAINATION:\nThis is an unknown error and I do not know what it means.\n" #db_deldb = "The database '$dbname' already exists, do you want to erase it before proceeding? All data in the database " #db_deldb = "will be lost." #db_yndeldb = "DROP database now?" db_dotables = "Preparing to create database '$dbname' table structure ... " db_deltables = "\nIf a table already exists with the same name in the '$dbname' database should it be deleted and replaced " db_deltables = "with a new empty table? (any data in the original table will be lost). Player and Clan profiles will not be " db_deltables = "deleted unless you specified the -profiles [player,clan] command line option." db_yndeltables = "Delete existing tables first?" db_delcompiled = "\s2Deleting compiled tables (and cleaning up state file) ... " db_delcomperr = "\n\s4Error deleting '$table': $dberror\n"; db_deletetbl = "\s2Deleting table '$table' ... " db_createtbl = "\s2Creating table '$table' ... " db_error = "ERROR\n\s4$dberror " db_tblfatal = "ERROR!\nUnable to connect to database to create tables. See error below for details.\n-----$dberror\n-----\n" db_tbltatal = "Table setup seems impossible. You will have to setup the tables manually using the '$sqlfile' file." db_missingtbls = "\nNot all of the tables were initialized correctly. " db_missingtbls = "You may have to create them manually. If the errors were only 'table exists' errors you can " db_missingtbls = "probably ignore them and not worry, unless the table structure of the table is different than expected.\n" db_missingtbls = "At this point the DB '$dbname' should be fully initialized. " db_done = "\nCongratulations! DB '$dbname' has been fully initialized!\n" db_fatal = "\nWARNING: DB initialization will be skipped. PsychoStats will not function properly until the DB " db_fatal = "has been initialized. If you want to attempt the DB setup step of the installation at a later time you " db_fatal = "can run it by typing 'install.pl -step db' at the prompt, or use the PsychoGUI (Windows users only) " db_updateconf1 = "\nDuring the DB setup you entered different settings for your DB configuration." db_updateconf2 = "Do you want to update your config?" db_ignoreconf = "Your config will NOT be changed." conf_start = "\n>>> STEP: Basic Configuration ... \n" conf_confirm = "I can ask you some common config questions to help new users automatically setup their config. " conf_confirm = "If you do not need help with your configuration you can skip this section.\n" conf_qa = "\nEach question will show your current config setting in [brackets], If you do not want to change " conf_qa = "the current setting just press at the prompt.\n" conf_invalid = "*** Invalid response. Please try again.\n" conf_updating = "Updating '$statscfg' configuration ... " conf_nochanges = "No changes made. Config will not be updated." conf_logsource = "The 'logsource' option specifies where your logs are stored for your game server. You can specify multiple " conf_logsource = "log directories and each will be scanned in the order given. Enter a blank line if you do not want to enter " conf_logsource = "any more log directories. To delete a directory from the list enter the number " conf_logsource = "shown next to it and press enter." conf_logsource2 = "\nCurrent log sources (enter a blank line to stop).\nAn asterix '*' in front of the directory means the " conf_logsource2 = "directory does not exist!" conf_logsource3 = "\s2$idx. $source" conf_logsource4 = "You must enter at least 1 log directory to process." conf_gametype = "\nThe 'gametype' option specifies what game you're collecting stats from.\nValid games: $list" conf_modtype = "\nThe 'modtype' option specifies what MOD of the primary 'gametype' you're playing.\nValid mods: $list" conf_uniqueid = "\nThe 'uniqueid' option specifies how players are tracked in the game logs. " conf_uniqueid = "Note: 'wonid' and 'steamid' are the same thing as 'worldid'.\nValid options: $list" conf_maxdays = "\nThe 'maxdays' option specifies how any days PsychoStats should go back into the past searching for new " conf_maxdays = "game logs to scan and store. Keeping this at 365 is recommended." conf_rankmaxdays= "\nThe 'rankmaxdays' option specifies how many days to use when calculating player stats. " conf_rankmaxdays= "The average person will usually keep this between 30-90 days. NOTE: The higher this is " conf_rankmaxdays= "set to the slower the calculations will be when viewing the live stats." conf_servername = "\nThe 'servername' option should be a short name for your game server. The themes can use this in their output." conf_serverip = "\nThe 'serverip' option should be the IP:Port for your game server. The theme will use this to show real-time " conf_serverip = "server information by querying the server. If you do not want this information to be displayed just leave " conf_serverip = "the field blank." conf_decayskill = "\nThe [decay] 'skill' option specifies a percentage that will decay a players skill value for each day they " conf_decayskill = "do not play since their last played date. It is recommended that this value be kept low (less than 5%)." conf_minskill = "\nThe [decay] 'minskill' option specifies the minimum value a players skill is allowed to decay to. A players " conf_minskill = "skill will never automatically decay lower than this value but its still possible for a player to go lower " conf_minskill = "if they simply aren't playing that well." conf_themesource= "\nThe [theme] 'source' option specifies what theme to use for stats output.\nValid options: $list" conf_themeinfo = "Very Important: You must provide a valid directory that the website files for PsychoStats will be copied or " conf_themeinfo = "uploaded to. This directory should be within your web server directory tree." conf_skipverify = "*** Directories will not be validated on your remote host." conf_chrootnote = "Earlier you specified a non-chroot prefix of '$install.ftpchroot'. This will be " conf_chrootnote = "prepended to all of the 'root' options above ONLY for the purpose of setting your config correctly. " conf_chrootnote = "All files uploaded will be uploaded to the root directories shown WITHOUT the chroot prefix.\n" conf_statsroot = "\n'statsroot' specifies the directory where your PsychoStats website files will be located. " conf_imagesroot = "\n'imagesroot' specifies the directory where your images will be located." conf_weaponsroot= "\n'weaponsroot' specifies the directory where your weapon images will be located." conf_mapsroot = "\n'mapsroot' specifies the directory where your map images will be located." conf_statsurl = "\n'statsurl' is an absolute URL pointing to the location of your stats on your website. You do NOT put " conf_statsurl = "http://domain.com in front of this option. This will usually resemble the statsroot option you entered " conf_statsurl = "above but w/o the phyiscal directory path in front of it. Often only leaving the last directory name. " conf_statsurl = "\nExample: If statsroot = '/var/www/stats/', then statsurl would be '/stats/'." conf_imagesurl = "\n'imagesurl' is an absolute URL pointing to the stats images directory on your website." conf_weaponsurl = "\n'weaponsurl' is an absolute URL pointing to the stats weapon images directory on your website." conf_mapsurl = "\n'mapsurl' is an absolute URL pointing to the stats map images directory on your website." core_start = "\n>>> STEP: Test PS subsystems ... \n" core_init1 = "Attempting to initialize PS CORE system ... " core_init2 = "Attempting to initialize PS SAVER sub-system ... " core_savererr = "ERROR!\nUnable to initialize SAVER sub-system, see error below:" core_passwd = "ERROR EXPLAINATION:\nThe error appears to be caused by an improper username or password in your " core_passwd = "$statscfg. Check the 'username' and 'password' settings in the [$savetype] " core_passwd = "section of your config. After you've done that, please run the install again.\n" core_dbhost = "ERROR EXPLAINATION:\nThis error usually means that you do not have the proper 'host' specified in the " core_dbhost = "[$savetype] section of your $statscfg config. Correct your config and then rerun the installation\n" core_unknowndb = "ERROR EXPLAINATION:\nIt seems the database '$dbname' does not exist. The DB can be setup for you automatically " core_unknowndb = "by running the install step 'db'. Windows users can use the PsychoGUI to rerun that setup phase. Linux users " core_unknowndb = "can run it by typing: './install.pl -step db' at their shell prompt." core_userauth = "ERROR EXPLAINATION:\nThe username in your $statscfg does not have permissions to access the database " core_userauth = "'$dbname' on server '$dbhost'. You will have to configure a different user in your $statscfg or setup a new " core_userauth = "user on your DB server that matches this one (user: $dbusername)." core_done = "Required installation is now complete!\n" core_done = "PsychoStats should now be able to load and store logs from this system." web_start = "\n>>> STEP: Uploading web related files ... \n" web_modify1 = "Updating web/config.php based on your local config ..." web_modify2 = "\s2Updating '$var'" web_modify3 = "done." web_mod_err = "\s2Error updating web/config.php: $error" web_php = "\n$action web files to web server." web_weapons = "\n$action weapon images to web server." web_maps = "\n$action map images to web server." web_destroot = "Root destination: $destroot" web_ftpdestroot = "Root destination: $webhost in $destroot" theme_start = "\n>>> STEP: Copying theme to web server ... " theme_desc = "\nPsychoStats uses 'themes' to produce its output for the stats. Listed below are all the themes currently " theme_desc = "available on your system. Choose the theme you'd like to use. " theme_list = "\nAvailable themes: $list" theme_notinlist = "Invalid theme. You must choose one from the list shown." theme_notheme = "\n*** No valid theme selected. Aborting." theme_invalid = "Theme '$theme' is invalid. It is missing its theme.cfg. No theme will work without its own theme.cfg file." theme_info = "Theme config loaded for '$theme':\n" theme_info = "\s2Theme name: \s$name\n" theme_info = "\s2Version: \s4$version\n" theme_info = "\s2Author: \s5$author\n" theme_info = "\s2Email: \s6$email\n" theme_info = "\s2Total files: $totalfiles (size: $totalsize)\n" theme_info = "\s2Dep. files: \s$totaldepfiles (size: $totaldepsize)\n" theme_notes = "Notes from the author:" theme_yninstall = "Do you want to install this theme?" theme_baddir = "Invalid theme installation directory: $themedir" theme_gooddir = "Destination theme directory: $path" theme_themedir = "The theme installation directory below is where your PsychoStats themes should be located. " theme_uploadstart= "Uploading to $webhost [$webhostip] in $path ... " theme_uploaddone= "Theme files uploaded." theme_texists = "The theme already exists on the remote host $webhost: $path\n" theme_texists = "You do not need to upload this theme unless the theme files on your local computer have changed." theme_nothemedir= "The theme directory: $path was not found and could not be created ($error). " theme_nothemedir= "Theme installation seems impossible. Aborting." theme_rootopts = "The 'root' options in the [theme] section of your config are directories within your web server " theme_rootopts = "directory. These directories are LOCAL to the WEB SERVER. The paths will be created if one does not " theme_rootopts = "already exist. NOTE: The paths shown will always have forward slashes (/) instead of backslashes (\) (even if " theme_rootopts = "your web server is running Windows).\n" theme_urlopts = "\nThe 'url' options in the [theme] section of your config are absolute URLs on your web server that " theme_urlopts = "would point to your stats files (images, etc). These options are URLs and NOT directories. For example, if " theme_urlopts = "your website is http://www.me.com/ and your stats are located at http://www.me.com/stats/ then your " theme_urlopts = "statsurl option would be set to: '/stats/' (w/o the quotes). These URLs go along with the root options " theme_urlopts = "entered above.\nNOTE: Be sure to include the trailing / slash on your URLs." theme_cancel = "Cancelling. Theme will not be installed." theme_nopath = "Warning: If the proper directories are not setup correctly your stats pages may not display correctly." theme_pathvalid = "Directory for $root already exists: $themedir" theme_files = "\nThe files for this theme will be copied into your statsroot '$statsroot'.\n" theme_deps = "\nThe theme has dependant files that need to be copied over to your website. All paths will be created " theme_deps = "automatically starting within the statsroot specified in your config: '$statsroot' on your web server.\n" theme_nodeps = "No dependant files to copy for this theme." end_start = "\n*** Install has been completed ***\n" end_info1 = "Now that you've installed PsychoStats v$psversion the next step would be to run a 'stats update' to scan " end_info1 = "your log direcories for game and player stats.\n" end_win1 = "Windows users can run the stats update by double-clicking on the "stats.pl" icon in their installation " end_win1 = "directory. A small DOS window will appear and will show you its progress during the update. " end_linux1 = "Linux users can run the stats update by typing "./stats.pl" at your shell prompt (w/o the quotes). " end_info2 = "\nThe first time you run the stats update it may take a long time depending on the number of logs you have. " end_info2 = "Subsequent updates will be much quicker since only new logs (after your last update) will have to be scanned. " end_info2 = "You will need to periodically run the stats update so new stats are collected and inserted into your DB.\n" end_win2 = "Windows users should use their Windows Scheduler and setup a task to automatically run the updates." end_linux2 = "Linux users can use their crontab and have the stats.pl process run automatically at set intervals." end_info3 = "\nOnce you have data in the database you should be able to browse to your website stats URL to view the stats. " end_info3 = "For example: $httpstats" netftp = "WARNING: Net::FTP is not installed on your system. You must install it before you can continue " netftp = "with this step of the installation." done = "Installation completed!\n\n" copydone = "Done copying files." uploaddone = "Done uploading files." aborting = "Aborting ..." yesorno = ">> Answer yes or no ..." unknown = "Unknown" unknownerror = "Unknown Error" error = "ERROR" fileerror = "ERROR: $error" ok = "OK" filenotfound = "File not found!" fexists = "File already exists: $file" dirnotexists = "Directory does not exist: $path" fexistsftp = "File already exists on remote host: $file in $path" dircreated = "Directory created successfully: $path" direrror = "Error creating directory: $error" ftperror = "FTP Error: $error" ftpcwderror = "Error changing directory: $error" ftpuploaderror = "Error uploading: $error" ftpuploadok = "File(s) uploaded successfully!" copyfile = "Copying [$pct%][$filesize] $file ... " ulfile = "Uploading [$pct%][$filesize] $file ... " updateconf = "\nUpdating configuration ...\n" invalidresponse = "Invalid response. Please try again.\n" invalidinput = "WARNING: DO NOT use the pound sign (£) in your input. It will cause problems in your configuration file." ftpconnect = "Connecting to $webhost as $ftpuser ... " ftpconnected = "Connected to $webhost successfully as $ftpuser!\nCurrent FTP directory: $ftpcwd\n" urlerror = "\n*** You must specify a valid URL (no spaces, and only use / slashes)" rooterror = "\n*** Directory could not be created" ulfileerr = "ERROR: $error" copyfileerr = "ERROR: $error" nofiles = "\s2No files to copy." # ALL yn_* strings should be SHORT YES/NO PROMPTS (these lines do not get auto-wrapped). Do not use '\n'. # [Y,n]: or [y,N]: is automatically appended to the end of the string depending on where the prompt is used. yn_createdir = "Should I create the directory?" yn_tryagain = "Want to try again?" yn_tryagaindir = "Want to try another directory?" yn_overwrite = "Overwrite file?" yn_ftpoverwrite = "Upload and overwrite existing files?" yn_uploadfiles = "Do you want to upload the files now?" yn_copyfiles = "Do you want to copy the files now?" yn_pminstall = "Should I install the modules?" yn_pminstall2 = "Should I continue with the other modules?" yn_proceed = "Are you ready to proceed?" yn_change = "Do you want to change your settings?" yn_changeroot = "Do you want to change the ROOT PATHS?" yn_changeurl = "Do you want to change the URLs?" yn_verify = "Verify settings?" yn_ftpconf = "Change FTP settings?" err_stepload = "*** Could not load step '$step'. It will be ignored, See error below:\n$error" err_stepinit = "*** Step '$step' failed to initialize. See error below:\n$steperror " err_nosteps = "*** No valid install steps to perform! Aborting installation ***" err_dbi = "*** DBI module is not installed! DB installation is not possible!"