To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=50936


User pjanik changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|ft                        |ihi
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Sat Jun 18 15:07:03 -0700 
2005 -------
After some investigation, I think I found the real source of this problem. It is
not missing en-US or de as I said before.

The best demonstration is:

[EMAIL PROTECTED]:~/.ooo/ooo_SRC680_m110_src/officecfg> grep "node oor:nam"
registry/data/org/openoffice/Office/UI/GenericCommands.xcu|tr '[A-Z]'
'[a-z]'|sed 's#   ##g'|sort|uniq -c|sort -rn|grep -v "^      1 "
      2 <node oor:name=".uno:spinbutton" oor:op="replace">
      2 <node oor:name=".uno:radiobutton" oor:op="replace">
      2 <node oor:name=".uno:groupbox" oor:op="replace">
      2 <node oor:name=".uno:combobox" oor:op="replace">
      2 <node oor:name=".uno:checkbox" oor:op="replace">

To describe the attached image:

[EMAIL PROTECTED]:~/.ooo/ooo_SRC680_m110_src/officecfg> grep -B3 ">Check Box<"
registry/data/org/openoffice/Office/UI/GenericCommands.xcu
                <node oor:name=".uno:Checkbox" oor:op="replace">
                        <prop oor:name="Label" oor:type="xs:string">
                                <value xml:lang="de">Markierfeld</value>
                                <value xml:lang="en-US">Check Box</value>
--
                <node oor:name=".uno:CheckBox" oor:op="replace">
                        <prop oor:name="Label" oor:type="xs:string">
                                <value xml:lang="de">Markierfeld</value>
                                <value xml:lang="en-US">Check Box</value>

So there are two entries in the file
officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu that
contain .uno:CheckBox or .uno:Checkbox. The only difference is capital/small
letter 'b'.

In the GSI files, both strings are translated (en-US and cs):

[EMAIL PROTECTED]:~/.ooo/ooo_SRC680_m110_src/officecfg> bzcat
~/.ooo/build/Files/2.0/GSI_cs.sdf.bz2 | grep -i
..GenericCommands.UserInterface.Commands..uno:CheckBox|wc -l
4

But in the generated .xcu file in the installed SRC680_m110:

[EMAIL PROTECTED]:~/SRC680_m110> grep -i uno:Checkbox
./share/registry/res/cs/org/openoffice/Office/UI/GenericCommands.xcu
                <node oor:name=".uno:Checkbox">
[EMAIL PROTECTED]:~/SRC680_m110> 

So only the one with small letter is there.

Joerg, Ivo: What is the problem?


------- Additional comments from [EMAIL PROTECTED] Mon Jun 20 01:02:00 -0700 
2005 -------
We discussed more with Joergb on IRC. Important pieces:

<JoergB> paveljanik: Otherwise, please check the intermediate
GenericCommands.xcu in $(INPATH)/misc/merge
<JoergB> officecfg/$(INPATH)/misc/merge that is

<paveljanik> JoergB: yes, really both are there.
<paveljanik> in GSI.
<paveljanik>
[EMAIL 
PROTECTED]:~/BuildDir/ooo_SRC680_m111_src/officecfg/unxlngi6.pro/misc/merge> 
grep -i 
<paveljanik> uno:Checkbox ./org/openoffice/Office/UI/GenericCommands.xcu
<paveljanik>                         <node oor:name=".uno:Checkbox"
oor:op="replace">
<paveljanik>                         <node oor:name=".uno:CheckBox"
oor:op="replace">
<paveljanik>
[EMAIL 
PROTECTED]:~/BuildDir/ooo_SRC680_m111_src/officecfg/unxlngi6.pro/misc/merge> 

<JoergB> paveljanik: and for the misc/merge file: it should have
         all the translations from the localize.sdf under the
         nodes you showed

<paveljanik> JoergB: .uno:Checkbox entry HAS translations, .uno:CheckBox 
doesn't...
<paveljanik> the same applies to Radiobutton. .uno:Radiobutton
             HAS translations, .uno:RadioButton doesn't have
             them.

<JoergB> paveljanik: If the translations are both there in localize.sdf, then
the bug is in cfgex


So it looks like with have two issues here:

1. cfgex issue

2. why we have both .uno:Checkbox and .uno:CheckBox at all?


---------------------------------------------------------------------
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