4807 Commits

Author SHA1 Message Date
Martin
43e39b9d02 Update Slovenian translation 2025-01-17 10:40:12 +00:00
Emilio Sepúlveda
d1cafc8d50 Update Interlingua translation 2025-01-16 19:27:11 +00:00
Rafael Fontenelle
2c5e96f96f Update Brazilian Portuguese translation 2025-01-16 02:14:22 +00:00
Quentin PAGÈS
6ceffb4b69 Update Occitan translation 2025-01-15 19:43:19 +00:00
Artur S0
b6e1eeb315 Update Russian translation 2025-01-15 14:16:01 +00:00
Rafael Fontenelle
e601e28475 Update Brazilian Portuguese translation
(cherry picked from commit 46f471ff67e0a19821e3b452f2d5474cb8a2793b)
2025-01-15 03:48:34 +00:00
Philip Withnall
212e098da1 timeLimitsManager: Add new state machine for screen time limits
This implements wellbeing screen time limits in gnome-shell. It depends
on a few changes in other modules:
 - New settings schemas in gsettings-desktop-schemas
 - A settings UI in gnome-control-center
 - User documentation in gnome-user-docs

It implements the design from
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/wellbeing/wellbeing.png.

The core of the implementation is `TimeLimitsManager`, which is a state
machine which uses the user’s session state from logind to track how long
the user has been in an active session, in aggregate, during the day. If
this total exceeds their limit for the day, the state machine changes
state.

The user’s session activity history (basically, when they logged in and
out for the past 14 weeks) is kept in a state file in their home
directory. This is used by gnome-shell to count usage across reboots in
a single day, and in the future it will also be used to provide usage
history in gnome-control-center, so the user can visualise their
historic computer usage at a high level, for the past several weeks.

The `TimeLimitsDispatcher` is based on top of this, and controls showing
notifications and screen fades to make the user aware of whether they’ve
used the computer for too long today, as per their preferences.

Unit tests are included to check that `TimeLimitsManager` works, in
particular with its loading and storing of the history file. The unit
tests provide mock implementations of basic GLib clock functions, the
logind D-Bus proxy and `Gio.Settings` in order to test the state machine in
faster-than-real-time.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

See: https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/130
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3397>
2025-01-13 14:24:02 +00:00
Sabri Ünal
182800315a Update Turkish translation 2025-01-11 15:49:28 +00:00
Athmane MOKRAOUI
7780d68485 Update Kabyle translation 2025-01-11 09:50:33 +00:00
Yaron Shahrabani
2f6281ef33 Update Hebrew translation 2025-01-06 12:18:27 +00:00
Cas Pascal
0e53dd22aa Update Vietnamese translation 2025-01-01 06:54:12 +00:00
Vasil Pupkin
9a0261f102 Update Belarusian translation 2024-12-28 09:05:22 +00:00
Artur S0
2508325ad7 Update Russian translation 2024-12-19 16:09:29 +00:00
Martin
3bc2ab6ba9 Update Slovenian translation 2024-12-01 09:25:01 +00:00
Philip Withnall
df3b4d302d breakManager: Add new state machine for screen time/health breaks
This implements health break reminder support in gnome-shell. It depends
on a
few bits and bobs from other modules:
 - New settings schemas in gsettings-desktop-schemas (released in
   47.beta, which Mutter already depends on)
 - A settings UI in gnome-control-center
 - User documentation in gnome-user-docs

It implements the design from
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/wellbeing/wellbeing.png.

The core of the implementation is `BreakManager`, which is a state
machine which uses the Mutter `IdleMonitor` to track whether the user
is, or should be, in a screen time break.

The `BreakDispatcher` is based on top of this, and controls showing
notifications, countdown timers, screen fades, the lock shield, etc. to
make the user aware of upcoming or due breaks, as per their notification
preferences.

Unit tests are included to check that `BreakManager` works. These
provide mock implementations of basic GLib clock functions, the
`IdleMonitor` and `Gio.Settings` in order to test the state machine in
faster-than-real-time.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

See: https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/130
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3251>
2024-11-28 10:44:10 +00:00
Yaron Shahrabani
e9ca27c663 Update Hebrew translation 2024-11-25 08:44:43 +00:00
Artur S0
f95bddb811 Update Russian translation 2024-11-11 15:58:05 +00:00
Martin
7b42699c07 Update Slovenian translation 2024-11-05 13:57:42 +00:00
Pablo Correa Gómez
152faae6f9 data: Add X-GNOME-Shell-Utilities.directory file to allow showing real name
Instead of having the name of the directory be X-GNOME-Utilities. This
also allows translating the name to the user's language. The name is
chose to be different to X-GNOME-Utilities from GNOME Menus.

In the process, also remove the categories. The menu definition from
gnome-menus is not used, and it's not a category that apps list
themselves, so it's completely unused anyway.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3526>
2024-11-04 20:46:29 +01:00
Aefgh Threenine
6f280c8d7f Update Thai translation 2024-11-02 08:40:11 +00:00
Марко Костић
b4e949b834 Update Serbian translation
(cherry picked from commit 3ff31accf8dec46dfb448654fc2be9b41db94ec9)
2024-11-02 05:15:36 +00:00
Artur S0
bab37d3286 Update Russian translation 2024-10-28 14:12:57 +00:00
Nathan Follens
e5d85e722a Update Dutch translation
(cherry picked from commit c19783fb3bc948ee5f8c5790bd61590f8b1caa13)
2024-10-27 22:36:13 +00:00
Vasil Pupkin
7c6e286282 Update Belarusian translation 2024-10-22 14:22:07 +00:00
Fabio Tomat
e091cccec8 Update Friulian translation 2024-10-20 21:23:57 +00:00
Emilio Sepúlveda
d60bdc95fa Update Interlingua translation 2024-10-19 23:55:26 +00:00
Aefgh Threenine
7b598e6de8 Update Thai translation 2024-10-19 03:11:30 +00:00
Aefgh Threenine
37b6f242a8 Update Thai translation
(cherry picked from commit bc82a0fa165c92a18bc16552315f30c360e23fcf)
2024-10-18 06:23:55 +00:00
Martin
ecdb062a4a Update Slovenian translation 2024-10-16 21:40:50 +00:00
Bogi Napoleon Wennerström
e106822004 Add Faroese translation
(cherry picked from commit f68111275143423df1d0a70d54f31347b8891d66)
2024-10-15 06:15:39 +00:00
Fabio Tomat
b815f1ac5b Update Friulian translation 2024-10-07 15:03:25 +00:00
Athmane MOKRAOUI
cefaf63a4a Update Kabyle translation 2024-10-07 08:40:17 +00:00
Athmane MOKRAOUI
0f923a6a2d Update Kabyle translation 2024-10-06 15:31:41 +00:00
Athmane MOKRAOUI
1076bac5da Update Kabyle translation 2024-10-06 14:00:38 +00:00
Brage Fuglseth
cdc665014f Update Norwegian Bokmål translation 2024-10-01 07:06:45 +00:00
Mahdi Hasan
934dbe5495 Update Bengali translation 2024-09-24 17:16:54 +00:00
Daniel Mustieles
19cb1bdaf4 Update Spanish translation 2024-09-18 07:27:17 +00:00
Aefgh Threenine
25b41c98a8 Update Thai translation 2024-09-17 18:40:32 +00:00
Aefgh Threenine
5770f47647 Update Thai translation 2024-09-16 15:10:27 +00:00
Aefgh Threenine
697f090362 Update Thai translation 2024-09-12 09:12:23 +00:00
Balázs Úr
ab20a1b11a Update Hungarian translation 2024-09-10 20:57:58 +00:00
Rūdolfs Mazurs
c5ee252a67 Update Latvian translation 2024-09-10 19:31:44 +00:00
Ask Hjorth Larsen
449a7a1303 Update Danish translation 2024-09-08 17:01:00 +00:00
Andi Chandler
8c1183dc36 Update British English translation 2024-09-08 12:25:38 +00:00
Anders Jonsson
f0f15f26db Update Swedish translation 2024-09-06 21:07:58 +00:00
Fran Dieguez
31591727c4 Update Galician translation 2024-09-02 21:25:44 +00:00
Aurimas Černius
2e659472f6 Update Lithuanian translation 2024-09-02 19:39:47 +00:00
Daniel Mustieles
3b862b40c4 Update Spanish translation 2024-09-02 09:43:14 +00:00
Alexander Shopov
da27b29f64 Update Bulgarian translation 2024-09-02 08:35:57 +00:00
twlvnn kraftwerk
378311df90 Update Bulgarian translation
(cherry picked from commit 4b3bc8f1cc21f04137419ef972c201354dcd3273)
2024-09-02 08:27:35 +00:00