In superset/translations/messages.pot
we find :
#, python-format
msgid "Added to 1 dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] ""
msgstr[1] ""
%s should be present in msgid and msgid_plural like :
#, python-format
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] ""
msgstr[1] ""
Comment From: dosubot[bot]
The %s
should be present in both msgid
and msgid_plural
in the messages.pot
file for the "Added to dashboard" translation to handle pluralization correctly. %s
is a placeholder for a variable, typically a number, that will be replaced at runtime. This is important for languages with different rules for singular and plural forms. The msgid
is used for the singular form, and msgid_plural
is used for the plural form, ensuring the translation system can correctly format the message based on the number of dashboards [1].
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Comment From: rusackas
Would you be willing to open a quick PR to patch this? I'm not sure if it'll make any practical difference in this case though :/
Comment From: rusackas
Thanks for opening the PR. It seems to need a little touch-up, but hopefully we can close all this out soon :D