Bug 151061 - Conflicting information in "privateuserpage" strings
Summary: Conflicting information in "privateuserpage" strings
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Rafael Lima
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 14:45 UTC by Tuomas Hietala
Modified: 2022-11-07 12:40 UTC (History)
1 user (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 Tuomas Hietala 2022-09-19 14:45:23 UTC
Description:
The strings labeled "privatuserpage" (i.e. personal contact information for business cards) in Writer have several cases of conflicting information. Some have to do with accessibility ("atkobject").

Here the context string mentions "phone" while the string itself says "Fa_x:"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=653a80d2f8eea5f9

Here the context string mentions "fax" while the string itself says "Homepage/email:"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=79b04951e8d276ae

Here the context string mentions "fax" while the string itself says "Home telephone number"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=9ab25d69f8a5f3d9

Here the context string mentions "url" while the string itself says "Fax number"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=c825b36b31b9a7c7

Here the context string mentions "firstname" while the string itself says "Last name"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=ed545e2dc876f498

And here it's the other way round...
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=b33936547c5e931b

Here the context string mentions "title" while the string itself says "Phone/mobile:"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=408ca56bb11f73aa

And the other way round...
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=f2e0de34e6418986

Here the context string mentions "mobile" while the string itself says "Position"
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/en/?checksum=65f241c44d8e3358


Steps to Reproduce:
1. See the Weblate links above

Actual Results:
There is conflicting information in the user-visible strings compared to context strings.

Expected Results:
Only whatever information is correct remains.


Reproducible: Always


User Profile Reset: No



Additional Info:
n/a
Comment 1 Rafael Lima 2022-09-20 12:05:27 UTC
This is similar to bug 150939.

The dialog mentioned in this bug can be accessed via File - New - Business Cards under the Private tab.

The affected file in the source code is:

https://opengrok.libreoffice.org/xref/core/sw/uiconfig/swriter/ui/privateuserpage.ui

I'll take a look at it.
Comment 2 Rafael Lima 2022-09-20 12:31:35 UTC
Proposed patch available for review at:

https://gerrit.libreoffice.org/c/core/+/140168
Comment 3 Commit Notification 2022-11-07 12:39:58 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/548bb942ca1aded0e5fd95230556a67639cad7d7

tdf#151061 Fix string inconsistencies in privateuserpage.ui

It will be available in 7.5.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.