Skip to content

Commit b5ccbd8

Browse files
authored
hedit: fix missing translations and apply various improvements (#702)
* hedit: fix missing translations and apply various improvements * delete trailing whitespace
1 parent e69d8dc commit b5ccbd8

12 files changed

Lines changed: 227 additions & 162 deletions

File tree

[gameplay]/hedit/client/gui/languages/arabic.lua

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.arabic = {
6262
warning = "تحذير!",
6363
error = "خلل!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "نعم",
69+
no = "لا",
70+
ok = "حسناً",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "وزانية",
@@ -151,13 +159,14 @@ guiLanguage.arabic = {
151159
shortname = "محفوظات",
152160
longname = "حمل او احفظ اعدادات وزانية",
153161
itemtext = {
154-
nameLabel = "اسم",
155-
descriptionLabel = "وصف",
156162
saveButton = "حفظ",
157163
loadButton = "حمل",
164+
deleteButton = "حذف",
158165
grid = "",
159-
nameEdit = "",
160-
descriptionEdit = ""
166+
nameColumn ="اسم",
167+
modelColumn = "نموذج",
168+
nameEdit = "اسم",
169+
descriptionEdit = "وصف"
161170
}
162171
},
163172
import = {

[gameplay]/hedit/client/gui/languages/english.lua

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.english = {
6262
warning = "Warning!",
6363
error = "Error!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "Yes",
69+
no = "No",
70+
ok = "Ok",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Handling",
@@ -151,14 +159,14 @@ guiLanguage.english = {
151159
shortname = "Saves",
152160
longname = "Load or save handling settings.",
153161
itemtext = {
154-
nameLabel = "Name",
155-
descriptionLabel = "Description",
156162
saveButton = "Save",
157163
loadButton = "Load",
158164
deleteButton = "Delete",
159165
grid = "",
160-
nameEdit = "",
161-
descriptionEdit = ""
166+
nameColumn = "Name",
167+
modelColumn = "Model",
168+
nameEdit = "Name",
169+
descriptionEdit = "Description"
162170
}
163171
},
164172
import = {

[gameplay]/hedit/client/gui/languages/german.lua

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.german = {
6262
warning = "Warnung!",
6363
error = "Fehler!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "Ja",
69+
no = "Nein",
70+
ok = "OK",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Handling",
@@ -151,14 +159,14 @@ guiLanguage.german = {
151159
shortname = "Speichern",
152160
longname = "Fahreinstellungen laden oder speichern.",
153161
itemtext = {
154-
nameLabel = "Name",
155-
descriptionLabel = "Beschreibung",
156162
saveButton = "Speichern",
157163
loadButton = "Laden",
158164
deleteButton = "Löschen",
159165
grid = "",
160-
nameEdit = "",
161-
descriptionEdit = ""
166+
nameColumn = "Name",
167+
modelColumn = "Modell",
168+
nameEdit = "Name",
169+
descriptionEdit = "Beschreibung"
162170
}
163171
},
164172
import = {

[gameplay]/hedit/client/gui/languages/hungarian.lua

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.hungarian = {
6262
warning = "Figyelmeztetés!",
6363
error = "Hiba!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "Igen",
69+
no = "Nem",
70+
ok = "OK",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Handling",
@@ -151,14 +159,14 @@ guiLanguage.hungarian = {
151159
shortname = "Mentések",
152160
longname = "Töltsd be vagy mentsd el a handling beállításaidat.",
153161
itemtext = {
154-
nameLabel = "Név",
155-
descriptionLabel = "Leírás",
156162
saveButton = "Exportálás",
157163
loadButton = "Importálás",
158164
deleteButton = "Törlés",
159165
grid = "",
160-
nameEdit = "",
161-
descriptionEdit = ""
166+
nameColumn = "Név",
167+
modelColumn = "Modell",
168+
nameEdit = "Név",
169+
descriptionEdit = "Leírás"
162170
}
163171
},
164172
import = {

[gameplay]/hedit/client/gui/languages/polish.lua

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.polish = {
6262
warning = "Uwaga!",
6363
error = "Blad!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "Tak",
69+
no = "Nie",
70+
ok = "OK",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Handling",
@@ -115,11 +123,13 @@ guiLanguage.polish = {
115123
},
116124
about = {
117125
shortname = "Informacje",
118-
longname = "O edytorze handlingow",
126+
longname = "O oficjalnym edytorze handlingu",
119127
itemtext = {
120-
textlabel = "",
121-
websitebox = "",
122-
morelabel = ""
128+
textlabel = "Witamy w oficjalnym edytorze handlingu MTA! Ten edytor pozwala zmieniać handling pojazdów w czasie rzeczywistym.\n\n" ..
129+
"Możesz zapisywać i wczytywać ustawienia przez menu 'Handling' w lewym górnym rogu.\n\n" ..
130+
"Więcej informacji – w tym changelog – znajdziesz tutaj:",
131+
websitebox = "https://github.com/multitheftauto/mtasa-resources/tree/master/%5Bgameplay%5D/hedit",
132+
morelabel = "\nDziękujemy za korzystanie z hedit!"
123133
}
124134
},
125135
undo = {
@@ -149,13 +159,14 @@ guiLanguage.polish = {
149159
shortname = "Zapisane",
150160
longname = "Wczytaj lub zapisz swoje ustawienia.",
151161
itemtext = {
152-
nameLabel = "Nazwa",
153-
descriptionLabel = "Opis",
154162
saveButton = "Zapisz",
155163
loadButton = "Wczytaj",
164+
deleteButton = "Usuń",
156165
grid = "",
157-
nameEdit = "",
158-
descriptionEdit = ""
166+
nameColumn = "Nazwa",
167+
modelColumn = "Model",
168+
nameEdit = "Nazwa",
169+
descriptionEdit = "Opis"
159170
}
160171
},
161172
import = {
@@ -212,7 +223,8 @@ guiLanguage.polish = {
212223
edit_cmd = "",
213224
combo_commode = "",
214225
combo_language = "",
215-
checkbox_lockwhenediting = "Zablokuj pojazd, kiedy edytujesz?"
226+
checkbox_lockwhenediting = "Zablokuj pojazd, kiedy edytujesz?",
227+
checkbox_dragmeterEnabled = "Użyj szybkiego strojenia",
216228
}
217229
},
218230
handlinglog = {

[gameplay]/hedit/client/gui/languages/portuguese.lua

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,20 @@ guiLanguage.portuguese = {
5757
--
5858

5959
--Warning level strings
60-
-- warningtitles = {
61-
-- info = "Informação",
62-
-- question = "Pergunta",
63-
-- warning = "Aviso!",
64-
-- error = "Erro!"
65-
-- },
60+
warningtitles = {
61+
info = "Informação",
62+
question = "Pergunta",
63+
warning = "Aviso!",
64+
error = "Erro!"
65+
},
66+
67+
--Warning button strings
68+
warningButtons = {
69+
yes = "Sim",
70+
no = "Não",
71+
ok = "OK",
72+
},
73+
6674
--Strings for the buttons at the top
6775
menubar = {
6876
handling = "Handling",
@@ -152,14 +160,14 @@ guiLanguage.portuguese = {
152160
shortname = "Saves",
153161
longname = "Carregar ou salvar configurações de handling.",
154162
itemtext = {
155-
nameLabel = "Nome",
156-
descriptionLabel = "Descrição",
157163
saveButton = "Salvar",
158164
loadButton = "Carregar",
159165
deleteButton = "Excluir",
160166
grid = "",
161-
nameEdit = "",
162-
descriptionEdit = ""
167+
nameColumn = "Nome",
168+
modelColumn = "Modelo",
169+
nameEdit = "Nome",
170+
descriptionEdit = "Descrição"
163171
}
164172
},
165173
import = {

[gameplay]/hedit/client/gui/languages/russian.lua

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@
6262
warning = "Предупреждение!",
6363
error = "Ошибка!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "Да",
69+
no = "Нет",
70+
ok = "ОК",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Хэндлинг",
@@ -152,13 +160,14 @@
152160
shortname = "Сохранение",
153161
longname = "Сохранить или загрузить настройки хэндлинга.",
154162
itemtext = {
155-
nameLabel = "Название",
156-
descriptionLabel = "Описание",
157163
saveButton = "Сохранить",
158164
loadButton = "Загрузить",
165+
deleteButton = "Удалить",
159166
grid = "",
160-
nameEdit = "",
161-
descriptionEdit = ""
167+
nameColumn = "Название",
168+
modelColumn = "модель",
169+
nameEdit = "Название",
170+
descriptionEdit = "Описание"
162171
}
163172
},
164173
import = {

[gameplay]/hedit/client/gui/languages/spanish.lua

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ guiLanguage.spanish = {
6262
warning = "Aviso!",
6363
error = "Error!"
6464
},
65+
66+
--Warning button strings
67+
warningButtons = {
68+
yes = "",
69+
no = "No",
70+
ok = "OK",
71+
},
72+
6573
--Strings for the buttons at the top
6674
menubar = {
6775
handling = "Handling",
@@ -151,14 +159,14 @@ guiLanguage.spanish = {
151159
shortname = "Saves",
152160
longname = "Cargar, guardar o eliminar handlings.",
153161
itemtext = {
154-
nameLabel = "Nombre",
155-
descriptionLabel = "Descripcion",
156162
saveButton = "Guardar",
157163
loadButton = "Cargar",
158164
deleteButton = "Borrar",
159165
grid = "",
160-
nameEdit = "",
161-
descriptionEdit = ""
166+
nameColumn = "Nombre",
167+
modelColumn = "Modelo",
168+
nameEdit = "Nombre",
169+
descriptionEdit = "Descripcion"
162170
}
163171
},
164172
import = {

0 commit comments

Comments
 (0)