Bug 160024 - Tautological string in need of improvement
Summary: Tautological string in need of improvement
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All All
: low trivial
Assignee: Balázs Varga (allotropia)
URL:
Whiteboard: target:26.2.0 target:25.8.0.0.beta2
Keywords:
Depends on:
Blocks: Accessibility-Check
  Show dependency treegraph
 
Reported: 2024-03-04 11:45 UTC by Adolfo Jayme Barrientos
Modified: 2025-06-18 08:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adolfo Jayme Barrientos 2024-03-04 11:45:48 UTC
https://opengrok.libreoffice.org/xref/core/sw/inc/AccessibilityCheckStrings.hrc?r=0156cba6#30

"Avoid spaces to create space."

What it really means is that you shouldn't repeatedly hit the spacebar to create whitespace.

Rewrite it.
Comment 1 Stéphane Guillou (stragu) 2024-03-21 06:25:17 UTC
Agreed.

Balázs, what would be the alternative to using duplicated spaces? Using tabs instead?
I feel like I need to understand the use case better before suggesting a replacement string...
Comment 2 Adolfo Jayme Barrientos 2024-03-22 19:16:51 UTC
I am not Balázs, but I am almost sure it means using paragraph, column and page breaks instead of repeatedly pressing Space and Enter.
Comment 3 Balázs Varga (allotropia) 2024-03-22 21:26:43 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Agreed.
> 
> Balázs, what would be the alternative to using duplicated spaces? Using tabs
> instead?
> I feel like I need to understand the use case better before suggesting a
> replacement string...

Ohh I just saw the comment. Yes, it means what Adolfo wrote above, it means to avoid repeatedly pressing Space and Enter to create more spaces between paragraps or align texts with spaces instead of tabs or align formats. But I think we should use a better sentence for this?

Maybe something like: Avoid using of spaces to format text alignment.
Comment 4 Stéphane Guillou (stragu) 2024-03-25 11:35:49 UTC
Thank you both.
What about: "Avoid using repeated spaces to change text alignment."

But users might end up with duplicated spaces for many different reasons (including the habit of typing two spaces after a full stop, or a plain error). They aren't necessarily trying to align text a certain way. So we shouldn't assume the intent, and could stick to something plain a short:

"Avoid repeated spaces."
Comment 5 Balázs Varga (allotropia) 2024-03-26 11:45:58 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)

> But users might end up with duplicated spaces for many different reasons
> (including the habit of typing two spaces after a full stop, or a plain
> error). They aren't necessarily trying to align text a certain way. So we
> shouldn't assume the intent, and could stick to something plain a short:
> 
> "Avoid repeated spaces."

Yes, both is good, but the second option ("Avoid repeated spaces.") is better, since includes all the reasons why users would use it.
Comment 6 Commit Notification 2025-06-16 14:10:51 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/84a992e45b70d2c0c2f9c0c2d79605918ec3727e

tdf#160024 - a11y UI - better tautological string for a11y warning

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2025-06-18 08:01:59 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/2d5f12ee874b3bc37531ba6b7baffe05afa5d4e7

tdf#160024 - a11y UI - better tautological string for a11y warning

It will be available in 25.8.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.