From 4e7cfec061ebc624b108b341bc62be03879bbaf9 Mon Sep 17 00:00:00 2001 From: VerZsuT Date: Fri, 2 Sep 2022 20:38:38 +0300 Subject: [PATCH] v0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Исправлен перевод для RU, EN, CH. --- docs/download.html | 48 ++--- docs/script.js | 3 +- innoSetup/installer.config.iss | 2 +- package-lock.json | 208 +++++++++++---------- package.json | 12 +- src/globalTexts/texts.ts | 2 +- src/main/config.json | 2 +- src/main/scripts/windows.ts | 3 +- src/renderer/components/texts.ts | 6 +- src/renderer/pages/main/editor/texts.ts | 4 +- src/renderer/pages/main/lists/texts.ts | 8 +- src/renderer/pages/setup/texts.ts | 2 +- src/renderer/pages/whatsNew/index.tsx | 29 +++ src/renderer/templates/actions/texts.ts | 8 +- src/renderer/templates/engine/template.ts | 2 +- src/renderer/templates/engine/texts.ts | 32 ++-- src/renderer/templates/gearbox/template.ts | 16 +- src/renderer/templates/gearbox/texts.ts | 40 ++-- src/renderer/templates/suspension/texts.ts | 18 +- src/renderer/templates/truck/texts.ts | 28 +-- src/renderer/templates/wheels/texts.ts | 6 +- 21 files changed, 246 insertions(+), 233 deletions(-) diff --git a/docs/download.html b/docs/download.html index 2dad6141..d0fccd18 100644 --- a/docs/download.html +++ b/docs/download.html @@ -20,36 +20,14 @@
-

v0.7.1

+

v0.7.2

    +
  • Исправлен перевод для RU, EN, CH.
  • + -- v0.7.1
  • Исправлен баг с редактированием координат
  • Восстановлен перенос конфигурации при обновлении
  • -
-
- - -
- -
-

v0.7.0

-
-
    + -- v0.7.0
  • Программа адаптирована под новую версию игры
  • Добавлены картинки новых авто
  • Добавлены параметры для сброса новых авто
  • @@ -74,19 +52,19 @@

    v0.7.0

diff --git a/docs/script.js b/docs/script.js index 7bdaf7e4..805bba4a 100644 --- a/docs/script.js +++ b/docs/script.js @@ -6,6 +6,7 @@ const SOURCE_TYPE = 'source_type' const SOURCE = 'source' const GITHUB_SOURCE = 'GitHub' +const RELEASES_URL = 'https://github.com/VerZsuT/SnowRunner-XML-Editor-Desktop/releases/download' const downloadButtons = document.querySelectorAll(`button[${DOWNLOAD}]`) @@ -19,7 +20,7 @@ downloadButtons.forEach($downloadButton => { $downloadButton.prepend($a) if (source === GITHUB_SOURCE) - $a.href = `https://github.com/VerZsuT/SnowRunner-XML-Editor-Desktop/releases/download/${version}/SnowRunnerXMLEditor.${type}` + $a.href = `${RELEASES_URL}/${version}/SnowRunnerXMLEditor.${type}` else $a.href = $downloadButton.getAttribute(LINK) diff --git a/innoSetup/installer.config.iss b/innoSetup/installer.config.iss index ceef59f0..0861d0cc 100644 --- a/innoSetup/installer.config.iss +++ b/innoSetup/installer.config.iss @@ -1,5 +1,5 @@ #define MyAppName "SnowRunnerXMLEditor" -#define MyAppVersion "0.7.1" +#define MyAppVersion "0.7.2" #define MyAppPublisher "VerZsuT" #define MyAppURL "https://snowrunner.mod.io/guides/snowrunner-xml-editor/" #define MyAppExeName "SnowRunner XML Editor.exe" diff --git a/package-lock.json b/package-lock.json index 4f48e34b..78374e09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "snowrunner-xml-editor-desktop", - "version": "0.7.1", + "version": "0.7.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "snowrunner-xml-editor-desktop", - "version": "0.7.0", + "version": "0.7.1", "license": "MIT", "dependencies": { "@ant-design/icons": "^4.7.0", @@ -23,16 +23,16 @@ "@electron-forge/cli": "^6.0.0-beta.65", "@electron-forge/plugin-webpack": "^6.0.0-beta.65", "@types/memoizee": "^0.4.8", - "@types/react": "^18.0.17", + "@types/react": "^18.0.18", "@types/react-dom": "^18.0.6", "@types/react-window": "^1.8.5", - "@typescript-eslint/eslint-plugin": "^5.35.1", - "@typescript-eslint/parser": "^5.35.1", + "@typescript-eslint/eslint-plugin": "^5.36.1", + "@typescript-eslint/parser": "^5.36.1", "@vercel/webpack-asset-relocator-loader": "^1.7.3", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "css-loader": "^6.7.1", - "electron": "^20.1.0", + "electron": "^20.1.1", "electron-devtools-installer": "^3.2.0", "eslint": "^8.23.0", "eslint-plugin-import": "^2.26.0", @@ -41,7 +41,7 @@ "fork-ts-checker-webpack-plugin": "^7.2.13", "node-loader": "^2.0.0", "react-afc": "^1.5.5", - "sass": "^1.54.5", + "sass": "^1.54.8", "sass-loader": "^13.0.2", "style-loader": "^3.3.1", "translate": "^1.4.1", @@ -3217,9 +3217,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.0.17", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz", - "integrity": "sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==", + "version": "18.0.18", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.18.tgz", + "integrity": "sha512-6hI08umYs6NaiHFEEGioXnxJ+oEhY3eRz8VCUaudZmGdtvPviCJB8mgaMxaDWAdPSYd4eFavrPk2QIolwbLYrg==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -3317,14 +3317,14 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.35.1.tgz", - "integrity": "sha512-RBZZXZlI4XCY4Wzgy64vB+0slT9+yAPQRjj/HSaRwUot33xbDjF1oN9BLwOLTewoOI0jothIltZRe9uJCHf8gg==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.1.tgz", + "integrity": "sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/type-utils": "5.35.1", - "@typescript-eslint/utils": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/type-utils": "5.36.1", + "@typescript-eslint/utils": "5.36.1", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", @@ -3365,14 +3365,14 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.35.1.tgz", - "integrity": "sha512-XL2TBTSrh3yWAsMYpKseBYTVpvudNf69rPOWXWVBI08My2JVT5jR66eTt4IgQFHA/giiKJW5dUD4x/ZviCKyGg==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.36.1.tgz", + "integrity": "sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/typescript-estree": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/typescript-estree": "5.36.1", "debug": "^4.3.4" }, "engines": { @@ -3392,13 +3392,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.35.1.tgz", - "integrity": "sha512-kCYRSAzIW9ByEIzmzGHE50NGAvAP3wFTaZevgWva7GpquDyFPFcmvVkFJGWJJktg/hLwmys/FZwqM9EKr2u24Q==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.36.1.tgz", + "integrity": "sha512-pGC2SH3/tXdu9IH3ItoqciD3f3RRGCh7hb9zPdN2Drsr341zgd6VbhP5OHQO/reUqihNltfPpMpTNihFMarP2w==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/visitor-keys": "5.35.1" + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/visitor-keys": "5.36.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -3409,12 +3409,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.35.1.tgz", - "integrity": "sha512-8xT8ljvo43Mp7BiTn1vxLXkjpw8wS4oAc00hMSB4L1/jIiYbjjnc3Qp2GAUOG/v8zsNCd1qwcqfCQ0BuishHkw==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.36.1.tgz", + "integrity": "sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==", "dev": true, "dependencies": { - "@typescript-eslint/utils": "5.35.1", + "@typescript-eslint/typescript-estree": "5.36.1", + "@typescript-eslint/utils": "5.36.1", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -3435,9 +3436,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.35.1.tgz", - "integrity": "sha512-FDaujtsH07VHzG0gQ6NDkVVhi1+rhq0qEvzHdJAQjysN+LHDCKDKCBRlZFFE0ec0jKxiv0hN63SNfExy0KrbQQ==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.36.1.tgz", + "integrity": "sha512-jd93ShpsIk1KgBTx9E+hCSEuLCUFwi9V/urhjOWnOaksGZFbTOxAT47OH2d4NLJnLhkVD+wDbB48BuaycZPLBg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -3448,13 +3449,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.35.1.tgz", - "integrity": "sha512-JUqE1+VRTGyoXlDWWjm6MdfpBYVq+hixytrv1oyjYIBEOZhBCwtpp5ZSvBt4wIA1MKWlnaC2UXl2XmYGC3BoQA==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.36.1.tgz", + "integrity": "sha512-ih7V52zvHdiX6WcPjsOdmADhYMDN15SylWRZrT2OMy80wzKbc79n8wFW0xpWpU0x3VpBz/oDgTm2xwDAnFTl+g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/visitor-keys": "5.35.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/visitor-keys": "5.36.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -3490,15 +3491,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.35.1.tgz", - "integrity": "sha512-v6F8JNXgeBWI4pzZn36hT2HXXzoBBBJuOYvoQiaQaEEjdi5STzux3Yj8v7ODIpx36i/5s8TdzuQ54TPc5AITQQ==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.36.1.tgz", + "integrity": "sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/typescript-estree": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/typescript-estree": "5.36.1", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, @@ -3514,12 +3515,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.35.1.tgz", - "integrity": "sha512-cEB1DvBVo1bxbW/S5axbGPE6b7FIMAbo3w+AGq6zNDA7+NYJOIkKj/sInfTv4edxd4PxJSgdN4t6/pbvgA+n5g==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.36.1.tgz", + "integrity": "sha512-ojB9aRyRFzVMN3b5joSYni6FAS10BBSCAfKJhjJAV08t/a95aM6tAhz+O1jF+EtgxktuSO3wJysp2R+Def/IWQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.35.1", + "@typescript-eslint/types": "5.36.1", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -5929,9 +5930,9 @@ "dev": true }, "node_modules/electron": { - "version": "20.1.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.0.tgz", - "integrity": "sha512-gzl6fdZe5g0qmzCC6Ejxa1Oa8eqUSxs4+QLtrM7SyEVp+mEPJAOoDe0xD8ayRQqeXTBxLK1LFrKtc4c98iufsg==", + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.1.tgz", + "integrity": "sha512-cFTfP4R2O5onaXiu+S20xK7eLpyX/H7PYk7lj9mlHS0ui1+w1jDDWD3RhvjmPgeksPfMAZiRLK8lAQvzSBAKdg==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -12750,9 +12751,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.54.5", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.5.tgz", - "integrity": "sha512-p7DTOzxkUPa/63FU0R3KApkRHwcVZYC0PLnLm5iyZACyp15qSi32x7zVUhRdABAATmkALqgGrjCJAcWvobmhHw==", + "version": "1.54.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.8.tgz", + "integrity": "sha512-ib4JhLRRgbg6QVy6bsv5uJxnJMTS2soVcCp9Y88Extyy13A8vV0G1fAwujOzmNkFQbR3LvedudAMbtuNRPbQww==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -17151,9 +17152,9 @@ "dev": true }, "@types/react": { - "version": "18.0.17", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.17.tgz", - "integrity": "sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==", + "version": "18.0.18", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.18.tgz", + "integrity": "sha512-6hI08umYs6NaiHFEEGioXnxJ+oEhY3eRz8VCUaudZmGdtvPviCJB8mgaMxaDWAdPSYd4eFavrPk2QIolwbLYrg==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -17251,14 +17252,14 @@ } }, "@typescript-eslint/eslint-plugin": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.35.1.tgz", - "integrity": "sha512-RBZZXZlI4XCY4Wzgy64vB+0slT9+yAPQRjj/HSaRwUot33xbDjF1oN9BLwOLTewoOI0jothIltZRe9uJCHf8gg==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.36.1.tgz", + "integrity": "sha512-iC40UK8q1tMepSDwiLbTbMXKDxzNy+4TfPWgIL661Ym0sD42vRcQU93IsZIrmi+x292DBr60UI/gSwfdVYexCA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/type-utils": "5.35.1", - "@typescript-eslint/utils": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/type-utils": "5.36.1", + "@typescript-eslint/utils": "5.36.1", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", @@ -17279,52 +17280,53 @@ } }, "@typescript-eslint/parser": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.35.1.tgz", - "integrity": "sha512-XL2TBTSrh3yWAsMYpKseBYTVpvudNf69rPOWXWVBI08My2JVT5jR66eTt4IgQFHA/giiKJW5dUD4x/ZviCKyGg==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.36.1.tgz", + "integrity": "sha512-/IsgNGOkBi7CuDfUbwt1eOqUXF9WGVBW9dwEe1pi+L32XrTsZIgmDFIi2RxjzsvB/8i+MIf5JIoTEH8LOZ368A==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/typescript-estree": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/typescript-estree": "5.36.1", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.35.1.tgz", - "integrity": "sha512-kCYRSAzIW9ByEIzmzGHE50NGAvAP3wFTaZevgWva7GpquDyFPFcmvVkFJGWJJktg/hLwmys/FZwqM9EKr2u24Q==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.36.1.tgz", + "integrity": "sha512-pGC2SH3/tXdu9IH3ItoqciD3f3RRGCh7hb9zPdN2Drsr341zgd6VbhP5OHQO/reUqihNltfPpMpTNihFMarP2w==", "dev": true, "requires": { - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/visitor-keys": "5.35.1" + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/visitor-keys": "5.36.1" } }, "@typescript-eslint/type-utils": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.35.1.tgz", - "integrity": "sha512-8xT8ljvo43Mp7BiTn1vxLXkjpw8wS4oAc00hMSB4L1/jIiYbjjnc3Qp2GAUOG/v8zsNCd1qwcqfCQ0BuishHkw==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.36.1.tgz", + "integrity": "sha512-xfZhfmoQT6m3lmlqDvDzv9TiCYdw22cdj06xY0obSznBsT///GK5IEZQdGliXpAOaRL34o8phEvXzEo/VJx13Q==", "dev": true, "requires": { - "@typescript-eslint/utils": "5.35.1", + "@typescript-eslint/typescript-estree": "5.36.1", + "@typescript-eslint/utils": "5.36.1", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.35.1.tgz", - "integrity": "sha512-FDaujtsH07VHzG0gQ6NDkVVhi1+rhq0qEvzHdJAQjysN+LHDCKDKCBRlZFFE0ec0jKxiv0hN63SNfExy0KrbQQ==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.36.1.tgz", + "integrity": "sha512-jd93ShpsIk1KgBTx9E+hCSEuLCUFwi9V/urhjOWnOaksGZFbTOxAT47OH2d4NLJnLhkVD+wDbB48BuaycZPLBg==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.35.1.tgz", - "integrity": "sha512-JUqE1+VRTGyoXlDWWjm6MdfpBYVq+hixytrv1oyjYIBEOZhBCwtpp5ZSvBt4wIA1MKWlnaC2UXl2XmYGC3BoQA==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.36.1.tgz", + "integrity": "sha512-ih7V52zvHdiX6WcPjsOdmADhYMDN15SylWRZrT2OMy80wzKbc79n8wFW0xpWpU0x3VpBz/oDgTm2xwDAnFTl+g==", "dev": true, "requires": { - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/visitor-keys": "5.35.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/visitor-keys": "5.36.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -17344,26 +17346,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.35.1.tgz", - "integrity": "sha512-v6F8JNXgeBWI4pzZn36hT2HXXzoBBBJuOYvoQiaQaEEjdi5STzux3Yj8v7ODIpx36i/5s8TdzuQ54TPc5AITQQ==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.36.1.tgz", + "integrity": "sha512-lNj4FtTiXm5c+u0pUehozaUWhh7UYKnwryku0nxJlYUEWetyG92uw2pr+2Iy4M/u0ONMKzfrx7AsGBTCzORmIg==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.35.1", - "@typescript-eslint/types": "5.35.1", - "@typescript-eslint/typescript-estree": "5.35.1", + "@typescript-eslint/scope-manager": "5.36.1", + "@typescript-eslint/types": "5.36.1", + "@typescript-eslint/typescript-estree": "5.36.1", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/visitor-keys": { - "version": "5.35.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.35.1.tgz", - "integrity": "sha512-cEB1DvBVo1bxbW/S5axbGPE6b7FIMAbo3w+AGq6zNDA7+NYJOIkKj/sInfTv4edxd4PxJSgdN4t6/pbvgA+n5g==", + "version": "5.36.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.36.1.tgz", + "integrity": "sha512-ojB9aRyRFzVMN3b5joSYni6FAS10BBSCAfKJhjJAV08t/a95aM6tAhz+O1jF+EtgxktuSO3wJysp2R+Def/IWQ==", "dev": true, "requires": { - "@typescript-eslint/types": "5.35.1", + "@typescript-eslint/types": "5.36.1", "eslint-visitor-keys": "^3.3.0" } }, @@ -19208,9 +19210,9 @@ "dev": true }, "electron": { - "version": "20.1.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.0.tgz", - "integrity": "sha512-gzl6fdZe5g0qmzCC6Ejxa1Oa8eqUSxs4+QLtrM7SyEVp+mEPJAOoDe0xD8ayRQqeXTBxLK1LFrKtc4c98iufsg==", + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/electron/-/electron-20.1.1.tgz", + "integrity": "sha512-cFTfP4R2O5onaXiu+S20xK7eLpyX/H7PYk7lj9mlHS0ui1+w1jDDWD3RhvjmPgeksPfMAZiRLK8lAQvzSBAKdg==", "dev": true, "requires": { "@electron/get": "^1.14.1", @@ -24334,9 +24336,9 @@ "dev": true }, "sass": { - "version": "1.54.5", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.5.tgz", - "integrity": "sha512-p7DTOzxkUPa/63FU0R3KApkRHwcVZYC0PLnLm5iyZACyp15qSi32x7zVUhRdABAATmkALqgGrjCJAcWvobmhHw==", + "version": "1.54.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.8.tgz", + "integrity": "sha512-ib4JhLRRgbg6QVy6bsv5uJxnJMTS2soVcCp9Y88Extyy13A8vV0G1fAwujOzmNkFQbR3LvedudAMbtuNRPbQww==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", diff --git a/package.json b/package.json index 8e5143a8..5d9bddac 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "snowrunner-xml-editor-desktop", "productName": "SnowRunner XML Editor", - "version": "0.7.1", + "version": "0.7.2", "description": "Allows you to visually edit the game's XML files.", "repository": { "type": "git", @@ -30,16 +30,16 @@ "@electron-forge/cli": "^6.0.0-beta.65", "@electron-forge/plugin-webpack": "^6.0.0-beta.65", "@types/memoizee": "^0.4.8", - "@types/react": "^18.0.17", + "@types/react": "^18.0.18", "@types/react-dom": "^18.0.6", "@types/react-window": "^1.8.5", - "@typescript-eslint/eslint-plugin": "^5.35.1", - "@typescript-eslint/parser": "^5.35.1", + "@typescript-eslint/eslint-plugin": "^5.36.1", + "@typescript-eslint/parser": "^5.36.1", "@vercel/webpack-asset-relocator-loader": "^1.7.3", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "css-loader": "^6.7.1", - "electron": "^20.1.0", + "electron": "^20.1.1", "electron-devtools-installer": "^3.2.0", "eslint": "^8.23.0", "eslint-plugin-import": "^2.26.0", @@ -48,7 +48,7 @@ "fork-ts-checker-webpack-plugin": "^7.2.13", "node-loader": "^2.0.0", "react-afc": "^1.5.5", - "sass": "^1.54.5", + "sass": "^1.54.8", "sass-loader": "^13.0.2", "style-loader": "^3.3.1", "translate": "^1.4.1", diff --git a/src/globalTexts/texts.ts b/src/globalTexts/texts.ts index b25a8895..2552b6cb 100644 --- a/src/globalTexts/texts.ts +++ b/src/globalTexts/texts.ts @@ -31,7 +31,7 @@ export const _globalTexts = { }, CH: { SUCCESS_EXPORT_MESSAGE: '配置已成功导出', - LOADING: '下载', + LOADING: '加载', OPEN_BUTTON: '打开', SAVE_BUTTON: '保存', RESET_MENU_ITEM_LABEL: '重置', diff --git a/src/main/config.json b/src/main/config.json index 551c2b1d..9d62fe3f 100644 --- a/src/main/config.json +++ b/src/main/config.json @@ -1,5 +1,5 @@ { - "version": "0.7.1", + "version": "0.7.2", "lang": null, "buildType": "dev", "initial": null, diff --git a/src/main/scripts/windows.ts b/src/main/scripts/windows.ts index 7faa43a6..e2907fb8 100644 --- a/src/main/scripts/windows.ts +++ b/src/main/scripts/windows.ts @@ -68,8 +68,7 @@ export function createWindow(args: CreateWindowAttributes): BrowserWindow { } }) - wind.loadURL(args.path) - .catch(error => console.error(error)) + wind.loadURL(args.path).catch(console.error) return wind } diff --git a/src/renderer/components/texts.ts b/src/renderer/components/texts.ts index d5eff467..aac59008 100644 --- a/src/renderer/components/texts.ts +++ b/src/renderer/components/texts.ts @@ -2,7 +2,6 @@ import {localize} from 'scripts/localize' export const componentsTexts = localize({ RU: { - DROP_TEXT: 'Отпустите для импортирования', EXIT_MENU_ITEM_LABEL: 'Выход', SETTINGS_MENU_LABEL: 'Настройки', UNINSTALL_MENU_ITEM_LABEL: 'Удалить программу', @@ -16,7 +15,6 @@ export const componentsTexts = localize({ VERSION_MENU_ITEM_LABEL: 'Версия' }, EN: { - DROP_TEXT: 'Release to Import', EXIT_MENU_ITEM_LABEL: 'Exit', SETTINGS_MENU_LABEL: 'Settings', RESTORE_MENU_ITEM_LABEL: 'Restore', @@ -30,7 +28,6 @@ export const componentsTexts = localize({ VERSION_MENU_ITEM_LABEL: 'Version' }, DE: { - DROP_TEXT: 'Zum Importieren freigeben', EXIT_MENU_ITEM_LABEL: 'Exit', SETTINGS_MENU_LABEL: 'Einstellungen', RESTORE_MENU_ITEM_LABEL: 'Standard Wiederherstellen', @@ -44,8 +41,7 @@ export const componentsTexts = localize({ VERSION_MENU_ITEM_LABEL: 'Ausführung' }, CH: { - DROP_TEXT: '释放进口', - EXIT_MENU_ITEM_LABEL: '输出', + EXIT_MENU_ITEM_LABEL: '退出', SETTINGS_MENU_LABEL: '设置', RESTORE_MENU_ITEM_LABEL: '还原', UNINSTALL_MENU_ITEM_LABEL: '卸载程序', diff --git a/src/renderer/pages/main/editor/texts.ts b/src/renderer/pages/main/editor/texts.ts index 6db108d4..1c856218 100644 --- a/src/renderer/pages/main/editor/texts.ts +++ b/src/renderer/pages/main/editor/texts.ts @@ -50,8 +50,8 @@ export const editorTexts = localize({ ACTIONS_MENU: 'zusätzlich' }, CH: { - SAVING_MESSAGE: '拯救...', - SUCCESS_SAVE_FILES: '救助的对象', + SAVING_MESSAGE: '保存中', + SUCCESS_SAVE_FILES: '保存成功', FILE_IS_RESETED: '参数已被重置', SUCCESS_RESET: '参数已被重置', RESET_CONFIRM_MESSAGE: '你真的想把所有的参数重设为原来的设置吗?', diff --git a/src/renderer/pages/main/lists/texts.ts b/src/renderer/pages/main/lists/texts.ts index c7bddbbf..2cc677c0 100644 --- a/src/renderer/pages/main/lists/texts.ts +++ b/src/renderer/pages/main/lists/texts.ts @@ -22,7 +22,7 @@ export const listsTexts = localize({ MODS_CHANGE_BUTTON: 'Change', RELAUNCH_PROMPT: 'To add the mod, you need to restart the program. Perform a reboot?', ADD_FAVORITE: 'Add to Favorites', - REMOVE_FAVORITE: 'Delete from Favorites', + REMOVE_FAVORITE: 'Delete from favorites', MANUAL_MOD: 'Select manually', MODS_POPUP_TITLE: 'Modifications', SEARCH: 'Search', @@ -30,7 +30,7 @@ export const listsTexts = localize({ FAVORITES_LIST_TITLE: 'Favorites', MAIN_LIST_TITLE: 'Basic', MODS_LIST_TITLE: 'From mods', - TRUCKS_LIST_TITLE: 'Auto list', + TRUCKS_LIST_TITLE: 'List of trucks', TRAILERS_LIST_TITLE: 'List of trailers', TRAILERS_CATEGORY_TITLE: 'Trailers', TRUCKS_CATEGORY_TITLE: 'Trucks' @@ -47,7 +47,7 @@ export const listsTexts = localize({ FAVORITES_LIST_TITLE: 'Auswahl', MAIN_LIST_TITLE: 'Basic', MODS_LIST_TITLE: 'Von Mods', - TRUCKS_LIST_TITLE: 'Automatische Liste', + TRUCKS_LIST_TITLE: 'LKW-Liste', TRAILERS_LIST_TITLE: 'Liste der Anhänger', TRAILERS_CATEGORY_TITLE: 'Nutzfahrzeuge', TRUCKS_CATEGORY_TITLE: 'Autos' @@ -64,7 +64,7 @@ export const listsTexts = localize({ FAVORITES_LIST_TITLE: '收藏', MAIN_LIST_TITLE: '基本', MODS_LIST_TITLE: '来自修改者', - TRUCKS_LIST_TITLE: '汽车清单', + TRUCKS_LIST_TITLE: '货车名单', TRAILERS_LIST_TITLE: '拖车清单', TRAILERS_CATEGORY_TITLE: '拖车', TRUCKS_CATEGORY_TITLE: '汽车' diff --git a/src/renderer/pages/setup/texts.ts b/src/renderer/pages/setup/texts.ts index 61d624be..7908038c 100644 --- a/src/renderer/pages/setup/texts.ts +++ b/src/renderer/pages/setup/texts.ts @@ -17,7 +17,7 @@ export const setupTexts = localize({ GAME_DATA_STEP: 'Game data', FIRST_STEPS_DESCRIPTION: 'Initial setup of the program', IMPORT_CONFIG_MESSAGE: 'The program settings from the previous version have been detected. Do you want to use them?', - EMPTY_FOLDER_ERROR: 'You didn"t select a folder!', + EMPTY_FOLDER_ERROR: 'You didn\'t select a folder!', INVALID_FOLDER_ERROR: 'You have selected the wrong folder!', INVALID_INITIAL_ERROR: 'Invalid initial.pak selected' }, diff --git a/src/renderer/pages/whatsNew/index.tsx b/src/renderer/pages/whatsNew/index.tsx index d247ff6e..2b11f29e 100644 --- a/src/renderer/pages/whatsNew/index.tsx +++ b/src/renderer/pages/whatsNew/index.tsx @@ -11,6 +11,21 @@ import './styles.sass' const { WHATS_NEW_TITLE } = whatsNewTexts +const data072 = localize({ + RU: [ + 'Исправлен перевод для RU, EN, CH' + ], + EN: [ + 'Fixed translation for RU, EN, CH' + ], + DE: [ + 'Korrigierte Übersetzung für RU, EN, CH' + ], + CH: [ + 'RU,EN,CH的固定翻译' + ] +}) + const data071 = localize({ RU: [ 'Исправлен баг с редактированием координат', @@ -129,6 +144,20 @@ const WhatsNew = afc(() => { windowReady(Window.WhatsNew) return () => <> + + {WHATS_NEW_TITLE} {' v0.7.2'} + + ( + + {item} + + )} + /> + {WHATS_NEW_TITLE} {' v0.7.1'} diff --git a/src/renderer/templates/actions/texts.ts b/src/renderer/templates/actions/texts.ts index c5bd6460..22a69bbd 100644 --- a/src/renderer/templates/actions/texts.ts +++ b/src/renderer/templates/actions/texts.ts @@ -27,10 +27,10 @@ export const actionTexts = localize({ ADDON_CHANGE_BUTTON: 'Change', ADDON_FILTER: 'Filter by name', CHANGED: 'Changed', - CRANE: 'tap', + CRANE: 'crane', ADD: 'Add', REMOVE: 'Delete', - CRANES_WARN_MESSAGE: 'Before removing the tap, be sure to remove it from the machine.', + CRANES_WARN_MESSAGE: 'Before removing the crane, be sure to remove it from the truck.', BANDIT_WARN_MESSAGE: 'The purchased DLC with the KRS 58 Bandit car is required for use.', SCOUT_TRAILERS: 'Scout trailers', TRUCK_TRAILERS: 'Conventional trailers' @@ -61,10 +61,10 @@ export const actionTexts = localize({ ADDON_CHANGE_BUTTON: '变化', ADDON_FILTER: '按名称过滤', CHANGED: '改变了', - CRANE: '轻拍', + CRANE: '起重机', ADD: '添加', REMOVE: '删除', - CRANES_WARN_MESSAGE: '在拆除水龙头之前,一定要把它从机器上拆下来。', + CRANES_WARN_MESSAGE: '在卸下起重机之前,请务必将其从卡车上卸下。', BANDIT_WARN_MESSAGE: '购买的DLC与KRS58"匪"车需要使用。', SCOUT_TRAILERS: '侦察员拖车', TRUCK_TRAILERS: '传统的拖车' diff --git a/src/renderer/templates/engine/template.ts b/src/renderer/templates/engine/template.ts index 70018c72..d7d09062 100644 --- a/src/renderer/templates/engine/template.ts +++ b/src/renderer/templates/engine/template.ts @@ -100,7 +100,7 @@ export const engineTemplate = { }), Number({ attribute: 'BrakesDelay', - label: engineTexts.breakesDelay, + label: engineTexts.brakesDelay, max: 1, min: 0, default: 0 diff --git a/src/renderer/templates/engine/texts.ts b/src/renderer/templates/engine/texts.ts index 6f5e12f8..5673a0e2 100644 --- a/src/renderer/templates/engine/texts.ts +++ b/src/renderer/templates/engine/texts.ts @@ -8,10 +8,10 @@ export const engineTexts = localize({ responsiveness: 'Отзывчивость', fuelConsumption: 'Потребление топлива', torque: 'Крутящий момент', - damagedMinTorqueModifier: 'Минимальный множитель мощности при повреждении', - damagedMaxTorqueModifier: 'Максимальный множитель мощности при повреждении', - breakesDelay: 'Задержка торможения', - maxDeltaAngVel: 'Замедление ускорения' + damagedMinTorqueModifier: 'Мин. множитель мощности при повреждении', + damagedMaxTorqueModifier: 'Макс. множитель мощности при повреждении', + brakesDelay: 'Задержка торможения', + maxDeltaAngVel: 'Макс. дельта угловой скорости' }, EN: { criticalDamageThreshold: 'Critical damage threshold', @@ -22,8 +22,8 @@ export const engineTexts = localize({ torque: 'Torque', damagedMinTorqueModifier: 'Damaged min torque modifier', damagedMaxTorqueModifier: 'Damaged max torque modifier', - breakesDelay: 'Braking delay', - maxDeltaAngVel: 'Deceleration of acceleration' + brakesDelay: 'Braking delay', + maxDeltaAngVel: 'Max angular velocity delta' }, DE: { criticalDamageThreshold: 'Kritische Schadensschwelle', @@ -34,19 +34,19 @@ export const engineTexts = localize({ torque: 'Drehmoment', damagedMinTorqueModifier: 'Beschädigter min Drehmomentmodifikator', damagedMaxTorqueModifier: 'Beschädigte max Drehmoment-Modifikator', - breakesDelay: 'Verzögerung beim Bremsen', - maxDeltaAngVel: 'Verlangsamung der Beschleunigung' + brakesDelay: 'Verzögerung beim Bremsen', + maxDeltaAngVel: 'maximale Winkelgeschwindigkeit Delta' }, CH: { - criticalDamageThreshold: '危急伤害阈值', - damageCapacity: '耐用性', - damagedConsumptionModifier: '损害的燃料消耗乘数', - responsiveness: '响应性', - fuelConsumption: '燃料消耗', + criticalDamageThreshold: '扱害阈値', + damageCapacity: '血量', + damagedConsumptionModifier: '损伤时油耗增加的倍数', + responsiveness: '引擎转速增加的速度', + fuelConsumption: '油耗', torque: '扭矩', - damagedMinTorqueModifier: '伤害的最小功率乘数', - damagedMaxTorqueModifier: '伤害的最大功率乘数', - breakesDelay: '制动延迟', + damagedMinTorqueModifier: '损坏时马力输出倍数', + damagedMaxTorqueModifier: '严重损坏时马力输出倍数', + brakesDelay: '制动延迟', maxDeltaAngVel: '加速的减速' } }) diff --git a/src/renderer/templates/gearbox/template.ts b/src/renderer/templates/gearbox/template.ts index 1e53d6d5..6a1e783c 100644 --- a/src/renderer/templates/gearbox/template.ts +++ b/src/renderer/templates/gearbox/template.ts @@ -98,8 +98,8 @@ export const gearboxTemplate = { attribute: 'IsHighGearExists', label: gearboxTexts.highGear, options: { - true: gearboxTexts.allow, - false: gearboxTexts.notAllow + true: gearboxTexts.gearAllow, + false: gearboxTexts.gearNotAllow }, default: 'true' }), @@ -107,8 +107,8 @@ export const gearboxTemplate = { attribute: 'IsLowerGearExists', label: gearboxTexts.lowerGear, options: { - true: gearboxTexts.allow, - false: gearboxTexts.notAllow + true: gearboxTexts.gearAllow, + false: gearboxTexts.gearNotAllow }, default: 'true' }), @@ -116,8 +116,8 @@ export const gearboxTemplate = { attribute: 'IsLowerPlusGearExists', label: gearboxTexts.lowerPlusGear, options: { - true: gearboxTexts.allow, - false: gearboxTexts.notAllow + true: gearboxTexts.gearAllow, + false: gearboxTexts.gearNotAllow }, default: 'true' }), @@ -125,8 +125,8 @@ export const gearboxTemplate = { attribute: 'IsLowerMinusGearExists', label: gearboxTexts.lowerMinusGear, options: { - true: gearboxTexts.allow, - false: gearboxTexts.notAllow + true: gearboxTexts.gearAllow, + false: gearboxTexts.gearNotAllow }, default: 'true' }) diff --git a/src/renderer/templates/gearbox/texts.ts b/src/renderer/templates/gearbox/texts.ts index f4680214..2432de4c 100644 --- a/src/renderer/templates/gearbox/texts.ts +++ b/src/renderer/templates/gearbox/texts.ts @@ -12,6 +12,8 @@ export const gearboxTexts = localize({ gearboxParams: 'Наличие передач', highGear: 'Повышенная', allow: 'Доступно', + gearAllow: 'Доступно', + gearNotAllow: 'Недоступно', notAllow: 'Недоступно', lowerGear: 'Пониженная', lowerPlusGear: 'Пониженная+', @@ -30,11 +32,13 @@ export const gearboxTexts = localize({ gearboxParams: 'Gears availability', highGear: 'High', allow: 'Available', + gearAllow: 'Available', + gearNotAllow: 'Not Available', notAllow: 'Not Available', lowerGear: 'Lower', lowerPlusGear: 'Lower+', lowerMinusGear: 'Lower-', - reverseGear: 'Reverce', + reverseGear: 'Reverse', gears: 'Gears' }, DE: { @@ -48,6 +52,8 @@ export const gearboxTexts = localize({ gearboxParams: 'Zahnräder Verfügbarkeit', highGear: 'Hoher', allow: 'Verfügbar', + gearAllow: 'Verfügbar', + gearNotAllow: 'Nicht verfügbar', notAllow: 'Nicht verfügbar', lowerGear: 'Unterer', lowerPlusGear: 'Unterer+', @@ -57,20 +63,22 @@ export const gearboxTexts = localize({ }, CH: { lowerManualGear: '微调', - awdConsumptionModifier: '全轮驱动的油耗修改器', - criticalDamageThreshold: '危急伤害阈值', - damageCapacity: '耐用性', - damagedConsumptionModifier: '损害的燃料消耗乘数', - fuelConsumption: '燃料消耗', - idleFuelConsumption: '怠速时的油耗倍率', - gearboxParams: '齿轮的可用性', - highGear: '增加', - allow: '可从', - notAllow: '不详', - lowerGear: '减少了', - lowerPlusGear: '减少+', - lowerMinusGear: '减少-', - reverseGear: '后部', - gears: '传动装置' + awdConsumptionModifier: '全轮驱动打开时油耗的倍数', + criticalDamageThreshold: '损伤阈值', + damageCapacity: '血量', + damagedConsumptionModifier: '损伤时油耗增加的倍数', + fuelConsumption: '油耗', + idleFuelConsumption: '意速时的油耗', + gearboxParams: '增加的挡位', + highGear: '高速档', + allow: '可以', + gearAllow: '可用', + gearNotAllow: '不可用', + notAllow: '不可以', + lowerGear: '低速', + lowerPlusGear: '低速+', + lowerMinusGear: '低速-', + reverseGear: '倒挡', + gears: '标配挡位' } }) diff --git a/src/renderer/templates/suspension/texts.ts b/src/renderer/templates/suspension/texts.ts index 97651e22..d95ed11c 100644 --- a/src/renderer/templates/suspension/texts.ts +++ b/src/renderer/templates/suspension/texts.ts @@ -35,14 +35,14 @@ export const suspensionTexts = localize({ damageCapacity: 'Schadenskapazität' }, CH: { - height: '高度', - strength: '刚性', - damping: '衰减', - suspensionMin: '最小悬挂高度', - suspensionMax: '最大悬挂高度', - brokenSuspensionMax: '最大悬挂高度(断裂时)', - suspension: '悬浮液', - criticalDamageThreshold: '危急伤害阈值', - damageCapacity: '耐用性' + height: '悬架的高度', + strength: '悬架的硬度', + damping: '悬架的阻尼', + suspensionMin: '悬架最小行程', + suspensionMax: '悬架最大行程(悬空时)', + brokenSuspensionMax: '是架损坏时的最大行程', + suspension: '悬架', + criticalDamageThreshold: '损坏阈值', + damageCapacity: '血量' } }) diff --git a/src/renderer/templates/truck/texts.ts b/src/renderer/templates/truck/texts.ts index 1444a4a7..1cdfecf7 100644 --- a/src/renderer/templates/truck/texts.ts +++ b/src/renderer/templates/truck/texts.ts @@ -60,10 +60,10 @@ export const truckTexts = localize({ winchLength: 'Winch length', winchStrength: 'Winch strength', responsiveness: 'Steering wheel sensitivity', - torque: 'Drive', - torqueDefault: 'Always leading', - torqueFull: 'Driving with all-wheel drive', - torqueNone: 'Slave', + torque: 'Type of wheel drive', + torqueDefault: 'Drive', + torqueFull: 'Driving with AWD', + torqueNone: 'Driven', torqueConnectable: 'Defined by the addon', steeringAngle: 'Steering angle', centerOfMass: 'Center of mass offset', @@ -149,7 +149,7 @@ export const truckTexts = localize({ unlockByRank: 'Level freischalten' }, CH: { - physicsWheels: '锦上添花', + physicsWheels: '单个车轮设置', wheel: '轮子', extraWheel: '额外的轮子', wheelsSizes: '可用的车轮尺寸', @@ -159,23 +159,23 @@ export const truckTexts = localize({ winchStrength: '绞车的动力', responsiveness: '舵的敏感性', torque: '驱动器', - torqueDefault: '始终引领潮流', - torqueFull: '领先的全轮驱动', - torqueNone: '奴隶', - torqueConnectable: '由附加组件定义的', + torqueDefault: '始终开启全轮驱动', + torqueFull: '全抡驱动', + torqueNone: '跟随前一组车轮的设定', + torqueConnectable: '默认或升级零件决定', steeringAngle: '转弯角度', centerOfMass: '质量中心的位移', any: '任何', none: '不详', textGroupName: '文本', - UIDesc: '描述', - UIName: '标题', - controlGroupName: '管理', + UIDesc: '简述', + UIName: '车名', + controlGroupName: '方向盘', backSteerSpeed: '车轮回轮速度', steerSpeed: '转向速度', winchGroupName: '绞盘', wheelsGroupName: '轮子', - suspensionGroupName: '悬挂', + suspensionGroupName: '悬架', diffLock: '差速器锁', installed: '已安装', uninstalled: '未建立', @@ -186,7 +186,7 @@ export const truckTexts = localize({ exhaustStartTime: '排气的开始时间', fuelGroupName: '燃油箱', damageCapacity: '耐用性', - fuelCapacity: '卷宗', + fuelCapacity: '容量', unlockGroupName: '解锁', country: '国家', russia: '俄罗斯', diff --git a/src/renderer/templates/wheels/texts.ts b/src/renderer/templates/wheels/texts.ts index 8a500c26..3f6584b5 100644 --- a/src/renderer/templates/wheels/texts.ts +++ b/src/renderer/templates/wheels/texts.ts @@ -26,9 +26,9 @@ export const wheelsTexts = localize({ no: 'Nein' }, CH: { - bodyFriction: '越野车离合器', - bodyFrictionAsphalt: '在沥青上的抓地力', - substanceFriction: '泥浆中的离合器', + bodyFriction: '在干土地上的摩擦力', + bodyFrictionAsphalt: '在公路上的摩擦力', + substanceFriction: '在泥浆里的摩擦力', ignoreIse: '在冰上驾驶', yes: '是', no: '没有'