Commit graph

5130 commits

Author SHA1 Message Date
Karl Ove Hufthammer
6bc8d185a4 Update Norwegian Nynorsk translation
Mostly adding soft hyphens for long words.
2024-06-02 13:20:40 +02:00
Jacques Chion
0dda35b67c update : fr.po 2024-06-02 07:20:39 +02:00
Bill Kendrick
9d6eee6057 Regen POT/PO after mentioning word-wrap improvement in appdata 2024-06-01 21:40:42 -07:00
Bill Kendrick
c1ff0efad1 Word wrap button labels on soft hypens
If the UTF-8 sequence for the Unicode Soft Hyphen ("Non-printable U+00AD")
occurs in the text to be used as the label of a button, and the label
is still too wide after any wrapping done based on either space and/or a
visible hyphen ("-", U+002D), a visible hyphen will be introduced and
the label will be wrapped.

e.g. Norwegian Nynorsk "Regnbogesyklus"

Regnboge-
syklus

(rather than all crammed on one line and impossible to read)

h/t Karl for the idea.

Closes https://sourceforge.net/p/tuxpaint/bugs/288/
2024-06-01 21:26:45 -07:00
Bill Kendrick
217e653d3a Word wrap button labels on hypens/dashes (-)
e.g. Norwegian Nynorsk "ROGGBIF-regnboge" will appear as

  ROGGBIF-
  regnboge

rather than all crammed on one line and impossible to read.

h/t Karl for the idea.  (Next up: support soft-hyphens)

For https://sourceforge.net/p/tuxpaint/bugs/288/
2024-06-01 20:57:39 -07:00
Bill Kendrick
2183c45d72 Filled Polygon: Ensure last point can click on first point
It had to be dragged, due to a minor bug.  h/t Pere.
2024-06-01 20:35:13 -07:00
Bill Kendrick
b9981d879b Filled Polygon Magic - allow up to 100 points
Up from 17 (which I probably picked since it was a little
fewer than the default number of Undo/Redo levels).
2024-06-01 20:27:30 -07:00
Bill Kendrick
9ebfd21049 Doc'ing Norwegian Nynorsk updates
h/t Karl
2024-06-01 20:26:59 -07:00
Karl Ove Hufthammer
0d0b3360f1 Update Norwegian Nynorsk translation 2024-06-01 12:40:04 +02:00
Bill Kendrick
3cf3af76aa Ran indent.sh 2024-06-01 02:12:00 -07:00
Bill Kendrick
7507ea7217 Syncing docs to get Magic API update re: retract_undo() 2024-06-01 02:07:12 -07:00
Bill Kendrick
05181f73af Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2024-06-01 01:39:58 -07:00
Bill Kendrick
01afb5846c api->retract_undo() added to Magic API; used by Filled Polygon
New API function which rolls back the Undo buffer (which is snapshotted
upon a mousedown event ahead of calling the Magic tool's `_click()`
function.)  Dangerous; use sparingly!

Filled Polygon uses this to prevent partially-created (aka unfinished
aka incomplete) polygons -- the preview lines and control points -- from
being recorded and wasting space in the Undo history, or reappearing
upon Redo.

TODO - Other tools (e.g., Clone) would certainly benefit from this.
TODO - Needs more testing to help identify any bugs/issues introduced
by this!
TODO - Magic API docs need updating.

This is probably a sufficient solution that will make
https://sourceforge.net/p/tuxpaint/feature-requests/246/,
'"Overlay" surface in Magic API', unnecessary.
2024-06-01 01:35:50 -07:00
Pere Pujal i Carabantes
dd8952209b Updating Catalan. 2024-06-01 09:26:07 +02:00
dolphin6k
2e9f4b7f42 Updated Japanese again 2024-06-01 14:24:59 +09:00
dolphin6k
874a7ba934 Updated Japanese translation 2024-06-01 14:15:07 +09:00
Jacques Chion
4d1201fdaf modifié : fr.po 2024-05-31 17:11:53 +02:00
Jacques Chion
38ff07090e modifié : fr.po 2024-05-31 10:32:21 +02:00
Bill Kendrick
4c17afa4a9 POT/PO updates after Filled Polygon description update
Last minute change, sorry! :-D
2024-05-30 23:51:52 -07:00
Bill Kendrick
b0b3b64022 Filled Polygon: Mention merging. Max pt handling.
In instructions, mention that adjacent points may be merged.

When no more space is available for additional points, simply
move the last point to the new location (rather than silently
doing nothing).

h/t Pere for the ideas
2024-05-30 23:50:00 -07:00
Bill Kendrick
ff829d84e2 Apparently forgot to regen POT & POs recently
Ack sorry
2024-05-30 23:44:50 -07:00
Bill Kendrick
5a89cef4c5 Portuguese updates
h/t Hugo
2024-05-30 23:44:05 -07:00
Bill Kendrick
de38d07f0e Doc'ing ja & fr translation updates
h/t Jacques & Shin-ichi
2024-05-30 23:38:18 -07:00
dolphin6k
ce40f278f6 Updated UI translation, created brush description for Japanese. 2024-05-31 15:24:13 +09:00
Jacques Chion
c448a18bc9 modifié : fr.po 2024-05-30 08:39:18 +02:00
Jacques Chion
39768ba09e Validateur : Jacques Chion <jacques.chion@orange.fr>
modifié :         fr.po
2024-05-30 06:28:37 +02:00
Jacques Chion
f7988fd834 begin traslation 2024-05-29 19:26:51 +02:00
Bill Kendrick
277b9e10bf Filled Polygon "remove" sound effect
For when merging points.

Based on CC Attribution 3.0 sound by "stinkhorn"
(see CHANGES.txt & AUTHORS.txt).
2024-05-28 23:59:56 -07:00
Bill Kendrick
c00cf991f9 Filled Polygon "nearby" sound effect
When red & green endpoint dots are being dragged near each other,
play a different sound.

Based on CC Attribution 4.0 sound by Eliot Lash
(see CHANGES.txt & AUTHORS.txt).
2024-05-28 23:47:54 -07:00
Bill Kendrick
a2fece280b Sound effects for Filled Polygon magic tool
Based on some CC0 sounds by Kenneth Cooney (see AUTHORS.txt and
CHANGES.txt).
2024-05-28 23:29:57 -07:00
Bill Kendrick
02562f8b44 Avoid confusion: Remove specular reflection from CHANGES 2024-05-28 22:55:39 -07:00
Bill Kendrick
4256d81278 Mend issue of rotating brushes not drawing on single click
Rotating brushes would not draw anything if you simply
click and release with no motion in between (unless brush
spacing was set to the minimum).  It will now draw the
default "up" direction of the brush in that situation.
(h/t Pere for reporting)

Implemented by using a boolean that tracks whether there has
been any motion since a click; if not, the `brush_counter` is
forced to reset (to 999), to insist on `brush_draw()` blitting
something.  (It used to always ignore if a rotational brush,
to avoid accidentally drawing in the wrong direction on release.)
2024-05-25 11:50:17 -07:00
Pere Pujal i Carabantes
58e685e58e Updating Catalan for brushes. 2024-05-24 01:00:16 +02:00
Bill Kendrick
c1f26511ef Doc'ing Catalan updates
h/t Pere
2024-05-22 23:32:33 -07:00
Pere Pujal i Carabantes
c8095c2d44 Updating Catalan. 2024-05-23 02:07:11 +02:00
Bill Kendrick
4c42472089 Polyfill: Draw handles 'behind' lines 2024-05-19 23:56:20 -07:00
Bill Kendrick
dc49449966 Regen README after dropping Specular from What's New 2024-05-19 23:42:22 -07:00
Bill Kendrick
af5f9b8899 Removing Specular tool instructions 2024-05-19 23:34:12 -07:00
Bill Kendrick
97c547e9c7 Demoting Specular magic to a WIP 2024-05-19 23:30:12 -07:00
Bill Kendrick
4f86d60865 Sync Env Vars & Advanced Stamps Howto (for real)
...after adding CSS.
2024-05-15 00:01:19 -07:00
Bill Kendrick
073c4f422b Regen FAQ & Advanced Stamps Howto with CSS & other tweaks 2024-05-14 23:57:28 -07:00
Bill Kendrick
4a79060f26 Ran indent 2024-05-14 23:37:12 -07:00
Bill Kendrick
79d5cb5cea Don't call rsvg_handle_close(); it's deprecated
Borrowing from 825fa1c,

- rsvg_handle_close() is deprecated from librsvg 2.46, together with
  rsvg_handle_write()
- rsvg_handle_close() is only needed to be called after
  rsvg_handle_write()
- rsvg_handle_close() isn't needed to be called after
  rsvg_handle_new_from_file() [1]

1: https://gnome.pages.gitlab.gnome.org/librsvg/Rsvg-2.0/method.Handle.close.html

Shrug!

Closes https://sourceforge.net/p/tuxpaint/bugs/278/
2024-05-14 23:28:50 -07:00
Bill Kendrick
ca537e2fbb Color Sep: Correctly abuse default size value 2024-05-14 23:26:00 -07:00
Bill Kendrick
d26b4f28ff Polyfill - Address compiler warnings, other cleanup 2024-05-14 23:09:18 -07:00
Bill Kendrick
73f66294f4 Warn when 2 magic tools in a group w/ identical order 2024-05-14 23:00:17 -07:00
Bill Kendrick
51d47d554e Syncing tp_magic_example.c (indent & transliteration) 2024-05-10 01:29:05 -07:00
Bill Kendrick
bd10e955a1 CHANGES: Doc'ing updates to tp_magic_example.c 2024-05-10 01:02:54 -07:00
Bill Kendrick
e096b9a5dd Sync docs for updated tp_magic_example.c's 2024-05-10 01:00:31 -07:00
Bill Kendrick
5bdbc2766b Ran indent.sh to re-indent all source files 2024-05-10 00:26:10 -07:00