Commit Graph

1340 Commits

Author SHA1 Message Date
a1ff2902e1 Update Bulgarian translation 2023-04-16 14:20:46 +00:00
f785f18892 po*: add menus folder to the POTFILES.skip of various gettext modules. 2023-04-15 14:56:01 +02:00
4a4ef92120 Update Bulgarian translation 2023-04-13 08:26:23 +00:00
08b7629ecc Update Basque translation 2023-03-27 18:07:01 +00:00
418e747853 Update Greek translation 2023-03-14 22:54:06 +02:00
95a87cb6ac po-script-fu: remove predator.scm from POTFILES.in. 2023-01-24 22:29:51 +01:00
8d5f470507 Add Georgian translation 2023-01-14 14:38:58 +00:00
9117740c13 Update Danish translation 2023-01-11 14:57:24 +00:00
09aa6e1440 Update Spanish translation 2023-01-08 23:00:49 +00:00
f75592140e Update Danish translation 2023-01-03 15:12:48 +00:00
16275b5a36 Update Chinese (Taiwan) translation
(cherry picked from commit a1f24a414a)
2022-12-30 23:59:35 +00:00
d60b14e2e0 Update Turkish translation 2022-12-11 19:46:46 +00:00
cf91b0af76 Update Romanian translation 2022-12-08 22:16:54 +00:00
7ab7997a63 Update Hungarian translation 2022-11-22 23:55:34 +00:00
976cbc7d45 Update Portuguese translation 2022-11-18 14:07:51 +00:00
f6f576d97d Update Slovenian translation 2022-11-16 14:20:23 +00:00
de2f3c3647 Update Ukrainian translation 2022-11-13 23:01:15 +00:00
389da6447d Update Swedish translation 2022-11-12 23:15:18 +00:00
0581df1caa Update POTFILES.skip 2022-10-16 14:17:40 +02:00
250d82cc7c Update Swedish translation 2022-09-13 17:17:59 +00:00
49c5581206 Update Turkish translation 2022-08-21 17:44:10 +00:00
36521f5db2 Fix so that ScriptFu test scripts are not localized. 2022-08-06 14:37:56 +00:00
3648e6d3be Update Swedish translation 2022-08-02 12:28:13 +00:00
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
b952e34e44 Update German translation 2022-07-29 18:18:47 +00:00
a872191393 Update Portuguese translation 2022-07-08 13:36:40 +00:00
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
8d75b752c0 ScriptFu: oops missing file in POTFILE.in for !658 2022-06-26 09:06:59 +00:00
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
dd6db2eb7c Update Portuguese translation 2022-06-22 12:08:00 +00:00
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
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
d72cead60b Updated Greek translation 2022-04-25 15:41:42 +03:00
9875cfe2c9 Update French translation 2022-04-16 13:32:02 +00:00
e1a3895974 Update Dutch translation 2022-03-29 16:00:56 +00:00
b07975b5f6 Update Swedish translation 2022-03-15 20:51:52 +00:00
e3822f212c Update Hungarian translation 2022-03-09 23:40:44 +00:00
753b29a85e Update Catalan translation 2022-02-19 20:24:03 +01:00
cb6ae8526b Update Chinese (China) translation 2022-01-31 17:10:11 +00:00
069393d49f Update Chinese (China) translation 2022-01-31 04:18:17 +00:00
015da415e8 Updated Danish translation of gimp-script-fu 2022-01-30 15:58:02 +01:00
0986fec1fb Update Slovenian translation 2022-01-16 21:30:49 +00:00
e5ce2d7b18 Update Spanish translation 2022-01-04 13:35:28 +00:00
429d536f7a Update Portuguese translation 2021-12-26 22:09:39 +00:00
3e1bdef40c Update Swedish translation 2021-12-23 20:01:42 +00:00
a1beff3055 Update Ukrainian translation 2021-12-23 18:38:55 +00:00
2f0ac83507 Update Latvian translation 2021-11-11 18:58:59 +00:00
c296bbf1f0 Update Latvian translation
(cherry picked from commit 72c5bec0ce)
2021-11-04 09:57:30 +00:00
b44a47ce2b Update Basque translation 2021-10-30 09:40:29 +00:00
b618d6afce Update British English translation
(cherry picked from commit 6adeb69be8)
2021-10-21 19:58:38 +00:00