本来是想汉化eclipse那个新建java类,本来想通过swt的方式获取子控件修改名字。
结果跟着源代码就看到了它的属性文件。所以做法就是直接更改里面的英文。再扔到jar包里。
复制一点着文件的内容:
############################################################################### # Copyright (c) 2000, 2011 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # IBM Corporation - initial API and implementation ############################################################################### # ------- AbstractOpenWizardAction ------- AbstractOpenWizardAction_noproject_title=New Element AbstractOpenWizardAction_noproject_message=In order to create this element a project needs to be created first.\n\nDo you want to open the 'New Project' wizard now? AbstractOpenWizardAction_createerror_title=Open Wizard AbstractOpenWizardAction_createerror_message=The wizard could not be opened. See log for details. # ------- NewElementWizard ------- NewElementWizard_op_error_title=New NewElementWizard_op_error_message=Creation of element failed. NewElementWizard_typecomment_deprecated_title=Type Creation NewElementWizard_typecomment_deprecated_message=You can configure the default layout of newly created files and types on the 'code generation' preference page. This was previously implemented on the template page in the templates 'filecomment' and 'typecomment'. # ------- NewContainerWizardPage ------- NewContainerWi
原文地址:http://blog.csdn.net/wm198966/article/details/38071227