Small fix to Google translate search script
This commit is contained in:
@@ -26,7 +26,7 @@ end
|
|||||||
|
|
||||||
function on_click()
|
function on_click()
|
||||||
if text_to == "" then
|
if text_to == "" then
|
||||||
search:show_top({"Translating..."}, {blue})
|
search:show_buttons({"Translating..."}, {blue}, true)
|
||||||
request_trans(text_from)
|
request_trans(text_from)
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
|
|||||||
4
samples/deprecated-sample.lua
Normal file
4
samples/deprecated-sample.lua
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function on_resume()
|
||||||
|
ui:get_default_title() -- deprecated function
|
||||||
|
ui:show_text("Test")
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user