Add notification translation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -15,5 +15,9 @@
|
||||
"duckduckgo": "DuckDuckGo",
|
||||
"direct": "Site's own favicon.ico"
|
||||
}
|
||||
},
|
||||
"notify": {
|
||||
"title": "Websites",
|
||||
"message": "Opening"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user