gimp/extensions
Jehan c02b4836dd extensions: remove call to gettext.bind_textdomain_codeset().
I added this call originally, mimicking the C plug-ins. Yet in Python,
this function is deprecated since Python 3.8 and removed in 3.10.
Looking closer in the docs, it looks like Python's gettext module works
differently.

While all the *gettext() functions return strings in the locale's
encoding in C, unless overriden by bind_textdomain_codeset() (therefore
we need this call, in order to have locale-independent string encoding),
this is not the case in Python, whose gettext() call is already
locale-independent. The gettext.bind_textdomain_codeset() function only
applies to the specific l*gettext() functions which are deprecated too.

Fixes the warning:

> goat-exercise-py3.py:37: DeprecationWarning: bind_textdomain_codeset() is deprecated
2022-05-25 10:59:12 +02:00
..
goat-exercises extensions: remove call to gettext.bind_textdomain_codeset(). 2022-05-25 10:59:12 +02:00
.gitignore plug-ins, extension: goat-exercises becomes a GIMP extension. 2020-10-09 15:30:54 +02:00
Makefile.am plug-ins, extension: goat-exercises becomes a GIMP extension. 2020-10-09 15:30:54 +02:00
meson.build plug-ins, extension: goat-exercises becomes a GIMP extension. 2020-10-09 15:30:54 +02:00