Commit graph

6 commits

Author SHA1 Message Date
Matthijs Velsink
1206bb477f ua-hearing-page: Add context to "Sound" string
Commit 90a131a2 (!2164) split off the translation of the sound panel
name "Sound". However, "Sound" might need a unique translation in
this case.

So, add a context string to allow for that.

Closes #2915
2024-02-21 14:47:30 +01:00
Automeris naranja
90a131a2ee ua-hearing-page: Simplify the translation of Sound panel link
Separate the Sounds panel link from the
string to make translations easier.

Also, remove the period from the string,
because phrases written as a single
sentence shouldn't end with a period:

https://developer.gnome.org/hig/guidelines/writing-style.html
2024-01-18 12:44:25 +00:00
Christopher Davis
793498ba91 universal-access: Port to Adw{Navigation,Toolbar}View
AdwNavigationView is a new widget meant to be used specifically
for navigation, unlike AdwLeaflet which was multipurpose.
AdwNavigationView provides a cleaner API and gives us automatic
titles, back buttons, gestures, actions, and windowcontrols.

AdwToolbarView is a utility widget that simplifies setting the
top and bottom bars for simple views, giving us styling with
undershoots, the ability to use flat headers in scrolling views,
and proper styling when used with the new sidebar widgets.

This commit ports the Accessibility panel to AdwNavigationView
and AdwToolbarView. Subpages now subclass AdwNavigationPage
and contain toolbar views - meaning their headers are joined with
their content. Their titles and their back buttons are automatically
handled by libadwaita, with proper accessibility.

The actions provided by AdwNavigationPage allow us to remove
the custom listbox we used for the `row-activated` signal. Rows
now use the `navigation.push` action in order to push a subpage
by tag.

Currently our AdwToolbarViews use the `raised` style, as we
have not ported to the new sidebar widget yet.
2023-08-25 08:00:43 +00:00
Marco Melorio
d62378058f ua: Port to AdwSwitchRow
This was easy since it was already using CcListRow which is already a
switch wrapper.
2023-06-30 09:06:56 +00:00
Felipe Borges
15145bd20e universal-access: Make Hearing page string translatable
Fixes #2457
2023-04-25 07:00:06 +00:00
Mohammed Sadiq
ee78ec9ef1 a11y: Add cc-ua-hearing-page
Implement the new design[0] for Hearing panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 19:16:50 +05:30