From 1b5033d3e4a2e898f217fa872525c9c696959770 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 22:49:38 +0100 Subject: [PATCH 01/18] Make grid a little smaller to add delete button and shift other buttons slightly upwards --- .../hedit/client/gui/templates/default.lua | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/[gameplay]/hedit/client/gui/templates/default.lua b/[gameplay]/hedit/client/gui/templates/default.lua index 951710513..d456387ae 100644 --- a/[gameplay]/hedit/client/gui/templates/default.lua +++ b/[gameplay]/hedit/client/gui/templates/default.lua @@ -658,7 +658,7 @@ template.viewcontents = { grid = { type = "gridlist", pos = { 72, 83 }, - size = { 285, 246 }, + size = { 285, 220 }, runfunction = function ( this ) guiGridListAddColumn ( this, "Name", 0.5 ) guiGridListAddColumn ( this, "Model", 0.4 ) @@ -782,7 +782,7 @@ template.viewcontents = { }, saveButton = { type = "button", - pos = { 289, 334 }, + pos = { 289, 309 }, size = { 68, 25 }, events = { onClick = function ( this ) @@ -813,7 +813,7 @@ template.viewcontents = { loadButton = { type = "button", - pos = { 289, 359 }, + pos = { 289, 334 }, size = { 68, 25 }, events = { onClick = function ( this ) @@ -838,6 +838,31 @@ template.viewcontents = { end end } + }, + + deleteButton = { + type = "button", + pos = { 289, 359 }, + size = { 68, 25 }, + events = { + onClick = function ( this ) + local content = heditGUI.viewItems.save.guiItems + local row,col = guiGridListGetSelectedItem ( content.grid ) + + if row ~= -1 and col ~= -1 then + local name = string.lower ( guiGridListGetItemText ( content.grid, row, col ) ) + + local function func ( ) + if deleteClientHandling ( pVehicle, name ) then + guiCreateWarningMessage ( getText ( "sucessDelete" ), 3 ) + end + end + + guiCreateWarningMessage ( getText ( "confirmDelete" ), 2, {func} ) + return true + end + end + } } } }, From 483b2385fca914ad43b7bd0ee1150b70d3d293dc Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 22:50:17 +0100 Subject: [PATCH 02/18] Add message for successful delete (only english) --- [gameplay]/hedit/client/gui/languages/arabic.lua | 1 + [gameplay]/hedit/client/gui/languages/english.lua | 2 ++ [gameplay]/hedit/client/gui/languages/polish.lua | 3 ++- [gameplay]/hedit/client/gui/languages/russian.lua | 1 + [gameplay]/hedit/client/gui/languages/spanish.lua | 1 + [gameplay]/hedit/client/gui/languages/turkish.lua | 1 + 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/arabic.lua b/[gameplay]/hedit/client/gui/languages/arabic.lua index 08081152d..fd8f71f69 100644 --- a/[gameplay]/hedit/client/gui/languages/arabic.lua +++ b/[gameplay]/hedit/client/gui/languages/arabic.lua @@ -36,6 +36,7 @@ guiLanguage.arabic = { successSave = "تم حفظ اعدادات وزانيتك بنجاح", successLoad = "تم تحميل اعدادات وزانيتك بنجاح", + successDelete = "", wantTheSettings = "هل انت متاكد من انك تريد تطبيق هذه الاعدادات ? معدل وزانيات سيتم اعادة تشغيله", diff --git a/[gameplay]/hedit/client/gui/languages/english.lua b/[gameplay]/hedit/client/gui/languages/english.lua index 730251551..b7b73ecb4 100644 --- a/[gameplay]/hedit/client/gui/languages/english.lua +++ b/[gameplay]/hedit/client/gui/languages/english.lua @@ -36,6 +36,7 @@ guiLanguage.english = { successSave = "Successfully saved your handling settings!", successLoad = "Successfully loaded your handling settings!", + sucessDelete = "Successfully deleted your handling settings!", wantTheSettings = "Are you sure you would like to apply these settings? The handling editor will restart.", @@ -154,6 +155,7 @@ guiLanguage.english = { descriptionLabel = "Description", saveButton = "Save", loadButton = "Load", + deleteButton = "Delete", grid = "", nameEdit = "", descriptionEdit = "" diff --git a/[gameplay]/hedit/client/gui/languages/polish.lua b/[gameplay]/hedit/client/gui/languages/polish.lua index cb365cd23..a106f2cba 100644 --- a/[gameplay]/hedit/client/gui/languages/polish.lua +++ b/[gameplay]/hedit/client/gui/languages/polish.lua @@ -36,7 +36,8 @@ guiLanguage.polish = { successSave = "Pomyslnie zapisano twoje ustawienia", successLoad = "Pomyslnie wczytano twoje ustawienia!", - + sucessDelete = "", + wantTheSettings = "Czy na pewno chcesz zastosowac te ustawienia? Edytor uruchomi sie ponownie.", vehicle = "Pojazd", diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index 0e201b237..47266b451 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -36,6 +36,7 @@ successSave = "Вы успешно сохранили ваш хэндлинг!", successLoad = "Вы успешно загрузили ваш хэндлинг!", + sucessDelete = "", wantTheSettings = "Вы уверены, что хотите применить эти настройки? Редактор хэндлинга будет перезагружен.", diff --git a/[gameplay]/hedit/client/gui/languages/spanish.lua b/[gameplay]/hedit/client/gui/languages/spanish.lua index 85f831ba2..2589c63ab 100644 --- a/[gameplay]/hedit/client/gui/languages/spanish.lua +++ b/[gameplay]/hedit/client/gui/languages/spanish.lua @@ -40,6 +40,7 @@ successSave = "Se guardo el handling con exito!", successLoad = "Se cargo el handling con exito!", + sucessDelete = "", confirmVersionReset = "Estas seguro de que deseas establecer la version del editor a la de este servidor? Tus handlings guardados pueden llegar a ser incompatibles.", successVersionReset = "La version de editor se ha actualizado.", diff --git a/[gameplay]/hedit/client/gui/languages/turkish.lua b/[gameplay]/hedit/client/gui/languages/turkish.lua index 3ce90ef81..c656e1c47 100644 --- a/[gameplay]/hedit/client/gui/languages/turkish.lua +++ b/[gameplay]/hedit/client/gui/languages/turkish.lua @@ -36,6 +36,7 @@ guiLanguage.turkish = { successSave = "Başarıyla işleme ayarlarını kurtardı!", successLoad = "Başarıyla senin kullanımı ayarlarını yüklenen!", + sucessDelete = "", wantTheSettings = "Bu ayarları uygulamak istiyorum emin misiniz? Taşıma editörü yeniden başlar.", From 125b913be48bc62196a67f1510e3906e7d6e918f Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 22:50:49 +0100 Subject: [PATCH 03/18] Create function to delete node from save file --- [gameplay]/hedit/client/utils.lua | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/[gameplay]/hedit/client/utils.lua b/[gameplay]/hedit/client/utils.lua index eb05e8c80..f1fbe1b68 100644 --- a/[gameplay]/hedit/client/utils.lua +++ b/[gameplay]/hedit/client/utils.lua @@ -307,6 +307,33 @@ function loadClientHandling ( vehicle, name ) return true end +function deleteClientHandling ( vehicle, name ) + if not isValidVehicle ( vehicle ) then + if DEBUGMODE then + error ( "Invalid vehicle element at 'loadClientHandling'! ["..tostring(vehicle).."]", 2 ) + end + + return false + end + + if not isClientHandlingExisting ( name ) then + if DEBUGMODE then + error ( "Handling name given at 'loadClientHandling' does not exist! ["..tostring(name).."]", 2 ) + end + + return false + end + + name = string.lower ( name ) + local handling = xmlCache.clientsaves[name] + + xmlDestroyNode ( handling.saveNode ) + xmlSaveFile ( xmlFile[client_handling_file] ) + + xmlCache.clientsaves[name] = nil + + return true +end -- Imports a handling line in handling.cfg format, given a proper method. -- Valid methods: III, VC, SA, and IV From b9570cb3a41dee27da42282ceff175813f48d06c Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 22:51:45 +0100 Subject: [PATCH 04/18] Correct the debug messages --- [gameplay]/hedit/client/utils.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[gameplay]/hedit/client/utils.lua b/[gameplay]/hedit/client/utils.lua index f1fbe1b68..25f76ae3f 100644 --- a/[gameplay]/hedit/client/utils.lua +++ b/[gameplay]/hedit/client/utils.lua @@ -310,7 +310,7 @@ end function deleteClientHandling ( vehicle, name ) if not isValidVehicle ( vehicle ) then if DEBUGMODE then - error ( "Invalid vehicle element at 'loadClientHandling'! ["..tostring(vehicle).."]", 2 ) + error ( "Invalid vehicle element at 'deleteClientHandling'! ["..tostring(vehicle).."]", 2 ) end return false @@ -318,7 +318,7 @@ function deleteClientHandling ( vehicle, name ) if not isClientHandlingExisting ( name ) then if DEBUGMODE then - error ( "Handling name given at 'loadClientHandling' does not exist! ["..tostring(name).."]", 2 ) + error ( "Handling name given at 'deleteClientHandling' does not exist! ["..tostring(name).."]", 2 ) end return false From a318b2b562b29057e38fa922ac7843ed4f1b082a Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 23:02:44 +0100 Subject: [PATCH 05/18] Add Arabic translation by [SW]Falcon --- [gameplay]/hedit/client/gui/languages/arabic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/arabic.lua b/[gameplay]/hedit/client/gui/languages/arabic.lua index fd8f71f69..346b32f37 100644 --- a/[gameplay]/hedit/client/gui/languages/arabic.lua +++ b/[gameplay]/hedit/client/gui/languages/arabic.lua @@ -36,7 +36,7 @@ guiLanguage.arabic = { successSave = "تم حفظ اعدادات وزانيتك بنجاح", successLoad = "تم تحميل اعدادات وزانيتك بنجاح", - successDelete = "", + successDelete = "تم حذف إعدادات الوزنية الخاصة بك بنجاح!", wantTheSettings = "هل انت متاكد من انك تريد تطبيق هذه الاعدادات ? معدل وزانيات سيتم اعادة تشغيله", From 3653216f1bb0d715471e011820d8c0fd205564f3 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sat, 30 Oct 2021 23:43:41 +0100 Subject: [PATCH 06/18] =?UTF-8?q?Add=20Turkish=20translation=20by=20?= =?UTF-8?q?=E1=B4=8F=E1=B4=A0=20|=20G=C3=BCrkan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- [gameplay]/hedit/client/gui/languages/turkish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/turkish.lua b/[gameplay]/hedit/client/gui/languages/turkish.lua index c656e1c47..e17254a7c 100644 --- a/[gameplay]/hedit/client/gui/languages/turkish.lua +++ b/[gameplay]/hedit/client/gui/languages/turkish.lua @@ -36,7 +36,7 @@ guiLanguage.turkish = { successSave = "Başarıyla işleme ayarlarını kurtardı!", successLoad = "Başarıyla senin kullanımı ayarlarını yüklenen!", - sucessDelete = "", + sucessDelete = "Handling ayarlarınız başarılı bir şekilde silindi!", wantTheSettings = "Bu ayarları uygulamak istiyorum emin misiniz? Taşıma editörü yeniden başlar.", From 703da786849e553e9fe23eb8193860669b01a7e7 Mon Sep 17 00:00:00 2001 From: Inder00 Date: Sun, 31 Oct 2021 01:06:27 +0200 Subject: [PATCH 07/18] Update polish.lua --- [gameplay]/hedit/client/gui/languages/polish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/polish.lua b/[gameplay]/hedit/client/gui/languages/polish.lua index a106f2cba..b8eeb6a43 100644 --- a/[gameplay]/hedit/client/gui/languages/polish.lua +++ b/[gameplay]/hedit/client/gui/languages/polish.lua @@ -36,7 +36,7 @@ guiLanguage.polish = { successSave = "Pomyslnie zapisano twoje ustawienia", successLoad = "Pomyslnie wczytano twoje ustawienia!", - sucessDelete = "", + sucessDelete = "Pomyślnie usunięto Twoje ustawienia!", wantTheSettings = "Czy na pewno chcesz zastosowac te ustawienia? Edytor uruchomi sie ponownie.", From e5ec614b0c0d11567ac56bb1a632b6373b631444 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sun, 31 Oct 2021 18:23:33 +0000 Subject: [PATCH 08/18] Added Russian translation by Google Translate --- [gameplay]/hedit/client/gui/languages/russian.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index 47266b451..0934d2f4d 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -36,7 +36,7 @@ successSave = "Вы успешно сохранили ваш хэндлинг!", successLoad = "Вы успешно загрузили ваш хэндлинг!", - sucessDelete = "", + sucessDelete = "Успешно удалил ваши настройки обработки!", wantTheSettings = "Вы уверены, что хотите применить эти настройки? Редактор хэндлинга будет перезагружен.", From 76388a65c3dabfd9e9a48a2b8a14ca467e9431d7 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sun, 31 Oct 2021 18:23:59 +0000 Subject: [PATCH 09/18] Add Spanish translation by Fantome --- [gameplay]/hedit/client/gui/languages/spanish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/spanish.lua b/[gameplay]/hedit/client/gui/languages/spanish.lua index 2589c63ab..0061db812 100644 --- a/[gameplay]/hedit/client/gui/languages/spanish.lua +++ b/[gameplay]/hedit/client/gui/languages/spanish.lua @@ -40,7 +40,7 @@ successSave = "Se guardo el handling con exito!", successLoad = "Se cargo el handling con exito!", - sucessDelete = "", + sucessDelete = "Listo tú handling ha sido borrado!", confirmVersionReset = "Estas seguro de que deseas establecer la version del editor a la de este servidor? Tus handlings guardados pueden llegar a ser incompatibles.", successVersionReset = "La version de editor se ha actualizado.", From 53c3f0817e25edcd8cfefa583074b1d11476793e Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Sun, 31 Oct 2021 18:30:07 +0000 Subject: [PATCH 10/18] Refactor variable --- [gameplay]/hedit/client/utils.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[gameplay]/hedit/client/utils.lua b/[gameplay]/hedit/client/utils.lua index 25f76ae3f..ed36357e1 100644 --- a/[gameplay]/hedit/client/utils.lua +++ b/[gameplay]/hedit/client/utils.lua @@ -325,9 +325,9 @@ function deleteClientHandling ( vehicle, name ) end name = string.lower ( name ) - local handling = xmlCache.clientsaves[name] + local handling = xmlCache.clientsaves[name].saveNode - xmlDestroyNode ( handling.saveNode ) + xmlDestroyNode ( handling ) xmlSaveFile ( xmlFile[client_handling_file] ) xmlCache.clientsaves[name] = nil From 62919c98fd7a979d2f99c74b1441b07f368f768e Mon Sep 17 00:00:00 2001 From: Konstantin Date: Tue, 2 Nov 2021 15:02:52 +0300 Subject: [PATCH 11/18] Update russian.lua --- [gameplay]/hedit/client/gui/languages/russian.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index 0934d2f4d..fb300e7eb 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -5,7 +5,7 @@ windowHeader = "Редактор Хэндлинга v"..HVER, restrictedPassenger = "Вы не можете использовать редактор хэндлинга в качестве пассажира.", - needVehicle = "Вы должны находиться в транспорте, чтобы использовать редактор хэндлинга!", + needVehicle = "Вы должны быть водителем транспорта, чтобы использовать редактор хэндлинга!", needLogin = "Авторизуйтесь для пользования этим меню.", needAdmin = "Только администратор может использовать это меню.", accessDenied = "У вас нет должного доступа, чтобы использовать это меню.", @@ -36,7 +36,7 @@ successSave = "Вы успешно сохранили ваш хэндлинг!", successLoad = "Вы успешно загрузили ваш хэндлинг!", - sucessDelete = "Успешно удалил ваши настройки обработки!", + sucessDelete = "Вы успешно удалили ваш хэндлинг!", wantTheSettings = "Вы уверены, что хотите применить эти настройки? Редактор хэндлинга будет перезагружен.", @@ -215,7 +215,8 @@ edit_cmd = "", combo_commode = "", combo_language = "", - checkbox_lockwhenediting = "Закрывать транспорт при редактировании?" + checkbox_lockwhenediting = "Закрывать транспорт при редактировании?", + checkbox_dragmeterEnabled = "Используй быструю настройку" } }, handlinglog = { From fc3aa7cffd6b19eb185bdc2296e6f4a49a6a05e6 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Tue, 2 Nov 2021 15:03:40 +0300 Subject: [PATCH 12/18] ru fix typo --- [gameplay]/hedit/client/gui/languages/russian.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index fb300e7eb..11d5c62a2 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -216,7 +216,7 @@ combo_commode = "", combo_language = "", checkbox_lockwhenediting = "Закрывать транспорт при редактировании?", - checkbox_dragmeterEnabled = "Используй быструю настройку" + checkbox_dragmeterEnabled = "Используйте быструю настройку" } }, handlinglog = { From 038828fae12d5600d5737eee88420a7d402c8bcc Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 02:58:05 +0000 Subject: [PATCH 13/18] Revert "Add Spanish translation by Fantome" This reverts commit 76388a65c3dabfd9e9a48a2b8a14ca467e9431d7. --- [gameplay]/hedit/client/gui/languages/spanish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/spanish.lua b/[gameplay]/hedit/client/gui/languages/spanish.lua index 0061db812..2589c63ab 100644 --- a/[gameplay]/hedit/client/gui/languages/spanish.lua +++ b/[gameplay]/hedit/client/gui/languages/spanish.lua @@ -40,7 +40,7 @@ successSave = "Se guardo el handling con exito!", successLoad = "Se cargo el handling con exito!", - sucessDelete = "Listo tú handling ha sido borrado!", + sucessDelete = "", confirmVersionReset = "Estas seguro de que deseas establecer la version del editor a la de este servidor? Tus handlings guardados pueden llegar a ser incompatibles.", successVersionReset = "La version de editor se ha actualizado.", From fb3512898b660c9311f0814719e5a30fbc6aea18 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 02:58:34 +0000 Subject: [PATCH 14/18] Revert "Added Russian translation by Google Translate" This reverts commit e5ec614b0c0d11567ac56bb1a632b6373b631444. --- [gameplay]/hedit/client/gui/languages/russian.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index 0934d2f4d..47266b451 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -36,7 +36,7 @@ successSave = "Вы успешно сохранили ваш хэндлинг!", successLoad = "Вы успешно загрузили ваш хэндлинг!", - sucessDelete = "Успешно удалил ваши настройки обработки!", + sucessDelete = "", wantTheSettings = "Вы уверены, что хотите применить эти настройки? Редактор хэндлинга будет перезагружен.", From b38f2d5e5de2c3c1081a6f8e7e6975791786c1ac Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 02:58:41 +0000 Subject: [PATCH 15/18] Revert "Update polish.lua" This reverts commit 703da786849e553e9fe23eb8193860669b01a7e7. --- [gameplay]/hedit/client/gui/languages/polish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/polish.lua b/[gameplay]/hedit/client/gui/languages/polish.lua index b8eeb6a43..a106f2cba 100644 --- a/[gameplay]/hedit/client/gui/languages/polish.lua +++ b/[gameplay]/hedit/client/gui/languages/polish.lua @@ -36,7 +36,7 @@ guiLanguage.polish = { successSave = "Pomyslnie zapisano twoje ustawienia", successLoad = "Pomyslnie wczytano twoje ustawienia!", - sucessDelete = "Pomyślnie usunięto Twoje ustawienia!", + sucessDelete = "", wantTheSettings = "Czy na pewno chcesz zastosowac te ustawienia? Edytor uruchomi sie ponownie.", From 13e2a0df20a731648605426c8b3636062100e54c Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 02:58:46 +0000 Subject: [PATCH 16/18] =?UTF-8?q?Revert=20"Add=20Turkish=20translation=20b?= =?UTF-8?q?y=20=E1=B4=8F=E1=B4=A0=20|=20G=C3=BCrkan"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3653216f1bb0d715471e011820d8c0fd205564f3. --- [gameplay]/hedit/client/gui/languages/turkish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/turkish.lua b/[gameplay]/hedit/client/gui/languages/turkish.lua index e17254a7c..c656e1c47 100644 --- a/[gameplay]/hedit/client/gui/languages/turkish.lua +++ b/[gameplay]/hedit/client/gui/languages/turkish.lua @@ -36,7 +36,7 @@ guiLanguage.turkish = { successSave = "Başarıyla işleme ayarlarını kurtardı!", successLoad = "Başarıyla senin kullanımı ayarlarını yüklenen!", - sucessDelete = "Handling ayarlarınız başarılı bir şekilde silindi!", + sucessDelete = "", wantTheSettings = "Bu ayarları uygulamak istiyorum emin misiniz? Taşıma editörü yeniden başlar.", From d11408ad5a4dcd54265144d7c3b582e0226a5aef Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 02:58:52 +0000 Subject: [PATCH 17/18] Revert "Add Arabic translation by [SW]Falcon" This reverts commit a318b2b562b29057e38fa922ac7843ed4f1b082a. --- [gameplay]/hedit/client/gui/languages/arabic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[gameplay]/hedit/client/gui/languages/arabic.lua b/[gameplay]/hedit/client/gui/languages/arabic.lua index 346b32f37..fd8f71f69 100644 --- a/[gameplay]/hedit/client/gui/languages/arabic.lua +++ b/[gameplay]/hedit/client/gui/languages/arabic.lua @@ -36,7 +36,7 @@ guiLanguage.arabic = { successSave = "تم حفظ اعدادات وزانيتك بنجاح", successLoad = "تم تحميل اعدادات وزانيتك بنجاح", - successDelete = "تم حذف إعدادات الوزنية الخاصة بك بنجاح!", + successDelete = "", wantTheSettings = "هل انت متاكد من انك تريد تطبيق هذه الاعدادات ? معدل وزانيات سيتم اعادة تشغيله", From d1beb87631637cee828cd8b89874f6eaa2190039 Mon Sep 17 00:00:00 2001 From: ricksterhd123 Date: Thu, 11 Nov 2021 03:09:24 +0000 Subject: [PATCH 18/18] Revert "Update russian.lua" This reverts commit 62919c98fd7a979d2f99c74b1441b07f368f768e. --- [gameplay]/hedit/client/gui/languages/russian.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/[gameplay]/hedit/client/gui/languages/russian.lua b/[gameplay]/hedit/client/gui/languages/russian.lua index edcc85104..47266b451 100644 --- a/[gameplay]/hedit/client/gui/languages/russian.lua +++ b/[gameplay]/hedit/client/gui/languages/russian.lua @@ -5,7 +5,7 @@ windowHeader = "Редактор Хэндлинга v"..HVER, restrictedPassenger = "Вы не можете использовать редактор хэндлинга в качестве пассажира.", - needVehicle = "Вы должны быть водителем транспорта, чтобы использовать редактор хэндлинга!", + needVehicle = "Вы должны находиться в транспорте, чтобы использовать редактор хэндлинга!", needLogin = "Авторизуйтесь для пользования этим меню.", needAdmin = "Только администратор может использовать это меню.", accessDenied = "У вас нет должного доступа, чтобы использовать это меню.", @@ -215,8 +215,7 @@ edit_cmd = "", combo_commode = "", combo_language = "", - checkbox_lockwhenediting = "Закрывать транспорт при редактировании?", - checkbox_dragmeterEnabled = "Используйте быструю настройку" + checkbox_lockwhenediting = "Закрывать транспорт при редактировании?" } }, handlinglog = {