From 3507d6c17fa3fbd66b696e55725d18d47b4a3ba1 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Mon, 8 Jul 2024 03:09:22 +0300 Subject: [PATCH] script editor (add/edit button name fix, localization) --- src/main/resources/messages_en.properties | 11 ++++++- src/main/resources/messages_ru.properties | 11 ++++++- .../resources/templates/script-editor.html | 30 +++++++++---------- 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/src/main/resources/messages_en.properties b/src/main/resources/messages_en.properties index 2eb8113..551ff34 100644 --- a/src/main/resources/messages_en.properties +++ b/src/main/resources/messages_en.properties @@ -56,4 +56,13 @@ secenttype=Second entity type probbval=Probability value actionbtn=Action stats=Statistics -actions=Actions \ No newline at end of file +actions=Actions +exeplayob=Executor's player object +glplaylis=Players list +glgenlist=Genders list +glhobblist=Hobbies list +glheallist=Health cards list +gllugglist=Luggages list +glworklist=Works list +scrieditti=Script editor +scrieditde=Below you can write a script for Bunker's action card. On the left side you will find code snippets, that will help with it. Happy coding! \ No newline at end of file diff --git a/src/main/resources/messages_ru.properties b/src/main/resources/messages_ru.properties index 1aff612..8615876 100644 --- a/src/main/resources/messages_ru.properties +++ b/src/main/resources/messages_ru.properties @@ -56,4 +56,13 @@ secenttype=Тип второй вещи probbval=Вероятность(знач) actionbtn=Действие stats=Статистика -actions=Действия \ No newline at end of file +actions=Действия +exeplayob=Игрок (его объект) +glplaylis=Список игроков +glgenlist=Список гендеров +glhobblist=Список хобби +glheallist=Список карточек здоровья +gllugglist=Список багажей +glworklist=Список профессий +scrieditti=Редактор скриптов (карточек действий) +scrieditde=Ниже в вашем распоряжении редактор скриптов для карт действий игры Бункер. Слева вы найдете готовые куски кода, которые вам помогут. Удачи! \ No newline at end of file diff --git a/src/main/resources/templates/script-editor.html b/src/main/resources/templates/script-editor.html index d92d343..92b560e 100644 --- a/src/main/resources/templates/script-editor.html +++ b/src/main/resources/templates/script-editor.html @@ -10,54 +10,54 @@
-

Script editor

-

Below you can write a script for Bunker's action card. On the left side you will find code snippets, that will help with it. Happy coding!

+

+

- +
- +
- +
- +
- +
- +
- +
-
+
-
+
- +