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" |
Values of
titlevariable should not be hardcoded but reference msgids instrings.po.plugin.program.shortlist/capture.py
Lines 70 to 83 in 9b9e8f9