Commit Graph

1593 Commits

Author SHA1 Message Date
Rodrigo Lledó 3229a68e8a Update Spanish translation 2023-01-23 18:08:56 +00:00
Martin 41f838db8b Update Slovenian translation 2023-01-22 17:27:50 +00:00
Ekaterine Papava 6df84c25f1 Update Georgian translation 2023-01-21 15:53:46 +00:00
Rodrigo Lledó 37fc28c9f3 Update Spanish translation 2023-01-20 18:01:20 +00:00
lloyd konneker d59a7af38c libgimp: API refactor GUI for GimpResource
Simplifies chooser widgets (e.g. GimpBrushSelect) by eliminating attributes (e.g. opacity) of chosen resource.
See #8745, but this commit fixes that by first refactoring the code.

Refactors GUI widgets (e.g. GimpBrushSelectButton and GimpBrushSelect etc.)

Refactor by "Extract class" GimpResourceSelectButton from GimpBrushSelectButton etc.
This moves common code into an inherited class (formerly called GimpSelectButton)
but the subclasses still exist.
The subclasses mainly just do drawing now.

Refactor by "Extract module" GimpResourceSelect from GimpBrushSelect etc.
Moves common code into one file, generic at runtime on type of GimpResource,
that is, the new code dispatches on type i.e. switch statements.
In the future, when core is changed some of that can be deleted.
The files gimpbrushselect.[c,h] etc. are deleted.
The module adapts the API from core to the API of callbacks to libgimp.

Note that core is running the resource chooser (select) widgets remotely.
Core is still calling back over the wire via PDB with more attributes
than necessary.
The new design gets the attributes from the resource themselves,
instead of receiving them from core callback.
The libgimp side adapts by discarding unneeded attributes.
In the future, core (running choosers for plugins) can be simplified also.

Fix gimp_prop_chooser_brush_new same as other resources.

Finish changes, and clean style.

Annotations
2023-01-14 16:38:40 +00:00
Martin d30667f5fe Update Slovenian translation 2023-01-13 22:53:25 +00:00
Yuri Chornoivan a73b9f235e Update Ukrainian translation 2023-01-13 14:56:21 +00:00
Hugo Carvalho 2b85fdd439 Update Portuguese translation 2023-01-12 14:16:16 +00:00
Alan Mortensen 874d239bc1 Update Danish translation 2023-01-03 15:11:05 +00:00
Cristian Secară 3698d0975f Update Romanian translation 2022-12-08 22:13:58 +00:00
Alexandre Prokoudine 4caa543dee Update Russian translation 2022-11-13 21:29:47 +03:00
Sveinn í Felli ccfb56d6ce Update Icelandic translation 2022-09-08 16:48:47 +00:00
Sabri Ünal 0a587f2601 Update Turkish translation 2022-08-21 17:41:16 +00:00
Zurab Kargareteli 177bb822b6 Update Georgian translation 2022-07-27 15:30:42 +00:00
Asier Sarasua Garmendia a6dc09824c Update Basque translation 2022-07-23 09:45:14 +00:00
Niels De Graef f663d26ab5 Migrate from intltool to gettext
intltool has long been dead upstream. Let's not poke the dead corpse,
please.

This commit is quite large, but that's mostly since trying to support a
hybrid of both gettext and intltool with both Meson and Autotools was
really hard, so I stopped trying.

Due to gettext relying on quite some things being at the exactly right
place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we
really needed to cleanup the `autogen.sh` to only call `aclocal` and
`autoreconf`. No more strange magic; I tried to do it without changing
too much in the file, and things just broke. If people want to do
something more custom, they can just change the script directly. This
change also uncovered some problems in our `configure.ac`, like using
deprecated macros.

The following major changes happened:

* meson: Changed `custom_target()` to `i18n.merge_file()` for all
  supported file types
* Added `.its` and `.loc`  files for the GIMP-specific XML formats, so
  that gettext understands them
* For the `.isl` (Window installer stuff) file, there's no easy way to
  do this in gettext, so instead we start from an XML file (again with
  its own ITS rules etc), translate that with gettext, and then use
  `xsltproc` with a bit of magic to output the .isl file for each
  language
* the `po*/Makefile.in.in` files are migrated to `Makevars` files,
  which gettext natively understands.

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
2022-06-25 10:25:49 +02:00
Hugo Carvalho cbe879c5b1 Update Portuguese translation 2022-06-22 12:03:59 +00:00
Tim Sabsch 538915c48e Update German translation 2022-06-19 15:26:42 +00:00
Balázs Úr acab78e915 Update Hungarian translation 2022-06-10 22:47:24 +00:00
Jiri Grönroos cadadaa2fa Update Finnish translation
(cherry picked from commit 5d34a88fc0)
2022-06-08 16:54:07 +00:00
Yuri Chornoivan 26859e1ef6 Update Ukrainian translation 2022-06-06 17:02:26 +00:00
Luming Zh 3fd21f98cf Update Chinese (China) translation 2022-05-23 22:16:41 +00:00
Martin cf737a703f Update Slovenian translation 2022-05-23 15:47:06 +00:00
Rodrigo Lledó 519e8745d2 Update Spanish translation 2022-05-20 14:33:31 +00:00
Alexandre Prokoudine 5da57f9c51 Deweirdify recent Russian translation update, part 1 of many 2022-05-16 22:03:00 +03:00
Aleksandr Melman 18c80c0710 Update Russian translation 2022-05-15 14:35:36 +00:00
Aleksandr Melman baa406b821 Update Russian translation 2022-05-15 14:16:04 +00:00
Anders Jonsson 5924196007 Update Swedish translation 2022-05-14 18:45:13 +00:00
Hugo Carvalho 8ef8774d90 Update Portuguese translation 2022-05-14 17:27:05 +00:00
Yuri Chornoivan 64bfebc7a0 Update Ukrainian translation 2022-05-14 15:18:08 +00:00
Alan Mortensen 940cd267f8 Update Danish translation 2022-04-28 16:26:19 +00:00
Alan Mortensen c0461ea955 Update Danish translation 2022-04-24 17:11:16 +00:00
Zurab Kargareteli 54cdeef950 Add Georgian translation 2022-04-23 18:47:21 +00:00
Claude Paroz 0d0e02433c Update French translation 2022-04-21 08:40:30 +00:00
Nathan Follens cc849a58d5 Update Dutch translation 2022-03-29 15:30:26 +00:00
Bruce Cowan 19ac1f3c4f Update British English translation 2022-02-16 16:52:57 +00:00
Yacine Bouklif 9dda014b57 Update Kabyle translation 2021-12-05 19:56:25 +00:00
Rūdolfs Mazurs 3973cde1a8 Update Latvian translation 2021-11-14 18:54:03 +00:00
Sveinn í Felli 27e92a5be9 Update Icelandic translation 2021-10-11 13:24:42 +00:00
Sveinn í Felli 9a76db4d5f Update Icelandic translation 2021-10-11 06:34:48 +00:00
Hugo Carvalho b803fca037 Update Portuguese translation 2021-10-06 21:35:54 +00:00
Ngọc Quân Trần f4bbaf4321 Update Vietnamese translation 2021-09-05 08:23:50 +00:00
Boyuan Yang fd0bb89026 Update Chinese (China) translation 2021-07-28 19:37:06 +00:00
Ngọc Quân Trần bd985585bb Update Vietnamese translation 2021-05-11 07:51:46 +00:00
dimspingos 89e83ae5e4 Updated Greek translation 2021-05-07 16:26:49 +03:00
Jordi Mas 5115fd8db9 Update Catalan translation 2021-04-25 19:06:54 +02:00
Jordi Mas 3950cc2c83 Update Catalan translation 2021-04-25 19:02:46 +02:00
Asier Sarasua Garmendia 2cb0d0a220 Update Basque translation 2021-04-21 20:03:38 +00:00
Aurimas Černius ea083055b4 Update Lithuanian translation 2021-04-18 20:21:35 +00:00
Rodrigo Lledó a539c6d3c7 Update Spanish translation 2021-04-03 10:00:06 +00:00