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 118673

Summary: I18N: #NOI18N is not needed for AntCustomizer.lAntVersion.text
Product: projects Reporter: Masaki Katakai <masaki>
Component: AntAssignee: Jesse Glick <jglick>
Status: RESOLVED INVALID    
Severity: blocker CC: jf4jbug
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2007-10-12 09:44:47 UTC
ant/src/org/apache/tools/ant/module/Bundle.properties

#NOI18N
AntCustomizer.lAntVersion.text=<Ant version here...>

I don't think "#NOI18N" is needed for AntCustomizer.lAntVersion.text.

When I checked AntCustomizer.java, the string will be used for the
initial label on UI. It will be updated later when the correct version
is obtained. So I think there is no reason to be English.

What do you think?
Comment 1 Jesse Glick 2007-10-12 18:17:06 UTC
It is not displayed in the live GUI, only during design time - that is why it does not need translation.
Comment 2 Masaki Katakai 2007-10-15 02:09:59 UTC
Thank you for evaluation.

But hmm, it means English or localized does not matter in this case, right?
It would be painful for translators to find NOI18N and revert this short string to English than just localizing it.
Comment 3 Jesse Glick 2007-10-15 22:59:12 UTC
I don't care if it gets localized or not. In general the #NOI18N marker means a key should not be localized. In this
case it doesn't make any difference.