mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 01:14:46 -04:00
More updates.
This commit is contained in:
parent
8926429987
commit
381f4e906e
3 changed files with 9 additions and 7 deletions
scripts/windows/coco-dev-setup/batch/scripts
|
@ -1,3 +1,3 @@
|
||||||
powershell .\get_var.ps1 ..\\config\\config.coco %2 %3 %4 %5 %6 > var.tmp
|
call run_script ..\config\config.coco %2 %3 %4 %5 %6 > var.tmp
|
||||||
set /p %1= < var.tmp
|
set /p %1= < var.tmp
|
||||||
del /q var.tmp
|
del /q var.tmp
|
|
@ -5,7 +5,7 @@ call print_dashed_seperator
|
||||||
|
|
||||||
call get_array ..\\localisation\\languages.coco languages language_count
|
call get_array ..\\localisation\\languages.coco languages language_count
|
||||||
for /l %%i in (1,1,%language_count%) do (
|
for /l %%i in (1,1,%language_count%) do (
|
||||||
call get_text !languages[%%i]! "global-native"
|
call get_text !languages[%%i]! global_native global native
|
||||||
echo [%%i] !global_native!
|
echo [%%i] !global_native!
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -27,10 +27,10 @@ goto:get_localisation_id
|
||||||
goto:get_localisation_id
|
goto:get_localisation_id
|
||||||
) else (
|
) else (
|
||||||
set language_id=!languages[%local_id%]!
|
set language_id=!languages[%local_id%]!
|
||||||
call get_text !language_id! "global-native"
|
call get_text !language_id! global_native global native
|
||||||
call print_dashed_seperator
|
call print_dashed_seperator
|
||||||
echo You have choosen !global_native! as your language.
|
echo You have choosen !global_native! as your language.
|
||||||
call get_text !language_id! "global-intro"
|
call get_text !language_id! global_intro global intro
|
||||||
echo !global_intro!
|
echo !global_intro!
|
||||||
call print_seperator
|
call print_seperator
|
||||||
)
|
)
|
|
@ -7,13 +7,15 @@ mode con: cols=78 lines=55
|
||||||
call print_header
|
call print_header
|
||||||
call print_dashed_seperator
|
call print_dashed_seperator
|
||||||
|
|
||||||
call get_config version
|
call get_config version version
|
||||||
call get_config author
|
call get_config author author
|
||||||
call get_config copyright
|
call get_config copyright copyright
|
||||||
echo Welcome to the automated Installation of the CodeCombat Dev. Environment!
|
echo Welcome to the automated Installation of the CodeCombat Dev. Environment!
|
||||||
echo v%version% authored by %author% and published by %copyright%.
|
echo v%version% authored by %author% and published by %copyright%.
|
||||||
call print_seperator
|
call print_seperator
|
||||||
|
|
||||||
|
pause
|
||||||
|
|
||||||
echo Before we start the installation, here are some tips:
|
echo Before we start the installation, here are some tips:
|
||||||
call print_tips
|
call print_tips
|
||||||
call print_seperator
|
call print_seperator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue