jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/868099 )
Change subject: [doc] userinterface_lang is obtained from locale.getlocale by default ...................................................................... [doc] userinterface_lang is obtained from locale.getlocale by default locale.getdefaultlocale will be removed in Python 3.13. Update documentation; the code was already changed. Change-Id: Ia80df9ded08c6baf57e77b61103a86151a5022a3 --- M docs/introduction.rst 1 file changed, 13 insertions(+), 1 deletion(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/docs/introduction.rst b/docs/introduction.rst index 922fd22..b5dc1fb 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -31,7 +31,7 @@ #. set the `userinterface_lang` in your :ref:`user-config.py<User Interface Settings>` to your preferred language #. set environment variable `PYWIKIBOT_USERINTERFACE_LANG` to your preferred language -#. default is obtained from `locale.getdefaultlocale` +#. default is obtained from `locale.getlocale` #. fallback is `'en'` for English if all other options fails .. note:: The preferred language code must follow ISO 639. -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/868099 To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: Ia80df9ded08c6baf57e77b61103a86151a5022a3 Gerrit-Change-Number: 868099 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot Gerrit-MessageType: merged
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
