Commit Graph

50341 Commits

Author SHA1 Message Date
Jehan ba5b4794e1 libgimp: remove outdated recommendation about sending non-localized strings.
gimp_plug_in_set_translation_domain() was removed in GIMP 2.99.12. Plug-ins are
now fully responsible for their own localization.
2023-07-22 16:17:24 +02:00
Ekaterine Papava 56812b55ce Update Georgian translation 2023-07-22 03:57:00 +00:00
Martin 1c35aa797c Update Slovenian translation 2023-07-21 22:15:08 +00:00
Jacob Boerema 0fb801f7f5 pdb: forgot one case of behavior in previous commit 2023-07-21 17:03:32 -04:00
Jacob Boerema 18408ce966 app, libgimp, libgimpwidgets, plug-ins, etc: rename behaviour to behavior
We use US English which uses behavior. So we replace all occurrences of
behaviour.

Most notable is File Open behavior in preferences. Besides that several
mentions in function documentation and a few in comments.
2023-07-21 15:35:23 -04:00
programmer-ceds 4fa1472e9c Add terminating NULLs to the tools accelerator arrays 2023-07-20 22:59:51 +01:00
Yuri Chornoivan 53239a3ffa Update Ukrainian translation 2023-07-20 16:22:59 +00:00
Yuri Chornoivan 25f14743de Update Ukrainian translation 2023-07-20 15:59:46 +00:00
Martin 6efa8499e1 Update Slovenian translation 2023-07-19 06:33:11 +00:00
Ekaterine Papava b242365908 Update Georgian translation 2023-07-19 04:17:18 +00:00
Ekaterine Papava d8ea19fa0e Update Georgian translation 2023-07-19 04:15:28 +00:00
Alx Sa d1864866ee plug-ins: Support Farbfeld image import/export 2023-07-19 00:37:54 +00:00
Martin f7c3dee88d Update Slovenian translation 2023-07-18 22:15:58 +00:00
Sabri Ünal 66a5e30d5d menus: Use Header Capitalization in image-menu.ui
Follow Header Capitalization for The "Padding Color" string.

More information: https://developer.gnome.org/hig/guidelines/writing-style.html
2023-07-18 19:08:28 +03:00
Sabri Ünal 84124a9f40 app: Mark two strings as translatable
- Welcome
- Release Notes
2023-07-18 19:07:42 +03:00
Anders Jonsson 21152340c2 Update Esperanto translation 2023-07-18 15:15:02 +00:00
Lukas Oberhuber c1b4770c40 debug: print stack trace without crashing 2023-07-18 10:24:17 +00:00
Ekaterine Papava 856fa41621 Update Georgian translation 2023-07-18 03:32:58 +00:00
Yuri Chornoivan 8754878dd6 Update Ukrainian translation 2023-07-17 21:08:04 +00:00
Yuri Chornoivan b7ca157cf4 Update Ukrainian translation 2023-07-17 21:04:26 +00:00
Yuri Chornoivan 8e75c39164 Update Ukrainian translation 2023-07-17 20:57:06 +00:00
Martin dfe086e88a Update Slovenian translation 2023-07-17 14:49:43 +00:00
Martin 619cb6fe6d Update Slovenian translation 2023-07-17 14:48:12 +00:00
Anders Jonsson 091893ddf5 menus, plug-ins: more tab menu translatability 2023-07-17 10:27:30 +00:00
Alx Sa 48845bdd6f themes: Prevent image tab close button from overflowing...
...the tab itself. Noted by @user062. This adds a right margin to the
close button on the image tabs so that the tab size is pushed out
to fit the button.
2023-07-17 06:43:23 +00:00
Boyuan Yang 9e6946f55e Update Chinese (China) translation 2023-07-16 23:45:39 +00:00
Jehan b7da9e9cd7 app: fix removing items in GimpMenuModel.
Use the dedicated function rather than comparing strings.

Because of this, menu items for the "windows-display-*" actions were not
destroyed, neither were the relevant images because the proxy menu item was
keeping a reference to the image (for the small in-menu preview in Windows
menu).
2023-07-16 23:55:17 +02:00
Ekaterine Papava a4afaecf6e Update Georgian translation 2023-07-16 04:53:00 +00:00
Anders Jonsson 87260fb8ac Update Swedish translation 2023-07-15 18:42:02 +00:00
Anders Jonsson c1a8580215 Update Swedish translation 2023-07-15 18:41:17 +00:00
Anders Jonsson f8fd1d9175 Update Swedish translation 2023-07-15 18:30:28 +00:00
Anders Jonsson b9f2e157cb Update Swedish translation 2023-07-15 18:28:52 +00:00
Martin fc43fe371c Update Slovenian translation 2023-07-15 16:50:35 +00:00
Martin 4396300a0c Update Slovenian translation 2023-07-15 16:49:31 +00:00
Martin 7ec86cd448 Update Slovenian translation 2023-07-15 16:47:57 +00:00
Jehan 42fc27763e menus: forward port 2.10 placeholder names into 3.0 section names.
It's nearly the same list of placeholders which will make it easier to
third-party developers (though format still changed, devs will have to add
square brackets for section names).

Now some section names are missing because we would need to break some list into
smaller sections yet want to avoid having separators everywhere. This makes me
wonder if removing my first placeholder implementation was the right idea.
Anyway this new implementation is cleaner and we should find a way to add
sub-sections without creating separators in menus.

Also I didn't try to add new section names (though I did once or twice, e.g. a
"Close" section around quit/close actions which didn't exist) but eventually we
should. Being able to name logically parts of the menus will make them even more
organized (if we can't name a group of actions, it may mean we didn't think
properly the organization and order).
2023-07-15 16:44:17 +02:00
Anders Jonsson caff1e61e4 libgimpwidgets, plug-ins: translate dialog buttons
GTK no longer contains stock labels, so the button
labels needed to be marked as translatable.
2023-07-15 14:29:14 +00:00
Alx Sa 9c87aaeebd scripts: Fix warning in Java map tooltip text
Per @ajonsson, gettext does not like < or > used as symbols
and throws a warning. They are replaced with HTML entities
&lt; and &gt; to prevent the problem.
2023-07-15 14:23:01 +00:00
Jehan dc8ba756e4 app: debug menu and playground should be visible on non-releases stable branch.
These should be hidden on stable releases and shown on unstable branch. But
we'll also want to show these in the stable branch, outside of release
(typically when we'll be at 3.0.1).
2023-07-15 15:06:51 +02:00
Jordi Mas 8d0393bd4d Update Catalan translation 2023-07-15 12:38:36 +02:00
Alx Sa 019c1ba5d9 themes: Remove "corners" around combo-boxes
The combo box button is contained within a box element.
The box was also having its background-color set,
so there were small square "corners" around each dropdown menu.
This patch separates the box color from the button color to prevent
this.
2023-07-15 02:51:41 +00:00
Jehan e0c8358132 Issue #9322: pass the "hidden-when" attribute in gimp_menu_model_get_item_attributes().
This should hopefully hide (really this time?) the items we don't want to be
seen on macOS menu bar.
2023-07-15 01:37:37 +02:00
Jehan 502944fc02 Issue #9704: radio actions not showing as radio menu items on macOS.
This issue was also happening on other platforms when run with the
GIMP_GTK_MENUBAR codepath.
2023-07-15 01:15:45 +02:00
Jehan dfdb698ce0 libgimp: update function's documentation. 2023-07-14 17:02:19 +02:00
Jehan 3b05315754 plug-ins: fix the Python test dialog.
With recent changes, a GimpResource's ID is not its name anymore.
2023-07-14 16:59:46 +02:00
Jehan a964b80ad7 plug-ins: the Python test plug-in should be installed for unstable branch and…
… non-release builds.
2023-07-14 16:45:39 +02:00
Jehan 1b2f229bf6 app: top-level custom menus must be added before the "Windows" menu.
"Windows" and "Help" should always be last. New top-level menus (created by
plug-ins, scripts or GEGL ops) will be appended in the order of creation between
"Filters" and "Windows" menus.
2023-07-14 16:41:55 +02:00
Jehan 0bd3a45757 app: fix hiccups in creation of submenus by plug-ins/filters.
There were some mixups between a few representations of menus:

* "_Some Menu" and "Some Menu" should both map to an existing submenu "Some
  Menu" (in the GimpMenuModel, the stored path doesn't contain mnemonic).
* The menu item on the other hand should contain the mnemonic and not lose it.
* Not only this, but "Some _Menu" should still map to the same menu, even if it
  was already created with a different mnemonic. It means that the first
  registered menmonic "wins", as we don't want duplicate submenus with same
  title (even if they have different mnemonics).

So this new code is better handling the canonical menu path (no mnemonic, no
section name, no double slashes, no trailing slashes, etc.) vs. the
canonical-with-mnemonic menu path to avoid weird duplicates.

Some additional bugs are fixed where we were creating weird empty submenus
containing the same items as the parent menu as well, or when a submenu title
was a perfect prefix of another submenu title at the same level.
2023-07-14 16:21:57 +02:00
Martin de7c74323f Update Slovenian translation 2023-07-14 09:05:55 +00:00
Martin 6040505563 Update Slovenian translation 2023-07-14 09:04:06 +00:00