Commit Graph
9 Commits
Author SHA1 Message Date
Guillaume Bernard 1603f00d85 Update French translation 2026-03-11 07:18:12 +00:00
Guillaume Bernard 5a663ee671 multi-choice: Fix i18n of navigation button tooltips
The previous approach built tooltip strings by formatting a translated
category name (e.g. "Month") into a generic "Previous %1$s" template.
This is a classic gettext concatenation anti-pattern: languages with
grammatical gender (French, Spanish, German, …) need the adjective to
agree with the noun, and word order can differ from English, so
translators of the format string have no way to produce a correct
result.

Replace the format strings and their helper callbacks with two explicit
GObject properties on GcalMultiChoice: prev-button-tooltip-text and
next-button-tooltip-text. The buttons in the template now bind to
these properties directly. Each widget instance in gcal-date-chooser.blp
sets its own fully self-contained translatable string ("Previous month",
"Next month", "Previous year", "Next year"), giving translators all the
context they need to handle gender and word order correctly.

Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1547
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/721>
2026-03-10 20:43:02 -03:00
Guillaume Bernard 2afc309ecf Update French translation
(cherry picked from commit 2415abb39f94820b450dc2bf7fec60b50405ff4d)
2025-10-01 19:47:01 +00:00
Guillaume Bernard 231cfbc777 Update French translation 2023-09-26 06:45:15 +00:00
Guillaume Bernard 2a13eb086e Update French translation 2023-03-10 16:26:32 +00:00
Guillaume Bernard 1e27c938f7 Update French translation 2021-02-08 07:10:00 +00:00
Guillaume Bernard 49115485d2 Update French translation 2018-08-11 09:54:40 +00:00
Guillaume Bernard 37fef8b8a1 Update French translation
(cherry picked from commit ea59390307ad1fb145ce0bb5b619fb8b537f524a)
2018-03-11 12:11:14 +00:00
Guillaume Bernard daa98e5081 Update French translation
(cherry picked from commit cf5cc7dfdfc2184209bdd2993f60fb49b1e0cefe)
2018-03-11 09:37:09 +00:00