Commit Graph

1371 Commits

Author SHA1 Message Date
Anders Jonsson 250d82cc7c Update Swedish translation 2022-09-13 17:17:59 +00:00
Sabri Ünal 49c5581206 Update Turkish translation 2022-08-21 17:44:10 +00:00
lloyd konneker 36521f5db2 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
Anders Jonsson 3648e6d3be Update Swedish translation 2022-08-02 12:28:13 +00:00
lloyd konneker 12c0c18036 ScriptFu: script-fu-register-filter for GimpImageProcedure.
Resolves #8382

Also v2 scripts infer and set sensitivity to drawables

Add two test plugins clothify-v3.scm and test-sphere-v3.scm.
Temporary, to be removed when 3.0 ships.

Some refactoring (extracting methods, moving functions to new files).

Some drive-by fixes to script-fu-arg.c revealed by using GimpProcedureDialog.
2022-08-02 07:45:35 +00:00
Jürgen Benvenuti b952e34e44 Update German translation 2022-07-29 18:18:47 +00:00
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
Sabri Ünal 864bc49176 Update Turkish translation 2020-05-29 10:52:08 +00:00
Anders Jonsson 6984665477 Update Swedish translation 2020-05-26 23:40:49 +00:00
Jordi Mas 151b01e530 Update Catalan translation 2020-05-26 21:23:24 +02:00
Yuri Chornoivan 4fb00298e1 Update Ukrainian translation 2020-05-26 16:52:53 +00:00
Daniel Mustieles cf4aba1800 Update Spanish translation 2020-05-26 14:53:11 +00:00
Dimitris Spingos (Δημήτρης Σπίγγος) 32bd008a1e Updated Greek translation 2020-05-14 23:33:02 +03:00
Yuri Chornoivan 5c0eda6264 Update Ukrainian translation 2020-03-28 17:26:45 +00:00
Tim Sabsch 365afc829b Update German translation
(cherry picked from commit 9e358ebdbd)
2020-02-13 19:05:16 +00:00
Piotr Drąg 1c90461e21 Update Polish translation 2020-02-13 19:55:53 +01:00
Balázs Úr 1a587a371b Update Hungarian translation 2020-02-13 17:55:08 +00:00
Rodrigo Lledó 6932c513ee Update Spanish translation
(cherry picked from commit 603ed31fd3)
2020-02-13 08:48:28 +00:00
Anders Jonsson b41594023f Update Swedish translation
(cherry picked from commit 7ea884bfc2)
2020-02-12 23:46:48 +00:00
Balázs Meskó 4648b4e3dd Update Hungarian translation 2020-02-12 17:49:02 +00:00
Tim Sabsch dad963c257 Update German translation
(cherry picked from commit 5c4b5b6cae)
2020-02-09 01:14:29 +00:00
Jordi Mas 157a5dc8b7 Fixes to Catalan translation 2020-01-04 12:28:28 +01:00
Dimitris Spingos 54020c2597 Updated Greek translation 2019-11-13 14:23:31 +02:00
Jordi Mas 2315bc3fa0 Update Catalan translation 2019-11-04 21:32:06 +01:00
Alan Mortensen 6f6358bef6 Updated Danish translation of gimp-script-fu 2019-10-24 23:53:26 +02:00
Asier Sarasua Garmendia 7ab55fbd1e Update Basque translation 2019-10-12 07:31:54 +00:00
Sabri Ünal 3ca179283e Update Turkish translation 2019-10-10 15:18:01 +00:00
Rūdolfs Mazurs a3d74fa09f Update Latvian translation
(cherry picked from commit fe91d99034)
2019-10-05 20:08:59 +00:00
Martin Srebotnjak 5c966343a0 Updated Slovenian translation 2019-09-26 20:52:03 +02:00
Anders Jonsson 716a996dcd Update Swedish translation
(cherry picked from commit f101f10d4c)
2019-09-14 17:37:37 +00:00
Hannie Dumoleyn c512dbff55 Update Dutch translation 2019-09-14 07:57:18 +00:00
Félix Piédallu 65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Daniel Mustieles 32c764dc60 Update Spanish translation 2019-09-09 07:55:23 +00:00
Piotr Drąg f2db331fb7 Update Polish translation 2019-09-08 12:07:51 +02:00
Martin Srebotnjak f0ef00b23b Updated Slovenian translation 2019-08-26 22:22:56 +02:00
Zander Brown 18edd41319 Update British English translation
(cherry picked from commit ad542450ea)
2019-08-26 09:12:07 +00:00
Balázs Úr 74143024a8 Update Hungarian translation 2019-08-24 21:51:49 +00:00
Anders Jonsson dcf648ddad Update Swedish translation
(cherry picked from commit b24cb22547)
2019-08-16 20:58:53 +00:00
Piotr Drąg 7fbf33869c Update Polish translation 2019-08-11 15:07:42 +02:00
Piotr Drąg 3f5b435941 Update POTFILES.in and POTFILES.skip 2019-08-07 18:38:24 +02:00
Michael Natterer 3a943f4853 po-python, po-script-fu: update for new python plug-ins 2019-08-06 23:24:32 +02:00
Jordi Mas a375a744c7 Update Catalan translation 2019-07-27 12:10:08 +02:00
Hannie Dumoleyn 6f9e88149e Update Dutch translation
(cherry picked from commit 2d9539ed79)
2019-06-27 15:59:44 +00:00
Carles Ferrando Garcia 0f6654dad3 Update Catalan translation 2019-05-08 20:34:42 +00:00
Aron Xu 0eb3ef2634 Update zh_CN translation of po-script-fu 2019-04-20 01:29:28 +08:00
Sabri Ünal df1b5c8cbb Update Turkish translation 2019-04-17 19:23:43 +00:00
Rūdolfs Mazurs 08be71fdd8 Update Latvian translation
(cherry picked from commit f810d59928)
2019-03-31 09:22:03 +00:00
Martin Srebotnjak 23b5d503a8 Updated Slovenian translation 2019-03-22 21:49:54 +01:00
Jehan ed3bcf248e plug-ins: remove old spyrogimp.
Spyrogimp has been rewritten in Python with more features.

Note: this commit should not be backported to gimp-2-10 since we will
keep the old plug-in around (in case its API is used by older scripts in
particular). But let's turn over a new leaf with future GIMP 3 and only
keep the new plug-in.
2019-03-18 15:53:04 +01:00
Dimitris Spingos 8e8535ac5b Updated Greek translation 2019-03-17 21:55:30 +02:00
Sveinn í Felli 6c4af8f175 Update Icelandic translation
(cherry picked from commit 1b9fdddc78)
2019-03-13 11:02:02 +00:00