Commit graph

23838 commits

Author SHA1 Message Date
Automeris naranja
a7017238a5 power: Remove content-height property in the "Automatic Suspend" dialog
Doing so, this dialog won't display a scrollbar that scrolls
just a little bit, as this is unnecessary.
2024-04-08 13:48:23 +00:00
Automeris naranja
19c3f3570d sharing: Port all dialogs to AdwDialog
Port the "File Sharing" and "Media Sharing" dialogs
to AdwDialog.
2024-04-08 13:47:02 +00:00
Felipe Borges
f87eb9fdb4 ci: Include gtk-doc in base container
We now build our docs by default, we need gtk-doc.

See commit dbbe0476cb
2024-04-08 15:33:56 +02:00
Matthijs Velsink
c18168b20c test-network-panel: Allow separator in speed label
Commit b76d6d0d (!2130) added a thousands separator to the speed label
for ethernet. This did not affect the tests, as they are run under the
`C` locale, meaning no separator was present in the tests and the label
test matched.

However, running tests with locale set to `en_US.UTF-8` for example
fails, as the label then reads "1,234 Mb/s" instead.

Fix this by adding a wildcard in the place of the separator.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
b8337b084d po: Fix POTFILES.in to pass the new CI
Now that the CI checks for any mistakes in POTFILES.in, let's fix it
completely.

I manually checked any removed files if strings were accidentally not
marked as translatable, but there were none. Note that this is a benefit
of also checking for files that are in POTFILES.in but are not
translatable; accidental removal of translation markers can be caught.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
e32f271e88 ci: Fix potfiles check for *gettext functions
The `*gettext()` function family is only translatable for us if it
contains string literals or uses our `GETTEXT_PACKAGE` domain. A broad
`'gettext *('` grep will therefore not work.

So, narrow the grep a bit to only work for `*gettext()` call where the
first argument is a string literal or `GETTEXT_PACKAGE`.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
b43b7053b9 ci: Check sorting of POTFILES.in in fixed locale
Sorting is locale dependent, so make sure it is always the same.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
60dfb43ccd ci: Fix potfiles check for submodules
Submodules can also contain translatable files, but the CI does not
automatically pull submodules.

Fix that for the potfiles check.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
c13f8a883d ci: Also check if POTFILES.in is properly sorted
And fail if it is not.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
46e602415e ci: Add potfile check
This script checks for files that are translatable, but are missing from
POTFILES.in. Also, it checks whether files that are in POTFILES.in are
translatable at all or are missing.

Based on nautilus!1418.

Closes #2845
2024-04-08 13:02:40 +00:00
Alexandre Franke
06f97c6f4d Update French translation
(cherry picked from commit 323b2364ed)
2024-04-08 12:49:22 +00:00
Sam Hewitt
7fcc142aac mouse: Update assets for test window; improve scroll arrow display
- add new assets for clicking and scrolling view switcher
- adjust the scroll test arrow display
- remove old inappropriate asset
- use gresource for new assets
2024-04-08 10:02:11 +00:00
Andy Holmes
755ace7b7d online-accounts: move Fedora to the end of branded providers 2024-04-08 09:42:19 +00:00
Andy Holmes
c46e2c6115 online-accounts: rename windows_live provider to "Microsoft" 2024-04-08 09:42:19 +00:00
Andy Holmes
8b9242595c online-accounts: rename MS365 provider 2024-04-08 09:42:19 +00:00
Andy Holmes
3190cd6afe online-accounts: use sentence capitalization for descriptions 2024-04-08 09:42:19 +00:00
Andy Holmes
081ae920a0 online-accounts: move providers into a list model
Refactor slightly to get providers into a list model, to ease future
UX changes and reduce friction for design iteration.

cc !2354
2024-04-08 09:42:19 +00:00
Andy Holmes
cf5e43feac online-accounts: implement service descriptions for providers
Add descriptions for each provider type, indicating which services
a given provider can support.

closes #1917
2024-04-08 09:42:19 +00:00
Ray Strode
ae2df95306 system, password-utils: Try to find word list harder
There are variety of word lists available in /usr/share/dict,
let's try more than just one.

Closes:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2957
2024-04-08 10:57:20 +02:00
Automeris naranja
b697433c7d alert-chooser-window: Remove the content-height property
Doing so, the Alert Sound dialog won't display a scrollbar that
scrolls just a little bit, as this is unnecessary.
2024-04-08 08:42:06 +00:00
Automeris naranja
7b039bb279 power: Minor tweaks to strings related to automatic suspend
Rename the following strings (and use header capitalization):
- "When on battery power" to "On Battery Power"
- "When plugged in" to "When Plugged In" (in the Automatic Suspend
dialog too)

Reference 1bb482ed19
2024-04-07 21:19:28 +00:00
Davide Ferracin
51be51d1ba Update Italian translation 2024-04-07 19:05:20 +00:00
Jordi Mas
dee07eb711 Update Catalan translation 2024-04-07 13:46:13 +02:00
Automeris naranja
2c5f3169b3 region: Use the secondary-label property in all CcListRows
"Language" and "Format" rows show their value as a subtitle,
but this is inconsistent with Settings design pattern in which
the value label is shown at the right, so fix this inconsistency.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2914
2024-04-06 14:34:56 +00:00
Jiri Grönroos
47c216ae40 Update Finnish translation
(cherry picked from commit 0f375818f3)
2024-04-06 14:20:49 +00:00
Yaron Shahrabani
ae953eab7e Update Hebrew translation
(cherry picked from commit 469e68ab92)
2024-04-06 13:21:13 +00:00
Piotr Drąg
9bff0df237 Update Polish translation 2024-04-06 12:43:18 +02:00
Daniel Rusek
f8e0b9a499 Update Czech translation 2024-04-05 23:06:22 +00:00
Danial Behzadi
218a96ffb3 Update Persian translation
(cherry picked from commit cedfd9b88c)
2024-04-05 12:42:35 +00:00
Asier Sarasua Garmendia
ff374fc829 Update Basque translation
(cherry picked from commit 80db877a98)
2024-04-05 10:19:22 +00:00
Asier Sarasua Garmendia
d6f9992c69 Update Basque translation
(cherry picked from commit 62319e8a01)
2024-04-05 08:44:17 +00:00
Martin
6f9699608c Update Slovenian translation 2024-04-04 22:08:13 +00:00
Artur S0
b275615871 Update Russian translation 2024-04-04 16:05:11 +00:00
Alexandre Franke
2e477ce337 doap: add maintainer userid 2024-04-04 12:44:31 +00:00
Matthijs Velsink
5fedb30a08 network: Add stable-ssid support for cloned-mac
NetworkManager 1.46.0 added support for "stable-ssid" for cloned mac,
which generates a stable MAC address based on SSID for each network.

This got accepted as the new default for Fedora 40, see
https://fedoraproject.org/wiki/Changes/StableSSIDMACAddress and
https://pagure.io/fesco/issue/3135.

However, there is no support for the connection editor for this value,
meaning if "stable-ssid" is set, changes to a WiFi network can't be
applied.

Fix this by adding support for "stable-ssid". Essentially based on
network-manager-applet!143
(network-manager-applet@202149c0843510a944afe2257cf56fbb7b4d2ef9).

Closes #2852
2024-04-04 11:53:43 +00:00
Felipe Borges
5bdb890675 build, privacy: Make Location settings build conditional
Considering the retirement of Mozilla Location Service, most
laptop/desktop users will rely on weaker network based location
sources.

Let's make the Location settings a build option, disabled by default.
-Dlocation-services=enabled

See #2959
2024-04-04 13:52:10 +02:00
Peter Hutterer
dbbe0476cb ci: Build with our various conditional options enabled
Add another stage identical to the default build but this time with
the various off-by-default options enabled (one per job).
2024-04-04 07:23:57 +00:00
Automeris naranja
c252c3c861 firmware-security-dialog: Ditch gtk_window_set_default_size
The window layout will adapt according to the text length
(which can increase in some translations), so setting
a window size according to the device security state is
unnecessary.

This also fix an invalid cast to GtkWindow, because
firmware-security-dialog is now an AdwDialog.

Follow-up from b126b05247
2024-04-04 07:05:50 +00:00
Automeris naranja
c6c02d16d9 color: Minor writing style tweak
- In the AdwPreferencesPage description, use an
en dash before "learn more" and add a period.

This will be consistent with the
Privacy > Diagnostics page description writing
style:
ad142445a2
2024-04-03 20:02:36 -03:00
Automeris naranja
d30ebf9945 color: Rename "colors_page" to "color_page"
The AdwPreferencesPage id is "colors_page",
but the plural isn't correct.

Follow-up from 8e44e69e37
2024-04-03 19:10:59 -03:00
Automeris naranja
8e44e69e37 color: Modernize the panel a bit
- Use AdwPreferencesPage/AdwPreferencesGroup
- Use AdwStatusPage when there are no devices
that can be color managed
2024-04-03 21:58:21 +00:00
Felipe Borges
7a030f6006 po: Add missing file to POTFILES.in 2024-04-03 10:38:58 +02:00
Automeris naranja
96d4acf1ed power: Port "Automatic Suspend" dialog to AdwDialog 2024-04-03 08:33:05 +00:00
Automeris naranja
7a7939d4ad date-time: Port dialogs to AdwDialog
Port the "Time Zone" and "Date & Time" dialogs to
AdwDialog.
2024-04-03 08:24:51 +00:00
Automeris naranja
ca4bffe765 apps: Port "Required Access" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
1aab23712e apps: Port "File & Link Associations" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
f946be849d apps: Port the "Storage" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
372b9f8b0c keyboard-shortcut-dialog: Use "No Results Found" in empty_results_page
This will be consistent with the status page from the Settings
sidebar, which shows "No Results Found" when searching for panels
(if the search term doesn't return anything).

Also, use header capitalization, as advised by HIG.
2024-04-03 07:59:56 +00:00
Automeris naranja
c90d55b927 cc-tz-dialog: Minor UI tweaks to empty_page
- Use edit-find-symbolic
- Use "No Results Found" title
- Add "Try a different search" description
- Remove the margin-top because this causes the status
page to look misaligned

The first three changes will make the status page to look
more similar to the status page from the Settings sidebar
(when the search term doesn't return anything), improving
consistency.
2024-04-03 07:59:09 +00:00
Automeris naranja
6f5e3a41da sound: Port "No Input/Output Devices" rows to CcListRow
Using CcListRow in this case drops a few unnecessary
lines of code while keeping the rows visually identical.
2024-04-03 02:01:02 +00:00