|
From: Christopher W. <caw...@us...> - 2005-09-09 23:24:45
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2582/src/org/rubypeople/rdt/internal/ui/preferences Modified Files: PreferencesMessages.properties RdocRiPreferencePage.java Log Message: externalize and fix spelling of Ri/RDoc preference page labels Index: RdocRiPreferencePage.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/RdocRiPreferencePage.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RdocRiPreferencePage.java 17 Aug 2005 17:39:04 -0000 1.2 --- RdocRiPreferencePage.java 9 Sep 2005 23:24:38 -0000 1.3 *************** *** 29,33 **** super(GRID); setPreferenceStore(RubyPlugin.getDefault().getPreferenceStore()); ! setDescription("Settings for Rdoc and Ri."); } --- 29,33 ---- super(GRID); setPreferenceStore(RubyPlugin.getDefault().getPreferenceStore()); ! setDescription(PreferencesMessages.getString("RiPreferencePage.description.label")); //$NON-NLS-1$ } *************** *** 40,65 **** public void createFieldEditors() { addField( new FileFieldEditor( PreferenceConstants.RDOC_PATH, ! "&Rdoc directoy path:", getFieldEditorParent() ) ); addField( new FileFieldEditor( PreferenceConstants.RI_PATH, ! "R&i directoy path:", getFieldEditorParent() ) ); ! // ! // addField(new DirectoryFieldEditor(PreferenceConstants.P_PATH, ! // "&Directory preference:", getFieldEditorParent())); ! // addField( ! // new BooleanFieldEditor( ! // PreferenceConstants.P_BOOLEAN, ! // "&An example of a boolean preference", ! // getFieldEditorParent())); ! // ! // addField(new RadioGroupFieldEditor( ! // PreferenceConstants.P_CHOICE, ! // "An example of a multiple-choice preference", ! // 1, ! // new String[][] { { "&Choice 1", "choice1" }, { ! // "C&hoice 2", "choice2" } ! // }, getFieldEditorParent())); ! // addField( ! // new StringFieldEditor(PreferenceConstants.P_STRING, "A &text preference:", getFieldEditorParent())); } --- 40,47 ---- public void createFieldEditors() { addField( new FileFieldEditor( PreferenceConstants.RDOC_PATH, ! PreferencesMessages.getString("RiPreferencePage.rdocpath.label"), getFieldEditorParent() ) ); //$NON-NLS-1$ addField( new FileFieldEditor( PreferenceConstants.RI_PATH, ! PreferencesMessages.getString("RiPreferencePage.ripath.label"), getFieldEditorParent() ) ); //$NON-NLS-1$ } *************** *** 67,72 **** * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) */ ! public void init(IWorkbench workbench) { ! } } \ No newline at end of file --- 49,53 ---- * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) */ ! public void init(IWorkbench workbench) {} } \ No newline at end of file Index: PreferencesMessages.properties =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/preferences/PreferencesMessages.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PreferencesMessages.properties 2 Mar 2005 00:56:49 -0000 1.2 --- PreferencesMessages.properties 9 Sep 2005 23:24:38 -0000 1.3 *************** *** 325,328 **** --- 325,332 ---- PropertyAndPreferencePage.useprojectsettings.label=Enable pr&oject specific settings + RiPreferencePage.description.label=Settings for RDoc and Ri + RiPreferencePage.ripath.label=R&i directory path: + RiPreferencePage.rdocpath.label=&RDoc directory path: + JavaBuildPreferencePage.title=Builder JavaBuildPreferencePage.description=Options for the Java compiler:\nNote that a full rebuild is required for changes to take effect. |