office-gobmx/svtools
Caolán McNamara 3cca2c6053 restore %PRODUCTNAME to accessible descriptions that need them
The original problem was that %PRODUCTNAME wasn't replaced for
accessibility descriptions (which are reused for extended tips) under
gtk.

Universally querying all a11y descs on load to potentially replace
%PRODUCTNAME in a11y descs at runtime led to tdf146971 which was a huge
startup slowdown.

The half way 7.3 fix was to leave a11y descs alone, but do the
replacement when querying for the extended tip case. So the extended
tooltips were ok, but screen readers would still say a raw
"%PRODUCTNAME" text, hence the rewording effort to remove %PRODUCTNAME
from the a11y descs entirely for 7.4.

But there is now a few cases where some options paths exists in the a11y
descs which is not exactly correct wrt to the text shown in the options
dialog.

Reworking the options dialog to not have %PRODUCTNAME there at all and
updating everything to fit that sort of change would not be popular. So
move the cases where a11y descs really should have %PRODUCTNAME in them
out of the .ui files and into .hrc files and use specific
set_accessibility_description calls for them via ResID which will do
the %PRODUCTNAME replacement automatically.

Hopefully the a11y runtime cost for just this handful of cases is
negligible in the overall scheme of things.

Change-Id: Ieb17d26fd581cd5804a52b371b3bb5ea43023aa3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135432
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 18:31:16 +02:00
..
inc
langsupport
qa
source restore %PRODUCTNAME to accessible descriptions that need them 2022-06-05 18:31:16 +02:00
uiconfig/ui restore %PRODUCTNAME to accessible descriptions that need them 2022-06-05 18:31:16 +02:00
util
AllLangMoTarget_svt.mk
CppunitTest_svtools_dialogs_test.mk
CppunitTest_svtools_graphic.mk
CppunitTest_svtools_html.mk
Executable_langsupport.mk
IwyuFilter_svtools.yaml
JunitTest_svtools_unoapi.mk
Library_svt.mk
Makefile
Module_svtools.mk
README.md
UIConfig_svt.mk

Tools on the Top of VCL

Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.