update bookmarks to 1.3.1 (#238)
* fix+refactor: translation strings refactored & fixed a ui bug affecting scrolling - Fixed a bug where hovering over an item in populated lists would trigger auto-scrolling. - Fixed scrollbar rendering incorrectly. - Refactored translation strings (converted to nested keys when applicable) * docs: formatting fixes + 1.3.1 changelogs * chore: bump the version
This commit is contained in:
@@ -246,7 +246,7 @@ function onActivate(id)
|
||||
local entry = item.entry
|
||||
local cmd = entry.cmd
|
||||
if type(cmd) ~= "string" or cmd == "" then
|
||||
noctalia.notifyError(noctalia.tr("title"), noctalia.tr("err_no_command"))
|
||||
noctalia.notifyError(noctalia.tr("title"), noctalia.tr("err.no_command"))
|
||||
return
|
||||
end
|
||||
local label = entry.label or cmd
|
||||
@@ -270,7 +270,7 @@ function onActivate(id)
|
||||
if result.exitCode ~= 0 then
|
||||
local detail = noctalia.string.trim(result.stderr or "")
|
||||
local msg = noctalia.tr(
|
||||
"err_exit_code",
|
||||
"err.exit_code",
|
||||
{ label = label, code = tostring(result.exitCode) }
|
||||
)
|
||||
if detail ~= "" then
|
||||
@@ -283,7 +283,7 @@ function onActivate(id)
|
||||
if not ok then
|
||||
noctalia.notifyError(
|
||||
noctalia.tr("title"),
|
||||
noctalia.tr("err_launch_failed", { label = label })
|
||||
noctalia.tr("err.launch_failed", { label = label })
|
||||
)
|
||||
end
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user