Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1856

Use pgettext function in Python 3.8

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.4.0b1
    • 2.3.2
    • Localization
    • None

      For the attributes we need to access gettext strings with context. Normally this is provided by gettext with the pgettext(context, message) function, but this was not available in Python until version 3.8

      Add support for pgettext in Python 3.8, but keep the old code for older versions.

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package
                2.4.0b1