Issue 112683 - Listbox in dialogs will not be localized anymore
Summary: Listbox in dialogs will not be localized anymore
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: b.osi.ooo
QA Contact: Unknown
URL:
Keywords: regression
Depends on:
Blocks: 111112
  Show dependency tree
 
Reported: 2010-06-25 11:25 UTC by ocke.janssen
Modified: 2013-02-24 21:01 UTC (History)
1 user (show)

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


Attachments
Dialog (827 bytes, text/xml)
2010-07-08 06:38 UTC, ocke.janssen
no flags Details
The properties file (133 bytes, text/plain)
2010-07-08 06:39 UTC, ocke.janssen
no flags Details
document showing the effect (11.51 KB, application/vnd.oasis.opendocument.text)
2010-07-14 10:05 UTC, b.osi.ooo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ocke.janssen 2010-06-25 11:26:00 UTC
The strings in the menulist will not be translated anymore. 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN"
"dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog"
xmlns:script="http://openoffice.org/2000/script" dlg:id="test" dlg:left="119"
dlg:top="78" dlg:width="236" dlg:height="94" dlg:help-url="test/test"
dlg:help-text="&amp;test.HelpText" dlg:closeable="true" dlg:moveable="true"
dlg:title="&amp;test.Title">
  <dlg:bulletinboard>
    <dlg:menulist dlg:id="lb"        dlg:tab-index="0" dlg:left="82"  
dlg:top="51"  dlg:width="62"  dlg:height="14"  dlg:spin="true">
      <dlg:menupopup>
        <dlg:menuitem dlg:value="&amp;test.value_1"/>
        <dlg:menuitem dlg:value="&amp;test.value_2"/>
      </dlg:menupopup>
    </dlg:menulist>
    <dlg:button dlg:id="OK"                 dlg:tab-index="1" dlg:left="126"  
dlg:top="74"  dlg:width="50" dlg:height="14" dlg:help-url="test/OK"
dlg:value="&amp;test.OK" dlg:button-type="ok"/>
  </dlg:bulletinboard>
</dlg:window>
Comment 1 ocke.janssen 2010-06-25 11:27:06 UTC
add keyword.
Comment 2 ocke.janssen 2010-06-25 11:33:29 UTC
Fixed in cws unoawt2
Comment 3 Frank Schönheit 2010-07-06 11:59:48 UTC
fs->tbo: please verify in CWS unoawt2
Comment 4 ocke.janssen 2010-07-08 06:38:56 UTC
Created attachment 70449 [details]
Dialog
Comment 5 ocke.janssen 2010-07-08 06:39:30 UTC
Created attachment 70450 [details]
The properties file
Comment 6 b.osi.ooo 2010-07-14 10:03:51 UTC
This issue is missing a qualified reproduceable issue description on how to
verify/reproduce it. So after some digging around and trying to get the
developer to speak in an understandable language, I would have expected the
following from the beginning in this issue, that would have speeded up the
process of verifying this issue for about a day:
How to reproduce;
- open writer
- From Menu select: Tools->Macros->Organize Macros->OpenOffice.org Basic
- select current document from list
- click button: new
- open context menu on bottom of window/beside the tab 'Modul1': select: insert
dialog
- insert a listbox on dialog
- click 'add language'
- add a few languages
- open properties of listbox and add some list entries
- change language in language toolbar and add entries for each language
-> Error: instead of the list entries something like &10.ListBox1.StringItemList
is shown on the listbox control. 
-> Expected: The entered items should be shown, in regards to the selected
language from the language toolbar

See also:
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Basic/Dialog_Localization


attached is document that contains a basic dialog; go to basic editor after
opening the document and select the dialog tab page to see a listbox example.
Comment 7 b.osi.ooo 2010-07-14 10:05:42 UTC
Created attachment 70610 [details]
document showing the effect
Comment 8 b.osi.ooo 2010-07-14 10:06:57 UTC
verified in cws
Comment 9 b.osi.ooo 2010-09-07 12:50:13 UTC
.