Commit Graph
5678 Commits
Author SHA1 Message Date
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
Hari Rana e6e201d9aa views/month-view-row: Implement focusing cells vertically
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana 48e6607d43 views/month-view: Focus adjacent cell when pressing Ctrl+Tab
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana 405f826252 views/month-view-row: Add method for focusing adjacent cells
This method allows to focus the month cells behind the event widgets.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana d76d37dff2 views/month-cell: Add focus styling
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana e88f77802b views/month-cell: Override focus() virtual function
Without this patch, focus immediately goes to the "Previous Month"
button at startup, for some unknown reason.
So, as a workaround, skip focus if the root cannot retrieve the
current focused widget.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana 80adbd0d23 views/month-cell: Inherit GtkWidget
AdwBreakpointBin, the parent, cannot set focus to itself. Instead
of focusing GtkOverlay, a child widget, we should instead inherit
GtkWidget to allow focusing that instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Hari Rana b592f15b26 views/month-view: Add and update accessible elements
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/564>
2026-03-03 18:35:17 -05:00
Georges Basile Stavracas Neto 9712280aea core/manager: Cosmetics 2026-03-03 20:12:45 -03:00
Georges Basile Stavracas Neto b4292c2026 core/manager: Increment before potentially decrementing
Otherwise we can go backwards first. Not going to break anything,
but this is a more robust logic.
2026-03-03 20:11:07 -03:00
Georges Basile Stavracas Neto e1438b3c8e core/manager: Use g_autoptr more
In the clients list.
2026-03-03 20:09:51 -03:00
voyage200 9f956c93d4 core/manager: Also refresh collections
Add on_collection_source_refreshed() callback. Track collection
source refresh in clients_synchronizing. Refresh collection sources
before calendar clients. Fix PROP_SYNCHRONIZING state by waiting for
all async ops.
2026-03-03 20:07:18 -03:00
Abduqadir Abliz f7d552aaeb Update Uighur translation 2026-03-03 05:16:01 +00:00
Georges Basile Stavracas Neto c2189f1860 NEWS: Fix typo 2026-03-01 17:08:06 -03:00
Georges Basile Stavracas Neto 65e0642ad6 Post-release version bump 2026-03-01 16:56:07 -03:00
Georges Basile Stavracas Neto 6f37e4e486 50.rc 2026-03-01 16:55:19 -03:00