mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Moved language selection to the top and starting localized the hardcoded stuff.
This commit is contained in:
parent
7a866981f7
commit
34c883b7df
15 changed files with 80 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
<variables>
|
<variables>
|
||||||
<version>3.4</version>
|
<version>3.5</version>
|
||||||
<author>GlenDC</author>
|
<author>GlenDC</author>
|
||||||
<copyright>CodeCombat.com © 2013-2014</copyright>
|
<copyright>CodeCombat.com © 2013-2014</copyright>
|
||||||
<github_url>https://github.com/codecombat/codecombat.git</github_url>
|
<github_url>https://github.com/codecombat/codecombat.git</github_url>
|
||||||
|
|
8
scripts/windows/coco-dev-setup/batch/config/localized/tips-nl.coco
Executable file
8
scripts/windows/coco-dev-setup/batch/config/localized/tips-nl.coco
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
1) Antwoord voorzichtig en juist, indien er een vraag gesteld wordt.
|
||||||
|
2) Deze installatie is nog steeds in beta en kan bugs bevatten.
|
||||||
|
3) Rapporteer bugs op 'https://github.com/codecombat/codecombat/issues'
|
||||||
|
4) Heb je vragen of suggesties? Praat met ons op HipChat via CodeCombat.com
|
||||||
|
|
||||||
|
Je kan een Engelstalige stappengids
|
||||||
|
voor deze installatie vinden op onze wiki:
|
||||||
|
github.com/codecombat/codecombat/wiki/Setup-on-Windows:-a-step-by-step-guide
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>Deutsch</native>
|
<native>Deutsch</native>
|
||||||
<description>German</description>
|
<description>German</description>
|
||||||
<intro>Ab jetzt senden wir unser Feedback in Englisch!</intro>
|
<tips>Before we start the installation, here are some tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>You have choosen Deutsch as your language.</choosen>
|
||||||
|
<feedback>Ab jetzt senden wir unser Feedback in Deutsch.</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-Bit System erkannt.</bit>
|
<bit>-Bit System erkannt.</bit>
|
||||||
|
@ -52,6 +56,13 @@
|
||||||
<bashq>Bitte gebe den kompletten Pfad zur Git Bash ein, oder drücke Enter, um den Standardpfad zu verwenden</bashq>
|
<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>
|
<ssh>Willst du das Repository via SSH auschecken?</ssh>
|
||||||
</process>
|
</process>
|
||||||
|
<config>
|
||||||
|
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||||
|
<info>Please enter your github information, to configure your local repository.</info>
|
||||||
|
<username>Username: </username>
|
||||||
|
<password>Password: </password>
|
||||||
|
<process>Thank you... Configuring your local repistory right now...</process>
|
||||||
|
</config>
|
||||||
</github>
|
</github>
|
||||||
<switch>
|
<switch>
|
||||||
<install>The installation of your local environment was succesfull!</install>
|
<install>The installation of your local environment was succesfull!</install>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>English</native>
|
<native>English</native>
|
||||||
<description>English</description>
|
<description>English</description>
|
||||||
<intro>From now on we'll send our feedback in English!</intro>
|
<tips>Before we start the installation, here are some tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>You have choosen English as your language.</choosen>
|
||||||
|
<feedback>From now on we'll send our feedback in English.</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-bit computer detected.</bit>
|
<bit>-bit computer detected.</bit>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>Nederlands</native>
|
<native>Nederlands</native>
|
||||||
<description>Dutch</description>
|
<description>Dutch</description>
|
||||||
<intro>Vanaf nu geven we onze feedback in het Nederlands!</intro>
|
<tips>Voor we verder gaan met de installatie hier volgen enkele tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>Je hebt Nederlands gekozen als jouw taal naar keuze.</choosen>
|
||||||
|
<feedback>Vanaf nu geven we onze feedback in het Nederlands.</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-bit computer gedetecteerd.</bit>
|
<bit>-bit computer gedetecteerd.</bit>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>ðóññêèé</native>
|
<native>ðóññêèé</native>
|
||||||
<description>Russian</description>
|
<description>Russian</description>
|
||||||
<intro>C данного момента мы будем общаться на русском!</intro>
|
<tips>Before we start the installation, here are some tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>You have choosen ðóññêèé as your language.</choosen>
|
||||||
|
<feedback>C äàííîãî ìîìåíòà ìû áóäåì îáùàòüñÿ íà ðóññêîì.</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-áèòíûé êîìïüþòåð îáíàðóæåí.</bit>
|
<bit>-áèòíûé êîìïüþòåð îáíàðóæåí.</bit>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>简体中文</native>
|
<native>简体中文</native>
|
||||||
<description>Traditional Chinese</description>
|
<description>Traditional Chinese</description>
|
||||||
<intro>目前我们只能用英文给你反馈!</intro>
|
<tips>Before we start the installation, here are some tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>You have choosen 简体中文 as your language.</choosen>
|
||||||
|
<feedback>目前我们只能用英文给你反馈</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-位系统.</bit>
|
<bit>-位系统.</bit>
|
||||||
|
@ -52,6 +56,13 @@
|
||||||
<bashq>请输入 git bash 的安装全路径, 如果你安装的是默认路径, 那么直接输入回车即可</bashq>
|
<bashq>请输入 git bash 的安装全路径, 如果你安装的是默认路径, 那么直接输入回车即可</bashq>
|
||||||
<ssh>你是否想使用 ssh 来检出(checkout)库(repository)?</ssh>
|
<ssh>你是否想使用 ssh 来检出(checkout)库(repository)?</ssh>
|
||||||
</process>
|
</process>
|
||||||
|
<config>
|
||||||
|
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||||
|
<info>Please enter your github information, to configure your local repository.</info>
|
||||||
|
<username>Username: </username>
|
||||||
|
<password>Password: </password>
|
||||||
|
<process>Thank you... Configuring your local repistory right now...</process>
|
||||||
|
</config>
|
||||||
</github>
|
</github>
|
||||||
<switch>
|
<switch>
|
||||||
<install>The installation of your local environment was succesfull!</install>
|
<install>The installation of your local environment was succesfull!</install>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<global>
|
<global>
|
||||||
<native>繁体中文</native>
|
<native>繁体中文</native>
|
||||||
<description>Simplified Chinese</description>
|
<description>Simplified Chinese</description>
|
||||||
<intro>From now on we'll send our feedback in English!</intro>
|
<tips>Before we start the installation, here are some tips:</tips>
|
||||||
</global>
|
</global>
|
||||||
|
<language>
|
||||||
|
<choosen>You have choosen 繁体中文 as your language.</choosen>
|
||||||
|
<feedback>From now on we'll send our feedback in 繁体中文.</feedback>
|
||||||
|
</language>
|
||||||
<install>
|
<install>
|
||||||
<system>
|
<system>
|
||||||
<bit>-bit computer detected.</bit>
|
<bit>-bit computer detected.</bit>
|
||||||
|
@ -52,6 +56,13 @@
|
||||||
<bashq>Please enter the full path where git bash is installed or just press enter if it's in the default location</bashq>
|
<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>
|
<ssh>Do you want to checkout the repository via ssh?</ssh>
|
||||||
</process>
|
</process>
|
||||||
|
<config>
|
||||||
|
<intro>You should have forked CodeCombat to your own GitHub Account by now...</intro>
|
||||||
|
<info>Please enter your github information, to configure your local repository.</info>
|
||||||
|
<username>Username: </username>
|
||||||
|
<password>Password: </password>
|
||||||
|
<process>Thank you... Configuring your local repistory right now...</process>
|
||||||
|
</config>
|
||||||
</github>
|
</github>
|
||||||
<switch>
|
<switch>
|
||||||
<install>The installation of your local environment was succesfull!</install>
|
<install>The installation of your local environment was succesfull!</install>
|
||||||
|
|
|
@ -27,10 +27,13 @@ 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 global native
|
|
||||||
call print_dashed_seperator
|
call print_dashed_seperator
|
||||||
echo You have choosen !global_native! as your language.
|
|
||||||
call get_text !language_id! global_intro global intro
|
call get_local_text language_choosen language choosen
|
||||||
echo !global_intro!
|
echo !language_choosen!
|
||||||
|
|
||||||
|
call get_local_text language_feedback language feedback
|
||||||
|
echo !language_feedback!
|
||||||
|
|
||||||
call print_seperator
|
call print_seperator
|
||||||
)
|
)
|
8
scripts/windows/coco-dev-setup/batch/scripts/print_localized_file.bat
Executable file
8
scripts/windows/coco-dev-setup/batch/scripts/print_localized_file.bat
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
set "LFTP=%1-%language_id%.coco"
|
||||||
|
if not exist "%LFTP%" (
|
||||||
|
echo printing %1.coco...
|
||||||
|
call print_file %1.coco
|
||||||
|
) else (
|
||||||
|
echo printing %LFTP%...
|
||||||
|
call print_file %LFTP%
|
||||||
|
)
|
|
@ -1 +1 @@
|
||||||
print_file ..\\config\\tips.coco
|
call print_localized_file ..\\config\\localized\\tips
|
|
@ -13,14 +13,15 @@ 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
|
||||||
|
|
||||||
echo Before we start the installation, here are some tips:
|
call get_language
|
||||||
|
|
||||||
|
call get_local_text global_tips global tips
|
||||||
|
echo !global_tips!
|
||||||
call print_tips
|
call print_tips
|
||||||
call print_seperator
|
call print_seperator
|
||||||
|
|
||||||
call sign_license
|
call sign_license
|
||||||
|
|
||||||
call get_language
|
|
||||||
|
|
||||||
call download_and_install_applications
|
call download_and_install_applications
|
||||||
|
|
||||||
start cmd /c "setup_p2.bat"
|
start cmd /c "setup_p2.bat"
|
||||||
|
|
Loading…
Reference in a new issue