diff options
author | Ivan Stefanenko <ivan.stefanenko@collabora.com> | 2020-11-07 22:14:00 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-09 07:02:53 +0100 |
commit | 59301a4ab8ffc1bb8d5516825627a9a371c640f0 (patch) | |
tree | a5291fdafe22ac7f30926874b9391f833ed76b90 /sw/inc | |
parent | aec1c7eafd41aeb9740cb9088fb080bc1f2565ad (diff) |
tdf#138052 Added a check for fontworks.
Fontworks should be warned about coz they reprezent a stylized text,
which is hard to recognize for digital readers.
Check is added to checkObject() function as fontwork is an object.
Change-Id: I2ed5a5784dfe96bbf05ec7cf4c09dc97e1fb29d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105436
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/AccessibilityCheckStrings.hrc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/AccessibilityCheckStrings.hrc b/sw/inc/AccessibilityCheckStrings.hrc index 7470ab4b9248..25e6c5ec9253 100644 --- a/sw/inc/AccessibilityCheckStrings.hrc +++ b/sw/inc/AccessibilityCheckStrings.hrc @@ -27,6 +27,7 @@ #define STR_FLOATING_TEXT NC_("STR_FLOATING_TEXT", "Avoid floating text.") #define STR_HEADING_IN_TABLE NC_("STR_HEADING_IN_TABLE", "Tables must not contain headings.") #define STR_HEADING_ORDER NC_("STR_HEADING_ORDER", "Keep headings' levels ordered. Heading level %LEVEL_CURRENT% must not go after %LEVEL_PREV%.") +#define STR_FONTWORKS NC_("STR_FONTWORKS", "Avoid fontworks in your documents. Be sure you're using it in order to show a sample or another meaningless text.") #define STR_DOCUMENT_DEFAULT_LANGUAGE NC_("STR_DOCUMENT_DEFAULT_LANGUAGE", "Document default language is not set") #define STR_STYLE_NO_LANGUAGE NC_("STR_STYLE_NO_LANGUAGE", "Style '%STYLE_NAME%' has no language set") |