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

View file

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

View file

@ -1,66 +1,81 @@
[global] <?xml version="1.0" encoding="ISO-8859-1" ?>
native=Deutsch <variables>
intro=Ab jetzt senden wir unser Feedback in Englisch! <global>
[install] <native>Deutsch</native>
[system] <intro>Ab jetzt senden wir unser Feedback in Englisch!</intro>
bit=-Bit System erkannt. </global>
prefix=Es wurde das Betriebssystem <install>
sufix=erkannt. <system>
xp=Windows XP wird nicht unterstützt. Installation abgebrochen. <bit>-Bit System erkannt.</bit>
[process] <prefix>Es wurde das Betriebssystem</prefix>
sks=Sind die für CodeCombat benötigten Programme bereits installiert? <sufix>erkannt.</sufix>
skq=Wir empfehlen Ihnen, mit „Nein“ zu antorten, falls Sie unsicher sind. <xp>Windows XP wird nicht unterstützt. Installation abgebrochen.</xp>
skc=Überspringe Installation der Programme... </system>
1=Ohne Software von Drittanbietern könnte CodeCombat nicht entwickelt werden. <process>
2=Aus diesem Grund müssen Sie diese Software installieren, <sks>Sind die für CodeCombat benötigten Programme bereits installiert?</sks>
3=um sich in der Community zu engagieren. <skq>Wir empfehlen Ihnen, mit „Nein“ zu antorten, falls Sie unsicher sind.</skq>
4=Wenn Sie ein Programm bereits installiert haben, brechen Sie die Installation bitte ab. <skc>Überspringe Installation der Programme...</skc>
prefix=Haben Sie bereits die aktuellste Version von <1>Ohne Software von Drittanbietern könnte CodeCombat nicht entwickelt werden.</1>
sufix=installiert? <2>Aus diesem Grund müssen Sie diese Software installieren,</2>
downloading=wird heruntergeladen... <3>um sich in der Community zu engagieren.</3>
installing=wird installiert... <4>Wenn Sie ein Programm bereits installiert haben, brechen Sie die Installation bitte ab.</4>
unzipping=wird entpackt... <prefix>Haben Sie bereits die aktuellste Version von</prefix>
cleaning=wird aufgeräumt... <sufix>installiert?</sufix>
mongodbpath=Bitte geben Sie den kompletten Pfad an, an dem MongoDB installiert werden soll <downloading>wird heruntergeladen...</downloading>
[github] <installing>wird installiert...</installing>
[intro] <unzipping>wird entpackt...</unzipping>
opensource=Wie Du bereits weißt, ist CodeCombat Open Source. <cleaning>wird aufgeräumt...</cleaning>
online=Unser Quellcode ist komplett auf Github. <mongodbpath>Bitte geben Sie den kompletten Pfad an, an dem MongoDB installiert werden soll</mongodbpath>
manual=Wenn Du möchtest, kannst du das komplette Git Repository selbst herunterladen und nach deinen wünschen einrichten. </process>
norec=Allerdings empfehlen wir, dass du den Prozess statt dessen uns überlässt. </install>
[skip] <github>
question=Willst du das lokale Git Setup selbst vornehmen? <intro>
consequence=Bit vergewissere dich, dass das Repository korrekt heruntergeladen wurde, bevor du fortfährst. <opensource>Wie Du bereits weißt, ist CodeCombat Open Source.
donotclose=Bitte schließe dieses Fenster nicht. <online>Unser Quellcode ist komplett auf Github.
wait=Wenn du fertig bist, drücke eine beliebige Taste zum Fortfahren... <manual>Wenn Du möchtest, kannst du das komplette Git Repository selbst herunterladen und nach deinen wünschen einrichten.
[process] <norec>Allerdings empfehlen wir, dass du den Prozess statt dessen uns überlässt.
path=Gebe bitte den kompletten Pfad zu deinem CodeCombat Git Repository ein: </intro>
checkout=Bitte gib den kompletten Pfad ein, an dem du die CodeCombat Umgebung einrichten willst <skip>
bashi=Diese Installation benötigt die Git Bash. <question>Willst du das lokale Git Setup selbst vornehmen?
bashp64=Die Git Bash ist standardmäßig in 'C:\Program Files (x86)\Git' installiert. <consequence>Bit vergewissere dich, dass das Repository korrekt heruntergeladen wurde, bevor du fortfährst.
bashp32=Die Git Bash ist standardmäßig in 'C:\Program Files\Git' installiert. <donotclose>Bitte schließe dieses Fenster nicht.
bashq=Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden <wait>Wenn du fertig bist, drücke eine beliebige Taste zum Fortfahren...
ssh=Willst du das Repository via SSH auschecken? </skip>
[npm] <process>
install=Installing bower, brunch, nodemon and sendwithus... <path>Gebe bitte den kompletten Pfad zu deinem CodeCombat Git Repository ein: </path>
binstall=Installing bower packages... <checkout>Bitte gib den kompletten Pfad ein, an dem du die CodeCombat Umgebung einrichten willst</checkout>
sass=Installing sass... <bashi>Diese Installation benötigt die Git Bash.</bashi>
npm=Installing npm... <bashp64>Die Git Bash ist standardmäßig in 'C:\Program Files (x86)\Git' installiert.</bashp64>
brnch=Starting brunch.... <bashp32>Die Git Bash ist standardmäßig in 'C:\Program Files\Git' installiert.</bashp32>
mongodb=Setting up a MongoDB database for you... <bashq>Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden</bashq>
database=Downloading the last version of the CodeCombat database... <ssh>Willst du das Repository via SSH auschecken?</ssh>
script=Preparing the automatic startup script for you... </process>
[error] </github>
path=Dieser Pfad existiert bereits. Willst du ihn wirklich überschreiben? <npm>
exist=Dieser Pfad exisitert nicht. Bitte versuche es erneut... <install>Installing bower, brunch, nodemon and sendwithus...</install>
[end] <binstall>Installing bower packages...</binstall>
succesfull=Die CodeCombat Entwicklungsumgebung wurde erfoglreich installiert. <sass>Installing sass...</sass>
thankyou=Vielen Dank für die Unterstützung und bis bald. <npm>Installing npm...</npm>
readme=Willst du das README lesen, um weitere Informationen zu erhalten? <brnch>Starting brunch....</brnch>
[start] <mongodb>Setting up a MongoDB database for you...</mongodb>
1=Von nun an kannst du die Entwicklungsumgebung starten unter <database>Downloading the last version of the CodeCombat database...</database>
2=einmal mit der Maus klicken. <script>Preparing the automatic startup script for you...</script>
3= 1) Einfach Doppelklicken </npm>
4=und warten bis die Entwicklungsumgebung fertig geladen hat. <error>
5= 2) Jetzt 'localhost:3000' in deinem bevorzugten Browser aufrufen. <path>Dieser Pfad existiert bereits. Willst du ihn wirklich überschreiben?<path>
6=Fertig. Du bist nun bereit, bei CodeCombat mitzuarbeiten! <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] <?xml version="1.0" encoding="ISO-8859-1" ?>
native=English <variables>
intro=From now on we'll send our feedback in English! <global>
[install] <native>English</native>
[system] <intro>From now on we'll send our feedback in English!</intro>
bit=-bit computer detected. </global>
prefix=The operating system <install>
sufix=was detected. <system>
xp=We don't support Windows XP, installation cancelled. <bit>-bit computer detected.</bit>
[process] <prefix>The operating system</prefix>
sks=Have you already installed all the software needed for CodeCombat? <sufix>was detected.</sufix>
skq=We recommand that you reply negative in case you're not sure. <xp>We don't support Windows XP, installation cancelled.</xp>
skc=Skipping the installation of the software... </system>
1=CodeCombat couldn't be developed without third-party software. <process>
2=That's why you'll need to install this software, <sks>Have you already installed all the software needed for CodeCombat?</sks>
3=in order to start contributing to our community. <skq>We recommand that you reply negative in case you're not sure.</skq>
4=Cancel the installation if you already have the application. <skc>Skipping the installation of the software...</skc>
prefix=Do you already have the latest version of <1>CodeCombat couldn't be developed without third-party software.</1>
sufix=installed? <2>That's why you'll need to install this software,</2>
downloading=is downloading... <3>in order to start contributing to our community.</3>
installing=is installing... <4>Cancel the installation if you already have the application.</4>
unzipping=is unzipping... <prefix>Do you already have the latest version of</prefix>
cleaning=is cleaning... <sufix>installed?</sufix>
mongodbpath=Please define the full path where mongodb should be installed <downloading>is downloading...</downloading>
[github] <installing>is installing...</installing>
[intro] <unzipping>is unzipping...</unzipping>
opensource=CodeCombat is opensource, like you already know. <cleaning>is cleaning...</cleaning>
online=All our sourcecode can be found online at Github. <mongodbpath>Please define the full path where mongodb should be installed</mongodbpath>
manual=You can choose to do the entire Git setup yourself. </process>
norec=However we recommend that you instead let us handle it instead. </install>
[skip] <github>
question=Do you want to do the Local Git setup manually yourself? <intro>
consequence=Make sure you have correctly setup your repository before processing. <opensource>CodeCombat is opensource, like you already know.</opensource>
donotclose=Do not close this window please. <online>All our sourcecode can be found online at Github.</online>
wait=When you're ready, press any key to continue... <manual>You can choose to do the entire Git setup yourself.</manual>
[process] <norec>However we recommend that you instead let us handle it instead.</norec>
path=Please give the full path of your CodeCombat git repository: </intro>
checkout=Please enter the full path where you want to install your CodeCombat environment <skip>
bashi=This installation requires Git Bash. <question>Do you want to do the Local Git setup manually yourself?</question>
bashp64=Git bash is by default installed at 'C:\Program Files (x86)\Git'. <consequence>Make sure you have correctly setup your repository before processing.</consequence>
bashp32=Git bash is by default installed at 'C:\Program Files\Git'. <donotclose>Do not close this window please.</donotclose>
bashq=Please enter the full path where git bash is installed or just press enter if it's in the default location <wait>When you're ready, press any key to continue...</wait>
ssh=Do you want to checkout the repository via ssh? </skip>
[npm] <process>
install=Installing bower, brunch, nodemon and sendwithus... <path>Please give the full path of your CodeCombat git repository: </path>
binstall=Installing bower packages... <checkout>Please enter the full path where you want to install your CodeCombat environment</checkout>
sass=Installing sass... <bashi>This installation requires Git Bash.</bashi>
npm=Installing npm... <bashp64>Git bash is by default installed at 'C:\Program Files (x86)\Git'.</bashp64>
brnch=Starting brunch.... <bashp32>Git bash is by default installed at 'C:\Program Files\Git'.</bashp32>
mongodb=Setting up a MongoDB database for you... <bashq>Please enter the full path where git bash is installed or just press enter if it's in the default location</bashq>
db=Downloading the last version of the CodeCombat database... <ssh>Do you want to checkout the repository via ssh?</ssh>
script=Preparing the automatic startup script for you... </process>
[error] </github>
path=That path already exists, are you sure you want to overwrite it? <npm>
exist=That path doesn't exist. Please try again... <install>Installing bower, brunch, nodemon and sendwithus...</install>
[end] <binstall>Installing bower packages...</binstall>
succesfull=The setup of the CodeCombat Dev. Environment was succesfull. <sass>Installing sass...</sass>
thankyou=Thank you already for your contribution and see you soon. <npm>Installing npm...</npm>
readme=Do you want to read the README for more information? <brnch>Starting brunch....</brnch>
[start] <mongodb>Setting up a MongoDB database for you...</mongodb>
1=From now on you can start the dev. environment at <db>Downloading the last version of the CodeCombat database...</db>
2=the touch of a single mouse click. <script>Preparing the automatic startup script for you...</script>
3= 1) Just double click </npm>
4= and let the environment start up. <error>
5= 2) Now just open 'localhost:3000' in your prefered browser. <path>That path already exists, are you sure you want to overwrite it?</path>
6=That's it, you're now ready to start working on CodeCombat! <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] <?xml version="1.0" encoding="ISO-8859-1" ?>
native=Nederlands <variables>
intro=Vanaf nu geven we onze feedback in het Nederlands! <global>
[install] <native>Nederlands</native>
[system] <intro>Vanaf nu geven we onze feedback in het Nederlands!</intro>
bit=-bit computer gedetecteerd. </global>
prefix=Het besturingsysteem <install>
sufix=is gedetecteerd. <system>
xp=Wij ondersteunen Windows XP niet, installatie geanulleerd. <bit>-bit computer gedetecteerd.</bit>
[process] <prefix>Het besturingsysteem</prefix>
sks=Heb je alle benodige software al geinstalleerd? <sufix>is gedetecteerd.</sufix>
skq=We raden aan dat je negatief antwoord indien je niet zeker bent. <xp>Wij ondersteunen Windows XP niet, installatie geanulleerd.</xp>
skc=De installatie van software wordt geanulleerd... </system>
1=CodeCombat kon niet worden ontwikkeld zonder third-party software. <process>
2=Dat is waarom je deze software moet installeren, <sks>Heb je alle benodige software al geinstalleerd?</sks>
3=zodat je je kan beginnen met het bijdragen tot onze gemeenschap. <skq>We raden aan dat je negatief antwoord indien je niet zeker bent.</skq>
4=Annuleer de installatie als je de applicatie al hebt. <skc>De installatie van software wordt geanulleerd...</skc>
prefix=Heb je al de laatste versie van <1>CodeCombat kon niet worden ontwikkeld zonder third-party software.</1>
sufix=geinstalleerd? <2>Dat is waarom je deze software moet installeren,</2>
downloading=is aan het downloaden... <3>zodat je je kan beginnen met het bijdragen tot onze gemeenschap.</3>
installing=is aan het installeren... <4>Annuleer de installatie als je de applicatie al hebt.</4>
unzipping=is aan het uitpakken... <prefix>Heb je al de laatste versie van</prefix>
cleaning=is aan het opkuisen... <sufix>geinstalleerd?</sufix>
mongodbpath=Geef het volledige pad op, waar mongodb mag worden geinstalleerd <downloading>is aan het downloaden...</downloading>
[github] <installing>is aan het installeren...</installing>
[intro] <unzipping>is aan het uitpakken...</unzipping>
opensource=CodeCombat is opensource, zoals je waarschijnlijk wel al weet. <cleaning>is aan het opkuisen...</cleaning>
online=Je kan al onze sourcecode vinden op Github. <mongodbpath>Geef het volledige pad op, waar mongodb mag worden geinstalleerd</mongodbpath>
manual=Indien je wil, kan je de Git setup manueel doen. </process>
norec=Maar wij raden aan dat je ons dit automatisch laat afhandellen. </install>
[skip] <github>
question=Wil je de lokale Git setup manueel doen? <intro>
consequence=Zorg er zeker voor dat jouw git repository correct is. <opensource>CodeCombat is opensource, zoals je waarschijnlijk wel al weet.</opensource>
donotclose=Sluit dit venster niet alsjeblieft. <online>Je kan al onze sourcecode vinden op Github.</online>
wait=Wanneer je klaar bent, druk dan eender welke toets om verder te gaan... <manual>Indien je wil, kan je de Git setup manueel doen.</manual>
[process] <norec>Maar wij raden aan dat je ons dit automatisch laat afhandellen.</norec>
path=Geef alsjeblieft het volledige pad van je CodeCombat git repository: </intro>
checkout=Geef alsjeblieft het volledige pad waar je de CodeCombat Ontwikkelings omgeving will installeren <skip>
bashi=Deze installatie maakt gebruik van Git Bash. <question>Wil je de lokale Git setup manueel doen?</question>
bashp64=Git bash is normaal geinstalleerd in 'C:\Program Files (x86)\Git'. <consequence>Zorg er zeker voor dat jouw git repository correct is.</consequence>
bashp32=Git bash is normaal geinstalleerd in 'C:\Program Files\Git'. <donotclose>Sluit dit venster niet alsjeblieft.</donotclose>
bashq=Geef alsjeblieft het volledige pad op van Git Bash of druk gewoon op enter indien je het pad niet gewijzigd heeft <wait>Wanneer je klaar bent, druk dan eender welke toets om verder te gaan...</wait>
ssh=Wil je het git project downloaden via ssh? </skip>
[npm] <process>
install=Installing bower, brunch, nodemon and sendwithus... <path>Geef alsjeblieft het volledige pad van je CodeCombat git repository: </path>
binstall=Installing bower packages... <checkout>Geef alsjeblieft het volledige pad waar je de CodeCombat Ontwikkelings omgeving will installeren</checkout>
sass=Installing sass... <bashi>Deze installatie maakt gebruik van Git Bash.</bashi>
npm=Installing npm... <bashp64>Git bash is normaal geinstalleerd in 'C:\Program Files (x86)\Git'.</bashp64>
brnch=Starting brunch.... <bashp32>Git bash is normaal geinstalleerd in 'C:\Program Files\Git'.</bashp32>
mongodb=Setting up a MongoDB database for you... <bashq>Geef alsjeblieft het volledige pad op van Git Bash of druk gewoon op enter indien je het pad niet gewijzigd heeft</bashq>
database=Downloading the last version of the CodeCombat database... <ssh>Wil je het git project downloaden via ssh?</ssh>
script=Preparing the automatic startup script for you... </process>
[error] </github>
path=Dat pad bestaat al, ben je zeker dat je het wil overschrijven? <npm>
exist=Dat pad bestaat niet, probeer alsjeblieft opnieuw... <install>Installing bower, brunch, nodemon and sendwithus...</install>
[end] <binstall>Installing bower packages...</binstall>
succesfull=De installatie van de CodeCombat-Ontwikkelings omgeving was succesvol. <sass>Installing sass...</sass>
thankyou=Alvast bedankt voor al je werk en tot binnenkort. <npm>Installing npm...</npm>
readme=Wil je de LEESMIJ lezen voor meer informatie? <brnch>Starting brunch....</brnch>
[start] <mongodb>Setting up a MongoDB database for you...</mongodb>
1=Vanaf nu kan je de ontwikkelings omgeving opstarten <database>Downloading the last version of the CodeCombat database...</database>
2=met het gemak van een enkele muisklik. <script>Preparing the automatic startup script for you...</script>
3= 1) Dubbelklik op </npm>
4=en laat de omgeving opstarten. <error>
5= 2) Nu kan je 'localhost:3000' openen in je browser naar voorkeur. <path>Dat pad bestaat al, ben je zeker dat je het wil overschrijven?</path>
6=Dat is het, je bent nu klaar om te starten met je werk aan CodeCombat. <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 ( powershell .\get_var.ps1 ..\\localisation\\%1.coco %3 %4 %5 %6 %7 > var.tmp
set "%%a" 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 "& "%*"