Replace deprecated functions in many scripts

This commit is contained in:
Evgeny
2025-06-05 17:05:34 +08:00
parent aa215947c9
commit 2ab316efd6
12 changed files with 34 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
-- data_source = "https://translate.google.com"
-- type = "widget"
-- author = "Andrey Gavrilov"
-- version = "1.2"
-- version = "1.3"
local json = require "json"
local uri = "http://translate.googleapis.com/translate_a/single?client=gtx&sl=auto"
@@ -13,7 +13,7 @@ function on_resume()
end
function on_click()
ui:show_edit_dialog("Enter text")
dialogs:show_edit_dialog("Enter text")
end
function on_dialog_action(text)