Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification text is missing i18n #10

Open
jose1711 opened this issue Sep 22, 2023 · 0 comments
Open

Notification text is missing i18n #10

jose1711 opened this issue Sep 22, 2023 · 0 comments

Comments

@jose1711
Copy link

Values of title variable should not be hardcoded but reference msgids in strings.po.

title = "Added"
message = "'%s' to %s" % (item.title, dbNice)
else:
lst = ['Keep','Remove']
ret = dialog.contextmenu(lst)
if ret == 0:
# Keep
title = "Kept"
message = "'%s' in %s" % (item.title, dbNice)
elif ret == 1:
# Delete
deleteItemFromDatabase( dbName, item.filename )
title = "Deleted"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant