diff --git a/locales/al.json b/locales/al.json index 869acc03..3b642b90 100644 --- a/locales/al.json +++ b/locales/al.json @@ -6,6 +6,8 @@ "confirm": "Konfirmo", "more": "More..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/ar.json b/locales/ar.json index 3092f488..6d3f7760 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -1,15 +1,16 @@ { - "language": "العربية", - "ui": { - "cancel": "إلغاء", - "close": "إغلاق", - "confirm": "تأكيد", - "more": "المزيد ..." - }, - "txadmin_announcement": "إعلان من قبل %s", - "txadmin_dm": "رسالة من %s", - "txadmin_warn": "تم تحذيرك من قبل %s", - "txadmin_warn_content": "%s \nأيدي: %s", - "txadmin_scheduledrestart": "تحديد ريستارت للسرفر" - } - + "language": "العربية", + "ui": { + "cancel": "إلغاء", + "close": "إغلاق", + "confirm": "تأكيد", + "more": "المزيد ..." + }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", + "txadmin_announcement": "إعلان من قبل %s", + "txadmin_dm": "رسالة من %s", + "txadmin_warn": "تم تحذيرك من قبل %s", + "txadmin_warn_content": "%s \nأيدي: %s", + "txadmin_scheduledrestart": "تحديد ريستارت للسرفر" +} diff --git a/locales/cs.json b/locales/cs.json index 92b98a17..979d5d68 100644 --- a/locales/cs.json +++ b/locales/cs.json @@ -6,6 +6,8 @@ "confirm": "Potvrdit", "more": "Více..." }, + "open_radial_menu": "Otevřít kruhové menu", + "cancel_progress": "Zrušit aktuální progress bar", "txadmin_announcement": "Serverové oznámení od %s", "txadmin_dm": "Soukromá zpráva od %s", "txadmin_warn": "Byl jsi varován od %s", diff --git a/locales/da.json b/locales/da.json index 871fb5f6..3c2179a8 100644 --- a/locales/da.json +++ b/locales/da.json @@ -1,14 +1,16 @@ { - "language": "Dansk", - "ui": { - "cancel": "Annuller", - "close": "Luk", - "confirm": "Bekræft", - "more": "Mere..." - }, - "txadmin_announcement": "Servermeddelelse af %s", - "txadmin_dm": "Direkte besked fra %s", - "txadmin_warn": "Du er blevet advaret af %s", - "txadmin_warn_content": "%s \nHandlings-id: %s", - "txadmin_scheduledrestart": "Planlagt genstart" + "language": "Dansk", + "ui": { + "cancel": "Annuller", + "close": "Luk", + "confirm": "Bekræft", + "more": "Mere..." + }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", + "txadmin_announcement": "Servermeddelelse af %s", + "txadmin_dm": "Direkte besked fra %s", + "txadmin_warn": "Du er blevet advaret af %s", + "txadmin_warn_content": "%s \nHandlings-id: %s", + "txadmin_scheduledrestart": "Planlagt genstart" } diff --git a/locales/de.json b/locales/de.json index 8bd71e74..30c4a190 100644 --- a/locales/de.json +++ b/locales/de.json @@ -6,6 +6,8 @@ "confirm": "Bestätigen", "more": "Mehr..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Serverankündigung von %s", "txadmin_dm": "Direktnachricht von %s", "txadmin_warn": "Du wurdest von %s gewarnt", diff --git a/locales/en.json b/locales/en.json index c35d631d..95460130 100644 --- a/locales/en.json +++ b/locales/en.json @@ -6,6 +6,8 @@ "confirm": "Confirm", "more": "More..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/es.json b/locales/es.json index ef6c97a5..4f529909 100644 --- a/locales/es.json +++ b/locales/es.json @@ -6,6 +6,8 @@ "confirm": "Confirmar", "more": "Más..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Anuncio de servidor de %s", "txadmin_dm": "Mensaje directo de %s", "txadmin_warn": "Has sido advertido por %s", diff --git a/locales/et.json b/locales/et.json index 25aab931..4748c5de 100644 --- a/locales/et.json +++ b/locales/et.json @@ -6,6 +6,8 @@ "confirm": "Kinnita", "more": "Rohkem..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Serveri teadaanne kasutajalt %s", "txadmin_dm": "Sulle saadeti sõnum kasutajalt %s", "txadmin_warn": "Sind hoiatati kasutaja %s poolt", diff --git a/locales/fi.json b/locales/fi.json index 23c937ad..e96a7d12 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -6,6 +6,8 @@ "confirm": "Vahvista", "more": "Lisää..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Ilmoitus palvelimen ylläpitäjältä %s", "txadmin_dm": "Sait viestin henkilöltä %s", "txadmin_warn": "Sinua on varoitettu henkilön %s toimesta", diff --git a/locales/fr.json b/locales/fr.json index e03cd95a..0d921f05 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -6,6 +6,8 @@ "confirm": "Confirmer", "more": "Plus..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/he.json b/locales/he.json index bb463bd5..a41f516f 100644 --- a/locales/he.json +++ b/locales/he.json @@ -6,6 +6,8 @@ "confirm": "אישור", "more": "...עוד" }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/hr.json b/locales/hr.json index e66dd8ba..7109cbf1 100644 --- a/locales/hr.json +++ b/locales/hr.json @@ -6,6 +6,8 @@ "confirm": "Potvrdi", "more": "Više..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/hu.json b/locales/hu.json index a6426cfe..c3154479 100644 --- a/locales/hu.json +++ b/locales/hu.json @@ -6,6 +6,8 @@ "confirm": "Megerősít", "more": "Tovább..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Szerver bejelentés által %s", "txadmin_dm": "Közvetlen üzenet a %s", "txadmin_warn": "Figyelmeztetett %s", diff --git a/locales/id.json b/locales/id.json index c3748fbe..c0fa6e06 100644 --- a/locales/id.json +++ b/locales/id.json @@ -6,6 +6,8 @@ "confirm": "Konfirmasi", "more": "More..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/it.json b/locales/it.json index 8f883b2a..2481092c 100644 --- a/locales/it.json +++ b/locales/it.json @@ -6,6 +6,8 @@ "confirm": "Conferma", "more": "Altro..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Annuncio server da %s", "txadmin_dm": "Messaggio diretto da %s", "txadmin_warn": "Sei stato richiamato da %s", diff --git a/locales/lt.json b/locales/lt.json index ad6fc3e3..97007d38 100644 --- a/locales/lt.json +++ b/locales/lt.json @@ -6,6 +6,8 @@ "confirm": "Patvirtinti", "more": "Daugiau..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/nl.json b/locales/nl.json index 70de2c04..46b63275 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -6,6 +6,8 @@ "confirm": "Bevestigen", "more": "Meer..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server mededeling door %s", "txadmin_dm": "Bericht van %s", "txadmin_warn": "Je hebt een waarschuwing gekregen van %s", diff --git a/locales/no.json b/locales/no.json index 7dd39906..9b2011ff 100644 --- a/locales/no.json +++ b/locales/no.json @@ -1,14 +1,16 @@ { - "language": "Norsk", - "ui": { + "language": "Norsk", + "ui": { "cancel": "Avbryt", "close": "Lukk", "confirm": "Bekreft", "more": "Mer..." - }, - "txadmin_announcement": "Server announcement by %s", - "txadmin_dm": "Direct Message from %s", - "txadmin_warn": "You have been warned by %s", - "txadmin_warn_content": "%s \nAction ID: %s", - "txadmin_scheduledrestart": "Scheduled Restart" - } + }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", + "txadmin_announcement": "Server announcement by %s", + "txadmin_dm": "Direct Message from %s", + "txadmin_warn": "You have been warned by %s", + "txadmin_warn_content": "%s \nAction ID: %s", + "txadmin_scheduledrestart": "Scheduled Restart" +} diff --git a/locales/pl.json b/locales/pl.json index 2b6652b5..bb267418 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -6,6 +6,8 @@ "confirm": "Potwierdź", "more": "Więcej..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Ogłoszenie serwerowe od %s", "txadmin_dm": "Prywatna wiadomość od %s", "txadmin_warn": "Otrzymano ostrzeżenie od %s", diff --git a/locales/pt-br.json b/locales/pt-br.json index 2692c750..829bf317 100644 --- a/locales/pt-br.json +++ b/locales/pt-br.json @@ -6,6 +6,8 @@ "confirm": "Confirmar", "more": "Mais..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/ru.json b/locales/ru.json index 751f888f..501fd394 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -6,6 +6,8 @@ "confirm": "Подтвердить", "more": "Ещё..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/sk.json b/locales/sk.json index 59d7e4fe..954aff6f 100644 --- a/locales/sk.json +++ b/locales/sk.json @@ -6,6 +6,8 @@ "confirm": "Potvrdiť", "more": "More..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/sl.json b/locales/sl.json index 96d0c3de..1f178d8a 100644 --- a/locales/sl.json +++ b/locales/sl.json @@ -6,6 +6,8 @@ "confirm": "Potrdi", "more": "More..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/sv.json b/locales/sv.json index 4508a67b..4adac47e 100644 --- a/locales/sv.json +++ b/locales/sv.json @@ -6,6 +6,8 @@ "confirm": "Acceptera", "more": "Mer..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/th.json b/locales/th.json index aa37dec8..58351390 100644 --- a/locales/th.json +++ b/locales/th.json @@ -6,6 +6,8 @@ "confirm": "ยืนยัน", "more": "เพิ่มเติม..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/tr.json b/locales/tr.json index fc5328d8..1a747c4e 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -6,6 +6,8 @@ "confirm": "Onayla", "more": "Daha Fazla..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "Server announcement by %s", "txadmin_dm": "Direct Message from %s", "txadmin_warn": "You have been warned by %s", diff --git a/locales/zh-cn.json b/locales/zh-cn.json index 2415b201..0d3d517d 100644 --- a/locales/zh-cn.json +++ b/locales/zh-cn.json @@ -6,6 +6,8 @@ "confirm": "确认", "more": "更多..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "来自 %s 的服务器通告", "txadmin_dm": "来自 %s 的信息", "txadmin_warn": "您被 %s 警告了", diff --git a/locales/zh-tw.json b/locales/zh-tw.json index 65b74ea7..e482ca65 100644 --- a/locales/zh-tw.json +++ b/locales/zh-tw.json @@ -6,6 +6,8 @@ "confirm": "確認", "more": "更多..." }, + "open_radial_menu": "Open radial menu", + "cancel_progress": "Cancel current progress bar", "txadmin_announcement": "來自 %s 的伺服器通告", "txadmin_dm": "來自 %s 的訊息", "txadmin_warn": "您被 %s 警告了", diff --git a/resource/interface/client/progress.lua b/resource/interface/client/progress.lua index ac760cea..892cc14d 100644 --- a/resource/interface/client/progress.lua +++ b/resource/interface/client/progress.lua @@ -221,4 +221,4 @@ RegisterCommand('cancelprogress', function() if progress?.canCancel then progress = false end end) -RegisterKeyMapping('cancelprogress', 'Cancel current progress bar', 'keyboard', 'x') +RegisterKeyMapping('cancelprogress', locale('cancel_progress'), 'keyboard', 'x') diff --git a/resource/interface/client/radial.lua b/resource/interface/client/radial.lua index 0177fff0..2649d73d 100644 --- a/resource/interface/client/radial.lua +++ b/resource/interface/client/radial.lua @@ -193,7 +193,6 @@ function lib.clearRadialItems() if isOpen then refreshRadial() end - end RegisterNUICallback('radialClick', function(index, cb) @@ -299,7 +298,7 @@ end lib.addKeybind({ name = 'ox_lib-radial', - description = 'Open radial menu', + description = locale('open_radial_menu'), defaultKey = 'z', onPressed = function() if isDisabled then return end