From 5a710cbf72d783a2f05cda01b397089066c85cf5 Mon Sep 17 00:00:00 2001 From: Manuel <38227219+Tindergarten@users.noreply.github.com> Date: Mon, 9 Apr 2018 21:47:01 +0200 Subject: [PATCH 1/3] Add files via upload --- locales/br.lua | 2 +- locales/de.lua | 2 +- locales/en.lua | 2 +- locales/es.lua | 2 +- locales/fr.lua | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/locales/br.lua b/locales/br.lua index f8682ff8..d7ce2f11 100644 --- a/locales/br.lua +++ b/locales/br.lua @@ -70,7 +70,7 @@ Locales['br'] = { ['amount_of_deposit'] = 'Quantidade de depósito', ['open_bossmenu'] = 'Pressione ~INPUT_CONTEXT~ para abrir o menu', -- Misc - ['remove_object'] = 'Pressione ~INPUT_CONTEXT~ para remover o objeto', + ['remove_prop'] = 'Pressione ~INPUT_CONTEXT~ para remover o objeto', ['map_blip'] = 'Departamento de Polícia', -- Notifications ['from'] = '~s~ de ~b~', diff --git a/locales/de.lua b/locales/de.lua index d5a19a1f..1221e268 100644 --- a/locales/de.lua +++ b/locales/de.lua @@ -70,7 +70,7 @@ Locales['de'] = { ['amount_of_deposit'] = 'Betrag zum einzahlen', ['open_bossmenu'] = 'Drücke ~INPUT_CONTEXT~ um das Menü zu öffnen', -- Misc - ['remove_object'] = 'Drücke ~INPUT_CONTEXT~ um das Objekt zu entfernen', + ['remove_prop'] = 'Drücke ~INPUT_CONTEXT~ um das Objekt zu entfernen', ['map_blip'] = 'Polizeistation', -- Notifications ['from'] = '~s~ von ~b~', diff --git a/locales/en.lua b/locales/en.lua index f7c71032..da052941 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -92,7 +92,7 @@ Locales['en'] = { ['inventory'] = 'inventory', ['police_stock'] = 'Police Stock', -- Misc - ['remove_object'] = 'press ~INPUT_CONTEXT~ to delete the object', + ['remove_prop'] = 'press ~INPUT_CONTEXT~ to delete the object', ['map_blip'] = 'police Station', -- Notifications ['from'] = '~s~ from ~b~', diff --git a/locales/es.lua b/locales/es.lua index 41b24ef2..bcee45d6 100644 --- a/locales/es.lua +++ b/locales/es.lua @@ -83,7 +83,7 @@ Locales['es'] = { ['inventory'] = 'inventario', ['police_stock'] = 'Almacen Policial', -- Misc - ['remove_object'] = 'Presionar ~INPUT_CONTEXT~ para eliminar el objeto', + ['remove_prop'] = 'Presionar ~INPUT_CONTEXT~ para eliminar el objeto', ['map_blip'] = 'Comisaría de policía', -- Notifications ['from'] = '~s~ de ~b~', diff --git a/locales/fr.lua b/locales/fr.lua index d56ed2e5..f941997a 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -92,7 +92,7 @@ Locales['fr'] = { ['inventory'] = 'inventaire', ['police_stock'] = 'Police Stock', -- Misc - ['remove_object'] = 'appuyez sur ~INPUT_CONTEXT~ pour enlever l\'objet', + ['remove_prop'] = 'appuyez sur ~INPUT_CONTEXT~ pour enlever l\'objet', ['map_blip'] = 'Commissariat', -- Notifications ['from'] = '~s~ à ~b~', From 9a131762c4cf27f2f6e2e72040c8516bd3c48f70 Mon Sep 17 00:00:00 2001 From: Manuel <38227219+Tindergarten@users.noreply.github.com> Date: Mon, 9 Apr 2018 21:47:39 +0200 Subject: [PATCH 2/3] Add files via upload --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index c6fe7820..7a2db92f 100644 --- a/client/main.lua +++ b/client/main.lua @@ -1341,7 +1341,7 @@ AddEventHandler('esx_policejob:hasEnteredEntityZone', function(entity) if PlayerData.job ~= nil and PlayerData.job.name == 'police' and not IsPedInAnyVehicle(playerPed, false) then CurrentAction = 'remove_entity' - CurrentActionMsg = _U('remove_object') + CurrentActionMsg = _U('remove_prop') CurrentActionData = {entity = entity} end From dc2ebe9993f5e9f154341a90b11754f795607f23 Mon Sep 17 00:00:00 2001 From: Manuel <38227219+Tindergarten@users.noreply.github.com> Date: Mon, 9 Apr 2018 21:55:38 +0200 Subject: [PATCH 3/3] Added de.lua in __resource.lua No more 'local [de] does not exist' anymore --- __resource.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__resource.lua b/__resource.lua index c47b5188..a4c6132a 100644 --- a/__resource.lua +++ b/__resource.lua @@ -7,6 +7,7 @@ version '1.0.5' server_scripts { '@es_extended/locale.lua', 'locales/br.lua', + 'locales/de.lua', 'locales/en.lua', 'locales/fr.lua', 'locales/es.lua', @@ -18,6 +19,7 @@ server_scripts { client_scripts { '@es_extended/locale.lua', 'locales/br.lua', + 'locales/de.lua', 'locales/en.lua', 'locales/fr.lua', 'locales/es.lua',