Add msgctxt arg to docs

This commit is contained in:
Damien Picard
2024-06-10 20:45:55 +02:00
committed by Bastien Montagne
parent 602b26f461
commit 203600d441

View File

@@ -616,7 +616,7 @@ static PyObject *app_translations_pgettext(BlenderAppTranslations * /*self*/,
}
PyDoc_STRVAR(app_translations_pgettext_n_doc,
".. method:: pgettext_n(msgid)\n"
".. method:: pgettext_n(msgid, msgctxt=None)\n"
"\n"
" Extract the given msgid to translation files. This is a no-op function that will "
"only mark the string to extract, but not perform the actual translation.\n"