This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71813 - I18N: LocalisView, WatchesView, CallStackView, ClassesView, BreakPointsView, SessionsView, ThreadsView, SourcesView are hardcoded
Summary: I18N: LocalisView, WatchesView, CallStackView, ClassesView, BreakPointsView, ...
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 15:18 UTC by Masaki Katakai
Modified: 2006-10-23 16:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2006-01-24 15:18:46 UTC
These strings are displayed as

   XXXX - Change Visible Columns

on dialog title which can be invoked from debug window,
but these are hardcoded in Java Source.

Please use resource bundle so that translation engineer
can translate them.
Comment 1 Stanislav Aubrecht 2006-01-26 11:36:11 UTC
i didn't find any hard coded string. the 'xxx' comes from the model (set at
runtime) and 'change visible columns' is from
org/openide/explorer/view/Bundle.properties, key is LBL_ColumnDialogTitle

the only hard coded part is the dash '-'. is this the problem?
Comment 2 Ken Frank 2006-01-26 21:22:09 UTC
Are the words from the model at runtime as mentioned below - ie WatchesView, etc --
are they meant to be translated ? I dont know which nb module has the model
mentioned.

Since they are written as LocalsView rather than "Locals View", I didnt know if
they are some reserved word or just written that way.

But as filer mentions, if they are words that could be xlated, and they are not
coming from a bundle, they need to be.



ken.frank@sun.com
Comment 3 Stanislav Aubrecht 2006-01-27 14:15:52 UTC
those labels are defined in debugger core (probably class
org.netbeans.modules.debugger.ui.views.View)

reassigning to debugger team.
Comment 4 Martin Entlicher 2006-01-30 15:37:16 UTC
I thought that this is about "Change Visible Columns" - that's why I've moved it
to openide.

I'll check the strings that are provided by debugger...
Comment 5 Martin Entlicher 2006-01-30 17:17:56 UTC
It was unexpected for me, that Component.getName() is displayed somewhere.
I've changed the code to read it from the resource bundle for all debugger views:

/cvs/debuggercore/src/org/netbeans/modules/debugger/ui/views/View.java,v  <-- 
View.java
new revision: 1.3; previous revision: 1.2

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/views/ClassesView.java,v
 <--  ClassesView.java
new revision: 1.9; previous revision: 1.8

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/views/SourcesView.java,v
 <--  SourcesView.java
new revision: 1.9; previous revision: 1.8
Comment 6 Pavel Rehak 2006-08-23 13:35:35 UTC
Verified.