directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r721183 - in /directory/studio/trunk/ldapbrowser-ui/src/main: java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/
Date Thu, 27 Nov 2008 14:19:56 GMT
Author: felixk
Date: Thu Nov 27 06:19:55 2008
New Revision: 721183

URL: http://svn.apache.org/viewvc?rev=721183&view=rev
Log:
- Externalize Strings
- Add German translation

Added:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java   (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties   (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties   (with props)
Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/AttributePropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/BookmarkPropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/EntryPropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/RootDSEPropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SearchPropertyPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ValuePropertyPage.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/AttributePropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/AttributePropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/AttributePropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/AttributePropertyPage.java Thu Nov 27 06:19:55 2008
@@ -29,6 +29,7 @@
 import org.apache.directory.studio.ldapbrowser.core.model.schema.SchemaUtils;
 import org.apache.directory.studio.ldapbrowser.core.utils.Utils;
 import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionAdapter;
 import org.eclipse.swt.events.SelectionEvent;
@@ -125,61 +126,64 @@
 
         Composite mainGroup = BaseWidgetUtils.createColumnContainer( composite, 2, 1 );
 
-        BaseWidgetUtils.createLabel( mainGroup, "Description:", 1 );
-        attributeNameText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "AttributePropertyPage.Description" ), 1 ); //$NON-NLS-1$
+        attributeNameText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData attributeNameTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         attributeNameTextGridData.widthHint = 300;
         attributeNameText.setLayoutData( attributeNameTextGridData );
 
-        BaseWidgetUtils.createLabel( mainGroup, "Type:", 1 );
-        attributeTypeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "AttributePropertyPage.Type" ), 1 ); //$NON-NLS-1$
+        attributeTypeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData attributeTypeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         attributeTypeTextGridData.widthHint = 300;
         attributeTypeText.setLayoutData( attributeTypeTextGridData );
 
-        BaseWidgetUtils.createLabel( mainGroup, "Number of Values:", 1 );
-        attributeValuesText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "AttributePropertyPage.NumberOfValues" ), 1 ); //$NON-NLS-1$
+        attributeValuesText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData attributeValuesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         attributeValuesTextGridData.widthHint = 300;
         attributeValuesText.setLayoutData( attributeValuesTextGridData );
 
-        BaseWidgetUtils.createLabel( mainGroup, "Attribute Size:", 1 );
-        attributeSizeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "AttributePropertyPage.AttributeSize" ), 1 ); //$NON-NLS-1$
+        attributeSizeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData attributeSizeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         attributeSizeTextGridData.widthHint = 300;
         attributeSizeText.setLayoutData( attributeSizeTextGridData );
 
-        Group atdGroup = BaseWidgetUtils.createGroup( composite, "Attribute Type", 1 );
+        Group atdGroup = BaseWidgetUtils.createGroup( composite, Messages
+            .getString( "AttributePropertyPage.AttributeType" ), 1 ); //$NON-NLS-1$
         Composite atdComposite = BaseWidgetUtils.createColumnContainer( atdGroup, 2, 1 );
 
-        BaseWidgetUtils.createLabel( atdComposite, "Numeric OID:", 1 );
-        atdOidText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 );
+        BaseWidgetUtils.createLabel( atdComposite, Messages.getString( "AttributePropertyPage.NubericOID" ), 1 ); //$NON-NLS-1$
+        atdOidText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 ); //$NON-NLS-1$
         GridData atdOidTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         atdOidTextGridData.widthHint = 300;
         atdOidText.setLayoutData( atdOidTextGridData );
 
-        BaseWidgetUtils.createLabel( atdComposite, "Alternative Names:", 1 );
-        atdNamesText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 );
+        BaseWidgetUtils.createLabel( atdComposite, Messages.getString( "AttributePropertyPage.AlternativeNames" ), 1 ); //$NON-NLS-1$
+        atdNamesText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 ); //$NON-NLS-1$
         GridData atdNamesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         atdNamesTextGridData.widthHint = 300;
         atdNamesText.setLayoutData( atdNamesTextGridData );
 
-        BaseWidgetUtils.createLabel( atdComposite, "Description:", 1 );
-        atdDescText = BaseWidgetUtils.createWrappedLabeledText( atdComposite, "", 1 );
+        BaseWidgetUtils.createLabel( atdComposite, Messages.getString( "AttributePropertyPage.Description" ), 1 ); //$NON-NLS-1$
+        atdDescText = BaseWidgetUtils.createWrappedLabeledText( atdComposite, "", 1 ); //$NON-NLS-1$
         GridData atdDescTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         atdDescTextGridData.widthHint = 300;
         atdDescText.setLayoutData( atdDescTextGridData );
 
-        BaseWidgetUtils.createLabel( atdComposite, "Usage:", 1 );
-        atdUsageText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 );
+        BaseWidgetUtils.createLabel( atdComposite, Messages.getString( "AttributePropertyPage.Usage" ), 1 ); //$NON-NLS-1$
+        atdUsageText = BaseWidgetUtils.createLabeledText( atdComposite, "", 1 ); //$NON-NLS-1$
         GridData atdUsageTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         atdUsageTextGridData.widthHint = 300;
         atdUsageText.setLayoutData( atdUsageTextGridData );
 
-        Group flagsGroup = BaseWidgetUtils.createGroup( composite, "Flags", 1 );
+        Group flagsGroup = BaseWidgetUtils.createGroup( composite,
+            Messages.getString( "AttributePropertyPage.Flags" ), 1 ); //$NON-NLS-1$
         Composite flagsComposite = BaseWidgetUtils.createColumnContainer( flagsGroup, 4, 1 );
 
-        singleValuedFlag = BaseWidgetUtils.createCheckbox( flagsComposite, "Single valued", 1 );
+        singleValuedFlag = BaseWidgetUtils.createCheckbox( flagsComposite, Messages
+            .getString( "AttributePropertyPage.SingleValued" ), 1 ); //$NON-NLS-1$
         singleValuedFlag.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -188,7 +192,8 @@
             }
         } );
 
-        noUserModificationFlag = BaseWidgetUtils.createCheckbox( flagsComposite, "Read only", 1 );
+        noUserModificationFlag = BaseWidgetUtils.createCheckbox( flagsComposite, Messages
+            .getString( "AttributePropertyPage.ReadOnly" ), 1 ); //$NON-NLS-1$
         noUserModificationFlag.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -197,7 +202,8 @@
             }
         } );
 
-        collectiveFlag = BaseWidgetUtils.createCheckbox( flagsComposite, "Collective", 1 );
+        collectiveFlag = BaseWidgetUtils.createCheckbox( flagsComposite, Messages
+            .getString( "AttributePropertyPage.Collective" ), 1 ); //$NON-NLS-1$
         collectiveFlag.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -206,7 +212,8 @@
             }
         } );
 
-        obsoleteFlag = BaseWidgetUtils.createCheckbox( flagsComposite, "Obsolete", 1 );
+        obsoleteFlag = BaseWidgetUtils.createCheckbox( flagsComposite, Messages
+            .getString( "AttributePropertyPage.Obsolete" ), 1 ); //$NON-NLS-1$
         obsoleteFlag.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -215,44 +222,48 @@
             }
         } );
 
-        Group syntaxGroup = BaseWidgetUtils.createGroup( composite, "Syntax", 1 );
+        Group syntaxGroup = BaseWidgetUtils.createGroup( composite,
+            Messages.getString( "AttributePropertyPage.Syntax" ), 1 ); //$NON-NLS-1$
         Composite syntaxComposite = BaseWidgetUtils.createColumnContainer( syntaxGroup, 2, 1 );
 
-        BaseWidgetUtils.createLabel( syntaxComposite, "Syntax OID:", 1 );
-        syntaxOidText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 );
+        BaseWidgetUtils.createLabel( syntaxComposite, Messages.getString( "AttributePropertyPage.SyntaxOID" ), 1 ); //$NON-NLS-1$
+        syntaxOidText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 ); //$NON-NLS-1$
         GridData syntaxOidTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         syntaxOidTextGridData.widthHint = 300;
         syntaxOidText.setLayoutData( syntaxOidTextGridData );
 
-        BaseWidgetUtils.createLabel( syntaxComposite, "Syntax Description:", 1 );
-        syntaxDescText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 );
+        BaseWidgetUtils.createLabel( syntaxComposite,
+            Messages.getString( "AttributePropertyPage.SyntaxDescription" ), 1 ); //$NON-NLS-1$
+        syntaxDescText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 ); //$NON-NLS-1$
         GridData syntaxDescTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         syntaxDescTextGridData.widthHint = 300;
         syntaxDescText.setLayoutData( syntaxDescTextGridData );
 
-        BaseWidgetUtils.createLabel( syntaxComposite, "Syntax Length:", 1 );
-        syntaxLengthText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 );
+        BaseWidgetUtils.createLabel( syntaxComposite, Messages.getString( "AttributePropertyPage.SyntaxLength" ), 1 ); //$NON-NLS-1$
+        syntaxLengthText = BaseWidgetUtils.createLabeledText( syntaxComposite, "", 1 ); //$NON-NLS-1$
         GridData syntaxLengthTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         syntaxLengthTextGridData.widthHint = 300;
         syntaxLengthText.setLayoutData( syntaxLengthTextGridData );
 
-        Group matchingGroup = BaseWidgetUtils.createGroup( composite, "Matching Rules", 1 );
+        Group matchingGroup = BaseWidgetUtils.createGroup( composite, Messages
+            .getString( "AttributePropertyPage.MatchingRules" ), 1 ); //$NON-NLS-1$
         Composite matchingComposite = BaseWidgetUtils.createColumnContainer( matchingGroup, 2, 1 );
 
-        BaseWidgetUtils.createLabel( matchingComposite, "Equality Match:", 1 );
-        equalityMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 );
+        BaseWidgetUtils.createLabel( matchingComposite, Messages.getString( "AttributePropertyPage.EqualityMatch" ), 1 ); //$NON-NLS-1$
+        equalityMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 ); //$NON-NLS-1$
         GridData equalityMatchingRuleTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         equalityMatchingRuleTextGridData.widthHint = 300;
         equalityMatchingRuleText.setLayoutData( equalityMatchingRuleTextGridData );
 
-        BaseWidgetUtils.createLabel( matchingComposite, "Substring Match:", 1 );
-        substringMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 );
+        BaseWidgetUtils
+            .createLabel( matchingComposite, Messages.getString( "AttributePropertyPage.SubstringMatch" ), 1 ); //$NON-NLS-1$
+        substringMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 ); //$NON-NLS-1$
         GridData substringMatchingRuleTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         substringMatchingRuleTextGridData.widthHint = 300;
         substringMatchingRuleText.setLayoutData( substringMatchingRuleTextGridData );
 
-        BaseWidgetUtils.createLabel( matchingComposite, "Ordering Match:", 1 );
-        orderingMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 );
+        BaseWidgetUtils.createLabel( matchingComposite, Messages.getString( "AttributePropertyPage.OrderingMatch" ), 1 ); //$NON-NLS-1$
+        orderingMatchingRuleText = BaseWidgetUtils.createLabeledText( matchingComposite, "", 1 ); //$NON-NLS-1$
         GridData orderingMatchingRuleTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         orderingMatchingRuleTextGridData.widthHint = 300;
         orderingMatchingRuleText.setLayoutData( orderingMatchingRuleTextGridData );
@@ -274,10 +285,11 @@
                 }
             }
 
-            this.setMessage( "Attribute " + attribute.getDescription() );
+            this.setMessage( NLS.bind(
+                Messages.getString( "AttributePropertyPage.Attribute" ), new String[] { attribute.getDescription() } ) ); //$NON-NLS-1$
             attributeNameText.setText( attribute.getDescription() );
-            attributeTypeText.setText( attribute.isString() ? "String" : "Binary" );
-            attributeValuesText.setText( "" + valCount );
+            attributeTypeText.setText( attribute.isString() ? "String" : "Binary" ); //$NON-NLS-1$ //$NON-NLS-2$
+            attributeValuesText.setText( "" + valCount ); //$NON-NLS-1$
             attributeSizeText.setText( Utils.formatBytes( bytes ) );
 
             if ( schema.hasAttributeTypeDescription( attribute.getDescription() ) )

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/BookmarkPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/BookmarkPropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/BookmarkPropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/BookmarkPropertyPage.java Thu Nov 27 06:19:55 2008
@@ -75,7 +75,8 @@
         if ( getElement() instanceof IAdaptable )
         {
             bookmark = ( IBookmark ) ( ( IAdaptable ) getElement() ).getAdapter( IBookmark.class );
-            super.setMessage( "Bookmark " + Utils.shorten( bookmark.getName(), 30 ) );
+            super
+                .setMessage( Messages.getString( "BookmarkPropertyPage.Bookmark" ) + Utils.shorten( bookmark.getName(), 30 ) ); //$NON-NLS-1$
         }
         else
         {
@@ -84,8 +85,8 @@
 
         Composite innerComposite = BaseWidgetUtils.createColumnContainer( parent, 3, 1 );
 
-        BaseWidgetUtils.createLabel( innerComposite, "Bookmark Name:", 1 );
-        bookmarkNameText = BaseWidgetUtils.createText( innerComposite, bookmark != null ? bookmark.getName() : "", 2 );
+        BaseWidgetUtils.createLabel( innerComposite, Messages.getString( "BookmarkPropertyPage.BookmarkName" ), 1 ); //$NON-NLS-1$
+        bookmarkNameText = BaseWidgetUtils.createText( innerComposite, bookmark != null ? bookmark.getName() : "", 2 ); //$NON-NLS-1$
         bookmarkNameText.setFocus();
         bookmarkNameText.addModifyListener( new ModifyListener()
         {
@@ -95,7 +96,7 @@
             }
         } );
 
-        BaseWidgetUtils.createLabel( innerComposite, "Bookmark DN:", 1 );
+        BaseWidgetUtils.createLabel( innerComposite, Messages.getString( "BookmarkPropertyPage.BookmarkDN" ), 1 ); //$NON-NLS-1$
         bookmarkEntryWidget = new EntryWidget();
         bookmarkEntryWidget.createWidget( innerComposite );
         if ( bookmark != null )
@@ -135,25 +136,25 @@
      */
     private void validate()
     {
-        setValid( bookmarkEntryWidget.getDn() != null && !"".equals( bookmarkNameText.getText() ) );
+        setValid( bookmarkEntryWidget.getDn() != null && !"".equals( bookmarkNameText.getText() ) ); //$NON-NLS-1$
 
         if ( bookmark != null )
         {
             if ( bookmarkEntryWidget.getDn() == null )
             {
                 setValid( false );
-                setErrorMessage( "Please enter a DN." );
+                setErrorMessage( Messages.getString( "BookmarkPropertyPage.EnterDN" ) ); //$NON-NLS-1$
             }
-            else if ( "".equals( bookmarkNameText.getText() ) )
+            else if ( "".equals( bookmarkNameText.getText() ) ) //$NON-NLS-1$
             {
                 setValid( false );
-                setErrorMessage( "Please enter a name." );
+                setErrorMessage( Messages.getString( "BookmarkPropertyPage.EnterName" ) ); //$NON-NLS-1$
             }
             else if ( !bookmark.getName().equals( bookmarkNameText.getText() )
                 && bookmark.getBrowserConnection().getBookmarkManager().getBookmark( bookmarkNameText.getText() ) != null )
             {
                 setValid( false );
-                setErrorMessage( "A bookmark with this name already exists." );
+                setErrorMessage( Messages.getString( "BookmarkPropertyPage.ErrorBookmarkExists" ) ); //$NON-NLS-1$
             }
             else
             {

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/EntryPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/EntryPropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/EntryPropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/EntryPropertyPage.java Thu Nov 27 06:19:55 2008
@@ -30,6 +30,7 @@
 import org.apache.directory.studio.ldapbrowser.core.model.IValue;
 import org.apache.directory.studio.ldapbrowser.core.utils.Utils;
 import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.events.SelectionEvent;
 import org.eclipse.swt.events.SelectionListener;
@@ -111,47 +112,47 @@
 
         Composite mainGroup = BaseWidgetUtils.createColumnContainer( BaseWidgetUtils.createColumnContainer( composite,
             1, 1 ), 2, 1 );
-        BaseWidgetUtils.createLabel( mainGroup, "DN:", 1 );
-        dnText = BaseWidgetUtils.createWrappedLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "EntryPropertyPage.DN" ), 1 ); //$NON-NLS-1$
+        dnText = BaseWidgetUtils.createWrappedLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData dnTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         dnTextGridData.widthHint = 300;
         dnText.setLayoutData( dnTextGridData );
 
-        BaseWidgetUtils.createLabel( mainGroup, "URL:", 1 );
-        urlText = BaseWidgetUtils.createWrappedLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "EntryPropertyPage.URL" ), 1 ); //$NON-NLS-1$
+        urlText = BaseWidgetUtils.createWrappedLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         GridData urlTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         urlTextGridData.widthHint = 300;
         urlText.setLayoutData( urlTextGridData );
 
         Group cmiGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
-            "Create and Modify Information", 1 );
+            Messages.getString( "EntryPropertyPage.CreateModifyinformation" ), 1 ); //$NON-NLS-1$
         Composite cmiComposite = BaseWidgetUtils.createColumnContainer( cmiGroup, 3, 1 );
 
-        BaseWidgetUtils.createLabel( cmiComposite, "Create Timestamp:", 1 );
-        ctText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 );
+        BaseWidgetUtils.createLabel( cmiComposite, Messages.getString( "EntryPropertyPage.CreateTimestamp" ), 1 ); //$NON-NLS-1$
+        ctText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 ); //$NON-NLS-1$
         GridData ctTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         ctTextGridData.widthHint = 300;
         ctText.setLayoutData( ctTextGridData );
 
-        BaseWidgetUtils.createLabel( cmiComposite, "Creators Name:", 1 );
-        cnText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 );
+        BaseWidgetUtils.createLabel( cmiComposite, Messages.getString( "EntryPropertyPage.CreatorsName" ), 1 ); //$NON-NLS-1$
+        cnText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 ); //$NON-NLS-1$
         GridData cnTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         cnTextGridData.widthHint = 300;
         cnText.setLayoutData( cnTextGridData );
 
-        BaseWidgetUtils.createLabel( cmiComposite, "Modify Timestamp:", 1 );
-        mtText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 );
+        BaseWidgetUtils.createLabel( cmiComposite, Messages.getString( "EntryPropertyPage.ModifyTimestamp" ), 1 ); //$NON-NLS-1$
+        mtText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 2 ); //$NON-NLS-1$
         GridData mtTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         mtTextGridData.widthHint = 300;
         mtText.setLayoutData( mtTextGridData );
 
-        BaseWidgetUtils.createLabel( cmiComposite, "Modifiers Name:", 1 );
-        mnText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 1 );
+        BaseWidgetUtils.createLabel( cmiComposite, Messages.getString( "EntryPropertyPage.ModifiersName" ), 1 ); //$NON-NLS-1$
+        mnText = BaseWidgetUtils.createLabeledText( cmiComposite, "", 1 ); //$NON-NLS-1$
         GridData mnTextGridData = new GridData( GridData.FILL_HORIZONTAL );
         mnTextGridData.widthHint = 300;
         mnText.setLayoutData( mnTextGridData );
 
-        reloadCmiButton = BaseWidgetUtils.createButton( cmiComposite, "", 1 );
+        reloadCmiButton = BaseWidgetUtils.createButton( cmiComposite, "", 1 ); //$NON-NLS-1$
         GridData gd = new GridData();
         gd.verticalAlignment = SWT.BOTTOM;
         gd.horizontalAlignment = SWT.RIGHT;
@@ -170,35 +171,35 @@
         } );
 
         Group sizingGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
-            "Sizing Information", 1 );
+            Messages.getString( "EntryPropertyPage.SizingInformation" ), 1 ); //$NON-NLS-1$
         Composite sizingComposite = BaseWidgetUtils.createColumnContainer( sizingGroup, 3, 1 );
 
-        BaseWidgetUtils.createLabel( sizingComposite, "Entry Size:", 1 );
-        sizeText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 );
+        BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.EntrySize" ), 1 ); //$NON-NLS-1$
+        sizeText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
         GridData sizeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         sizeTextGridData.widthHint = 300;
         sizeText.setLayoutData( sizeTextGridData );
 
-        BaseWidgetUtils.createLabel( sizingComposite, "Number of Children:", 1 );
-        childrenText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 );
+        BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfChildren" ), 1 ); //$NON-NLS-1$
+        childrenText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
         GridData childrenTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         childrenTextGridData.widthHint = 300;
         childrenText.setLayoutData( childrenTextGridData );
 
-        BaseWidgetUtils.createLabel( sizingComposite, "Number of Attributes:", 1 );
-        attributesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 );
+        BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfAttributes" ), 1 ); //$NON-NLS-1$
+        attributesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
         GridData attributesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         attributesTextGridData.widthHint = 300;
         attributesText.setLayoutData( attributesTextGridData );
 
-        BaseWidgetUtils.createLabel( sizingComposite, "Number of Values:", 1 );
-        valuesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 );
+        BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfValues" ), 1 ); //$NON-NLS-1$
+        valuesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
         GridData valuesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         valuesTextGridData.widthHint = 300;
         valuesText.setLayoutData( valuesTextGridData );
 
-        includeOperationalAttributesButton = BaseWidgetUtils.createCheckbox( sizingComposite,
-            "Include operational attributes", 2 );
+        includeOperationalAttributesButton = BaseWidgetUtils.createCheckbox( sizingComposite, Messages
+            .getString( "EntryPropertyPage.IncludeoperationalAttributes" ), 2 ); //$NON-NLS-1$
         includeOperationalAttributesButton.addSelectionListener( new SelectionListener()
         {
             public void widgetSelected( SelectionEvent e )
@@ -212,7 +213,7 @@
             }
         } );
 
-        reloadEntryButton = BaseWidgetUtils.createButton( sizingComposite, "", 1 );
+        reloadEntryButton = BaseWidgetUtils.createButton( sizingComposite, "", 1 ); //$NON-NLS-1$
         gd = new GridData();
         gd.verticalAlignment = SWT.BOTTOM;
         gd.horizontalAlignment = SWT.RIGHT;
@@ -308,7 +309,7 @@
         {
             value = att.getStringValue();
         }
-        return value != null ? value : "-";
+        return value != null ? value : "-"; //$NON-NLS-1$
     }
 
 
@@ -322,7 +323,7 @@
 
         if ( !this.dnText.isDisposed() )
         {
-            setMessage( "Entry " + entry.getDn().getUpName() );
+            setMessage( Messages.getString( "EntryPropertyPage.Entry" ) + entry.getDn().getUpName() ); //$NON-NLS-1$
 
             dnText.setText( entry.getDn().getUpName() );
             urlText.setText( entry.getUrl().toString() );
@@ -334,7 +335,7 @@
                 .getAttribute( IAttribute.OPERATIONAL_ATTRIBUTE_MODIFY_TIMESTAMP ) ) );
             mnText
                 .setText( getNonNullStringValue( entry.getAttribute( IAttribute.OPERATIONAL_ATTRIBUTE_MODIFIERS_NAME ) ) );
-            reloadCmiButton.setText( "Refresh" );
+            reloadCmiButton.setText( Messages.getString( "EntryPropertyPage.Refresh" ) ); //$NON-NLS-1$
 
             int attCount = 0;
             int valCount = 0;
@@ -362,18 +363,19 @@
                 }
             }
 
-            reloadEntryButton.setText( "Refresh" );
+            reloadEntryButton.setText( Messages.getString( "EntryPropertyPage.Refresh" ) ); //$NON-NLS-1$
             if ( !entry.isChildrenInitialized() )
             {
-                childrenText.setText( "Not checked" );
+                childrenText.setText( Messages.getString( "EntryPropertyPage.NotChecked" ) ); //$NON-NLS-1$
             }
             else
             {
-                childrenText.setText( "" + entry.getChildrenCount()
-                    + ( entry.hasMoreChildren() ? " fetched, may have more" : "" ) );
+                childrenText.setText( ( entry.hasMoreChildren() ? NLS.bind( Messages
+                    .getString( "EntryPropertyPage.ChildrenFetched" ), new int[] { entry.getChildrenCount() } ) //$NON-NLS-1$
+                    : Integer.toString( entry.getChildrenCount() ) ) );
             }
-            attributesText.setText( "" + attCount );
-            valuesText.setText( "" + valCount );
+            attributesText.setText( "" + attCount ); //$NON-NLS-1$
+            valuesText.setText( "" + valCount ); //$NON-NLS-1$
             sizeText.setText( Utils.formatBytes( bytes ) );
         }
     }

Added: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java?rev=721183&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java (added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java Thu Nov 27 06:19:55 2008
@@ -0,0 +1,51 @@
+/*
+ *  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. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.ui.dialogs.properties;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.ldapbrowser.ui.dialogs.properties.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/RootDSEPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/RootDSEPropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/RootDSEPropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/RootDSEPropertyPage.java Thu Nov 27 06:19:55 2008
@@ -121,8 +121,8 @@
         Composite infoComposite = new Composite( tabFolder, SWT.NONE );
         GridLayout gl = new GridLayout( 2, false );
         infoComposite.setLayout( gl );
-        BaseWidgetUtils.createLabel( infoComposite, "Directory Type:", 1 );
-        Text typeText = BaseWidgetUtils.createWrappedLabeledText( infoComposite, "-", 1, 150);
+        BaseWidgetUtils.createLabel( infoComposite, Messages.getString( "RootDSEPropertyPage.DirectoryTypw" ), 1 ); //$NON-NLS-1$
+        Text typeText = BaseWidgetUtils.createWrappedLabeledText( infoComposite, "-", 1, 150 ); //$NON-NLS-1$
         if ( connection != null && connection.getRootDSE() != null )
         {
             // Try to detect LDAP server from RootDSE
@@ -146,39 +146,41 @@
                 typeText.setText( type );
             }
         }
-        addInfo( connection, infoComposite, "vendorName", "Vendor Name:" );
-        addInfo( connection, infoComposite, "vendorVersion", "Vendor Version:" );
-        addInfo( connection, infoComposite, "supportedLDAPVersion", "Supported LDAP Versions:" );
-        addInfo( connection, infoComposite, "supportedSASLMechanisms", "Supported SASL Mechanisms:" );
+        addInfo( connection, infoComposite, "vendorName", Messages.getString( "RootDSEPropertyPage.VendorName" ) ); //$NON-NLS-1$ //$NON-NLS-2$
+        addInfo( connection, infoComposite, "vendorVersion", Messages.getString( "RootDSEPropertyPage.VendorVersion" ) ); //$NON-NLS-1$ //$NON-NLS-2$
+        addInfo( connection, infoComposite,
+            "supportedLDAPVersion", Messages.getString( "RootDSEPropertyPage.SupportedLDAPVersion" ) ); //$NON-NLS-1$ //$NON-NLS-2$
+        addInfo( connection, infoComposite,
+            "supportedSASLMechanisms", Messages.getString( "RootDSEPropertyPage.SupportedSASL" ) ); //$NON-NLS-1$ //$NON-NLS-2$
         infoTab = new TabItem( tabFolder, SWT.NONE );
-        infoTab.setText( "Info" );
+        infoTab.setText( Messages.getString( "RootDSEPropertyPage.Info" ) ); //$NON-NLS-1$
         infoTab.setControl( infoComposite );
 
         // Controls tab 
         Composite controlsComposite = new Composite( tabFolder, SWT.NONE );
         controlsComposite.setLayout( new GridLayout() );
         Composite controlsComposite2 = BaseWidgetUtils.createColumnContainer( controlsComposite, 2, 1 );
-        addOidInfo( connection, controlsComposite2, "supportedControl" );
+        addOidInfo( connection, controlsComposite2, "supportedControl" ); //$NON-NLS-1$
         controlsTab = new TabItem( tabFolder, SWT.NONE );
-        controlsTab.setText( "Controls" );
+        controlsTab.setText( Messages.getString( "RootDSEPropertyPage.Controls" ) ); //$NON-NLS-1$
         controlsTab.setControl( controlsComposite );
 
         // Extensions tab
         Composite extensionComposite = new Composite( tabFolder, SWT.NONE );
         extensionComposite.setLayout( new GridLayout() );
         Composite extensionComposite2 = BaseWidgetUtils.createColumnContainer( extensionComposite, 2, 1 );
-        addOidInfo( connection, extensionComposite2, "supportedExtension" );
+        addOidInfo( connection, extensionComposite2, "supportedExtension" ); //$NON-NLS-1$
         extensionsTab = new TabItem( tabFolder, SWT.NONE );
-        extensionsTab.setText( "Extensions" );
+        extensionsTab.setText( Messages.getString( "RootDSEPropertyPage.Extensions" ) ); //$NON-NLS-1$
         extensionsTab.setControl( extensionComposite );
 
         // Features tab
         Composite featureComposite = new Composite( tabFolder, SWT.NONE );
         featureComposite.setLayout( new GridLayout() );
         Composite featureComposite2 = BaseWidgetUtils.createColumnContainer( featureComposite, 2, 1 );
-        addOidInfo( connection, featureComposite2, "supportedFeatures" );
+        addOidInfo( connection, featureComposite2, "supportedFeatures" ); //$NON-NLS-1$
         featuresTab = new TabItem( tabFolder, SWT.NONE );
-        featuresTab.setText( "Features" );
+        featuresTab.setText( Messages.getString( "RootDSEPropertyPage.Features" ) ); //$NON-NLS-1$
         featuresTab.setControl( featureComposite );
 
         return tabFolder;
@@ -194,36 +196,36 @@
     {
         String result = null;
 
-        IAttribute vnAttribute = rootDSE.getAttribute( "vendorName" );
-        IAttribute vvAttribute = rootDSE.getAttribute( "vendorVersion" );
+        IAttribute vnAttribute = rootDSE.getAttribute( "vendorName" ); //$NON-NLS-1$
+        IAttribute vvAttribute = rootDSE.getAttribute( "vendorVersion" ); //$NON-NLS-1$
 
         if ( vnAttribute != null && vnAttribute.getStringValues().length > 0 && vvAttribute != null
             && vvAttribute.getStringValues().length > 0 )
         {
-            if ( vnAttribute.getStringValues()[0].indexOf( "Apache Software Foundation" ) > -1 )
+            if ( vnAttribute.getStringValues()[0].indexOf( "Apache Software Foundation" ) > -1 ) //$NON-NLS-1$
             {
-                result = "Apache Directory Server";
+                result = Messages.getString( "RootDSEPropertyPage.ApacheDirectoryServer" ); //$NON-NLS-1$
             }
-            if ( vnAttribute.getStringValues()[0].indexOf( "Novell" ) > -1
-                || vvAttribute.getStringValues()[0].indexOf( "eDirectory" ) > -1 )
+            if ( vnAttribute.getStringValues()[0].indexOf( "Novell" ) > -1 //$NON-NLS-1$
+                || vvAttribute.getStringValues()[0].indexOf( "eDirectory" ) > -1 ) //$NON-NLS-1$
             {
-                result = "Novell eDirectory";
+                result = Messages.getString( "RootDSEPropertyPage.NovellEDirectory" ); //$NON-NLS-1$
             }
-            if ( vnAttribute.getStringValues()[0].indexOf( "Sun" ) > -1
-                || vvAttribute.getStringValues()[0].indexOf( "Sun" ) > -1 )
+            if ( vnAttribute.getStringValues()[0].indexOf( "Sun" ) > -1 //$NON-NLS-1$
+                || vvAttribute.getStringValues()[0].indexOf( "Sun" ) > -1 ) //$NON-NLS-1$
             {
-                result = "Sun Directory Server";
+                result = Messages.getString( "RootDSEPropertyPage.SunDirectoryServer" ); //$NON-NLS-1$
             }
-            if ( vnAttribute.getStringValues()[0].indexOf( "Netscape" ) > -1
-                || vvAttribute.getStringValues()[0].indexOf( "Netscape" ) > -1 )
+            if ( vnAttribute.getStringValues()[0].indexOf( "Netscape" ) > -1 //$NON-NLS-1$
+                || vvAttribute.getStringValues()[0].indexOf( "Netscape" ) > -1 ) //$NON-NLS-1$
             {
-                result = "Netscape Directory Server";
+                result = Messages.getString( "RootDSEPropertyPage.NetscapeDirectoryServer" ); //$NON-NLS-1$
             }
-            if ( vnAttribute.getStringValues()[0].indexOf( "International Business Machines" ) > -1
-                && ( ( vvAttribute.getStringValues()[0].indexOf( "6.0" ) > -1 ) || ( vvAttribute.getStringValues()[0]
-                    .indexOf( "5.2" ) > -1 ) ) )
+            if ( vnAttribute.getStringValues()[0].indexOf( "International Business Machines" ) > -1 //$NON-NLS-1$
+                && ( ( vvAttribute.getStringValues()[0].indexOf( "6.0" ) > -1 ) || ( vvAttribute.getStringValues()[0] //$NON-NLS-1$
+                    .indexOf( "5.2" ) > -1 ) ) ) //$NON-NLS-1$
             {
-                result = "IBM Tivoli Directory Server";
+                result = Messages.getString( "RootDSEPropertyPage.IBMTivoli" ); //$NON-NLS-1$
             }
         }
 
@@ -242,17 +244,17 @@
         String result = null;
 
         // check active directory
-        IAttribute rdncAttribute = rootDSE.getAttribute( "rootDomainNamingContext" );
+        IAttribute rdncAttribute = rootDSE.getAttribute( "rootDomainNamingContext" ); //$NON-NLS-1$
         if ( rdncAttribute != null )
         {
-            IAttribute ffAttribute = rootDSE.getAttribute( "forestFunctionality" );
+            IAttribute ffAttribute = rootDSE.getAttribute( "forestFunctionality" ); //$NON-NLS-1$
             if ( ffAttribute != null )
             {
-                result = "Microsoft Active Directory 2003";
+                result = Messages.getString( "RootDSEPropertyPage.MSAD2003" ); //$NON-NLS-1$
             }
             else
             {
-                result = "Microsoft Active Directory 2000";
+                result = Messages.getString( "RootDSEPropertyPage.MSAD2000" ); //$NON-NLS-1$
             }
         }
 
@@ -270,14 +272,14 @@
     {
         String result = null;
 
-        IAttribute ssseAttribute = rootDSE.getAttribute( "subSchemaSubentry" );
+        IAttribute ssseAttribute = rootDSE.getAttribute( "subSchemaSubentry" ); //$NON-NLS-1$
         if ( ssseAttribute != null )
         {
             for ( int i = 0; i < ssseAttribute.getStringValues().length; i++ )
             {
-                if ( "cn=LDAPGlobalSchemaSubentry".equals( ssseAttribute.getStringValues()[i] ) )
+                if ( "cn=LDAPGlobalSchemaSubentry".equals( ssseAttribute.getStringValues()[i] ) ) //$NON-NLS-1$
                 {
-                    result = "Siemens DirX";
+                    result = Messages.getString( "RootDSEPropertyPage.SiemesDirX" ); //$NON-NLS-1$
                 }
             }
         }
@@ -298,31 +300,31 @@
         boolean typeDetected = false;
 
         // check OpenLDAP
-        IAttribute ocAttribute = rootDSE.getAttribute( "objectClass" );
+        IAttribute ocAttribute = rootDSE.getAttribute( "objectClass" ); //$NON-NLS-1$
         if ( ocAttribute != null )
         {
             for ( int i = 0; i < ocAttribute.getStringValues().length; i++ )
             {
-                if ( "OpenLDAProotDSE".equals( ocAttribute.getStringValues()[i] ) )
+                if ( "OpenLDAProotDSE".equals( ocAttribute.getStringValues()[i] ) ) //$NON-NLS-1$
                 {
-                    IAttribute ccAttribute = rootDSE.getAttribute( "configContext" );
+                    IAttribute ccAttribute = rootDSE.getAttribute( "configContext" ); //$NON-NLS-1$
                     if ( ccAttribute != null )
                     {
-                        result = "OpenLDAP 2.3";
+                        result = Messages.getString( "RootDSEPropertyPage.openLDAP23" ); //$NON-NLS-1$
                         typeDetected = true;
                     }
                     if ( !typeDetected )
                     {
-                        IAttribute scAttribute = rootDSE.getAttribute( "supportedControl" );
+                        IAttribute scAttribute = rootDSE.getAttribute( "supportedControl" ); //$NON-NLS-1$
                         if ( scAttribute != null )
                         {
                             for ( int sci = 0; sci < scAttribute.getStringValues().length; sci++ )
                             {
                                 // if("1.2.840.113556.1.4.319".equals(scAttribute.getStringValues()[sci]))
                                 // {
-                                if ( "2.16.840.1.113730.3.4.18".equals( scAttribute.getStringValues()[sci] ) )
+                                if ( "2.16.840.1.113730.3.4.18".equals( scAttribute.getStringValues()[sci] ) ) //$NON-NLS-1$
                                 {
-                                    result = "OpenLDAP 2.2";
+                                    result = Messages.getString( "RootDSEPropertyPage.OpenLDAP22" ); //$NON-NLS-1$
                                     typeDetected = true;
                                 }
                             }
@@ -331,14 +333,14 @@
                     }
                     if ( !typeDetected )
                     {
-                        IAttribute seAttribute = rootDSE.getAttribute( "supportedExtension" );
+                        IAttribute seAttribute = rootDSE.getAttribute( "supportedExtension" ); //$NON-NLS-1$
                         if ( seAttribute != null )
                         {
                             for ( int sei = 0; sei < seAttribute.getStringValues().length; sei++ )
                             {
-                                if ( "1.3.6.1.4.1.4203.1.11.3".equals( seAttribute.getStringValues()[sei] ) )
+                                if ( "1.3.6.1.4.1.4203.1.11.3".equals( seAttribute.getStringValues()[sei] ) ) //$NON-NLS-1$
                                 {
-                                    result = "OpenLDAP 2.1";
+                                    result = Messages.getString( "RootDSEPropertyPage.OpenLDAP21" ); //$NON-NLS-1$
                                     typeDetected = true;
                                 }
                             }
@@ -346,14 +348,14 @@
                     }
                     if ( !typeDetected )
                     {
-                        IAttribute sfAttribute = rootDSE.getAttribute( "supportedFeatures" );
+                        IAttribute sfAttribute = rootDSE.getAttribute( "supportedFeatures" ); //$NON-NLS-1$
                         if ( sfAttribute != null )
                         {
                             for ( int sfi = 0; sfi < sfAttribute.getStringValues().length; sfi++ )
                             {
-                                if ( "1.3.6.1.4.1.4203.1.5.4".equals( sfAttribute.getStringValues()[sfi] ) )
+                                if ( "1.3.6.1.4.1.4203.1.5.4".equals( sfAttribute.getStringValues()[sfi] ) ) //$NON-NLS-1$
                                 {
-                                    result = "OpenLDAP 2.0";
+                                    result = Messages.getString( "RootDSEPropertyPage.OpenLDAP20" ); //$NON-NLS-1$
                                     typeDetected = true;
                                 }
                             }
@@ -361,7 +363,7 @@
                     }
                     if ( !typeDetected )
                     {
-                        result = "OpenLDAP";
+                        result = Messages.getString( "RootDSEPropertyPage.OpenLDAP" ); //$NON-NLS-1$
                         typeDetected = true;
                     }
                 }
@@ -431,11 +433,11 @@
         }
         catch ( Exception e )
         {
-            sb.append( "-" );
+            sb.append( Messages.getString( "RootDSEPropertyPage.Dash" ) ); //$NON-NLS-1$
         }
 
         BaseWidgetUtils.createLabel( composite, labelName, 1 );
-        BaseWidgetUtils.createWrappedLabeledText( composite, sb.toString(), 1, 150);
+        BaseWidgetUtils.createWrappedLabeledText( composite, sb.toString(), 1, 150 );
     }
 
 }

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SchemaPropertyPage.java Thu Nov 27 06:19:55 2008
@@ -95,20 +95,20 @@
         Composite composite = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
 
         Group infoGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
-            "Schema Information", 1 );
+            Messages.getString( "SchemaPropertyPage.SchemaInformation" ), 1 ); //$NON-NLS-1$
         Composite infoComposite = BaseWidgetUtils.createColumnContainer( infoGroup, 2, 1 );
         Composite infoGroupLeft = BaseWidgetUtils.createColumnContainer( infoComposite, 2, 1 );
 
-        BaseWidgetUtils.createLabel( infoGroupLeft, "Schema DN:", 1 );
-        dnText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( infoGroupLeft, Messages.getString( "SchemaPropertyPage.SchemaDN" ), 1 ); //$NON-NLS-1$
+        dnText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( infoGroupLeft, "Create Timestamp:", 1 );
-        ctText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( infoGroupLeft, Messages.getString( "SchemaPropertyPage.CreateTimestamp" ), 1 ); //$NON-NLS-1$
+        ctText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( infoGroupLeft, "Modify Timestamp:", 1 );
-        mtText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( infoGroupLeft, Messages.getString( "SchemaPropertyPage.ModifyTimestamp" ), 1 ); //$NON-NLS-1$
+        mtText = BaseWidgetUtils.createWrappedLabeledText( infoGroupLeft, "-", 1, 200 ); //$NON-NLS-1$
 
-        reloadSchemaButton = BaseWidgetUtils.createButton( infoComposite, "-", 1 );
+        reloadSchemaButton = BaseWidgetUtils.createButton( infoComposite, "-", 1 ); //$NON-NLS-1$
         GridData gd = new GridData();
         gd.verticalAlignment = SWT.BOTTOM;
         reloadSchemaButton.setLayoutData( gd );
@@ -124,17 +124,17 @@
         BaseWidgetUtils.createSpacer( composite, 1 );
 
         Group cacheGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
-            "Schema Cache", 1 );
+            Messages.getString( "SchemaPropertyPage.SchemaCache" ), 1 ); //$NON-NLS-1$
         Composite cacheComposite = BaseWidgetUtils.createColumnContainer( cacheGroup, 2, 1 );
 
-        BaseWidgetUtils.createLabel( cacheComposite, "Cache Location:", 1 );
-        cachePathText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( cacheComposite, Messages.getString( "SchemaPropertyPage.CacheLocation" ), 1 ); //$NON-NLS-1$
+        cachePathText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( cacheComposite, "Cache Date:", 1 );
-        cacheDateText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( cacheComposite, Messages.getString( "SchemaPropertyPage.CacheDate" ), 1 ); //$NON-NLS-1$
+        cacheDateText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( cacheComposite, "Cache Size:", 1 );
-        cacheSizeText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 );
+        BaseWidgetUtils.createLabel( cacheComposite, Messages.getString( "SchemaPropertyPage.CacheSize" ), 1 ); //$NON-NLS-1$
+        cacheSizeText = BaseWidgetUtils.createWrappedLabeledText( cacheComposite, "-", 1, 200 ); //$NON-NLS-1$
 
         IBrowserConnection connection = RootDSEPropertyPage.getConnection( getElement() );
         update( connection );
@@ -176,7 +176,7 @@
             }
             else
             {
-                dnText.setText( "-" );
+                dnText.setText( "-" ); //$NON-NLS-1$
             }
 
             if ( schema != null && schema.getCreateTimestamp() != null )
@@ -185,7 +185,7 @@
             }
             else
             {
-                ctText.setText( "-" );
+                ctText.setText( "-" ); //$NON-NLS-1$
             }
 
             if ( schema != null && schema.getModifyTimestamp() != null )
@@ -194,16 +194,16 @@
             }
             else
             {
-                mtText.setText( "-" );
+                mtText.setText( "-" ); //$NON-NLS-1$
             }
 
             if ( schema != null )
             {
-                reloadSchemaButton.setText( "Reload Schema" );
+                reloadSchemaButton.setText( Messages.getString( "SchemaPropertyPage.ReloadSchema" ) ); //$NON-NLS-1$
             }
             else
             {
-                reloadSchemaButton.setText( "Load Schema" );
+                reloadSchemaButton.setText( Messages.getString( "SchemaPropertyPage.LoadSchema" ) ); //$NON-NLS-1$
             }
 
             if ( connection != null )
@@ -219,9 +219,9 @@
                 }
                 else
                 {
-                    cachePathText.setText( "-" );
-                    cacheDateText.setText( "-" );
-                    cacheSizeText.setText( "-" );
+                    cachePathText.setText( "-" ); //$NON-NLS-1$
+                    cacheDateText.setText( "-" ); //$NON-NLS-1$
+                    cacheSizeText.setText( "-" ); //$NON-NLS-1$
                 }
             }
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SearchPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SearchPropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SearchPropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/SearchPropertyPage.java Thu Nov 27 06:19:55 2008
@@ -88,7 +88,7 @@
             this.search = new Search();
         }
 
-        super.setMessage( "Search " + Utils.shorten( search.getName(), 30 ) );
+        super.setMessage( Messages.getString( "SearchPropertyPage.Search" ) + Utils.shorten( search.getName(), 30 ) ); //$NON-NLS-1$
 
         Composite composite = BaseWidgetUtils.createColumnContainer( parent, 3, 1 );
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ValuePropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ValuePropertyPage.java?rev=721183&r1=721182&r2=721183&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ValuePropertyPage.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/ValuePropertyPage.java Thu Nov 27 06:19:55 2008
@@ -78,16 +78,16 @@
         Composite composite = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
         Composite mainGroup = BaseWidgetUtils.createColumnContainer( composite, 2, 1 );
 
-        BaseWidgetUtils.createLabel( mainGroup, "Attribute Description:", 1 );
-        descriptionText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "ValuePropertyPage.AttributeDescription" ), 1 ); //$NON-NLS-1$
+        descriptionText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( mainGroup, "Value Type:", 1 );
-        typeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "ValuePropertyPage.ValueType" ), 1 ); //$NON-NLS-1$
+        typeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( mainGroup, "Value Size:", 1 );
-        sizeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "ValuePropertyPage.ValueSize" ), 1 ); //$NON-NLS-1$
+        sizeText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( mainGroup, "Data:", 1 );
+        BaseWidgetUtils.createLabel( mainGroup, Messages.getString( "ValuePropertyPage.Data" ), 1 ); //$NON-NLS-1$
         if ( value != null && value.isString() )
         {
             valueText = new Text( mainGroup, SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.READ_ONLY );
@@ -100,22 +100,25 @@
         }
         else
         {
-            valueText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 );
+            valueText = BaseWidgetUtils.createLabeledText( mainGroup, "", 1 ); //$NON-NLS-1$
         }
 
         if ( value != null )
         {
-            super.setMessage( "Value "
+            super.setMessage( Messages.getString( "ValuePropertyPage.Value" ) //$NON-NLS-1$
                 + org.apache.directory.studio.connection.core.Utils.shorten( value.toString(), 30 ) );
 
             descriptionText.setText( value.getAttribute().getDescription() );
             // valueText.setText(LdifUtils.mustEncode(value.getBinaryValue())?"Binary":value.getStringValue());
-            valueText.setText( value.isString() ? value.getStringValue() : "Binary" );
-            typeText.setText( value.isString() ? "String" : "Binary" );
+            valueText.setText( value.isString() ? value.getStringValue() : Messages
+                .getString( "ValuePropertyPage.Binary" ) ); //$NON-NLS-1$
+            typeText
+                .setText( value.isString() ? Messages.getString( "ValuePropertyPage.String" ) : Messages.getString( "ValuePropertyPage.Binary" ) ); //$NON-NLS-1$ //$NON-NLS-2$
 
             int bytes = value.getBinaryValue().length;
             int chars = value.isString() ? value.getStringValue().length() : 0;
-            String size = value.isString() ? chars + ( chars > 1 ? " Characters, " : " Character, " ) : "";
+            String size = value.isString() ? chars
+                + ( chars > 1 ? Messages.getString( "ValuePropertyPage.Characters" ) : Messages.getString( "ValuePropertyPage.Character" ) ) : ""; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
             size += Utils.formatBytes( bytes );
             sizeText.setText( size );
         }

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties?rev=721183&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties (added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties Thu Nov 27 06:19:55 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.
+
+AttributePropertyPage.AlternativeNames=Alternative Names:
+AttributePropertyPage.Attribute=Attribute {0}
+AttributePropertyPage.AttributeSize=Attribute Size:
+AttributePropertyPage.AttributeType=Attribute Type
+AttributePropertyPage.Collective=Collective
+AttributePropertyPage.Description=Description:
+AttributePropertyPage.EqualityMatch=Equality Match:
+AttributePropertyPage.Flags=Flags
+AttributePropertyPage.MatchingRules=Matching Rules
+AttributePropertyPage.NubericOID=Numeric OID:
+AttributePropertyPage.NumberOfValues=Number of Values:
+AttributePropertyPage.Obsolete=Obsolete
+AttributePropertyPage.OrderingMatch=Ordering Match:
+AttributePropertyPage.ReadOnly=Read only
+AttributePropertyPage.SingleValued=Single valued
+AttributePropertyPage.SubstringMatch=Substring Match:
+AttributePropertyPage.Syntax=Syntax
+AttributePropertyPage.SyntaxDescription=Syntax Description:
+AttributePropertyPage.SyntaxLength=Syntax Length:
+AttributePropertyPage.SyntaxOID=Syntax OID:
+AttributePropertyPage.Type=Type:
+AttributePropertyPage.Usage=Usage:
+BookmarkPropertyPage.Bookmark=Bookmark 
+BookmarkPropertyPage.BookmarkDN=Bookmark DN:
+BookmarkPropertyPage.BookmarkName=Bookmark Name:
+BookmarkPropertyPage.EnterDN=Please enter a DN.
+BookmarkPropertyPage.EnterName=Please enter a name.
+BookmarkPropertyPage.ErrorBookmarkExists=A bookmark with this name already exists.
+EntryPropertyPage.ChildrenFetched={0} fetched, may have more
+EntryPropertyPage.CreateModifyinformation=Create and Modify Information
+EntryPropertyPage.CreateTimestamp=Create Timestamp:
+EntryPropertyPage.CreatorsName=Creators Name:
+EntryPropertyPage.DN=DN:
+EntryPropertyPage.Entry=Entry 
+EntryPropertyPage.EntrySize=Entry Size:
+EntryPropertyPage.IncludeoperationalAttributes=Include operational attributes
+EntryPropertyPage.ModifiersName=Modifiers Name:
+EntryPropertyPage.ModifyTimestamp=Modify Timestamp:
+EntryPropertyPage.NotChecked=Not checked
+EntryPropertyPage.NumberOfAttributes=Number of Attributes:
+EntryPropertyPage.NumberOfChildren=Number of Children:
+EntryPropertyPage.NumberOfValues=Number of Values:
+EntryPropertyPage.Refresh=Refresh
+EntryPropertyPage.SizingInformation=Sizing Information
+EntryPropertyPage.URL=URL:
+RootDSEPropertyPage.ApacheDirectoryServer=Apache Directory Server
+RootDSEPropertyPage.Controls=Controls
+RootDSEPropertyPage.Dash=-
+RootDSEPropertyPage.DirectoryTypw=Directory Type:
+RootDSEPropertyPage.Extensions=Extensions
+RootDSEPropertyPage.Features=Features
+RootDSEPropertyPage.IBMTivoli=IBM Tivoli Directory Server
+RootDSEPropertyPage.Info=Info
+RootDSEPropertyPage.MSAD2000=Microsoft Active Directory 2000
+RootDSEPropertyPage.MSAD2003=Microsoft Active Directory 2003
+RootDSEPropertyPage.NetscapeDirectoryServer=Netscape Directory Server
+RootDSEPropertyPage.NovellEDirectory=Novell eDirectory
+RootDSEPropertyPage.OpenLDAP=OpenLDAP
+RootDSEPropertyPage.OpenLDAP20=OpenLDAP 2.0
+RootDSEPropertyPage.OpenLDAP21=OpenLDAP 2.1
+RootDSEPropertyPage.OpenLDAP22=OpenLDAP 2.2
+RootDSEPropertyPage.openLDAP23=OpenLDAP 2.3
+RootDSEPropertyPage.SiemesDirX=Siemens DirX
+RootDSEPropertyPage.SunDirectoryServer=Sun Directory Server
+RootDSEPropertyPage.SupportedLDAPVersion=Supported LDAP Versions:
+RootDSEPropertyPage.SupportedSASL=Supported SASL Mechanisms:
+RootDSEPropertyPage.VendorName=Vendor Name:
+RootDSEPropertyPage.VendorVersion=Vendor Version:
+SchemaPropertyPage.CacheDate=Cache Date:
+SchemaPropertyPage.CacheLocation=Cache Location:
+SchemaPropertyPage.CacheSize=Cache Size:
+SchemaPropertyPage.CreateTimestamp=Create Timestamp:
+SchemaPropertyPage.LoadSchema=Load Schema
+SchemaPropertyPage.ModifyTimestamp=Modify Timestamp:
+SchemaPropertyPage.ReloadSchema=Reload Schema
+SchemaPropertyPage.SchemaCache=Schema Cache
+SchemaPropertyPage.SchemaDN=Schema DN:
+SchemaPropertyPage.SchemaInformation=Schema Information
+SearchPropertyPage.Search=Search 
+ValuePropertyPage.AttributeDescription=Attribute Description:
+ValuePropertyPage.Binary=Binary
+ValuePropertyPage.Character=\ Character, 
+ValuePropertyPage.Characters=\ Characters, 
+ValuePropertyPage.Data=Data:
+ValuePropertyPage.String=String
+ValuePropertyPage.Value=Value 
+ValuePropertyPage.ValueSize=Value Size:
+ValuePropertyPage.ValueType=Value Type:

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties?rev=721183&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties (added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties Thu Nov 27 06:19:55 2008
@@ -0,0 +1,81 @@
+# 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.
+
+AttributePropertyPage.AlternativeNames=Alternative Namen\:
+AttributePropertyPage.Attribute=Attribut {0}
+AttributePropertyPage.AttributeSize=Attribut Gr\u00F6sse\:
+AttributePropertyPage.AttributeType=Attribut-Typ
+AttributePropertyPage.Collective=Gemeinschaftlich
+AttributePropertyPage.Description=Beschreibung\:
+AttributePropertyPage.EqualityMatch=Passende Gleichheit\:
+AttributePropertyPage.Flags=Schalter
+AttributePropertyPage.MatchingRules=Passende Regeln
+AttributePropertyPage.NubericOID=Numerische OID\:
+AttributePropertyPage.NumberOfValues=Anzahl Werte\:
+AttributePropertyPage.Obsolete=Obsolet
+AttributePropertyPage.OrderingMatch=Passende Sortierung\:
+AttributePropertyPage.ReadOnly=Nur lesen
+AttributePropertyPage.SingleValued=Einzel bewertet
+AttributePropertyPage.SubstringMatch=Passender Teilstring\:
+AttributePropertyPage.SyntaxDescription=Syntax Beschreibung\:
+AttributePropertyPage.SyntaxLength=Syntax L\u00E4nge\:
+AttributePropertyPage.Type=Typ\:
+AttributePropertyPage.Usage=Verwendung\:
+BookmarkPropertyPage.Bookmark=Lesezeichen
+BookmarkPropertyPage.BookmarkDN=Lesezeichen DN\:
+BookmarkPropertyPage.BookmarkName=Lesezeichen Name\:
+BookmarkPropertyPage.EnterDN=Bitte eine DN eingeben.
+BookmarkPropertyPage.EnterName=Bitte einen Namen eingeben.
+BookmarkPropertyPage.ErrorBookmarkExists=Ein Lesezeichen mit diesem Namen existiert bereits.
+EntryPropertyPage.ChildrenFetched={0} abgeholt, es kann noch mehr haben
+EntryPropertyPage.CreateModifyinformation=Erstelle und \u00E4ndere Information
+EntryPropertyPage.CreateTimestamp=Erstelle Zeitstempel\:
+EntryPropertyPage.CreatorsName=Name des Erstellers\:
+EntryPropertyPage.Entry=Eintrag
+EntryPropertyPage.EntrySize=Eintrag Gr\u00F6sse\:
+EntryPropertyPage.IncludeoperationalAttributes=Schliesse operative Attribute mit ein
+EntryPropertyPage.ModifiersName=Name des Ver\u00E4nderers\:
+EntryPropertyPage.ModifyTimestamp=\u00C4ndere Zeitstempel\:
+EntryPropertyPage.NotChecked=Nicht \u00FCberpr\u00FCft
+EntryPropertyPage.NumberOfAttributes=Anzahl Attribute\:
+EntryPropertyPage.NumberOfChildren=Anzahl Kinder\:
+EntryPropertyPage.NumberOfValues=Anzahl Werte\:
+EntryPropertyPage.Refresh=Erneuern
+EntryPropertyPage.SizingInformation=Gr\u00F6ssen-Information
+RootDSEPropertyPage.Controls=Steuerungs-Elemente
+RootDSEPropertyPage.DirectoryTypw=Verzeichnis-Typ\:
+RootDSEPropertyPage.Extensions=Erweiterungen
+RootDSEPropertyPage.Features=Merkmale
+RootDSEPropertyPage.Info=Information
+RootDSEPropertyPage.SupportedLDAPVersion=Unterst\u00FCtze LDAP Versionen\:
+RootDSEPropertyPage.SupportedSASL=Unterst\u00FCtze SASL Mechanismen\:
+RootDSEPropertyPage.VendorName=Verk\u00E4ufer Name\:
+RootDSEPropertyPage.VendorVersion=Verk\u00E4ufer Version\:
+SchemaPropertyPage.CacheDate=Cache Datum\:
+SchemaPropertyPage.CacheLocation=Cache Ort\:
+SchemaPropertyPage.CacheSize=Cache Gr\u00F6sse\:
+SchemaPropertyPage.CreateTimestamp=Erstelle Zeitstempel\:
+SchemaPropertyPage.LoadSchema=Lade Schema
+SchemaPropertyPage.ModifyTimestamp=Ver\u00E4ndere Zeitstempel\:
+SchemaPropertyPage.ReloadSchema=Schema erneut laden
+SearchPropertyPage.Search=Suchen
+ValuePropertyPage.AttributeDescription=Attribut Beschreibung\:
+ValuePropertyPage.Character=\ Buchstabe, 
+ValuePropertyPage.Characters=\ Buchstaben, 
+ValuePropertyPage.Value=Wert
+ValuePropertyPage.ValueSize=Wert Gr\u00F6sse\:
+ValuePropertyPage.ValueType=Wert Typ\:

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/dialogs/properties/messages_de.properties
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message