diff --git a/web-launcher/launcher.luau b/web-launcher/launcher.luau index 88660d4..40fcf73 100644 --- a/web-launcher/launcher.luau +++ b/web-launcher/launcher.luau @@ -113,7 +113,11 @@ end function onActivate(id) noctalia.runAsync("xdg-open " .. shellEscape(id)) + if noctalia.getConfig("notify") then - noctalia.notify("Websites", "Opening " .. id) + noctalia.notify( + noctalia.tr("notify.title"), + noctalia.tr("notify.message") .. " " .. id + ) end end diff --git a/web-launcher/translations/en.json b/web-launcher/translations/en.json index 486fc3f..109c415 100644 --- a/web-launcher/translations/en.json +++ b/web-launcher/translations/en.json @@ -15,5 +15,9 @@ "duckduckgo": "DuckDuckGo", "direct": "Site's own favicon.ico" } + }, + "notify": { + "title": "Websites", + "message": "Opening" } }