Gimp/app/plug-in
Jehan 95abf39066 app, libgimp: reverse internal l10n logic of plug-in labels in core app.
I hesitated a lot whether we should just drop the whole localization of
plug-ins' label and description (blurb) within the core. Actually the
commit messages I wrote a few days ago were moving towards this logic.
It really looks to me like plug-in localization can happen fully within
plug-in themselves. As far as I can see, the only advantage which the
current logic has theoretically is that if we needed, we have access to
both the original strings and their translations (e.g. it could be
useful for text search). Nevertheless I am not sure if we will ever make
use of this, and this is limited cases as all filters turned GEGL ops
don't have such ability anyway.

Nevertheless since previous contributors clearly put quite a lot of work
on this code of localizing the plug-in's label and description within
the main binary, I want to give myself a little more time to think and
study the whole thing because doing anything rash.

In the meantime, what changes is that by default now, a plug-in without
a local gettext catalog is simply not localized. In particular, the core
process doesn't try to localize it using the default catalog, a.k.a.
GETTEXT_PACKAGE"-std-plug-ins" ("gimp30-std-plug-ins"). It just doesn't
make sense and the worst which could happen would be to get unexpected
and wrong translations.
Now by default, plug-ins will try to find a catalog in their main
folder, named as this folder. If it fails to find it, a message is
printed to stderr and localization is disabled (rather than falling back
to a default catalog). It is up to plug-in developers to either install
a catalog, or implement set_i18n() to give the right catalog, folder, or
disable localization with gettext, as handled by libgimp.
2022-06-05 01:57:02 +02:00
..
.gitignore
gimpenvirontable.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenvirontable.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpgpparams.c app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimpinterpreterdb.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimpinterpreterdb.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-cleanup.c app: fix gimp_plug_in_cleanup_item_new(). 2021-08-14 18:20:49 +02:00
gimpplugin-cleanup.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-context.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-context.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-message.c app: properly blink the right locked layer when pixels are locked. 2022-02-15 22:08:23 +01:00
gimpplugin-message.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugin-proc.c app, libgimp, pdb, plug-ins: batch CLI options now interpreter aware. 2022-04-16 23:28:05 +02:00
gimpplugin-proc.h app, libgimp, pdb, plug-ins: batch CLI options now interpreter aware. 2022-04-16 23:28:05 +02:00
gimpplugin-progress.c app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimpplugin-progress.h app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimpplugin.c app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimpplugin.h app: move the plug-in procedure setters to gimpplugin-proc.[ch] 2019-09-08 16:38:31 +02:00
gimpplugindebug.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugindebug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpplugindef.c app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimpplugindef.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginerror.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimppluginerror.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-call.c Custom transparency checkerboard colors 2022-05-14 16:27:15 +02:00
gimppluginmanager-call.h app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimppluginmanager-data.c app, libgimp*, pdb, plug-ins: use g_memdup2() instead of g_memdup() 2021-08-26 17:32:09 +02:00
gimppluginmanager-data.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-file.c Fixing error on Windors meson build 2019-09-11 17:21:17 +00:00
gimppluginmanager-file.h app: fix adding file procedures from pluginrc 2019-09-10 21:19:00 +02:00
gimppluginmanager-help-domain.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-help-domain.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-locale-domain.c app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimppluginmanager-locale-domain.h app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimppluginmanager-menu-branch.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-menu-branch.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginmanager-query.c Remove GimpStringArray in favor of GStrv 2022-02-12 00:07:53 +00:00
gimppluginmanager-query.h Simplify the plug-in query API and fix plugin-browser 2019-09-08 14:59:09 +02:00
gimppluginmanager-restore.c app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimppluginmanager-restore.h app: force re-querying all plug-ins after a language change. 2022-04-27 15:22:32 +02:00
gimppluginmanager.c app, libgimp, pdb, plug-ins: batch CLI options now interpreter aware. 2022-04-16 23:28:05 +02:00
gimppluginmanager.h app, libgimp, pdb, plug-ins: batch CLI options now interpreter aware. 2022-04-16 23:28:05 +02:00
gimppluginprocedure.c app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimppluginprocedure.h app, libgimp: reverse internal l10n logic of plug-in labels in core app. 2022-06-05 01:57:02 +02:00
gimppluginprocframe.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginprocframe.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppluginshm.c Get rid of capitalized "ID" in function and variable names 2019-08-23 22:23:23 +02:00
gimppluginshm.h Get rid of capitalized "ID" in function and variable names 2019-08-23 22:23:23 +02:00
gimptemporaryprocedure.c app: split GimpDisplay in two classes: GimpDisplay and GimpDisplayImpl 2019-09-04 14:30:43 +02:00
gimptemporaryprocedure.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Makefile.am app: remove gimppluginmanager-file-procedure.[ch] 2019-09-10 20:20:40 +02:00
meson.build Don't compile gimpmarshal source file many times 2020-09-13 18:13:29 +03:00
plug-in-enums.c
plug-in-enums.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-menu-path.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-menu-path.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-rc.c app, libgimp, pdb, plug-ins: batch CLI options now interpreter aware. 2022-04-16 23:28:05 +02:00
plug-in-rc.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
plug-in-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00