Skip to content

translations fail to compile for a string #9583

@adityatoshniwal

Description

@adityatoshniwal

Describe the bug

When Italian translation msgstr is added for below then translations compile fail.

#: pgadmin/browser/register_browser_preferences.py:448
#, python-format
msgid ""
"Supported placeholders are %FUNCTION%, %ARGS%, %SCHEMA% and %DATABASE%. Users "
"can provide any string with or without placeholders of their choice. A blank "
"title will revert to the default."
msgstr ""
"I segnaposto supportati sono %FUNCTION%, %ARGS%, %SCHEMA% e %DATABASE%. Gli "
"utenti possono specificare qualsiasi stringa con o senza segnaposto a loro "
"scelta. Un titolo vuoto tornerà al valore predefinito."

If updated to below it works.

#: pgadmin/browser/register_browser_preferences.py:448
#, python-format
msgid ""
"Supported placeholders are %FUNCTION%, %ARGS%, %SCHEMA% and %DATABASE%. Users "
"can provide any string with or without placeholders of their choice. A blank "
"title will revert to the default."
msgstr ""

Error message

3529 of 3529 messages (100%) translated in pgadmin/translations/it/LC_MESSAGES/messages.po
error: pgadmin/translations/it/LC_MESSAGES/messages.po:780: positional format placeholders are unbalanced

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions