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 202893

Summary: i18n problem in TemplatesPanelGUI
Product: projects Reporter: Alexander Simon <alexvsimon>
Component: Generic Projects UIAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: I18N
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 45517    

Description Alexander Simon 2011-09-30 14:11:50 UTC
Class org.netbeans.modules.project.ui.TemplatesPanelGUI, lines 633,634:
---------------------8<-----------------------------
    private static class TemplatesListView extends ListView implements ActionListener {
        public TemplatesListView () {
            super ();
            // bugfix #44717, Enter key must work regardless if TemplatesPanels is focused
            list.unregisterKeyboardAction (KeyStroke.getKeyStroke (KeyEvent.VK_ENTER, 0, false));
            getAccessibleContext ().setAccessibleName ("OUTER LIST");
            getAccessibleContext ().setAccessibleDescription ("DESC OUTER LIST");
            setDefaultProcessor( this );
            ToolTipManager.sharedInstance ().unregisterComponent (list);
        }
---------------------8<-----------------------------
I wonder how this i18n problem can exist 7 years?
Probably something is wrong in development process and nbbuild/misc/i18ncheck.pl is not executed on regular base.
Comment 1 Jesse Glick 2011-10-19 19:37:41 UTC
I do not know if any mechanical process runs i18ncheck.pl, but I do not. Needs to be replaced by something that understands Java parse trees and types so that explicit NOI18N comments are unnecessary in most cases.

BTW you do not need to add yourself to CC on issues you reported.
Comment 2 Jesse Glick 2011-10-19 19:41:12 UTC
core-main #582aae56a3e3
Comment 3 Alexander Simon 2011-10-19 20:15:51 UTC
Thanks.
BTW cnd-main hudson runs i18ncheck.pl every build for cnd.* & dlihgt.* sources. So cnd part does not have i18n issues.
Comment 4 Quality Engineering 2011-10-20 14:21:36 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/582aae56a3e3
User: Jesse Glick <jglick@netbeans.org>
Log: #202893: i18n problem in TemplatesPanelGUI