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 106194 - I18N - Jsp editor has a tooltip not from pseudo localized bundle file
Summary: I18N - Jsp editor has a tooltip not from pseudo localized bundle file
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-06-09 12:30 UTC by kaa
Modified: 2007-07-10 19:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (117.76 KB, image/jpeg)
2007-06-09 12:32 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-06-09 12:30:28 UTC
1. Create VW App
2. Open Page1.jsp in the editor

There is a tooltip not from pseudo localized bundle file. (see attached image)
I'm running in the Japan locale, using a pseudo localized Netbeans.
The message does not come from the pseudo localized jar file.
Comment 1 kaa 2007-06-09 12:32:20 UTC
Created attachment 43476 [details]
image
Comment 2 Marek Fukala 2007-06-19 12:11:45 UTC
This is a problem in Schlieman's nbs file for html. Currently these messages are hardcoded there. Hanzi, can you please
advice me how to fix that most effectively? I saw a BUNDLE property in javascript.nbs but do not know how to refer to
the keys and if it works also for these messages. Thanks!
Comment 3 Marek Fukala 2007-07-02 14:51:44 UTC
It seems that currently Schlieman doesn't support localization of error marks;

MARK:unpairedStartTag: {
    type:"Warning";
    message:"Unfinished tag.";
}

I tried to use BUNDLE in the nbs and use a key in the message value, but it seems it doesn't resolve it. Adding Dan
Prusa to CC since you may implement this.
Comment 4 Daniel Prusa 2007-07-02 15:05:39 UTC
Localization of messages fixed. It should work as expected now.

/cvs/languages/engine/src/org/netbeans/modules/languages/features/AnnotationManager.java
new revision: 1.8; previous revision: 1.7
Comment 5 Marek Fukala 2007-07-02 16:27:48 UTC
fixed, thanks Dane for the prompt fix!

/cvs/html/editor/src/org/netbeans/modules/html/editor/resources/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in HTML.nbs;
/cvs/html/editor/src/org/netbeans/modules/html/editor/resources/HTML.nbs,v  <--  HTML.nbs
new revision: 1.7; previous revision: 1.6
done
Comment 6 kaa 2007-07-10 19:56:59 UTC
verified: 0706