To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86437
                 Issue #|86437
                 Summary|rule for determining the default title of a element in
                        | a localized addons.xcu doesnt't follow the documentat
                        |ion
               Component|framework
                 Version|OOo 2.3.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|tm
             Reported by|clutz





------- Additional comments from [EMAIL PROTECTED] Mon Feb 25 12:14:18 +0000 
2008 -------
The developers-guide defines in chapter 4.7.3, how the title of a element in the
addons.xcu should be determined if there are language specific translations
provided, but there is no translation for the current language:

<snip>
Title: Contains the title of a top-level menu item.  This property supports
localization: The default string, which is used when OpenOffice.org cannot find
a string definition for its current language, uses the value element without an
attribute. You define a string for a certain language with the xml:lang
attribute. Assign the language/locale to the attribute, for example  <value
xml:lang="en-US">string</value>
</snip>

This rule dosn't seem to be applied for my addons.xcu-file. Here is a snippet of
my addons.xcu as an example:

        <node oor:name="m1" oor:op="replace">
          <prop oor:name="URL" oor:type="xs:string">
            <value>wollmux:TextbausteinEinfuegen</value>
          </prop>
          <prop oor:name="Title" oor:type="xs:string">
            <value>Textbaustein einfügen</value>
            <value xml:lang="nl">Textbouwsteen toevoegen</value>
          </prop>
          <prop oor:name="ImageIdentifier" oor:type="xs:string">
            <value/>
          </prop>
          <prop oor:name="Target" oor:type="xs:string">
            <value>_self</value>
          </prop>
          <prop oor:name="Context" oor:type="xs:string">
            <value>com.sun.star.text.TextDocument</value>
          </prop>
        </node>

According to that rule, you can see that the default title for this element
should be "Textbaustein einfügen", so if I use the language "de" (which is not
explicitly in the list and not "nl"), I would expect to get "Textbaustein
einfügen" as title. But this is not what I get. I always get the nl-Version
"Textbouwsteen toevoegen". It seems that the last <value> always wins.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to