Bug 58865 - Hardcoded product name in UI string
Summary: Hardcoded product name in UI string
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:4.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-29 15:50 UTC by Andrea Pescetti
Modified: 2013-01-11 20:51 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 Andrea Pescetti 2012-12-29 15:50:47 UTC
String 1I_3 (description: STR_QUERY_FORMULA_RECALC_ONLOAD_ODS ) in the English version has a hard-coded Product Name:

This document was last saved by application other than LibreOffice.  Some formula cells may produce different results when recalculated.

Assuming that the relevant code compares with [ProductName] and not with a literal "LibreOffice", [ProductName] should be used here too. On the other hand, if the code compares with a literal "LibreOffice" it should probably be fixed (at least, the behaviour should remain the same if I set [ProductName] to something else).

[Found during Italian translations for version 4.0]
Comment 1 Andrea Pescetti 2012-12-29 16:36:06 UTC
The same issue applies to string i,jF (description: FT_ODF_RECALC ) which is relevant to the same function:

ODF Spreadsheet (not saved by LibreOffice)
Comment 2 Caolán McNamara 2013-01-11 11:45:04 UTC
confirmed
Comment 3 Not Assigned 2013-01-11 20:16:37 UTC
Caolan McNamara committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=e610e5f28e4b2b774a897ee7cf6d8098ade30a7f

Resolves: fdo#58865 hard-coded LibreOffice strings



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.