Skip to content

Commit

Permalink
Merge pull request #542 from bitpredator/dev
Browse files Browse the repository at this point in the history
fix: (esx_policejob)  remove unused translations
  • Loading branch information
bitpredator authored Oct 14, 2023
2 parents 4eb4bed + ac68ae5 commit 2bc8a11
Show file tree
Hide file tree
Showing 15 changed files with 293 additions and 411 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

local spawnedVehicles = {}

function OpenVehicleSpawnerMenu(type, station, part, partNum)
Expand Down Expand Up @@ -317,4 +316,4 @@ function WaitForVehicleToLoad(modelHash)

BusyspinnerOff()
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Config.EnableLicenses = true -- Enable if you're using esx_license.
Config.EnableHandcuffTimer = true -- Enable handcuff timer? will unrestrain player after the time ends.
Config.HandcuffTimer = 10 * 60000 -- 10 minutes.
Config.EnableJobBlip = true -- Enable blips for cops on duty, requires esx_society.

Config.Locale = 'en'


Config.OxInventory = ESX.GetConfig().OxInventory

Config.PoliceStations = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ game 'gta5'

description 'ESX Police Job'
lua54 'yes'
version '0.0.4'
version '1.0.0'

shared_script '@es_extended/imports.lua'

Expand Down
21 changes: 5 additions & 16 deletions server-data/resources/[esx_addons]/esx_policejob/locales/cs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['cs'] = {
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'interakce provozu',
['cone'] = 'kuzel',
['barrier'] = 'bariera',
['spikestrips'] = 'ostnaty pas',
['box'] = 'box',
['cash'] = 'box penez',
-- ID Card Menu
['name'] = 'jméno: %s',
['job'] = 'práce: %s',
Expand Down Expand Up @@ -135,24 +132,16 @@ Locales['cs'] = {
['open_bossmenu'] = 'stiskni [E] pro otevření menu',
['quantity_invalid'] = 'neplatné množství',
['have_withdrawn'] = 'vybral jsi %sx %s',
['have_deposited'] = 'vložil jsi %sx %s',
['quantity'] = 'množství',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'inventář',
['police_stock'] = 'policejní sklad',
-- Misc
['remove_prop'] = 'stiskni [E] pro odstranění předmětu',
['map_blip'] = 'policejní stanice',
['unrestrained_timer'] = 'cítíš, že tvé pouta pomalu ztrácejí přilnavost a padají.',
-- Notifications
['alert_police'] = 'policejní poplach',
['phone_police'] = 'policie',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
}
11 changes: 0 additions & 11 deletions server-data/resources/[esx_addons]/esx_policejob/locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['de'] = {
-- Traffic interaction
['search_plate'] = 'Kennzeichen Eingeben',
['lookup_plate'] = 'Kennzeichen Suchen',
['traffic_interaction'] = 'Vehrkehrs Interaktionen',
['cone'] = 'Hütchen',
['barrier'] = 'Barriere',
['spikestrips'] = 'Nagelband',
['box'] = 'Box',
['cash'] = 'Box mit Geld',
-- ID Card Menu
['name'] = 'Name: %s',
['job'] = 'Job: %s',
Expand Down Expand Up @@ -135,24 +132,16 @@ Locales['de'] = {
['open_bossmenu'] = 'Drücke [E] um das Menü zu öffnen',
['quantity_invalid'] = 'Ungültige Anzahl',
['have_withdrawn'] = 'Du zahlst ~y~%sx~s~ ~b~%s~s~ aus',
['have_deposited'] = 'Du zahlst ~y~%sx~s~ ~b~%s~s~ ein',
['quantity'] = 'Anzahl',
['quantity_placeholder'] = 'Anzahl zum Einzahlen..',
['inventory'] = 'Inventar',
['police_stock'] = 'Polizeilager',
-- Misc
['remove_prop'] = 'Drücke [E] um das Objekt zu entfernen',
['map_blip'] = 'Polizeiwache',
['unrestrained_timer'] = 'Du fühlst wie du aus deinen Handschellen langsam rausgleitest! Renn!',
-- Notifications
['alert_police'] = 'Polizei Alarmieren',
['phone_police'] = 'Polizei',
-- Keybind
['interaction'] = 'Interagieren',
['quick_actions'] = 'Schnelle Aktionen',
-- Other
['society_police'] = 'Polizei',
['s_m_y_sheriff_01'] = 'Sheriff Charakter',
['s_m_y_cop_01'] = 'Polizei Charakter',
['s_m_y_swat_01'] = 'SWAT Charakter',
}
11 changes: 0 additions & 11 deletions server-data/resources/[esx_addons]/esx_policejob/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['en'] = {
['search_plate'] = 'Enter Plate',
['lookup_plate'] = 'Lookup Plate',
-- Traffic interaction
['traffic_interaction'] = 'interaction Traffic',
['cone'] = 'cone',
['barrier'] = 'barrier',
['spikestrips'] = 'spikestrips',
['box'] = 'box',
['cash'] = 'box of cash',
-- ID Card Menu
['name'] = 'name: %s',
['job'] = 'job: %s',
Expand Down Expand Up @@ -135,24 +132,16 @@ Locales['en'] = {
['open_bossmenu'] = 'press [E] to open the menu',
['quantity_invalid'] = 'invalid quantity',
['have_withdrawn'] = 'you have withdrawn %sx %s',
['have_deposited'] = 'you have deposited %sx %s',
['quantity'] = 'quantity',
['quantity_placeholder'] = 'Amount to withdraw..',
['inventory'] = 'inventory',
['police_stock'] = 'police Stock',
-- Misc
['remove_prop'] = 'press [E] to delete the object',
['map_blip'] = 'police Station',
['unrestrained_timer'] = 'you feel your handcuffs slowly losing grip and fading away.',
-- Notifications
['alert_police'] = 'police alert',
['phone_police'] = 'police',
-- Keybind
['interaction'] = 'Interact',
['quick_actions'] = 'Quick Actions',
-- Other
['society_police'] = 'Police',
['s_m_y_sheriff_01'] = 'Sheriff Ped',
['s_m_y_cop_01'] = 'Police Ped',
['s_m_y_swat_01'] = 'SWAT Ped',
}
12 changes: 0 additions & 12 deletions server-data/resources/[esx_addons]/esx_policejob/locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['es'] = {
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'Rutas de interacción',
['cone'] = 'Cono',
['barrier'] = 'Barrera',
['spikestrips'] = 'Grada',
['box'] = 'Caja',
['cash'] = 'Dinero',
-- ID Card Menu
['name'] = 'Nombre: %s',
['job'] = 'Trabajo: %s',
Expand Down Expand Up @@ -135,25 +132,16 @@ Locales['es'] = {
['open_bossmenu'] = 'presionar [E] para abrir el menú',
['quantity_invalid'] = 'cantidad invalida',
['have_withdrawn'] = 'you have withdrawn %sx %s',
['have_deposited'] = 'you have deposited %sx %s',
['quantity'] = 'cantidad',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'inventario',
['police_stock'] = 'almacen Policial',
-- Misc
['remove_prop'] = 'presionar [E] para eliminar el objeto',
['map_blip'] = 'comisaría de policía',
['unrestrained_timer'] = 'you feel your handcuffs slowly losing grip and fading away.',
-- Notifications
['alert_police'] = 'alerta policia',
['phone_police'] = 'policia',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated

}
12 changes: 0 additions & 12 deletions server-data/resources/[esx_addons]/esx_policejob/locales/fi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['fi'] = {
['search_plate'] = 'Kirjoita rekisteritunnus',
['lookup_plate'] = 'Tarkista rekisteritunnus',
-- Traffic interaction
['traffic_interaction'] = 'liikenteen vuorovaikutus',
['cone'] = 'kartio',
['barrier'] = 'este',
['spikestrips'] = 'piikkimatto',
['box'] = 'laatikko',
['cash'] = 'rahalaatikko',
-- ID Card Menu
['name'] = 'nimi: %s',
['job'] = 'työ: %s',
Expand Down Expand Up @@ -135,25 +132,16 @@ Locales['fi'] = {
['open_bossmenu'] = 'paina [E] avataksesi valikon',
['quantity_invalid'] = 'invalid quantity',
['have_withdrawn'] = 'sinä otit varastosta %sx %s',
['have_deposited'] = 'sinä talletit varastoon %sx %s',
['quantity'] = 'määrä',
['quantity_placeholder'] = 'Määrä mitä otat..',
['inventory'] = 'varasto',
['police_stock'] = 'poliisin Varasto',
-- Misc
['remove_prop'] = 'paina [E] poistaaksesi objektin',
['map_blip'] = 'poliisilaitos',
['unrestrained_timer'] = 'tunnet kuinka hitaasti käsiraudat alkavat löystyä ja irtoavat',
-- Notifications
['alert_police'] = 'hälyytys Poliisi',
['phone_police'] = 'poliisi',
-- Keybind
['interaction'] = 'Vuorovaikuta',
['quick_actions'] = 'Pikavalinnat',
-- Other
['society_police'] = 'Poliisi',
['s_m_y_sheriff_01'] = 'Sheriffi npc',
['s_m_y_cop_01'] = 'Poliisi npc',
['s_m_y_swat_01'] = 'SWAT npc',

}
12 changes: 0 additions & 12 deletions server-data/resources/[esx_addons]/esx_policejob/locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['fr'] = {
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'interaction routière',
['cone'] = 'plot',
['barrier'] = 'barrière',
['spikestrips'] = 'herse',
['box'] = 'caisse',
['cash'] = 'caisse',
-- ID Card Menu
['name'] = 'nom: %s',
['job'] = 'métier: %s',
Expand Down Expand Up @@ -135,25 +132,16 @@ Locales['fr'] = {
['open_bossmenu'] = 'appuyez sur [E] pour ouvrir le menu',
['quantity_invalid'] = 'quantité invalide',
['have_withdrawn'] = 'vous avez retiré %sx %s',
['have_deposited'] = 'vous avez déposé %sx %s',
['quantity'] = 'quantité',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'inventaire',
['police_stock'] = 'coffre de la police',
-- Misc
['remove_prop'] = 'appuyez sur [E] pour enlever l\'objet',
['map_blip'] = 'Commissariat',
['unrestrained_timer'] = 'vous sentez que vos menottes deviennent fragiles.',
-- Notifications
['alert_police'] = 'alerte police',
['phone_police'] = 'police',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated

}
11 changes: 0 additions & 11 deletions server-data/resources/[esx_addons]/esx_policejob/locales/hu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ Locales['hu'] = {
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'Útzárak',
['cone'] = 'bólya',
['barrier'] = 'útakadály',
['spikestrips'] = 'szögesdrót',
['box'] = 'doboz',
['cash'] = 'pénzesdoboz',
-- ID Card Menu
['name'] = 'név: %s',
['job'] = 'munka: %s',
Expand Down Expand Up @@ -136,24 +133,16 @@ Locales['hu'] = {
['open_bossmenu'] = 'Nyomj [E] gombot a menü eléréséhez',
['quantity_invalid'] = 'érvénytelen mennyiség',
['have_withdrawn'] = 'Kivetted %sx %s',
['have_deposited'] = 'Beraktad %sx %s',
['quantity'] = 'mennyiség',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'leltár',
['police_stock'] = 'Állomány',
-- Misc
['remove_prop'] = 'Nyomj [E] gombot az objektum törléséhez',
['map_blip'] = 'Rendőrség',
['unrestrained_timer'] = '...',
-- Notifications
['alert_police'] = 'riasztás',
['phone_police'] = 'rendörség',
-- Keybind
['interaction'] = 'Interakció', --not translated
['quick_actions'] = 'Gyorsmenü', --not translated
-- Other
['society_police'] = 'Rendőrség', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Rendőr Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Locales['it'] = {
['search_database_title'] = 'informazioni sul veicolo - ricerca con numero di targa',
['search_database_error_invalid'] = 'questo ~r~non è un numero di registrazione valido',
-- Traffic interaction
['traffic_interaction'] = 'interazione Traffico',
['cone'] = 'cono',
['barrier'] = 'barriere',
['spikestrips'] = 'strisce chiodate',
Expand Down Expand Up @@ -113,9 +112,7 @@ Locales['it'] = {
['open_bossmenu'] = 'premi [E] per aprire il menu',
['quantity_invalid'] = 'quantità non valida',
['have_withdrawn'] = 'hai prelevato %sx %s',
['have_deposited'] = 'hai depositato %sx %s',
['quantity'] = 'quantità',
['inventory'] = 'inventario',
-- Misc
['remove_prop'] = 'premi [E] per eliminare',
['map_blip'] = 'polizia',
Expand Down
Loading

0 comments on commit 2bc8a11

Please sign in to comment.