Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 44600 invoked from network); 25 Nov 2008 17:00:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 17:00:12 -0000 Received: (qmail 28135 invoked by uid 500); 25 Nov 2008 17:00:23 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 27963 invoked by uid 500); 25 Nov 2008 17:00:22 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 27954 invoked by uid 99); 25 Nov 2008 17:00:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 09:00:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 16:59:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1BC3D23888A4; Tue, 25 Nov 2008 08:59:21 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r720539 [2/2] - in /directory/studio/trunk/schemaeditor/src/main: java/org/apache/directory/studio/schemaeditor/view/preferences/ java/org/apache/directory/studio/schemaeditor/view/search/ java/org/apache/directory/studio/schemaeditor/view/... Date: Tue, 25 Nov 2008 16:59:20 -0000 To: commits@directory.apache.org From: felixk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081125165921.1BC3D23888A4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java?rev=720539&r1=720538&r2=720539&view=diff ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java (original) +++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchView.java Tue Nov 25 08:59:19 2008 @@ -109,7 +109,7 @@ public void createPartControl( Composite parent ) { // Help Context for Dynamic Help - PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, PluginConstants.PLUGIN_ID + "." + "search_view" ); + PlatformUI.getWorkbench().getHelpSystem().setHelp( parent, PluginConstants.PLUGIN_ID + "." + "search_view" ); //$NON-NLS-1$ //$NON-NLS-2$ this.parent = parent; GridLayout gridLayout = new GridLayout(); @@ -178,7 +178,7 @@ // Search Label Label searchFieldLabel = new Label( searchFieldInnerComposite, SWT.NONE ); - searchFieldLabel.setText( "Search:" ); + searchFieldLabel.setText( Messages.getString("SearchView.SearchColon") ); //$NON-NLS-1$ searchFieldLabel.setLayoutData( new GridData( SWT.NONE, SWT.CENTER, false, false ) ); // Search Text Field @@ -214,7 +214,7 @@ final ToolBar searchToolBar = new ToolBar( searchFieldInnerComposite, SWT.HORIZONTAL | SWT.FLAT ); // Creating the Search In ToolItem final ToolItem searchInToolItem = new ToolItem( searchToolBar, SWT.DROP_DOWN ); - searchInToolItem.setText( "Search In" ); + searchInToolItem.setText( Messages.getString("SearchView.SearchIn") ); //$NON-NLS-1$ // Adding the action to display the Menu when the item is clicked searchInToolItem.addSelectionListener( new SelectionAdapter() { @@ -233,7 +233,7 @@ new ToolItem( searchToolBar, SWT.SEPARATOR ); final ToolItem scopeToolItem = new ToolItem( searchToolBar, SWT.DROP_DOWN ); - scopeToolItem.setText( "Scope" ); + scopeToolItem.setText( Messages.getString("SearchView.Scope") ); //$NON-NLS-1$ // Adding the action to display the Menu when the item is clicked scopeToolItem.addSelectionListener( new SelectionAdapter() { @@ -254,7 +254,7 @@ searchButton = new Button( searchFieldInnerComposite, SWT.PUSH | SWT.DOWN ); searchButton.setEnabled( false ); searchButton.setImage( Activator.getDefault().getImage( PluginConstants.IMG_SEARCH ) ); - searchButton.setToolTipText( "Search" ); + searchButton.setToolTipText( Messages.getString("SearchView.Search") ); //$NON-NLS-1$ searchButton.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -286,7 +286,7 @@ // Filling the menu // Aliases final MenuItem aliasesMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - aliasesMenuItem.setText( "Aliases" ); + aliasesMenuItem.setText( Messages.getString("SearchView.Aliases") ); //$NON-NLS-1$ aliasesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -296,7 +296,7 @@ } ); // OID final MenuItem oidMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - oidMenuItem.setText( "OID" ); + oidMenuItem.setText( Messages.getString("SearchView.OID") ); //$NON-NLS-1$ oidMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -306,7 +306,7 @@ } ); // Description final MenuItem descriptionMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - descriptionMenuItem.setText( "Description" ); + descriptionMenuItem.setText( Messages.getString("SearchView.Description") ); //$NON-NLS-1$ descriptionMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -319,7 +319,7 @@ new MenuItem( searchInMenu, SWT.SEPARATOR ); // Superior final MenuItem superiorMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - superiorMenuItem.setText( "Superior" ); + superiorMenuItem.setText( Messages.getString("SearchView.Superior") ); //$NON-NLS-1$ superiorMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -329,7 +329,7 @@ } ); // Syntax final MenuItem syntaxMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - syntaxMenuItem.setText( "Syntax" ); + syntaxMenuItem.setText( Messages.getString("SearchView.Syntax") ); //$NON-NLS-1$ syntaxMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -339,7 +339,7 @@ } ); // Matching Rules final MenuItem matchingRulesMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - matchingRulesMenuItem.setText( "Matching Rules" ); + matchingRulesMenuItem.setText( Messages.getString("SearchView.MatchingRules") ); //$NON-NLS-1$ matchingRulesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -352,7 +352,7 @@ new MenuItem( searchInMenu, SWT.SEPARATOR ); // Superiors final MenuItem superiorsMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - superiorsMenuItem.setText( "Superiors" ); + superiorsMenuItem.setText( Messages.getString("SearchView.Superiors") ); //$NON-NLS-1$ superiorsMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -362,7 +362,7 @@ } ); // Mandatory Attributes final MenuItem mandatoryAttributesMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - mandatoryAttributesMenuItem.setText( "Mandatory Attributes" ); + mandatoryAttributesMenuItem.setText( Messages.getString("SearchView.MandatoryAttributes") ); //$NON-NLS-1$ mandatoryAttributesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -373,7 +373,7 @@ } ); // Optional Attributes final MenuItem optionalAttributesMenuItem = new MenuItem( searchInMenu, SWT.CHECK ); - optionalAttributesMenuItem.setText( "Optional Attributes" ); + optionalAttributesMenuItem.setText( Messages.getString("SearchView.OptionalAttributes") ); //$NON-NLS-1$ optionalAttributesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -442,7 +442,7 @@ // Filling the menu // Attribute Types And Object Classes final MenuItem attributeTypesAndObjectClassesMenuItem = new MenuItem( scopeMenu, SWT.RADIO ); - attributeTypesAndObjectClassesMenuItem.setText( "Attribute Types And Object Classes" ); + attributeTypesAndObjectClassesMenuItem.setText( Messages.getString("SearchView.TypesAndClasses") ); //$NON-NLS-1$ attributeTypesAndObjectClassesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -453,7 +453,7 @@ } ); // Attributes Type Only final MenuItem attributesTypesOnlyMenuItem = new MenuItem( scopeMenu, SWT.RADIO ); - attributesTypesOnlyMenuItem.setText( "Attribute Types Only" ); + attributesTypesOnlyMenuItem.setText( Messages.getString("SearchView.TypesOnly") ); //$NON-NLS-1$ attributesTypesOnlyMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -463,7 +463,7 @@ } ); // Object Classes Only final MenuItem objectClassesMenuItem = new MenuItem( scopeMenu, SWT.RADIO ); - objectClassesMenuItem.setText( "Object Classes Only" ); + objectClassesMenuItem.setText( Messages.getString("SearchView.ClassesOnly") ); //$NON-NLS-1$ objectClassesMenuItem.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) @@ -519,7 +519,7 @@ { public void keyPressed( KeyEvent e ) { - if ( ( e.keyCode == Action.findKeyCode( "RETURN" ) ) || ( e.keyCode == SWT.KEYPAD_CR ) ) // return key + if ( ( e.keyCode == Action.findKeyCode( "RETURN" ) ) || ( e.keyCode == SWT.KEYPAD_CR ) ) // return key //$NON-NLS-1$ { openEditor(); } @@ -574,8 +574,8 @@ } catch ( PartInitException exception ) { - PluginUtils.logError( "An error occured when opening the editor.", exception ); - ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the editor." ); + PluginUtils.logError( Messages.getString("SearchView.ErrorOpeningEditor"), exception ); //$NON-NLS-1$ + ViewUtils.displayErrorMessageBox( Messages.getString("SearchView.Error"), Messages.getString("SearchView.ErrorOpeningEditor") ); //$NON-NLS-1$ //$NON-NLS-2$ } } } @@ -683,8 +683,8 @@ if ( searchString != null ) { - String computedSearchString = searchString.replaceAll( "\\*", "\\\\S*" ); - computedSearchString = computedSearchString.replaceAll( "\\?", ".*" ); + String computedSearchString = searchString.replaceAll( "\\*", "\\\\S*" ); //$NON-NLS-1$ //$NON-NLS-2$ + computedSearchString = computedSearchString.replaceAll( "\\?", ".*" ); //$NON-NLS-1$ //$NON-NLS-2$ Pattern pattern = Pattern.compile( computedSearchString, Pattern.CASE_INSENSITIVE ); @@ -914,27 +914,27 @@ if ( searchString == null ) { - sb.append( "No search" ); + sb.append( Messages.getString("SearchView.NoSearch") ); //$NON-NLS-1$ } else { // Search String - sb.append( "'" + searchString + "'" ); - sb.append( " - " ); + sb.append( "'" + searchString + "'" ); //$NON-NLS-1$ //$NON-NLS-2$ + sb.append( " - " ); //$NON-NLS-1$ // Search results count sb.append( resultsCount ); - sb.append( " " ); + sb.append( " " ); //$NON-NLS-1$ if ( resultsCount > 1 ) { - sb.append( "matches" ); + sb.append( Messages.getString("SearchView.Matches") ); //$NON-NLS-1$ } else { - sb.append( "match" ); + sb.append( Messages.getString("SearchView.Match") ); //$NON-NLS-1$ } - sb.append( " in workspace" ); + sb.append( Messages.getString("SearchView.InWorkspace") ); //$NON-NLS-1$ } searchResultsLabel.setText( sb.toString() ); Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewLabelProvider.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewLabelProvider.java?rev=720539&r1=720538&r2=720539&view=diff ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewLabelProvider.java (original) +++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewLabelProvider.java Tue Nov 25 08:59:19 2008 @@ -39,8 +39,6 @@ */ public class SearchViewLabelProvider extends LabelProvider { - private static final String NONE = "(None)"; - /** The preferences store */ private IPreferenceStore store; @@ -86,7 +84,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( labelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_ALL_ALIASES ) @@ -98,7 +96,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( labelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_OID ) @@ -115,7 +113,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } @@ -139,7 +137,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( labelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_ALL_ALIASES ) @@ -151,7 +149,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( labelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_OID ) @@ -168,7 +166,7 @@ } else { - label = NONE; + label = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } @@ -196,7 +194,7 @@ } else { - secondaryLabel = NONE; + secondaryLabel = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( secondaryLabelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_ALL_ALIASES ) @@ -208,7 +206,7 @@ } else { - secondaryLabel = NONE; + secondaryLabel = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( secondaryLabelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_OID ) @@ -229,7 +227,7 @@ } else { - secondaryLabel = NONE; + secondaryLabel = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( secondaryLabelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_ALL_ALIASES ) @@ -241,7 +239,7 @@ } else { - secondaryLabel = NONE; + secondaryLabel = Messages.getString("SearchViewLabelProvider.None"); //$NON-NLS-1$ } } else if ( secondaryLabelValue == PluginConstants.PREFS_SEARCH_VIEW_LABEL_OID ) Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewSortingDialog.java URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewSortingDialog.java?rev=720539&r1=720538&r2=720539&view=diff ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewSortingDialog.java (original) +++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/views/SearchViewSortingDialog.java Tue Nov 25 08:59:19 2008 @@ -46,15 +46,6 @@ */ public class SearchViewSortingDialog extends Dialog { - /** The title of the dialog */ - private static final String DIALOG_TITLE = "Search View Sorting"; - - /** The Sorting First Name category */ - private static final String SORTING_FISTNAME = "First Name"; - - /** The Sorting OID category */ - private static final String SORTING_OID = "OID"; - // UI Fields private Button attributeTypesFirst; private Button objectClassesFirst; @@ -82,7 +73,7 @@ protected void configureShell( Shell newShell ) { super.configureShell( newShell ); - newShell.setText( DIALOG_TITLE ); + newShell.setText( Messages.getString("SearchViewSortingDialog.ViewSorting") ); //$NON-NLS-1$ } @@ -98,28 +89,28 @@ // Grouping Group Group groupingGroup = new Group( composite, SWT.NONE ); groupingGroup.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) ); - groupingGroup.setText( "Grouping" ); + groupingGroup.setText( Messages.getString("SearchViewSortingDialog.Grouping") ); //$NON-NLS-1$ groupingGroup.setLayout( new GridLayout() ); // Attribute Types first Button attributeTypesFirst = new Button( groupingGroup, SWT.RADIO ); - attributeTypesFirst.setText( "Display attribute types first" ); + attributeTypesFirst.setText( Messages.getString("SearchViewSortingDialog.TypesFirst") ); //$NON-NLS-1$ attributeTypesFirst.setEnabled( true ); // Object Classes first Button objectClassesFirst = new Button( groupingGroup, SWT.RADIO ); - objectClassesFirst.setText( "Display object classes first" ); + objectClassesFirst.setText( Messages.getString("SearchViewSortingDialog.ClassesFirst") ); //$NON-NLS-1$ objectClassesFirst.setEnabled( true ); // Mixed Button mixedButton = new Button( groupingGroup, SWT.RADIO ); - mixedButton.setText( "Mixed" ); + mixedButton.setText( Messages.getString("SearchViewSortingDialog.Mixed") ); //$NON-NLS-1$ mixedButton.setEnabled( true ); // Sorting Group Group sortingGroup = new Group( composite, SWT.NONE ); sortingGroup.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) ); - sortingGroup.setText( "Sorting" ); + sortingGroup.setText( Messages.getString("SearchViewSortingDialog.Sorting") ); //$NON-NLS-1$ sortingGroup.setLayout( new GridLayout() ); Composite sortingGroupComposite = new Composite( sortingGroup, SWT.NONE ); GridLayout gl = new GridLayout( 4, false ); @@ -129,23 +120,23 @@ // Sort by Label Label sortByLabel = new Label( sortingGroupComposite, SWT.NONE ); - sortByLabel.setText( "Sort by" ); + sortByLabel.setText( Messages.getString("SearchViewSortingDialog.SortBy") ); //$NON-NLS-1$ // Sorting Combo sortingCombo = new Combo( sortingGroupComposite, SWT.DROP_DOWN | SWT.READ_ONLY | SWT.BORDER ); sortingCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) ); sortingCombo.setItems( new String[] - { SORTING_FISTNAME, SORTING_OID } ); + { Messages.getString("SearchViewSortingDialog.FirstName"), Messages.getString("SearchViewSortingDialog.OID") } ); //$NON-NLS-1$ //$NON-NLS-2$ sortingCombo.setEnabled( true ); // Ascending Button ascendingButton = new Button( sortingGroupComposite, SWT.RADIO ); - ascendingButton.setText( "Ascending" ); + ascendingButton.setText( Messages.getString("SearchViewSortingDialog.Ascending") ); //$NON-NLS-1$ ascendingButton.setEnabled( true ); // Descending Button descendingButton = new Button( sortingGroupComposite, SWT.RADIO ); - descendingButton.setText( "Descending" ); + descendingButton.setText( Messages.getString("SearchViewSortingDialog.Descending") ); //$NON-NLS-1$ descendingButton.setEnabled( true ); initFieldsFromPreferences(); @@ -226,12 +217,12 @@ PluginConstants.PREFS_SEARCH_VIEW_GROUPING_MIXED ); } - if ( sortingCombo.getItem( sortingCombo.getSelectionIndex() ).equals( SORTING_FISTNAME ) ) + if ( sortingCombo.getItem( sortingCombo.getSelectionIndex() ).equals( Messages.getString("SearchViewSortingDialog.FirstName") ) ) //$NON-NLS-1$ { store.setValue( PluginConstants.PREFS_SEARCH_VIEW_SORTING_BY, PluginConstants.PREFS_SEARCH_VIEW_SORTING_BY_FIRSTNAME ); } - else if ( sortingCombo.getItem( sortingCombo.getSelectionIndex() ).equals( SORTING_OID ) ) + else if ( sortingCombo.getItem( sortingCombo.getSelectionIndex() ).equals( Messages.getString("SearchViewSortingDialog.OID") ) ) //$NON-NLS-1$ { store.setValue( PluginConstants.PREFS_SEARCH_VIEW_SORTING_BY, PluginConstants.PREFS_SEARCH_VIEW_SORTING_BY_OID ); Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties?rev=720539&view=auto ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties (added) +++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties Tue Nov 25 08:59:19 2008 @@ -0,0 +1,61 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +HierarchyViewPreferencePage.AllAliases=All Aliases +HierarchyViewPreferencePage.AsLabel=as label. +HierarchyViewPreferencePage.AsSecondaryLabel=as secondary label. +HierarchyViewPreferencePage.Characters=characters. +HierarchyViewPreferencePage.DisplaySecondaryLabel=Display secondary label. +HierarchyViewPreferencePage.FirstName=First Name +HierarchyViewPreferencePage.GeneralSettings=General settings for the Hierarchy View of the Schema Editor Plugin +HierarchyViewPreferencePage.Label=Label +HierarchyViewPreferencePage.LimitLabel=Limit label length to +HierarchyViewPreferencePage.LimitSecondaryLabel=Limit secondary label length to +HierarchyViewPreferencePage.OID=OID +HierarchyViewPreferencePage.SecondaryLabel=Secondary label +HierarchyViewPreferencePage.Use=Use +PluginPreferencePage.GeneralSettings=General settings for the Schema Editor Plugin +SchemaViewPreferencePage.AllAliases=All Aliases +SchemaViewPreferencePage.AsLabel=as label. +SchemaViewPreferencePage.AsSecondaryLabel=as secondary label. +SchemaViewPreferencePage.Characters=characters. +SchemaViewPreferencePage.DisplaySchemaLabel=Display schema name in label. +SchemaViewPreferencePage.DisplaySecondaryLabel=Display secondary label. +SchemaViewPreferencePage.FirstName=First Name +SchemaViewPreferencePage.GeneralSettings=General settings for the Schema View of the Schema Editor Plugin +SchemaViewPreferencePage.Label=Label +SchemaViewPreferencePage.LimitLabel=Limit label length to +SchemaViewPreferencePage.LimitSecondaryLabel=Limit secondary label length to +SchemaViewPreferencePage.OID=OID +SchemaViewPreferencePage.SchemaLabel=Schema label +SchemaViewPreferencePage.SecondaryLabel=Secondary label +SchemaViewPreferencePage.Use=Use +SearchViewPreferencePage.AllAliases=All Aliases +SearchViewPreferencePage.AsLabel=as label. +SearchViewPreferencePage.AsSecondaryLabel=as secondary label. +SearchViewPreferencePage.Characters=characters. +SearchViewPreferencePage.DisplaySchemaLabel=Display schema name in label. +SearchViewPreferencePage.DisplaySecondaryLabel=Display secondary label. +SearchViewPreferencePage.FirstName=First Name +SearchViewPreferencePage.GeneralSettings=General settings for the Search View of the Schema Editor Plugin +SearchViewPreferencePage.Label=Label +SearchViewPreferencePage.LimitLength=Limit label length to +SearchViewPreferencePage.LimitSecondaryLabel=Limit secondary label length to +SearchViewPreferencePage.OID=OID +SearchViewPreferencePage.SchemaLabel=Schema label +SearchViewPreferencePage.SecondaryLabel=Secondary label +SearchViewPreferencePage.Use=Use Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/preferences/messages.properties ------------------------------------------------------------------------------ svn:keywords = Id Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties?rev=720539&view=auto ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties (added) +++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties Tue Nov 25 08:59:19 2008 @@ -0,0 +1,36 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +SearchPage.Aliases=Aliases +SearchPage.ClassesOnly=Object Classes Only +SearchPage.Description=Description +SearchPage.Error=Error +SearchPage.ErrorOpeningView=An error occured when opening the view. +SearchPage.MandatoryAttributes=Mandatory Attributes +SearchPage.MatchingRules=Matching Rules +SearchPage.OID=OID +SearchPage.OptionalAttributes=Optional Attributes +SearchPage.Scope=Scope +SearchPage.SearchIn=Search in +SearchPage.SearchInForAttribute=Search in (for attribute types) +SearchPage.SearchInObject=Search in (for object classes) +SearchPage.SearchString=Search string (*=any string, ?=any character): +SearchPage.Superior=Superior +SearchPage.Superiors=Superiors +SearchPage.Syntax=Syntax +SearchPage.TypesAndClasses=Attribute Types And Object Classes +SearchPage.TypesOnly=Attribute Types Only Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/search/messages.properties ------------------------------------------------------------------------------ svn:keywords = Id Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties?rev=720539&view=auto ============================================================================== --- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties (added) +++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties Tue Nov 25 08:59:19 2008 @@ -0,0 +1,105 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +HierarchyView.None=(None) +HierarchyView.Schema=) - Schema: +HierarchyViewLabelProvider.None=(None) +ProblemsView.Description=Description +ProblemsView.Error=error +ProblemsView.Errors=errors +ProblemsView.Resource=Resource +ProblemsView.Warning=warning +ProblemsView.Warnings=warnings +ProblemsViewLabelProvider.AbstractObjectBegin=Abstract object class ' +ProblemsViewLabelProvider.AbstractObjectEnd=' can not extend +ProblemsViewLabelProvider.AliasBegin=Alias ' +ProblemsViewLabelProvider.AliasEnd=' is already used by another item\: +ProblemsViewLabelProvider.AttributeType=Attribute type +ProblemsViewLabelProvider.AttributeTypeBegin=Attribute type ' +ProblemsViewLabelProvider.AttributeTypeCollectiveBegin=Attribute type ' +ProblemsViewLabelProvider.AttributeTypeCollectiveEnd=' must be collective as its superior ' +ProblemsViewLabelProvider.AttributeTypeEnd=' has a different usage value than its superior ' +ProblemsViewLabelProvider.AttributeTypeSmall=attribute type +ProblemsViewLabelProvider.AuxiliaryObject=Auxiliary object class :' +ProblemsViewLabelProvider.AuxiliaryObjectBegin=Auxiliary object class ' +ProblemsViewLabelProvider.AuxiliaryObjectEnd=' can not extend +ProblemsViewLabelProvider.MandatoryAttributeBegin=Mandatory attribute type ' +ProblemsViewLabelProvider.MandatoryAttributeEnd=' does not exist. +ProblemsViewLabelProvider.MatchingRuleBegin=Matching rule ' +ProblemsViewLabelProvider.MatchingRuleEnd=' does not exist. +ProblemsViewLabelProvider.ObjectClass=Object class +ProblemsViewLabelProvider.ObjectClassSmall=object class +ProblemsViewLabelProvider.OIDBegin=OID ' +ProblemsViewLabelProvider.OIDEnd=' is already used by another item\: +ProblemsViewLabelProvider.OptionalAttributeBegin=Optional attribute type ' +ProblemsViewLabelProvider.OptionalAttributeEnd=' does not exist. +ProblemsViewLabelProvider.StructuralObject=Structural object class :' +ProblemsViewLabelProvider.SuperiorAttributeBegin=Superior attribute type ' +ProblemsViewLabelProvider.SuperiorAttributeEnd=' does not exist. +ProblemsViewLabelProvider.SuperiorObjectBegin=Superior object class ' +ProblemsViewLabelProvider.SuperiorObjectEnd=' does not exist. +ProblemsViewLabelProvider.SyntaxOIDBegin=Syntax with OID ' +ProblemsViewLabelProvider.SyntaxOIDEnd=' does not exist. +ProblemsViewLabelProvider.WithAlias=\ with alias ' +ProblemsViewLabelProvider.WithOID=\ with OID ' +ProblemsViewLabelProvider.WithOIDBegin=\ with OID ' +ProblemsViewLabelProvider.WithOIDEnd=' does not have any alias. +SchemaViewLabelProvider.None=(None) +SchemaViewSortingDialog.Ascending=Ascending +SchemaViewSortingDialog.Descending=Descending +SchemaViewSortingDialog.FirstName=First Name +SchemaViewSortingDialog.Grouping=Grouping +SchemaViewSortingDialog.GroupTypesAndClasses=Group attribute types and object classes in folders +SchemaViewSortingDialog.Mixed=Mixed +SchemaViewSortingDialog.OID=OID +SchemaViewSortingDialog.SortBy=Sort by +SchemaViewSortingDialog.Sorting=Sorting +SchemaViewSortingDialog.ViewSorting=Schema View Sorting +SearchView.Aliases=Aliases +SearchView.ClassesOnly=Object Classes Only +SearchView.Description=Description +SearchView.Error=Error +SearchView.ErrorOpeningEditor=An error occured when opening the editor. +SearchView.InWorkspace=\ in workspace +SearchView.MandatoryAttributes=Mandatory Attributes +SearchView.Match=match +SearchView.Matches=matches +SearchView.MatchingRules=Matching Rules +SearchView.NoSearch=No search +SearchView.OID=OID +SearchView.OptionalAttributes=Optional Attributes +SearchView.Scope=Scope +SearchView.Search=Search +SearchView.SearchColon=Search: +SearchView.SearchIn=Search In +SearchView.Superior=Superior +SearchView.Superiors=Superiors +SearchView.Syntax=Syntax +SearchView.TypesAndClasses=Attribute Types And Object Classes +SearchView.TypesOnly=Attribute Types Only +SearchViewLabelProvider.None=(None) +SearchViewSortingDialog.Ascending=Ascending +SearchViewSortingDialog.ClassesFirst=Display object classes first +SearchViewSortingDialog.Descending=Descending +SearchViewSortingDialog.FirstName=First Name +SearchViewSortingDialog.Grouping=Grouping +SearchViewSortingDialog.Mixed=Mixed +SearchViewSortingDialog.OID=OID +SearchViewSortingDialog.SortBy=Sort by +SearchViewSortingDialog.Sorting=Sorting +SearchViewSortingDialog.TypesFirst=Display attribute types first +SearchViewSortingDialog.ViewSorting=Search View Sorting Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/views/messages.properties ------------------------------------------------------------------------------ svn:keywords = Id