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 33629 - I18N - Tomcat instance node's properties are not localizable.
Summary: I18N - Tomcat instance node's properties are not localizable.
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: -S1S-
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2003-05-15 04:00 UTC by yasuhiro
Modified: 2006-01-04 15:49 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 yasuhiro 2003-05-15 04:00:17 UTC
- To Reproduce
1. Open Runtime tab in Explorer.
2. Runtime > Server Registry > Installed Server
     > Tomcat > Internal Tomcat > localhost:8081
3. Right-click localhost:8081 node,
   and select Properties in context menu.
   
- Problem
Tomcat instance node has 10 property items.

In Properties tab
    - Default Connector
    - Engine:defaultHost
    - Engine:name
    - Http Connector
    - Service:name
In Attributes tab
    - appBase
    - className
    - debug
    - name
    - unpackWARs

But every item name except Default Connector is
not
localizable. They seem to come from the following:

tomcatint/tomcat40/src/org/netbeans/modules
    /tomcat/tomcat40/nodes/HostNode.java
Comment 1 Milan Kuchtiak 2003-05-15 08:12:35 UTC
The properties from the "Attributes" tab don't need to be localize
because they represent the attributes names from server.xml file.

The properties from "Properties" - it is the same except of the colon
character.

They should be localize in the following way :
PROP_HostPropName={0}:{1}

where parameters should be substituted by the pairs :
"Engine","defaultHost"
"Engine","name"
"Service","name"

The HttpConnector property name is derived from the
Connector:className attribute, where the package name is cut off.
Comment 2 Petr Jiricka 2003-12-05 10:18:41 UTC
The Tomcat 5 plugin looks completely different, so this issue is no
longer relevant. Relolving as WONTFIX.