mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 21:44:40 -04:00
License agreement and feedback for that is now also localized
This commit is contained in:
parent
b95d7d4cb4
commit
5c7a255e98
9 changed files with 60 additions and 8 deletions
scripts/windows/coco-dev-setup/batch
|
@ -9,6 +9,13 @@
|
|||
<choosen>You have choosen Deutsch as your language.</choosen>
|
||||
<feedback>Ab jetzt senden wir unser Feedback in Deutsch.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-Bit System erkannt.</bit>
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
<choosen>You have choosen English as your language.</choosen>
|
||||
<feedback>From now on we'll send our feedback in English.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer detected.</bit>
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
<choosen>Je hebt Nederlands gekozen als jouw taal naar keuze.</choosen>
|
||||
<feedback>Vanaf nu geven we onze feedback in het Nederlands.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>Om verder te gaan met de installatie van jouw CodeCombat omgeving</s1>
|
||||
<s2>moet je de licentieovereenkomst lezen en ermee akkoord gaan.</s2>
|
||||
<q1>Heb je de licentieovereenkomst gelezen en ga je ermee akkoord?</q1>
|
||||
<a1>Deze installatie kan niet doorgaan zonder jouw akkoord.</a1>
|
||||
<a2>De installatie van jouw Developers omgeving is nu geannulleerd.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer gedetecteerd.</bit>
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
<choosen>You have choosen ðóññêèé as your language.</choosen>
|
||||
<feedback>C äàííîãî ìîìåíòà ìû áóäåì îáùàòüñÿ íà ðóññêîì.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-áèòíûé êîìïüþòåð îáíàðóæåí.</bit>
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
<choosen>You have choosen 简体中文 as your language.</choosen>
|
||||
<feedback>目前我们只能用英文给你反馈</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-位系统.</bit>
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
<choosen>You have choosen 繁体中文 as your language.</choosen>
|
||||
<feedback>From now on we'll send our feedback in 繁体中文.</feedback>
|
||||
</language>
|
||||
<license>
|
||||
<s1>In order to continue the installation of the developers environment</s1>
|
||||
<s2>you will have to read and agree with the following license:</s2>
|
||||
<q1>Have you read the license and do you agree with it?</q1>
|
||||
<a1>This setup can't happen without an agreement.</a1>
|
||||
<a2>Installation and Setup of the CodeCombat environment is cancelled.</a2>
|
||||
</license>
|
||||
<install>
|
||||
<system>
|
||||
<bit>-bit computer detected.</bit>
|
||||
|
|
|
@ -1 +1 @@
|
|||
print_file ..\\config\\license.coco
|
||||
call print_localized_file ..\\config\\localized\\license
|
|
@ -1,8 +1,6 @@
|
|||
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,15 +1,27 @@
|
|||
echo In order to continue the installation of the developers environment
|
||||
echo you will have to read and agree with the following license:
|
||||
call get_local_text license_s1 license s1
|
||||
echo !license_s1!
|
||||
|
||||
call get_local_text license_s2 license s2
|
||||
echo !license_s2!
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
call print_license
|
||||
call print_dashed_seperator
|
||||
|
||||
call ask_question "Have you read the license and do you agree with it?"
|
||||
call get_local_text license_q1 license q1
|
||||
call ask_question "%license_q1%"
|
||||
|
||||
call print_dashed_seperator
|
||||
|
||||
if "%result%"=="false" (
|
||||
echo This setup can't happen without an agreement.
|
||||
echo Installation and Setup of the CodeCombat environment is cancelled.
|
||||
call get_local_text license_a1 license a1
|
||||
echo !license_a1!
|
||||
|
||||
call get_local_text license_a2 license a2
|
||||
echo !license_a2!
|
||||
|
||||
echo.
|
||||
|
||||
call print_exit
|
||||
)
|
Loading…
Add table
Reference in a new issue