Skip to content

Commit

Permalink
fix: evidence drawer prompt was displaying unassigned variable
Browse files Browse the repository at this point in the history
  • Loading branch information
citRaTTV committed Dec 13, 2023
1 parent 607e064 commit 5943d1c
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ else
if isPointInside then
inEvidence = true
if PlayerJob.type == 'leo' and PlayerJob.onduty then
exports['qb-core']:DrawText(Lang:t('info.evidence_stash'), 'left')
exports['qb-core']:DrawText(Lang:t('info.evidence_stash_prompt'), 'left')
evidence()
end
else
Expand Down
1 change: 1 addition & 0 deletions locales/ar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'السعر',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'المحرك: %{value} % | البنزين: %{value2} %',
evidence_stash_prompt = 'خزنة الأدلة',
evidence_stash = 'خزنة الأدلة | %{value}',
slot = '(1,2,3)',
current_evidence = '%{value} | الدرج %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/da.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Beløb',
police_plate = 'DKPL', --Bør kun være 4 tegn langt
vehicle_info = 'Motor: %{value} % | Brændstof: %{value2} %',
evidence_stash_prompt = 'Bevis Stash',
evidence_stash = 'Bevis Stash | %{value}',
slot = 'Slot nr. (1,2,3)',
current_evidence = '%{value} | Skuffe %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Betrag',
police_plate = 'HCPD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Tank: %{value2} %',
evidence_stash_prompt = 'BeweisStash',
evidence_stash = 'BeweisStash | %{value}',
slot = 'Lade-Nr. (1,2,3)',
current_evidence = '%{value} | Lade %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Amount',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Engine: %{value} % | Fuel: %{value2} %',
evidence_stash_prompt = 'Evidence Stash',
evidence_stash = 'Evidence Stash | %{value}',
slot = 'Slot no. (1,2,3)',
current_evidence = '%{value} | Drawer %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Cantidad',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Combustible: %{value2} %',
evidence_stash_prompt = 'Armario de pruebas',
evidence_stash = 'Armario de pruebas | %{value}',
slot = 'Hueco número. (1,2,3)',
current_evidence = '%{value} | Cajón %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/et.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Kogus',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Mootor: %{value} % | Kütus: %{value2} %',
evidence_stash_prompt = 'Asitõendid',
evidence_stash = 'Asitõendid | %{value}',
slot = 'Riiul no. (1,2,3)',
current_evidence = '%{value} | Sahtel %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/fi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Paljonko',
police_plate = 'POLI', --Should only be 4 characters long
vehicle_info = 'Moottori: %{value} % | Bensa: %{value2} %',
evidence_stash_prompt = 'Todisteet',
evidence_stash = 'Todisteet | %{value}',
slot = 'Kolikkopelin numero. (1,2,3)',
current_evidence = '%{value} | Laatikko %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Montant',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Moteur: %{value} % | Essence: %{value2} %',
evidence_stash_prompt = 'Coffre des Preuves',
evidence_stash = 'Coffre des Preuves | %{value}',
slot = 'Emplacement N° (1,2,3)',
current_evidence = '%{value} | Tirroir %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ local Translations = {
amount = 'Quantità',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Motore: %{value} % | Carburante: %{value2} %',
evidence_stash_prompt = 'Magazzino Prove',
evidence_stash = 'Magazzino Prove | %{value}',
slot = 'Slot no. (1,2,3)',
current_evidence = '%{value} | Cassetto %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/lt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Suma',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Variklis: %{value} % | Kuras: %{value2} %',
evidence_stash_prompt = 'Įkalčių saugykla',
evidence_stash = 'Įkalčių saugykla | %{value}',
slot = 'Lentynos nr. (1,2,3)',
current_evidence = '%{value} | Lentyna %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Bedrag',
police_plate = 'LSPD', -- Moet slechts 4 tekens lang zijn
vehicle_info = 'Motor: %{value} % | Brandstof: %{value2} %',
evidence_stash_prompt = 'Bewijsopslag',
evidence_stash = 'Bewijsopslag | %{value}',
slot = 'Slot nr. (1, 2, 3)',
current_evidence = '%{value} | Lade %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/pt-br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Quantidade',
police_plate = 'LSPD', -- Deve ter apenas 4 caracteres
vehicle_info = 'Motor: %{value} % | Combustível: %{value2} %',
evidence_stash_prompt = 'Local de Armazenamento de Evidências',
evidence_stash = 'Local de Armazenamento de Evidências | %{value}',
slot = 'Slot nº (1, 2, 3)',
current_evidence = '%{value} | Gaveta %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/pt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ local Translations = {
amount = 'Montante',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Combu: %{value2} %',
evidence_stash_prompt = 'Baú de Evidências',
evidence_stash = 'Baú de Evidências | %{value}',
slot = 'Slot no. (1,2,3)',
current_evidence = '%{value} | Gaveta %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/ro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ local Translations = {
amount = 'Suma',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Combustibil: %{value2} %',
evidence_stash_prompt = 'Fisiet dovezi',
evidence_stash = 'Fisiet dovezi | %{value}',
slot = 'Slot nr. (1,2,3)',
current_evidence = '%{value} | Sertar %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/sk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ local Translations = {
amount = 'Čiastka',
police_plate = 'PD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Palivo: %{value2} %',
evidence_stash_prompt = 'Úložisko pre Dôkazy',
evidence_stash = 'Úložisko pre Dôkazy | %{value}',
slot = 'Priestor č. (1,2,3)',
current_evidence = '%{value} | Zásuvka %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/th.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'จำนวน',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'เครื่องยนต์: %{value} % | น้ำมัน: %{value2} %',
evidence_stash_prompt = 'หลักฐานที่รวบรวมไว้',
evidence_stash = 'หลักฐานที่รวบรวมไว้ | %{value}',
slot = 'เลขที่ช่อง. (1,2,3)',
current_evidence = '%{value} | ลิ้นชัก %{value2}',
Expand Down
1 change: 1 addition & 0 deletions locales/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ local Translations = {
amount = 'Tutar',
police_plate = 'LSPD', --Should only be 4 characters long
vehicle_info = 'Motor: %{value} % | Yakıt: %{value2} %',
evidence_stash_prompt = 'Kanıt Zulası',
evidence_stash = 'Kanıt Zulası | %{value}',
slot = 'Yuva numarası (1,2,3)',
current_evidence = '%{value} | Çekmece %{value2}',
Expand Down

0 comments on commit 5943d1c

Please sign in to comment.