From 349212f5e5dbdbe9a1df470510698c4cbe2ff631 Mon Sep 17 00:00:00 2001 From: Kanaduchi Date: Sat, 1 Feb 2025 20:48:39 +0000 Subject: [PATCH] #01022025 Fix tire generator --- docs/assets/js/tiresGenerator.js | 20 ++++++++++++-------- docs/history.md | 4 ++++ overrides/pages/tiresGenerator.en.html | 2 +- overrides/pages/tiresGenerator.html | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/assets/js/tiresGenerator.js b/docs/assets/js/tiresGenerator.js index e4590623..093288ce 100644 --- a/docs/assets/js/tiresGenerator.js +++ b/docs/assets/js/tiresGenerator.js @@ -341,9 +341,9 @@ function createTireSets() { html += " "; if (index == 11) - html += " Индивидуальная настройка давления в шинах. Tire set Individual"; + html += " Индивидуальная настройка давления в шинах / Tire set Individual"; else - html += " Настройка давления в шинах. Tire set: #" + index + ""; + html += " Настройка давления в шинах / Tire set: #" + index + ""; html += " "; html += " "; @@ -351,22 +351,22 @@ function createTireSets() { html += " "; html += " "; html += " "; - html += " Тип загрузки машины. Situation"; - html += " Передние колеса. Front"; - html += " Задние колеса. Rear"; + html += " Тип загрузки машины / Load situation"; + html += " Передние колеса / Front wheels"; + html += " Задние колеса / Rear wheels"; html += " "; html += " "; - html += " Полная загрузка. Fully loaded"; + html += " Полная загрузка / Full load"; html += " " + generatePD("t" + index + "pff") + ""; html += " " + generatePD("t" + index + "prf") + ""; html += " "; html += " "; - html += " Стандартная загрузка. Standard load"; + html += " Стандартная загрузка / Standard load"; html += " " + generatePD("t" + index + "pfp") + ""; html += " " + generatePD("t" + index + "prp") + ""; html += " "; html += " "; - html += " Комфортная загрузка. Comfort load"; + html += " Комфортная загрузка / Comfort load"; html += " " + generatePD("t" + index + "pfc") + ""; html += " " + generatePD("t" + index + "prc") + ""; html += " "; @@ -436,4 +436,8 @@ function saveConfig() { } var result = window.prompt("Сохранить настройки. Save configuration\n\nПожалуйста, сохраните код, приведённый ниже. Он может быть использован для восстановления настроек в любое время.\nPlease backup the configuration code below, it can be used to restore the current configuration at a later point in time.", window.btoa(code)); +} + +window.onload = function() { + createTireSets(); } \ No newline at end of file diff --git a/docs/history.md b/docs/history.md index 4ae86f5f..b8c44c61 100644 --- a/docs/history.md +++ b/docs/history.md @@ -3,6 +3,10 @@ comments: false --- # История изменений +### 01.02.2025 +1. Обновление UI +2. Исправлено неправильное отображение таблицы в генераторе шин + ### 31.01.2025 1. Большое обновление функций MQB-Evo diff --git a/overrides/pages/tiresGenerator.en.html b/overrides/pages/tiresGenerator.en.html index a45b6f70..8923f5f1 100644 --- a/overrides/pages/tiresGenerator.en.html +++ b/overrides/pages/tiresGenerator.en.html @@ -1,4 +1,4 @@ - +
diff --git a/overrides/pages/tiresGenerator.html b/overrides/pages/tiresGenerator.html index 36472f97..21d106c2 100644 --- a/overrides/pages/tiresGenerator.html +++ b/overrides/pages/tiresGenerator.html @@ -1,4 +1,4 @@ - +