From 75b5f68adec3bc88c9b411b263a3678351e93064 Mon Sep 17 00:00:00 2001 From: tobspr Date: Wed, 4 Aug 2021 13:45:40 +0200 Subject: [PATCH 1/4] Wegame version fixes --- electron_wegame/wegame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron_wegame/wegame.js b/electron_wegame/wegame.js index 43085be8..b9ea367a 100644 --- a/electron_wegame/wegame.js +++ b/electron_wegame/wegame.js @@ -1,5 +1,5 @@ const railsdk = require("./wegame_sdk/railsdk.js"); -const { dialog, remote } = require("electron"); +const { dialog, app } = require("electron"); function init(isDev) { console.log("Step 1: wegame: init"); @@ -39,7 +39,7 @@ function init(isDev) { event.state === railsdk.RailSystemState.kSystemStatePlatformExit || event.state === railsdk.RailSystemState.kSystemStateGameExitByAntiAddiction ) { - remote.app.exit(); + app.exit(); } } }); From e9db8923997b2f18b8520112bdc109adbe8fb1f0 Mon Sep 17 00:00:00 2001 From: tobspr Date: Wed, 4 Aug 2021 13:46:42 +0200 Subject: [PATCH 2/4] Bump version --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index c9929e36..3c80e4f0 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.4.2 \ No newline at end of file +1.4.3 \ No newline at end of file From 2e245bda9196b0fe2b92c252e7631f69c8826468 Mon Sep 17 00:00:00 2001 From: tobspr Date: Wed, 4 Aug 2021 14:15:33 +0200 Subject: [PATCH 3/4] Fix wegame filter --- electron_wegame/wegame.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/electron_wegame/wegame.js b/electron_wegame/wegame.js index 066434cc..05a0e186 100644 --- a/electron_wegame/wegame.js +++ b/electron_wegame/wegame.js @@ -48,9 +48,12 @@ function init(isDev) { function listen() { console.log("wegame: listen"); ipcMain.handle("profanity-check", async (event, data) => { + if (data.length === 0) { + return ""; + } const result = railsdk.RailUtils.DirtyWordsFilter(data, true); if (result.check_result.dirty_type !== 0 /** kRailDirtyWordsTypeNormalAllowWords */) { - return result.check_result; + return result.check_result.replace_string; } return data; From 12783d563138e925669ed12fa677e65d4d6aa1ab Mon Sep 17 00:00:00 2001 From: Ved-s <53968411+Ved-s@users.noreply.github.com> Date: Fri, 6 Aug 2021 23:55:55 +1100 Subject: [PATCH 4/4] Update base-ru.yaml (#1278) --- translations/base-ru.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/translations/base-ru.yaml b/translations/base-ru.yaml index 3661be37..7160808d 100644 --- a/translations/base-ru.yaml +++ b/translations/base-ru.yaml @@ -1108,10 +1108,10 @@ keybindings: placementDisableAutoOrientation: Отключить автоопределение направления placeMultiple: Оставаться в режиме размещения placeInverse: Инвертировать автоопределение направления конвейеров - constant_producer: Constant Producer - goal_acceptor: Goal Acceptor - block: Block - massSelectClear: Clear belts + constant_producer: Постоянный генератор + goal_acceptor: Приёмник предметов + block: Блок + massSelectClear: Очистить конвейеры about: title: Об игре body: >- @@ -1245,11 +1245,11 @@ puzzleMenu: постоянные производители не доставляют фигуры напрямую приемникам цели. difficulties: - easy: Лего + easy: Легко medium: Средне hard: Сложно - dlcHint: Purchased the DLC already? Make sure it is activated by right clicking - shapez.io in your library, selecting Properties > DLCs. + dlcHint: Уже купили DLC? Проверьте, что оно активировано, нажав правый клик на + shapez.io в своей библиотеке, и далее Свойства > Доп. Контент backendErrors: ratelimit: Вы слишком часто выполняете свои действия. Подождите немного. invalid-api-key: Не удалось связаться с сервером, попробуйте