Issue 67312 - extension manager: localize error messages
Summary: extension manager: localize error messages
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 680m173
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 10:04 UTC by joachim.lingner
Modified: 2013-02-07 21:50 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joachim.lingner 2006-07-13 10:04:51 UTC
There are some error messages which should be localized:

For example: 
a) $FILE contains data which cannot be parsed.
   b) $FILE does not contain the root element <description>.
   c) $FILE contains a root element with an unsupported namespace.
   d) Cannot find a localized license text or default license text. 
   e) [When a licence-text file is missing] Adding Package(s): $FILE does not exist.
The last error should not containg Adding Packages. All messages should also
refer to the name of the extension and maybe not show the path into the package
cache direcory.

See code  ExtensionDescription::ExtensionDescription()
(desktop/source/deployment/registry/package/dp_description.cxx
and checkLicense (desktop/source/deployment/registry/package/dp_package.cxx
Comment 1 joachim.lingner 2006-07-13 10:06:34 UTC
.
Comment 2 joachim.lingner 2006-07-13 10:07:30 UTC
.
Comment 3 joachim.lingner 2006-08-30 07:47:11 UTC
While I doubt the necessity of having localized message boxes in theses cases
there is one that may be importent. The message box comes up when the namespace
of the description.xml was not recognized. This could mean that the extension
uses newer features which is not recognized by an old office. This should be
clearly stated in the the message box.
Comment 4 pavel 2007-08-25 07:53:13 UTC
I have just received

"Cannot find a localized license text or default license text."

To reproduce:

- install to-be-m3 in cs language
- try to install Sun Report Builder.

That's all.

Please re-consider target.
Comment 5 Martin Hollmichel 2007-12-07 13:00:22 UTC
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Comment 6 joachim.lingner 2009-07-22 11:56:30 UTC
This type of error is actually not relevant to  users - they did not cause it 
nor can they fix it. It occurs because the extension contains a bug. I am
against localizing every possible error message.
However, a useful error message, in case the name space of the description.xml
is not recognized, could be useful.