Commit Graph
5693 Commits
Author SHA1 Message Date
Abduqadir Abliz 206d0bbb15 Update Uighur translation 2026-03-12 19:31:09 +00:00
Davide Ferracin 454317bbf6 Update Italian translation 2026-03-12 07:35:00 +00:00
Hari Rana dd3e4dce4a readme: Use new default screenshot
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/724>
2026-03-12 01:02:30 -04:00
Hari Rana 39cee3cbc3 event-editor/multi-choice: Check if destructor exists before clearing
Without this check, the app supposedly crashes when we close it.

GtkListBox frees itself the same way.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/723>
2026-03-12 01:12:29 +00:00
Sabri Ünal 255a1ece56 Update Turkish translation 2026-03-11 23:11:08 +00:00
Jiri Grönroos 99b7607b1e Update Finnish translation 2026-03-11 16:37:03 +00:00
Alan Mortensen fdc67983b6 Update Danish translation 2026-03-11 16:34:02 +00:00
Aurimas Aurimas Černius 79224a93b6 Update Lithuanian translation 2026-03-11 14:34:03 +00:00
Daniel Rusek 19e0ff09e2 Update Czech translation 2026-03-11 14:00:12 +00:00
Zoey Ahmed f99678aea9 views/month-view: Check if focused widget is month cell
This fixes an issue where pressing Shift + Up/Down while focused on the
overflow button will result in a bail out when asserting the focused
widget has a month cell ancestor:

```
GcalMonthView:ERROR:../src/gui/views/gcal-month-view.c:1002:on_key_controller_key_pressed_cb: assertion failed: (GCAL_IS_MONTH_CELL (month_cell))
Bail out! GcalMonthView:ERROR:../src/gui/views/gcal-month-view.c:1002:on_key_controller_key_pressed_cb: assertion failed: (GCAL_IS_MONTH_CELL (month_cell))
```

When navigating between month cells with a keyboard, focus is set
on respective month cells, so checking whether the ancestor
is a month cell or not is not only unnecessary, it also causes
bugs like the assertion above.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/720>
2026-03-11 08:55:09 -04:00
Hugo Carvalho b18e2b68bd Update Portuguese translation 2026-03-11 12:13:00 +00:00
Victoria 02b983d501 Update Polish translation 2026-03-11 10:38:57 +00:00
Yaron Shahrabani 8df663a17e Update Hebrew translation 2026-03-11 09:36:36 +00:00
Antonio Marin c14137ad96 Update Romanian translation 2026-03-11 09:26:14 +00:00
Quentin PAGÈS a76dab159a Update Occitan translation 2026-03-11 09:23:21 +00:00
Alexander Alexandrov Shopov 6570feda1b Update Bulgarian translation 2026-03-11 08:32:56 +00:00
Martin eeca196df1 Update Slovenian translation 2026-03-11 08:23:31 +00:00
Guillaume Bernard 1603f00d85 Update French translation 2026-03-11 07:18:12 +00:00
Ekaterine Papava d53c33429d Update Georgian translation 2026-03-11 05:04:08 +00:00
luming zh 3f46c521ae Update Chinese (China) translation 2026-03-11 04:17:20 +00:00
Rafael Fontenelle 442cea9945 Update Brazilian Portuguese translation 2026-03-11 02:28:28 +00:00
Baurzhan Muftakhidinov da144dc98a Update Kazakh translation 2026-03-11 01:40:21 +00:00
Anders Jonsson 93025a2ced Update Swedish translation 2026-03-11 00:55:16 +00:00
Balázs Úr 39e095962f Update Hungarian translation 2026-03-11 00:46:54 +00:00
Anders Jonsson 6bbbeff76f Fix POTFILES.in
Follow-up to 5a663ee671, wrong file
was added to POTFILES.in

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/722>
2026-03-11 01:30:12 +01:00
Georges Basile Stavracas Neto 0c1636b7aa gui/multi-choice: Use g_clear_pointer more
Just a cosmetic improvement.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/721>
2026-03-10 20:45:35 -03: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
Hari Rana 50e048c7e0 utils: Turn number of weekdays into a macro
While "7" may be obvious in the context of calendaring that
it represents the number of week days, it often gives me the
impression of it being a magic number when I'm hyperfocused on certain
parts of the codebase for several consecutive hours. Turning the
number into a macro helps me scan functions much more easily.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/674>
2026-03-08 21:53:40 -04:00
Hari Rana da7b625e18 data: Update screenshot URLs
See:
- https://gitlab.gnome.org/Teams/Websites/static.gnome.org/-/merge_requests/47#note_2701250
- https://gitlab.gnome.org/Teams/Websites/static.gnome.org/-/merge_requests/48

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/719>
2026-03-08 20:15:26 -04:00
Bruce Cowan a3488ac3ad Update British English translation 2026-03-08 16:49:27 +00:00
Hari Rana 1141c758a4 data: Update screenshots
This also sets the month view as the default screenshot.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/717>
2026-03-08 09:26:11 -04:00
muneeb-i-khanandHari Rana 4e026caa9c readme: Update information
This adds a screenshot of the app, as well as pertinent
information to better navigate within the project.

Co-authored-by: Hari Rana <theevilskeleton@riseup.net>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/363>
2026-03-07 12:30:55 -05:00
Alan Mortensen 9c4688f8f4 Update Danish translation 2026-03-07 08:19:10 +00:00
Victoria 1dd9a4c4fa Update Polish translation 2026-03-06 21:05:01 +00:00
Sabri Ünal 7ed5752332 Update Turkish translation 2026-03-05 19:47:27 +00:00
小山田 純 - Oyamada Jun 8f76dc70d1 Update Japanese translation 2026-03-05 13:55:55 +00:00
小山田 純 - Oyamada Jun af728df7ef Update Japanese translation 2026-03-05 12:29:09 +00:00
小山田 純 - Oyamada Jun 148bdeba1e Update Japanese translation 2026-03-05 12:27:56 +00:00
Yaron Shahrabani 9e2a68c610 Update Hebrew translation 2026-03-04 12:44:11 +00:00
Hari Rana 2638766d10 views/month-view: Focus adjacent cell when tabbing forward from the last event widget
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 21:11:16 -03:00
Hari Rana e607a6bd2e views/month-view: Clear marks when tabbing from a cell
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 21:11:16 -03:00
Hari Rana d6a450ff1f gui/window: Focus last focused widget upon closing quick add popover
This also introduces the `focus_last_focused_widget()` to make the
code a little bit cleaner.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 21:11:16 -03:00
Hari Rana 4e54c18d06 views/month-view: Set focus to cell upon click release
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 21:11:16 -03:00
Hari Rana 3102766c51 views/month-view: Allow selecting cells
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 21:11:16 -03:00
Hari Rana 6c6dd46a89 views/month-view: Scroll view when out of bounds
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:18 -05:00
Hari Rana c74fe74b97 views/month-view: Wrap cells
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:18 -05:00
Hari Rana d8e44108ea views/month-view: Display quick add popover when activating cell
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:18 -05:00
Hari Rana 3088b2260a views/month-view-row: Add "activate-cell" signal
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:18 -05:00
Hari Rana cd0138393f views/month-cell: Add activate signal
This will be needed for keyboard navigation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana 471f81eb31 views/month-view-row: Implement focusing cells horizontally
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00