Gimp/app
Jehan 81b569cb8c Issue #8124: plug-in localization now totally moved plug-in side.
Plug-in localization was always partially plug-in side, especially for
things like custom GUI. But labels or blurb in GIMP (such as in menus or
action search) were localizing GIMP side.

It had many drawbacks:

- To get menu localization, a plug-in had to set up gettext, even though
  they might want to use something else for their GUI (after all, giving
  facilities for gettext is a good idea, but there is no reason to force
  using this system).
- There was a complex internal system passing the localization domain
  name, as well as the catalog file system path to core, then through
  various classes which we can now get rid of.
- There could be domain name clashes, if 2 plug-ins were to use the same
  i18n domain name. This was handled in now removed functions
  gimp_plug_in_manager_get_locale_domains() by simply keeping a unique
  one (and gimp_plug_in_manager_bind_text_domains() would just bind the
  domain to the kept directory). In other words, one of the duplicate
  plug-ins would use the wrong catalog. We could try to make the whole
  thing more complicated or try to forbid plug-ins to use any random
  name (in particular made easier with the new extension wrapper). But
  anyway this whole issue doesn't happen anymore if localization is
  fully made plug-in side, so why bother?

I tried to evaluate the advantages of the core-side localization of
plug-in labels/blurbs and could only find one theoretical: if we wanted
to keep access to the original English text. This could be useful
(theoretically) if we wanted to search (e.g. in the action search) in
both localized and English text; or if we wanted to be able to swap
easily en/l10n text in a UI without reload. But even if we were to ever
do this, it would only be possible for plug-ins (GEGL operations in
particular are localized GEGL-side), so it lacks consistency. And it's
unsure why special-casing English should really make sense for other
language natives who want text in their lang, and search in their lang.
They don't necessarily care about original.

So in the end, I decided to simplify the whole thing, make localization
of plug-ins a plug-in side thing. Core will only receive translated text
and that's it. It cuts a lot of code out of the core, simplify runtime
processing and make plug-in creation simpler to understand.

The only think I still want to look at is how exactly menu paths are
translated right now. Note that it still works, but it's possible that
some things may be worth improving/simplifying on this side too.
2022-07-05 12:22:32 +02:00
..
actions Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
config Custom transparency checkerboard colors 2022-05-14 16:27:15 +02:00
core core: Add softproof profile to GimpImage 2022-07-02 15:26:19 +02:00
dialogs app: allow to disable the new version check altogether through a key… 2022-06-06 01:09:08 +02:00
display core: Add softproof profile to GimpImage 2022-07-02 15:26:19 +02:00
file app: missing space in the string. 2022-03-24 21:49:27 +01:00
file-data app: fix resource leak warnings caught by static analysis. 2021-11-08 22:37:13 -05:00
gegl meson: Always enable CPU extensions 2021-06-15 21:15:32 +00:00
gui app: use gimp_is_restored() rather than object variables. 2022-03-12 18:59:36 +01:00
menus Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
operations Issue #5267: Cage transform tool causes artifacts. 2021-08-05 16:58:55 +02:00
paint app: fix brush outline when dynamics is disabled. 2022-03-12 16:43:53 +01:00
pdb Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
plug-in Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
propgui app, libgimpwidgets: move gimp_prop_spin_scale_new() and… 2022-02-19 00:14:44 +01:00
tests tools: Use env in shebangs 2022-03-18 16:05:58 +00:00
text Issue #2509: Adding support for 'locl' in Text Tool 2022-03-09 17:53:19 +00:00
tools Issue #8102: crash when using the clone tool. 2022-04-21 19:13:01 +02:00
vectors app: fix leaked queue created at init() (as reported by Massimo). 2021-08-16 12:16:52 +02:00
widgets app: s/g_warning/g_printerr/ to warn about duplicate actions. 2022-07-02 16:54:12 +02:00
xcf app: check for invalid offsets when loading XCF files 2022-06-05 18:52:15 -04:00
.gitignore
about.h
app.c app: exit GIMP more cleanly when quitting immediately after batch calls. 2022-04-16 15:02:51 +02:00
app.h app: when called with --quit, GIMP exit code will report batch failure. 2022-04-16 02:30:46 +02:00
errors.c app: NULL log domain is not a bug. 2020-09-22 17:59:41 +02:00
errors.h
gimp-debug.c
gimp-debug.h
gimp-intl.h
gimp-log.c app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-log.h app: add gimp_log_{set,remove}_handler() 2020-08-02 11:01:59 +03:00
gimp-priorities.h
gimp-update.c app: make update detection more robust to string revision field. 2022-06-21 22:31:36 +02:00
gimp-update.h app: now store the last run version in the core config. 2022-02-22 12:23:46 +01:00
gimp-version.c app: only check gimp-release once. 2022-06-08 20:59:09 +02:00
gimp-version.h app: allow to disable the new version check altogether through a key… 2022-06-06 01:09:08 +02:00
gimpcore.def Issue #8124: plug-in localization now totally moved plug-in side. 2022-07-05 12:22:32 +02:00
git-version.h.in
language.c
language.h
main.c app: when called with --quit, GIMP exit code will report batch failure. 2022-04-16 02:30:46 +02:00
Makefile.am
meson.build Issue #7327: Cannot build GIMP3 on MSYS2 using Meson. 2021-10-12 17:06:18 +02:00
sanity.c configure, meson, app: depend on GEGL 0.4.36 2022-02-21 23:42:06 +01:00
sanity.h
signals.c app, macOS: Remove crash handling conflict 2022-06-25 17:46:19 +00:00
signals.h
tests.c app, libgimp, libgimpwidgets: fix "Application icon missing" in tests. 2021-12-23 13:39:43 +01:00
tests.h
unique.c
unique.h