directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r721195 - in /directory/studio/trunk/ldapbrowser-ui/src/main: java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ resources/org/apache/directory/studio/ldapbrowser/ui/editors/ resources/org/apache/directory/studio/ldapbrowser/ui/...
Date Thu, 27 Nov 2008 14:50:29 GMT
Author: felixk
Date: Thu Nov 27 06:50:29 2008
New Revision: 721195

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

Added:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/Messages.java
  (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages.properties
  (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages_de.properties
  (with props)
Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorActionGroup.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorInput.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorNavigationLocation.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorPreferencePageAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ShowOperationalAttributesAction.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorActionGroup.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorActionGroup.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorActionGroup.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorActionGroup.java
Thu Nov 27 06:50:29 2008
@@ -80,76 +80,76 @@
     private ExpandAllAction expandAllAction;
 
     /** The Constant editAttributeDescriptionAction. */
-    private static final String editAttributeDescriptionAction = "editAttributeDescriptionAction";
+    private static final String editAttributeDescriptionAction = "editAttributeDescriptionAction";
//$NON-NLS-1$
 
     /** The Constant refreshAttributesAction. */
-    private static final String refreshAttributesAction = "refreshAttributesAction";
+    private static final String refreshAttributesAction = "refreshAttributesAction"; //$NON-NLS-1$
 
     /** The Constant newAttributeAction. */
-    private static final String newAttributeAction = "newAttributeAction";
+    private static final String newAttributeAction = "newAttributeAction"; //$NON-NLS-1$
 
     /** The Constant newSearchAction. */
-    private static final String newSearchAction = "newSearchDialogAction";
+    private static final String newSearchAction = "newSearchDialogAction"; //$NON-NLS-1$
 
     /** The Constant newBatchOperationAction. */
-    private static final String newBatchOperationAction = "newBatchOperationAction";
+    private static final String newBatchOperationAction = "newBatchOperationAction"; //$NON-NLS-1$
 
     /** The Constant copyDnAction. */
-    private static final String copyDnAction = "copyDnAction";
+    private static final String copyDnAction = "copyDnAction"; //$NON-NLS-1$
 
     /** The Constant copyUrlAction. */
-    private static final String copyUrlAction = "copyUrlAction";
+    private static final String copyUrlAction = "copyUrlAction"; //$NON-NLS-1$
 
     /** The Constant copyAttriuteDescriptionAction. */
-    private static final String copyAttriuteDescriptionAction = "copyAttriuteDescriptionAction";
+    private static final String copyAttriuteDescriptionAction = "copyAttriuteDescriptionAction";
//$NON-NLS-1$
 
     /** The Constant copyValueUtf8Action. */
-    private static final String copyValueUtf8Action = "copyValueUtf8Action";
+    private static final String copyValueUtf8Action = "copyValueUtf8Action"; //$NON-NLS-1$
 
     /** The Constant copyValueBase64Action. */
-    private static final String copyValueBase64Action = "copyValueBase64Action";
+    private static final String copyValueBase64Action = "copyValueBase64Action"; //$NON-NLS-1$
 
     /** The Constant copyValueHexAction. */
-    private static final String copyValueHexAction = "copyValueHexAction";
+    private static final String copyValueHexAction = "copyValueHexAction"; //$NON-NLS-1$
 
     /** The Constant copyValueAsLdifAction. */
-    private static final String copyValueAsLdifAction = "copyValueAsLdifAction";
+    private static final String copyValueAsLdifAction = "copyValueAsLdifAction"; //$NON-NLS-1$
 
     /** The Constant copySearchFilterAction. */
-    private static final String copySearchFilterAction = "copySearchFilterAction";
+    private static final String copySearchFilterAction = "copySearchFilterAction"; //$NON-NLS-1$
 
     /** The Constant copyNotSearchFilterAction. */
-    private static final String copyNotSearchFilterAction = "copyNotSearchFilterAction";
+    private static final String copyNotSearchFilterAction = "copyNotSearchFilterAction";
//$NON-NLS-1$
 
     /** The Constant copyAndSearchFilterAction. */
-    private static final String copyAndSearchFilterAction = "copyAndSearchFilterAction";
+    private static final String copyAndSearchFilterAction = "copyAndSearchFilterAction";
//$NON-NLS-1$
 
     /** The Constant copyOrSearchFilterAction. */
-    private static final String copyOrSearchFilterAction = "copyOrSearchFilterAction";
+    private static final String copyOrSearchFilterAction = "copyOrSearchFilterAction"; //$NON-NLS-1$
 
     /** The Constant deleteAllValuesAction. */
-    private static final String deleteAllValuesAction = "deleteAllValuesAction";
+    private static final String deleteAllValuesAction = "deleteAllValuesAction"; //$NON-NLS-1$
 
     /** The Constant locateDnInDitAction. */
-    private static final String locateDnInDitAction = "locateDnInDitAction";
+    private static final String locateDnInDitAction = "locateDnInDitAction"; //$NON-NLS-1$
 
     /** The Constant showOcdAction. */
-    private static final String showOcdAction = "showOcdAction";
+    private static final String showOcdAction = "showOcdAction"; //$NON-NLS-1$
 
     /** The Constant showAtdAction. */
-    private static final String showAtdAction = "showAtdAction";
+    private static final String showAtdAction = "showAtdAction"; //$NON-NLS-1$
 
     /** The Constant showEqualityMrdAction. */
-    private static final String showEqualityMrdAction = "showEqualityMrdAction";
+    private static final String showEqualityMrdAction = "showEqualityMrdAction"; //$NON-NLS-1$
 
     /** The Constant showSubstringMrdAction. */
-    private static final String showSubstringMrdAction = "showSubstringMrdAction";
+    private static final String showSubstringMrdAction = "showSubstringMrdAction"; //$NON-NLS-1$
 
     /** The Constant showOrderingMrdAction. */
-    private static final String showOrderingMrdAction = "showOrderingMrdAction";
+    private static final String showOrderingMrdAction = "showOrderingMrdAction"; //$NON-NLS-1$
 
     /** The Constant showLsdAction. */
-    private static final String showLsdAction = "showLsdAction";
+    private static final String showLsdAction = "showLsdAction"; //$NON-NLS-1$
 
 
     /**
@@ -311,7 +311,8 @@
 
         // navigation
         menuManager.add( entryEditorActionMap.get( locateDnInDitAction ) );
-        MenuManager schemaMenuManager = new MenuManager( "Open Schema Browser" );
+        MenuManager schemaMenuManager = new MenuManager( Messages
+            .getString( "EntryEditorActionGroup.OpenSchemaBrowser" ) ); //$NON-NLS-1$
         schemaMenuManager.add( entryEditorActionMap.get( showOcdAction ) );
         schemaMenuManager.add( entryEditorActionMap.get( showAtdAction ) );
         schemaMenuManager.add( entryEditorActionMap.get( showEqualityMrdAction ) );
@@ -319,7 +320,7 @@
         schemaMenuManager.add( entryEditorActionMap.get( showOrderingMrdAction ) );
         schemaMenuManager.add( entryEditorActionMap.get( showLsdAction ) );
         menuManager.add( schemaMenuManager );
-        MenuManager showInSubMenu = new MenuManager( "Show In" );
+        MenuManager showInSubMenu = new MenuManager( Messages.getString( "EntryEditorActionGroup.ShowIn"
) ); //$NON-NLS-1$
         showInSubMenu.add( ContributionItemFactory.VIEWS_SHOW_IN.create( PlatformUI.getWorkbench()
             .getActiveWorkbenchWindow() ) );
         menuManager.add( showInSubMenu );
@@ -331,7 +332,7 @@
         menuManager.add( entryEditorActionMap.get( pasteAction ) );
         menuManager.add( entryEditorActionMap.get( deleteAction ) );
         menuManager.add( entryEditorActionMap.get( selectAllAction ) );
-        MenuManager advancedMenuManager = new MenuManager( "Advanced" );
+        MenuManager advancedMenuManager = new MenuManager( Messages.getString( "EntryEditorActionGroup.Advanced"
) ); //$NON-NLS-1$
         advancedMenuManager.add( entryEditorActionMap.get( copyDnAction ) );
         advancedMenuManager.add( entryEditorActionMap.get( copyUrlAction ) );
         advancedMenuManager.add( new Separator() );

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorInput.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorInput.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorInput.java
Thu Nov 27 06:50:29 2008
@@ -55,10 +55,10 @@
 
     /** The entry input */
     private IEntry entry;
-    
+
     /** The search result input */
     private ISearchResult searchResult;
-    
+
     /** The bookmark input */
     private IBookmark bookmark;
 
@@ -135,7 +135,7 @@
      */
     public String getName()
     {
-        return "Entry Editor";
+        return Messages.getString( "EntryEditorInput.EntryEditor" ); //$NON-NLS-1$
     }
 
 
@@ -144,9 +144,10 @@
      */
     public String getToolTipText()
     {
-        return "";
+        return ""; //$NON-NLS-1$
     }
 
+
     /**
      * This implementation always return null.
      * 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorNavigationLocation.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorNavigationLocation.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorNavigationLocation.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorNavigationLocation.java
Thu Nov 27 06:50:29 2008
@@ -31,6 +31,7 @@
 import org.apache.directory.studio.ldapbrowser.core.model.IRootDSE;
 import org.apache.directory.studio.ldapbrowser.core.model.ISearch;
 import org.apache.directory.studio.ldapbrowser.core.model.ISearchResult;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.ui.IEditorPart;
 import org.eclipse.ui.IMemento;
 import org.eclipse.ui.INavigationLocation;
@@ -69,33 +70,39 @@
             {
                 if ( eei.getEntryInput() instanceof IRootDSE )
                 {
-                    return "Root DSE";
+                    return Messages.getString( "EntryEditorNavigationLocation.RootDSE" );
//$NON-NLS-1$
                 }
                 else
                 {
-                    return "Entry " + eei.getEntryInput().getDn().getUpName();
+                    return NLS
+                        .bind(
+                            Messages.getString( "EntryEditorNavigationLocation.Entry" ),
new String[] { eei.getEntryInput().getDn().getUpName() } ); //$NON-NLS-1$
                 }
             }
             else if ( eei.getSearchResultInput() != null )
             {
                 if ( eei.getSearchResultInput() instanceof IRootDSE )
                 {
-                    return "Root DSE";
+                    return Messages.getString( "EntryEditorNavigationLocation.RootDSE" );
//$NON-NLS-1$
                 }
                 else
                 {
-                    return "Search Result " + eei.getSearchResultInput().getDn().getUpName();
+                    return NLS
+                        .bind(
+                            Messages.getString( "EntryEditorNavigationLocation.SearchResult"
), new String[] { eei.getSearchResultInput().getDn().getUpName() } ); //$NON-NLS-1$
                 }
             }
             else if ( eei.getBookmarkInput() != null )
             {
                 if ( eei.getBookmarkInput() instanceof IRootDSE )
                 {
-                    return "Root DSE";
+                    return Messages.getString( "EntryEditorNavigationLocation.RootDSE" );
//$NON-NLS-1$
                 }
                 else
                 {
-                    return "Bookmark " + eei.getBookmarkInput().getDn().getUpName();
+                    return NLS
+                        .bind(
+                            Messages.getString( "EntryEditorNavigationLocation.Bookmark"
), new String[] { eei.getBookmarkInput().getDn().getUpName() } ); //$NON-NLS-1$
                 }
             }
         }
@@ -114,24 +121,25 @@
             if ( eei.getEntryInput() != null )
             {
                 IEntry entry = eei.getEntryInput();
-                memento.putString( "TYPE", "IEntry" );
-                memento.putString( "DN", entry.getDn().getUpName() );
-                memento.putString( "CONNECTION", entry.getBrowserConnection().getConnection().getId()
);
+                memento.putString( "TYPE", "IEntry" ); //$NON-NLS-1$ //$NON-NLS-2$
+                memento.putString( "DN", entry.getDn().getUpName() ); //$NON-NLS-1$
+                memento.putString( "CONNECTION", entry.getBrowserConnection().getConnection().getId()
); //$NON-NLS-1$
             }
             else if ( eei.getSearchResultInput() != null )
             {
                 ISearchResult searchResult = eei.getSearchResultInput();
-                memento.putString( "TYPE", "ISearchResult" );
-                memento.putString( "DN", searchResult.getDn().getUpName() );
-                memento.putString( "SEARCH", searchResult.getSearch().getName() );
-                memento.putString( "CONNECTION", searchResult.getSearch().getBrowserConnection().getConnection().getId()
);
+                memento.putString( "TYPE", "ISearchResult" ); //$NON-NLS-1$ //$NON-NLS-2$
+                memento.putString( "DN", searchResult.getDn().getUpName() ); //$NON-NLS-1$
+                memento.putString( "SEARCH", searchResult.getSearch().getName() ); //$NON-NLS-1$
+                memento.putString(
+                    "CONNECTION", searchResult.getSearch().getBrowserConnection().getConnection().getId()
); //$NON-NLS-1$
             }
             else if ( eei.getBookmarkInput() != null )
             {
                 IBookmark bookmark = eei.getBookmarkInput();
-                memento.putString( "TYPE", "IBookmark" );
-                memento.putString( "BOOKMARK", bookmark.getName() );
-                memento.putString( "CONNECTION", bookmark.getBrowserConnection().getConnection().getId()
);
+                memento.putString( "TYPE", "IBookmark" ); //$NON-NLS-1$ //$NON-NLS-2$
+                memento.putString( "BOOKMARK", bookmark.getName() ); //$NON-NLS-1$
+                memento.putString( "CONNECTION", bookmark.getBrowserConnection().getConnection().getId()
); //$NON-NLS-1$
             }
         }
 
@@ -145,22 +153,22 @@
     {
         try
         {
-            String type = memento.getString( "TYPE" );
-            if ( "IEntry".equals( type ) )
+            String type = memento.getString( "TYPE" ); //$NON-NLS-1$
+            if ( "IEntry".equals( type ) ) //$NON-NLS-1$
             {
-                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager().getBrowserConnectionById(
-                    memento.getString( "CONNECTION" ) );
-                LdapDN dn = new LdapDN( memento.getString( "DN" ) );
+                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager()
+                    .getBrowserConnectionById( memento.getString( "CONNECTION" ) ); //$NON-NLS-1$
+                LdapDN dn = new LdapDN( memento.getString( "DN" ) ); //$NON-NLS-1$
                 IEntry entry = connection.getEntryFromCache( dn );
                 super.setInput( new EntryEditorInput( entry ) );
             }
-            else if ( "ISearchResult".equals( type ) )
+            else if ( "ISearchResult".equals( type ) ) //$NON-NLS-1$
             {
-                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager().getBrowserConnectionById(
-                    memento.getString( "CONNECTION" ) );
-                ISearch search = connection.getSearchManager().getSearch( memento.getString(
"SEARCH" ) );
+                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager()
+                    .getBrowserConnectionById( memento.getString( "CONNECTION" ) ); //$NON-NLS-1$
+                ISearch search = connection.getSearchManager().getSearch( memento.getString(
"SEARCH" ) ); //$NON-NLS-1$
                 ISearchResult[] searchResults = search.getSearchResults();
-                LdapDN dn = new LdapDN( memento.getString( "DN" ) );
+                LdapDN dn = new LdapDN( memento.getString( "DN" ) ); //$NON-NLS-1$
                 for ( int i = 0; i < searchResults.length; i++ )
                 {
                     if ( dn.equals( searchResults[i].getDn() ) )
@@ -170,11 +178,11 @@
                     }
                 }
             }
-            else if ( "IBookmark".equals( type ) )
+            else if ( "IBookmark".equals( type ) ) //$NON-NLS-1$
             {
-                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager().getBrowserConnectionById(
-                    memento.getString( "CONNECTION" ) );
-                IBookmark bookmark = connection.getBookmarkManager().getBookmark( memento.getString(
"BOOKMARK" ) );
+                IBrowserConnection connection = BrowserCorePlugin.getDefault().getConnectionManager()
+                    .getBrowserConnectionById( memento.getString( "CONNECTION" ) ); //$NON-NLS-1$
+                IBookmark bookmark = connection.getBookmarkManager().getBookmark( memento.getString(
"BOOKMARK" ) ); //$NON-NLS-1$
                 super.setInput( new EntryEditorInput( bookmark ) );
             }
         }
@@ -266,7 +274,7 @@
      */
     public String toString()
     {
-        return "" + getEntryEditorInput().getInput();
+        return "" + getEntryEditorInput().getInput(); //$NON-NLS-1$
     }
 
 }

Added: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/Messages.java?rev=721195&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/Messages.java
(added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/Messages.java
Thu Nov 27 06:50:29 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.editors.entry;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.ldapbrowser.ui.editors.entry.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/editors/entry/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorAction.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorAction.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorAction.java
Thu Nov 27 06:50:29 2008
@@ -132,7 +132,7 @@
      */
     public String getText()
     {
-        return "Edit Entry...";
+        return Messages.getString( "OpenEntryEditorAction.EditEntry" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorPreferencePageAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorPreferencePageAction.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorPreferencePageAction.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/OpenEntryEditorPreferencePageAction.java
Thu Nov 27 06:50:29 2008
@@ -42,8 +42,8 @@
      */
     public OpenEntryEditorPreferencePageAction()
     {
-        setText( "Preferences..." );
-        setToolTipText( "Preferences..." );
+        setText( Messages.getString( "OpenEntryEditorPreferencePageAction.Preferences" )
); //$NON-NLS-1$
+        setToolTipText( Messages.getString( "OpenEntryEditorPreferencePageAction.PreferencesToolTip"
) ); //$NON-NLS-1$
         setEnabled( true );
     }
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ShowOperationalAttributesAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ShowOperationalAttributesAction.java?rev=721195&r1=721194&r2=721195&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ShowOperationalAttributesAction.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ShowOperationalAttributesAction.java
Thu Nov 27 06:50:29 2008
@@ -40,7 +40,7 @@
      */
     public ShowOperationalAttributesAction()
     {
-        super( "Show Operational Attributes", AS_CHECK_BOX );
+        super( Messages.getString( "ShowOperationalAttributesAction.ShowOperationalAttributes"
), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setEnabled( true );
         setChecked( BrowserCommonActivator.getDefault().getPreferenceStore().getBoolean(

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages.properties?rev=721195&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages.properties
(added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages.properties
Thu Nov 27 06:50:29 2008
@@ -0,0 +1,29 @@
+# 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.
+
+EntryEditorActionGroup.Advanced=Advanced
+EntryEditorActionGroup.OpenSchemaBrowser=Open Schema Browser
+EntryEditorActionGroup.ShowIn=Show In
+EntryEditorInput.EntryEditor=Entry Editor
+EntryEditorNavigationLocation.Bookmark=Bookmark {0}
+EntryEditorNavigationLocation.Entry=Entry {0}
+EntryEditorNavigationLocation.RootDSE=Root DSE
+EntryEditorNavigationLocation.SearchResult=Search Result {0}
+OpenEntryEditorAction.EditEntry=Edit Entry...
+OpenEntryEditorPreferencePageAction.Preferences=Preferences...
+OpenEntryEditorPreferencePageAction.PreferencesToolTip=Preferences...
+ShowOperationalAttributesAction.ShowOperationalAttributes=Show Operational Attributes

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

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

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages_de.properties?rev=721195&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages_de.properties
(added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/editors/entry/messages_de.properties
Thu Nov 27 06:50:29 2008
@@ -0,0 +1,28 @@
+# 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.
+
+EntryEditorActionGroup.Advanced=Erweitert
+EntryEditorActionGroup.OpenSchemaBrowser=\u00D6ffne Schema Browser
+EntryEditorActionGroup.ShowIn=Anzeigen in
+EntryEditorInput.EntryEditor=Eintrag Editor
+EntryEditorNavigationLocation.Bookmark=Lesezeichen {0}
+EntryEditorNavigationLocation.Entry=Eintrag {0}
+EntryEditorNavigationLocation.SearchResult=Such Resultat {0}
+OpenEntryEditorAction.EditEntry=Eintrag editieren...
+OpenEntryEditorPreferencePageAction.Preferences=Pr\u00E4ferenzen...
+OpenEntryEditorPreferencePageAction.PreferencesToolTip=Pr\u00E4ferenzen...
+ShowOperationalAttributesAction.ShowOperationalAttributes=Operative Attribute anzeigen

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

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



Mime
View raw message