Seperated intro-github from npm/brunch and removed zh local option

This commit is contained in:
Glen De Cauwsemaecker 2014-04-11 00:00:23 +02:00
parent 8362ddc1bb
commit 5ff4a33798
13 changed files with 46 additions and 85 deletions

View file

@ -0,0 +1,2 @@
cd scripts
configuration.bat

View file

@ -53,6 +53,11 @@
<ssh>Willst du das Repository via SSH auschecken?</ssh>
</process>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>

View file

@ -60,6 +60,11 @@
<process>Thank you... Configuring your local repistory right now...</process>
</config>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>

View file

@ -53,6 +53,11 @@
<ssh>Do you want to checkout the repository via ssh?</ssh>
</process>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>

View file

@ -2,6 +2,5 @@ en
nl
de
fr
zh
zh-HANT
zh-HANS

View file

@ -53,6 +53,11 @@
<ssh>Wil je het git project downloaden via ssh?</ssh>
</process>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>

View file

@ -53,6 +53,11 @@
<ssh>你是否想使用 ssh 来检出(checkout)库(repository)?</ssh>
</process>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>正在安装 bower, brunch, nodemon 和 sendwithus...</install>
<binstall>正在用 bower 安装依赖包...</binstall>

View file

@ -53,6 +53,11 @@
<ssh>Do you want to checkout the repository via ssh?</ssh>
</process>
</github>
<switch>
<install>The installation of your local environment was succesfull!</install>
<close>You can now close this setup.</close>
<open>After that, you should open the configuration setup to automaticly configure your environment...</open>
</switch>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>

View file

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<global>
<native>中文</native>
<description>Chinese</description>
<intro>From now on we'll send our feedback in English!</intro>
</global>
<install>
<system>
<bit>-bit computer detected.</bit>
<prefix>The operating system</prefix>
<sufix>was detected.</sufix>
<xp>We don't support Windows XP, installation cancelled.</xp>
</system>
<process>
<sks>Have you already installed all the software needed for CodeCombat?</sks>
<skq>We recommand that you reply negative in case you're not sure.</skq>
<skc>Skipping the installation of the software...</skc>
<s1>CodeCombat couldn't be developed without third-party software.</s1>
<s2>That's why you'll need to install this software,</s2>
<s3>in order to start contributing to our community.</s3>
<s4>Cancel the installation if you already have the application.</s4>
<winpath>Make sure to select the option that adds the application to your Windows Path, if the option is available.</winpath>
<prefix>Do you already have the latest version of</prefix>
<sufix>installed?</sufix>
<downloading>is downloading...</downloading>
<installing>is installing...</installing>
<unzipping>is unzipping...</unzipping>
<cleaning>is cleaning...</cleaning>
<mongodbpath>Please define the full path where mongodb should be installed</mongodbpath>
</process>
</install>
<github>
<intro>
<opensource>CodeCombat is opensource, like you already know.</opensource>
<online>All our sourcecode can be found online at Github.</online>
<manual>You can choose to do the entire Git setup yourself.</manual>
<norec>However we recommend that you instead let us handle it instead.</norec>
</intro>
<skip>
<question>Do you want to do the Local Git setup manually yourself?</question>
<consequence>Make sure you have correctly setup your repository before processing.</consequence>
<donotclose>Do not close this window please.</donotclose>
<wait>When you're ready, press any key to continue...</wait>
</skip>
<process>
<path>Please give the full path of your CodeCombat git repository: </path>
<checkout>Please enter the full path where you want to install your CodeCombat environment</checkout>
<bashi>This installation requires Git Bash.</bashi>
<bashp64>Git bash is by default installed at 'C:\Program Files (x86)\Git'.</bashp64>
<bashp32>Git bash is by default installed at 'C:\Program Files\Git'.</bashp32>
<bashq>Please enter the full path where git bash is installed or just press enter if it's in the default location</bashq>
<ssh>Do you want to checkout the repository via ssh?</ssh>
</process>
</github>
<npm>
<install>Installing bower, brunch, nodemon and sendwithus...</install>
<binstall>Installing bower packages...</binstall>
<sass>Installing sass...</sass>
<npm>Installing npm...</npm>
<brnch>Starting brunch....</brnch>
<mongodb>Setting up a MongoDB database for you...</mongodb>
<db>Downloading the last version of the CodeCombat database...</db>
<script>Preparing the automatic startup script for you...</script>
<close>Don't close!</close>
</npm>
<error>
<path>That path already exists, are you sure you want to overwrite it?</path>
<exist>That path doesn't exist. Please try again...</exist>
</error>
<end>
<succesfull>The setup of the CodeCombat Dev. Environment was succesfull.</succesfull>
<thankyou>Thank you already for your contribution and see you soon.</thankyou>
<readme>Do you want to read the README for more information?</readme>
</end>
<start>
<s1>From now on you can start the dev. environment at</s1>
<s2>the touch of a single mouse click.</s2>
<s3> 1) Just double click</s3>
<s4> and let the environment start up.</s4>
<s5> 2) Now just open 'localhost:3000' in your prefered browser.</s5>
<s6>That's it, you're now ready to start working on CodeCombat!</s6>
</start>
</variables>

View file

@ -1,6 +1,8 @@
@echo off
setlocal EnableDelayedExpansion
call read_cache.bat
call configuration_cmd
call npm_and_brunch_setup

View file

@ -7,4 +7,16 @@ call github_setup
start cmd /c "setup_p3.bat"
call write_cache.bat
call get_local_text switch_install switch install
call get_local_text switch_close switch close
call get_local_text switch_open switch open
echo %switch_install%
echo %switch_close%
echo.
set /p "dummy=%switch_open%"
endlocal