Refactoring code to use powershell instead of the C++ utilities. In order to remove the VS2010dll dependancy

This commit is contained in:
Glen De Cauwsemaecker 2014-04-02 04:31:20 +02:00
parent 9e947ce7ab
commit 8926429987
20 changed files with 416 additions and 233 deletions

View file

@ -1,6 +1,6 @@
version=1.0
author=GlenDC
copyright=CodeCombat.com © 2013-2014
github_url=https://github.com/codecombat/codecombat.git
github_ssh=git@github.com:codecombat/codecombat.git
database_backup=http://23.21.59.137/dump.tar.gz
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<version>1.0</version>
<author>GlenDC</author>
<copyright>CodeCombat.com © 2013-2014</copyright>
</variables>

View file

@ -1,23 +1,24 @@
[general]
[32]
nodejs=http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi
ruby=http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct
python=https://www.python.org/ftp/python/2.7.6/python-2.7.6.msi
[64]
nodejs=http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi
ruby=http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct
python=https://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
winsdk=http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/winsdk_web.exe
[general]
gitbash=https://msysgit.googlecode.com/files/Git-1.8.5.2-preview20131230.exe
visualstudio2010=http://download.microsoft.com/download/1/D/9/1D9A6C0E-FC89-43EE-9658-B9F0E3A76983/vc_web.exe
[Win7]
[32]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip
[64]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip
[Vista]
[64]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.5.4.zip
[32]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<general>
<b32>
<nodejs>http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi</nodejs>
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct</ruby>
<python>http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi</python>
</b32>
<b64>
<nodejs>http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi</nodejs>
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct</ruby>
<python>http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi</python>
</b64>
<gitbash>https://msysgit.googlecode.com/files/Git-1.8.5.2-preview20131230.exe</gitbash>
</general>
<win7>
<b32>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip</b32>
<b64>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip</b64>
</win7>
<vista>
<b32>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip</b32>
<b64>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.5.4.zip</b64>
</vista>
</variables>

View file

@ -1,66 +1,81 @@
[global]
native=Deutsch
intro=Ab jetzt senden wir unser Feedback in Englisch!
[install]
[system]
bit=-Bit System erkannt.
prefix=Es wurde das Betriebssystem
sufix=erkannt.
xp=Windows XP wird nicht unterstützt. Installation abgebrochen.
[process]
sks=Sind die für CodeCombat benötigten Programme bereits installiert?
skq=Wir empfehlen Ihnen, mit „Nein“ zu antorten, falls Sie unsicher sind.
skc=Überspringe Installation der Programme...
1=Ohne Software von Drittanbietern könnte CodeCombat nicht entwickelt werden.
2=Aus diesem Grund müssen Sie diese Software installieren,
3=um sich in der Community zu engagieren.
4=Wenn Sie ein Programm bereits installiert haben, brechen Sie die Installation bitte ab.
prefix=Haben Sie bereits die aktuellste Version von
sufix=installiert?
downloading=wird heruntergeladen...
installing=wird installiert...
unzipping=wird entpackt...
cleaning=wird aufgeräumt...
mongodbpath=Bitte geben Sie den kompletten Pfad an, an dem MongoDB installiert werden soll
[github]
[intro]
opensource=Wie Du bereits weißt, ist CodeCombat Open Source.
online=Unser Quellcode ist komplett auf Github.
manual=Wenn Du möchtest, kannst du das komplette Git Repository selbst herunterladen und nach deinen wünschen einrichten.
norec=Allerdings empfehlen wir, dass du den Prozess statt dessen uns überlässt.
[skip]
question=Willst du das lokale Git Setup selbst vornehmen?
consequence=Bit vergewissere dich, dass das Repository korrekt heruntergeladen wurde, bevor du fortfährst.
donotclose=Bitte schließe dieses Fenster nicht.
wait=Wenn du fertig bist, drücke eine beliebige Taste zum Fortfahren...
[process]
path=Gebe bitte den kompletten Pfad zu deinem CodeCombat Git Repository ein:
checkout=Bitte gib den kompletten Pfad ein, an dem du die CodeCombat Umgebung einrichten willst
bashi=Diese Installation benötigt die Git Bash.
bashp64=Die Git Bash ist standardmäßig in 'C:\Program Files (x86)\Git' installiert.
bashp32=Die Git Bash ist standardmäßig in 'C:\Program Files\Git' installiert.
bashq=Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden
ssh=Willst du das Repository via SSH auschecken?
[npm]
install=Installing bower, brunch, nodemon and sendwithus...
binstall=Installing bower packages...
sass=Installing sass...
npm=Installing npm...
brnch=Starting brunch....
mongodb=Setting up a MongoDB database for you...
database=Downloading the last version of the CodeCombat database...
script=Preparing the automatic startup script for you...
[error]
path=Dieser Pfad existiert bereits. Willst du ihn wirklich überschreiben?
exist=Dieser Pfad exisitert nicht. Bitte versuche es erneut...
[end]
succesfull=Die CodeCombat Entwicklungsumgebung wurde erfoglreich installiert.
thankyou=Vielen Dank für die Unterstützung und bis bald.
readme=Willst du das README lesen, um weitere Informationen zu erhalten?
[start]
1=Von nun an kannst du die Entwicklungsumgebung starten unter
2=einmal mit der Maus klicken.
3= 1) Einfach Doppelklicken
4=und warten bis die Entwicklungsumgebung fertig geladen hat.
5= 2) Jetzt 'localhost:3000' in deinem bevorzugten Browser aufrufen.
6=Fertig. Du bist nun bereit, bei CodeCombat mitzuarbeiten!
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<global>
<native>Deutsch</native>
<intro>Ab jetzt senden wir unser Feedback in Englisch!</intro>
</global>
<install>
<system>
<bit>-Bit System erkannt.</bit>
<prefix>Es wurde das Betriebssystem</prefix>
<sufix>erkannt.</sufix>
<xp>Windows XP wird nicht unterstützt. Installation abgebrochen.</xp>
</system>
<process>
<sks>Sind die für CodeCombat benötigten Programme bereits installiert?</sks>
<skq>Wir empfehlen Ihnen, mit „Nein“ zu antorten, falls Sie unsicher sind.</skq>
<skc>Überspringe Installation der Programme...</skc>
<1>Ohne Software von Drittanbietern könnte CodeCombat nicht entwickelt werden.</1>
<2>Aus diesem Grund müssen Sie diese Software installieren,</2>
<3>um sich in der Community zu engagieren.</3>
<4>Wenn Sie ein Programm bereits installiert haben, brechen Sie die Installation bitte ab.</4>
<prefix>Haben Sie bereits die aktuellste Version von</prefix>
<sufix>installiert?</sufix>
<downloading>wird heruntergeladen...</downloading>
<installing>wird installiert...</installing>
<unzipping>wird entpackt...</unzipping>
<cleaning>wird aufgeräumt...</cleaning>
<mongodbpath>Bitte geben Sie den kompletten Pfad an, an dem MongoDB installiert werden soll</mongodbpath>
</process>
</install>
<github>
<intro>
<opensource>Wie Du bereits weißt, ist CodeCombat Open Source.
<online>Unser Quellcode ist komplett auf Github.
<manual>Wenn Du möchtest, kannst du das komplette Git Repository selbst herunterladen und nach deinen wünschen einrichten.
<norec>Allerdings empfehlen wir, dass du den Prozess statt dessen uns überlässt.
</intro>
<skip>
<question>Willst du das lokale Git Setup selbst vornehmen?
<consequence>Bit vergewissere dich, dass das Repository korrekt heruntergeladen wurde, bevor du fortfährst.
<donotclose>Bitte schließe dieses Fenster nicht.
<wait>Wenn du fertig bist, drücke eine beliebige Taste zum Fortfahren...
</skip>
<process>
<path>Gebe bitte den kompletten Pfad zu deinem CodeCombat Git Repository ein: </path>
<checkout>Bitte gib den kompletten Pfad ein, an dem du die CodeCombat Umgebung einrichten willst</checkout>
<bashi>Diese Installation benötigt die Git Bash.</bashi>
<bashp64>Die Git Bash ist standardmäßig in 'C:\Program Files (x86)\Git' installiert.</bashp64>
<bashp32>Die Git Bash ist standardmäßig in 'C:\Program Files\Git' installiert.</bashp32>
<bashq>Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden</bashq>
<ssh>Willst du das Repository via SSH auschecken?</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>
<database>Downloading the last version of the CodeCombat database...</database>
<script>Preparing the automatic startup script for you...</script>
</npm>
<error>
<path>Dieser Pfad existiert bereits. Willst du ihn wirklich überschreiben?<path>
<exist>Dieser Pfad exisitert nicht. Bitte versuche es erneut...</exist>
</error>
<end>
<succesfull>Die CodeCombat Entwicklungsumgebung wurde erfoglreich installiert.</succesfull>
<thankyou>Vielen Dank für die Unterstützung und bis bald.</thankyou>
<readme>Willst du das README lesen, um weitere Informationen zu erhalten?</readme>
</end>
<start>
<1>Von nun an kannst du die Entwicklungsumgebung starten unter</1>
<2>einmal mit der Maus klicken.</2>
<3> 1) Einfach Doppelklicken</3>
<4>und warten bis die Entwicklungsumgebung fertig geladen hat.</4>
<5> 2) Jetzt 'localhost:3000' in deinem bevorzugten Browser aufrufen.</5>
<6>Fertig. Du bist nun bereit, bei CodeCombat mitzuarbeiten!</6>
</start>
</variables>

View file

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

View file

@ -1,66 +1,81 @@
[global]
native=Nederlands
intro=Vanaf nu geven we onze feedback in het Nederlands!
[install]
[system]
bit=-bit computer gedetecteerd.
prefix=Het besturingsysteem
sufix=is gedetecteerd.
xp=Wij ondersteunen Windows XP niet, installatie geanulleerd.
[process]
sks=Heb je alle benodige software al geinstalleerd?
skq=We raden aan dat je negatief antwoord indien je niet zeker bent.
skc=De installatie van software wordt geanulleerd...
1=CodeCombat kon niet worden ontwikkeld zonder third-party software.
2=Dat is waarom je deze software moet installeren,
3=zodat je je kan beginnen met het bijdragen tot onze gemeenschap.
4=Annuleer de installatie als je de applicatie al hebt.
prefix=Heb je al de laatste versie van
sufix=geinstalleerd?
downloading=is aan het downloaden...
installing=is aan het installeren...
unzipping=is aan het uitpakken...
cleaning=is aan het opkuisen...
mongodbpath=Geef het volledige pad op, waar mongodb mag worden geinstalleerd
[github]
[intro]
opensource=CodeCombat is opensource, zoals je waarschijnlijk wel al weet.
online=Je kan al onze sourcecode vinden op Github.
manual=Indien je wil, kan je de Git setup manueel doen.
norec=Maar wij raden aan dat je ons dit automatisch laat afhandellen.
[skip]
question=Wil je de lokale Git setup manueel doen?
consequence=Zorg er zeker voor dat jouw git repository correct is.
donotclose=Sluit dit venster niet alsjeblieft.
wait=Wanneer je klaar bent, druk dan eender welke toets om verder te gaan...
[process]
path=Geef alsjeblieft het volledige pad van je CodeCombat git repository:
checkout=Geef alsjeblieft het volledige pad waar je de CodeCombat Ontwikkelings omgeving will installeren
bashi=Deze installatie maakt gebruik van Git Bash.
bashp64=Git bash is normaal geinstalleerd in 'C:\Program Files (x86)\Git'.
bashp32=Git bash is normaal geinstalleerd in 'C:\Program Files\Git'.
bashq=Geef alsjeblieft het volledige pad op van Git Bash of druk gewoon op enter indien je het pad niet gewijzigd heeft
ssh=Wil je het git project downloaden via ssh?
[npm]
install=Installing bower, brunch, nodemon and sendwithus...
binstall=Installing bower packages...
sass=Installing sass...
npm=Installing npm...
brnch=Starting brunch....
mongodb=Setting up a MongoDB database for you...
database=Downloading the last version of the CodeCombat database...
script=Preparing the automatic startup script for you...
[error]
path=Dat pad bestaat al, ben je zeker dat je het wil overschrijven?
exist=Dat pad bestaat niet, probeer alsjeblieft opnieuw...
[end]
succesfull=De installatie van de CodeCombat-Ontwikkelings omgeving was succesvol.
thankyou=Alvast bedankt voor al je werk en tot binnenkort.
readme=Wil je de LEESMIJ lezen voor meer informatie?
[start]
1=Vanaf nu kan je de ontwikkelings omgeving opstarten
2=met het gemak van een enkele muisklik.
3= 1) Dubbelklik op
4=en laat de omgeving opstarten.
5= 2) Nu kan je 'localhost:3000' openen in je browser naar voorkeur.
6=Dat is het, je bent nu klaar om te starten met je werk aan CodeCombat.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<global>
<native>Nederlands</native>
<intro>Vanaf nu geven we onze feedback in het Nederlands!</intro>
</global>
<install>
<system>
<bit>-bit computer gedetecteerd.</bit>
<prefix>Het besturingsysteem</prefix>
<sufix>is gedetecteerd.</sufix>
<xp>Wij ondersteunen Windows XP niet, installatie geanulleerd.</xp>
</system>
<process>
<sks>Heb je alle benodige software al geinstalleerd?</sks>
<skq>We raden aan dat je negatief antwoord indien je niet zeker bent.</skq>
<skc>De installatie van software wordt geanulleerd...</skc>
<1>CodeCombat kon niet worden ontwikkeld zonder third-party software.</1>
<2>Dat is waarom je deze software moet installeren,</2>
<3>zodat je je kan beginnen met het bijdragen tot onze gemeenschap.</3>
<4>Annuleer de installatie als je de applicatie al hebt.</4>
<prefix>Heb je al de laatste versie van</prefix>
<sufix>geinstalleerd?</sufix>
<downloading>is aan het downloaden...</downloading>
<installing>is aan het installeren...</installing>
<unzipping>is aan het uitpakken...</unzipping>
<cleaning>is aan het opkuisen...</cleaning>
<mongodbpath>Geef het volledige pad op, waar mongodb mag worden geinstalleerd</mongodbpath>
</process>
</install>
<github>
<intro>
<opensource>CodeCombat is opensource, zoals je waarschijnlijk wel al weet.</opensource>
<online>Je kan al onze sourcecode vinden op Github.</online>
<manual>Indien je wil, kan je de Git setup manueel doen.</manual>
<norec>Maar wij raden aan dat je ons dit automatisch laat afhandellen.</norec>
</intro>
<skip>
<question>Wil je de lokale Git setup manueel doen?</question>
<consequence>Zorg er zeker voor dat jouw git repository correct is.</consequence>
<donotclose>Sluit dit venster niet alsjeblieft.</donotclose>
<wait>Wanneer je klaar bent, druk dan eender welke toets om verder te gaan...</wait>
</skip>
<process>
<path>Geef alsjeblieft het volledige pad van je CodeCombat git repository: </path>
<checkout>Geef alsjeblieft het volledige pad waar je de CodeCombat Ontwikkelings omgeving will installeren</checkout>
<bashi>Deze installatie maakt gebruik van Git Bash.</bashi>
<bashp64>Git bash is normaal geinstalleerd in 'C:\Program Files (x86)\Git'.</bashp64>
<bashp32>Git bash is normaal geinstalleerd in 'C:\Program Files\Git'.</bashp32>
<bashq>Geef alsjeblieft het volledige pad op van Git Bash of druk gewoon op enter indien je het pad niet gewijzigd heeft</bashq>
<ssh>Wil je het git project downloaden 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>
<database>Downloading the last version of the CodeCombat database...</database>
<script>Preparing the automatic startup script for you...</script>
</npm>
<error>
<path>Dat pad bestaat al, ben je zeker dat je het wil overschrijven?</path>
<exist>Dat pad bestaat niet, probeer alsjeblieft opnieuw...</exist>
</error>
<end>
<succesfull>De installatie van de CodeCombat-Ontwikkelings omgeving was succesvol.</succesfull>
<thankyou>Alvast bedankt voor al je werk en tot binnenkort.</thankyou>
<readme>Wil je de LEESMIJ lezen voor meer informatie?</readme>
</end>
<start>
<1>Vanaf nu kan je de ontwikkelings omgeving opstarten</1>
<2>met het gemak van een enkele muisklik.</2>
<3> 1) Dubbelklik op</3>
<4>en laat de omgeving opstarten.</4>
<5> 2) Nu kan je 'localhost:3000' openen in je browser naar voorkeur.</5>
<6>Dat is het, je bent nu klaar om te starten met je werk aan CodeCombat.</6>
</start>
</variables>

View file

@ -1 +1,3 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\config\\config.coco %1') do set "%%a"
powershell .\get_var.ps1 ..\\config\\config.coco %2 %3 %4 %5 %6 > var.tmp
set /p %1= < var.tmp
del /q var.tmp

View file

@ -1 +1,3 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\config\\downloads.coco %1') do set "%%a"
powershell .\get_var.ps1 ..\\config\\downloads.coco %2 %3 %4 %5 %6 > var.tmp
set /p %1= < var.tmp
del /q var.tmp

View file

@ -1 +1 @@
call get_text %language_id% %1
call get_text %language_id% %1 %2 %3 %4 %5

View file

@ -1,3 +1,3 @@
for /f "delims=" %%a in ('..\\utilities\\get_var.exe ..\\localisation\\%1.coco %2') do (
set "%%a"
)
powershell .\get_var.ps1 ..\\localisation\\%1.coco %3 %4 %5 %6 %7 > var.tmp
set /p %2= < var.tmp
del /q var.tmp

View file

@ -0,0 +1,17 @@
$xml_file = [xml](get-content $args[0])
if($args.count -eq 2)
{
$xml_file.variables.($args[1])
}
elseif($args.count -eq 3)
{
$xml_file.variables.($args[1]).($args[2])
}
elseif($args.count -eq 4)
{
$xml_file.variables.($args[1]).($args[2]).($args[3])
}
elseif($args.count -eq 5)
{
$xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4])
}

View file

@ -0,0 +1,2 @@
@echo off
powershell "& "%*"

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<version>1.0</version>
<author>GlenDC</author>
<copyright>CodeCombat.com © 2013-2014</copyright>
</variables>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<general>
<b32>
<nodejs>http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi</nodejs>
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct</ruby>
<python>http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi</python>
</b32>
<b64>
<nodejs>http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi</nodejs>
<ruby>http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct</ruby>
<python>http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi</python>
</b64>
<gitbash>https://msysgit.googlecode.com/files/Git-1.8.5.2-preview20131230.exe</gitbash>
</general>
<win7>
<b32>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip</b32>
<b64>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip</b64>
</win7>
<vista>
<b32>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip</b32>
<b64>mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.5.4.zip</b64>
</vista>
</variables>

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<variables>
<global>
<native>English</native>
<bye>Bye Bye!</bye>
</global>
<install>
<begin>Installation has begun, this can take a while... Please stay tuned...</begin>
<close>Don't close any windows please, unless specified explicitly.</close>
</install>
<dai>
<title>[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]</title>
<downloading>downloading:</downloading>
<installing>installing:</installing>
<cancel>Download and Installation cancelled...</cancel>
<software>Software has been installed...</software>
<devenv>Installation of the Developers Environment is complete!</devenv>
<stop>Installation has been stopped...</stop>
<unpacking>unpacking and moving:</unpacking>
<bower>Installing bower, brunch, nodemon and sendwithus...</bower>
</dai>
<git>
<stored>CodeCombat is safely stored on a git repository.</stored>
<clapp>Therefore you need a git command-line application (Git-bash).</clapp>
<examples>Examples: git-bash, CygWin, ...</examples>
<question>Do you already have git-bash?</question>
<path>Enter the path to where you installed Git-bash</path>
<checkout>Checking out the Git Repository...</checkout>
<username>Please enter your github username:</username>
</git>
<nodejs>
<question>Do you already have the latest version of node-js installed?</question>
<path>Please enter the full path of the location you installed nodejs to:</path>
</nodejs>
<ruby>
<question>Do you already have the latest version of ruby installed?</question>
</ruby>
<mongodb>
<question>Do you already have the latest version of mongo-db installed?</question>
<path>Enter the path where you would like to install MongoDB:</path>
</mongodb>
<python>
<question>Do you already have the latest version of python installed?</question>
</python>
<error>
<xp>Sadly we can't support Windows XP... Please upgrade your OS!</xp>
<os>Machine OS cannot be determined...</os>
<osreport>Report your OS to the developers @ CodeCombat.com...</osreport>
<nocleaning>... Cleaning up has been disabled... Terminating Script!</nocleaning>
<git_app_path>The path to your git application is incorrect, please try again...</git_app_path>
<invalid_path>The path you entered is invalid, please try again...</invalid_path>
</error>
</variables>

View file

@ -0,0 +1,4 @@
@ECHO off
powershell .\get_var.ps1 config.coco %1 > var.tmp
set /p %1= < var.tmp
del /q var.tmp

View file

@ -0,0 +1,4 @@
@ECHO off
powershell .\get_var.ps1 downloads.coco %2 %3 %4 %5 %6 > var.tmp
set /p %1= < var.tmp
del /q var.tmp

View file

@ -0,0 +1,4 @@
@ECHO off
powershell .\get_var.ps1 %1.coco %3 %4 %5 %6 %7 > var.tmp
set /p %2= < var.tmp
del /q var.tmp

View file

@ -0,0 +1,17 @@
$xml_file = [xml](get-content $args[0])
if($args.count -eq 2)
{
$xml_file.variables.($args[1])
}
elseif($args.count -eq 3)
{
$xml_file.variables.($args[1]).($args[2])
}
elseif($args.count -eq 4)
{
$xml_file.variables.($args[1]).($args[2]).($args[3])
}
elseif($args.count -eq 5)
{
$xml_file.variables.($args[1]).($args[2]).($args[3]).($args[4])
}

View file

@ -0,0 +1,2 @@
@echo off
powershell "& "%*"