Dispatcher: add unused singular to action plurals (#9734)

Tools and humans alike are confused by leaving it empty. It should be inoffensive to resolve the problem this by having an unused singular. Doing anything else would make it so we couldn't have the correct plurals in Slovak, among others.

Follow-up to https://github.com/koreader/koreader/pull/9726
This commit is contained in:
Frans de Jonge
2022-11-03 08:46:16 +01:00
committed by GitHub
parent 6717852825
commit 0f52499d37

View File

@@ -573,7 +573,7 @@ function Dispatcher:menuTextFunc(settings)
if item == "settings" then item = next(settings, item) end
action_name = Dispatcher:getNameFromItem(item, settings)
else
action_name = T(NC_("Dispatcher", "", "%1 actions", count), count)
action_name = T(NC_("Dispatcher", "1 action", "%1 actions", count), count)
end
end
return action_name