Commit Graph

1315 Commits

Author SHA1 Message Date
Hugo Carvalho a872191393 Update Portuguese translation 2022-07-08 13:36:40 +00:00
Jehan b02e47b035 po-script-fu: skip test files from translated sources.
This apparently breaks Damned Lies. Thanks to Piotr Drąg for reporting.
2022-07-01 21:33:36 +02:00
lloyd konneker 8d75b752c0 ScriptFu: oops missing file in POTFILE.in for !658 2022-06-26 09:06:59 +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 dd6db2eb7c Update Portuguese translation 2022-06-22 12:08:00 +00:00
lloyd konneker 07ceb5a086 ScriptFu: extract PDB proc script-fu-server from plugin script-fu
Create new plugin file script-fu-server-plugin.c
with code extracted from script-fu.c, which is an omnibus plugin
implementing PDB proc extension-script-fu and other PDB procs.

Why:

1. extension-script-fu is smaller and doesn't doesn't link to socket libraries.
   (GIMP always starts extension-script-fu and it stays running.)

2. packagers/admins can omit script-fu-server executable from an installation,
   if they think letting users serve net ports is not secure.

3. crashing script-fu-server does not crash extension-script-fu,
   which requires restart of GIMP

The changes are mostly a simple refactor, extracting code.
No functional change apparent to users.
Low risk of introduced bugs.
Extremely few users use script-fu-server anyway.
Added some logging.
While at it, use G_DECLARE_FINAL_TYPE
2022-06-19 19:18:39 +00:00
lloyd konneker 5cc3becf16 ScriptFu: build shared libgimp-scriptfu-3.0.so separate from executable script-fu
Changes are mostly to the dir structures and build system for ScriptFu.
Some changes to the outer plugin source to call the library.

Why: so that other executables (future gimp-scheme-interpreter,
or a future separated script-fu-server) can exist in separate directories,
and share the library in memory (when built shared.)

Whether the library is built shared and installed on its own
(versus static and not installed)
is a compile time option (both automake LibTool and meson abstract it away)
The default is shared and installed, say as libgimp-scriptfu-3.0.so.

Installed alongside other shared libraries (e.g. wherever libgimp is installed)
to simplify packaging.

A preliminary refactoring which helps enable MR gimp!647
2022-06-11 08:58:30 -04:00
dimspingos d72cead60b Updated Greek translation 2022-04-25 15:41:42 +03:00
Charles Monzat 9875cfe2c9 Update French translation 2022-04-16 13:32:02 +00:00
Nathan Follens e1a3895974 Update Dutch translation 2022-03-29 16:00:56 +00:00
Anders Jonsson b07975b5f6 Update Swedish translation 2022-03-15 20:51:52 +00:00
Balázs Úr e3822f212c Update Hungarian translation 2022-03-09 23:40:44 +00:00
Jordi Mas 753b29a85e Update Catalan translation 2022-02-19 20:24:03 +01:00
Luming Zh cb6ae8526b Update Chinese (China) translation 2022-01-31 17:10:11 +00:00
Luming Zh 069393d49f Update Chinese (China) translation 2022-01-31 04:18:17 +00:00
Alan Mortensen 015da415e8 Updated Danish translation of gimp-script-fu 2022-01-30 15:58:02 +01:00
Matej Urbančič 0986fec1fb Update Slovenian translation 2022-01-16 21:30:49 +00:00
Rodrigo Lledó e5ce2d7b18 Update Spanish translation 2022-01-04 13:35:28 +00:00
Hugo Carvalho 429d536f7a Update Portuguese translation 2021-12-26 22:09:39 +00:00
Anders Jonsson 3e1bdef40c Update Swedish translation 2021-12-23 20:01:42 +00:00
Yuri Chornoivan a1beff3055 Update Ukrainian translation 2021-12-23 18:38:55 +00:00
Rūdolfs Mazurs 2f0ac83507 Update Latvian translation 2021-11-11 18:58:59 +00:00
Rūdolfs Mazurs c296bbf1f0 Update Latvian translation
(cherry picked from commit 72c5bec0ce)
2021-11-04 09:57:30 +00:00
Asier Sarasua Garmendia b44a47ce2b Update Basque translation 2021-10-30 09:40:29 +00:00
Bruce Cowan b618d6afce Update British English translation
(cherry picked from commit 6adeb69be8)
2021-10-21 19:58:38 +00:00
Hugo Carvalho a287ef2fbb Update Portuguese translation 2021-10-06 21:42:06 +00:00
Boyuan Yang cce8946a69 Update Chinese (China) translation 2021-09-04 17:44:58 +00:00
Enrico Nicoletto c15537bf26 Update Brazilian Portuguese translation 2021-03-23 15:18:49 +00:00
Martin Srebotnjak 17d9fb8ff1 Updated Slovenian translation 2021-03-03 17:28:27 +01:00
Balázs Úr a4a9e17bf1 Update Hungarian translation 2021-02-14 00:49:05 +00:00
Милош Поповић e7db1e688e Update Serbian (Latin) translation 2021-01-15 22:44:55 +00:00
Милош Поповић 0f6e6e0337 Update Serbian translation 2021-01-15 22:43:36 +00:00
Jordi Mas 16ddf3984e Update Catalan translation 2021-01-15 21:18:29 +01:00
Aurimas Černius d009aea990 Update Lithuanian translation 2021-01-03 16:10:13 +00:00
dimspingos 918a1c4499 Updated Greek translation 2020-12-29 21:27:18 +02:00
Bruno Lopes da Silva 6da6b95cd4 Update Brazilian Portuguese translation
(cherry picked from commit e357b0bd83)
2020-12-14 11:02:59 +00:00
Jordi Mas 1514f99b18 Update Catalan translation 2020-11-08 20:43:21 +01:00
Cristian Secară 4f20155696 Update Romanian translation 2020-11-04 13:10:46 +00:00
Cristian Secară 4b50588bc3 Update Romanian translation 2020-11-02 01:26:15 +00:00
Cristian Secară f47ba9d879 Update Romanian translation 2020-10-26 03:32:55 +00:00
Michael Natterer fa37ca9aa0 po*: update POTFILES.skip with the new toplevel extensions/ folder 2020-10-25 19:14:35 +01:00
Jehan ecbc38f9e9 plug-ins, extension: goat-exercises becomes a GIMP extension.
This is an extension containing a few demo plug-ins. This is good to
demonstrate the extension format. It will also allow to disable these
plug-ins (if at some point, one doesn't want to show these demo
plug-ins anymore).

And finally it deals with the fact that our plug-in code is stupid, as
it just tries to find the first executable with the same name (minus
extension) as the plug-in folder. This doesn't go well on Windows, where
the permission system is non-existent. So our code just ends up trying
to run the first file with a similar name in a plug-in folder. As the C
goat-exercise contains both an exe and the C source (and the system
probably returns files in alphabetic order), GIMP under Windows tries to
run the C source instead of the executable (this obviously doesn't go
well).
We could try to do more complex logics, like not aborting if the first
file run fails and try the next one in the plug-in folder. Or maybe just
rename the C file to another name. But any of these is just in the end
the proof that our plug-in discovery right now is just bogus. The
extension system is explicit, not based on randomly trying out files.
Plug-ins entry points are explicitly listed in the metadata manifest.
2020-10-09 15:30:54 +02:00
Dušan Kazik db37b1b14a Update Slovak translation
(cherry picked from commit 46a12d4a4a)
2020-10-09 09:25:26 +00:00
Jehan 0ec5ee4394 plug-ins: get rid of pygimp!
It's done, all Python plug-ins have been either ported to the new API +
Python 3, or they have been discarded (and moved to gimp-data-extras for
whoever wants to salvage them).
Let's get rid of the outdated pygimp directory (whose code has not been
built in the master branch for years now anyway)! Woohoo!
2020-09-21 18:17:18 +02:00
Xandru Armesto f6c6c141ae Add Asturian translation 2020-06-24 20:55:23 +00:00
sicklylife 478b733c01 Update Japanese translation 2020-06-08 10:16:36 +00:00
sicklylife 6fa34df359 Update Japanese translation 2020-06-07 14:22:49 +00:00
sicklylife bd6e870c6c Update Japanese translation 2020-06-07 14:19:17 +00:00
Marco Ciampa 3991220a9d Updated Italian translation 2020-06-01 14:09:13 +02:00
Cristian Secară f275798442 Update Romanian translation 2020-05-30 14:21:50 +00:00