Add notification translation
This commit is contained in:
@@ -113,7 +113,11 @@ end
|
|||||||
|
|
||||||
function onActivate(id)
|
function onActivate(id)
|
||||||
noctalia.runAsync("xdg-open " .. shellEscape(id))
|
noctalia.runAsync("xdg-open " .. shellEscape(id))
|
||||||
|
|
||||||
if noctalia.getConfig("notify") then
|
if noctalia.getConfig("notify") then
|
||||||
noctalia.notify("Websites", "Opening " .. id)
|
noctalia.notify(
|
||||||
|
noctalia.tr("notify.title"),
|
||||||
|
noctalia.tr("notify.message") .. " " .. id
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -15,5 +15,9 @@
|
|||||||
"duckduckgo": "DuckDuckGo",
|
"duckduckgo": "DuckDuckGo",
|
||||||
"direct": "Site's own favicon.ico"
|
"direct": "Site's own favicon.ico"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"notify": {
|
||||||
|
"title": "Websites",
|
||||||
|
"message": "Opening"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user