From 9d24c51dfb0d6012616f833da77850a76bf85ca7 Mon Sep 17 00:00:00 2001 From: feelfreetofee <89666307+feelfreetofee@users.noreply.github.com> Date: Sat, 17 Sep 2022 23:53:46 +0200 Subject: [PATCH 1/2] feat(esx_property/client/cctv.lua) Translation Notification for CCTV Screenshot --- [esx_addons]/esx_property/client/cctv.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx_addons]/esx_property/client/cctv.lua b/[esx_addons]/esx_property/client/cctv.lua index 9fe7135a..c226520a 100644 --- a/[esx_addons]/esx_property/client/cctv.lua +++ b/[esx_addons]/esx_property/client/cctv.lua @@ -231,7 +231,7 @@ function CCTV(PropertyID) exports['screenshot-basic']:requestScreenshotUpload(hook, "files[]", function(data) local image = json.decode(data) print(ESX.DumpTable(image)) - ESX.ShowNotification("Picture Taken!", "success") + ESX.ShowNotification(_U("picture_taken"), "success") SendNUIMessage({link = image.attachments[1].proxy_url}) ESX.ShowNotification(_U("clipboard"), "success") ShowButtons = true From 2d059f031604199f3f86de52d81a07ee67188189 Mon Sep 17 00:00:00 2001 From: feelfreetofee <89666307+feelfreetofee@users.noreply.github.com> Date: Sat, 17 Sep 2022 23:55:24 +0200 Subject: [PATCH 2/2] feat(esx_property/locales/en.lua) translation Notification for CCTV Screenshot --- [esx_addons]/esx_property/locales/en.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[esx_addons]/esx_property/locales/en.lua b/[esx_addons]/esx_property/locales/en.lua index 7a1636ba..d71c7d52 100644 --- a/[esx_addons]/esx_property/locales/en.lua +++ b/[esx_addons]/esx_property/locales/en.lua @@ -8,6 +8,7 @@ Locales['en'] = { ["Zoom_level"] = "Zoom Level: %s %", ["night_vision"] = "Toggle Night Vision", ["clipboard"] = "Link Copied To ~b~Cipboard", + ["picture_taken"] = "Picture Taken!", ["please_wait"] = "Please Wait Before taking another ~b~Picture", ["exit"] = "Exit",