directory-commits mailing list archives

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

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

Added:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/Messages.java   (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages.properties   (with props)
    directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages_de.properties   (with props)
Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyAttributeDescriptionAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyDnAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsCsvAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsLdifAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopySearchFilterAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyUrlAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyValueAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExpandAllAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExportConnectionsAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/GotoDnAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportConnectionsAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportExportAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateDnInDitAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateEntryInDitAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/MoveAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBatchOperationAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBookmarkAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewEntryAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewLdifFileAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewSearchAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenEncoderDecoderDialogAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSchemaBrowserAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchAction.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchResultAction.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyAttributeDescriptionAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyAttributeDescriptionAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyAttributeDescriptionAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyAttributeDescriptionAction.java Thu Nov 27 04:50:06 2008
@@ -112,11 +112,11 @@
     {
         if ( getAttributeNameSet().size() > 1 )
         {
-            return "Copy Attribute Descriptions";
+            return Messages.getString( "CopyAttributeDescriptionAction.CopyAttributeDescriptions" ); //$NON-NLS-1$
         }
         else
         {
-            return "Copy Attribute Description";
+            return Messages.getString( "CopyAttributeDescriptionAction.CopyAttributeDescription" ); //$NON-NLS-1$
         }
     }
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyDnAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyDnAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyDnAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyDnAction.java Thu Nov 27 04:50:06 2008
@@ -92,7 +92,7 @@
      */
     public String getText()
     {
-        return "Copy DN";
+        return Messages.getString( "CopyDnAction.CopyDN" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsAction.java Thu Nov 27 04:50:06 2008
@@ -32,6 +32,7 @@
 import org.apache.directory.studio.ldapbrowser.core.jobs.ReadEntryRunnable;
 import org.apache.directory.studio.ldapbrowser.core.model.IEntry;
 import org.apache.directory.studio.ldapbrowser.core.model.ISearchResult;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.dnd.Clipboard;
 import org.eclipse.swt.dnd.TextTransfer;
 import org.eclipse.swt.dnd.Transfer;
@@ -88,23 +89,23 @@
         this.mode = mode;
         if ( this.mode == MODE_DN_ONLY )
         {
-            this.appendix = " (DN only)";
+            this.appendix = Messages.getString( "CopyEntryAsAction.DNOnly" ); //$NON-NLS-1$
         }
         else if ( this.mode == MODE_RETURNING_ATTRIBUTES_ONLY )
         {
-            this.appendix = " (returning attributes only)";
+            this.appendix = Messages.getString( "CopyEntryAsAction.AttributesOnly" ); //$NON-NLS-1$
         }
         else if ( this.mode == MODE_INCLUDE_OPERATIONAL_ATTRIBUTES )
         {
-            this.appendix = " (include operational attributes)";
+            this.appendix = Messages.getString( "CopyEntryAsAction.OperationalAttributes" ); //$NON-NLS-1$
         }
         else if ( this.mode == MODE_NORMAL )
         {
-            this.appendix = " (all user attributes)";
+            this.appendix = Messages.getString( "CopyEntryAsAction.UserAttributes" ); //$NON-NLS-1$
         }
         else
         {
-            appendix = "";
+            appendix = ""; //$NON-NLS-1$
         }
     }
 
@@ -118,7 +119,9 @@
             && getSelectedSearches().length == 0 )
         {
             String text = ( getSelectedEntries().length + getSelectedSearchResults().length
-                + getSelectedBookmarks().length > 1 ? "Copy Entries as " + type : "Copy Entry as " + type )
+                + getSelectedBookmarks().length > 1 ? NLS.bind(
+                Messages.getString( "CopyEntryAsAction.CopyEntries" ), new String[] { type } ) //$NON-NLS-1$
+                : NLS.bind( Messages.getString( "CopyEntryAsAction.CopyEntry" ), new String[] { type } ) ) //$NON-NLS-1$ //$NON-NLS-2$
                 + appendix;
             return text;
         }
@@ -126,13 +129,14 @@
             && getSelectedSearches().length == 1 && getSelectedSearches()[0].getSearchResults() != null
             && getSelectedSearches()[0].getSearchResults().length > 0 )
         {
-            String text = ( getSelectedSearches()[0].getSearchResults().length > 1 ? "Copy Search Results as " + type
-                : "Copy Search Result as " + type )
+            String text = ( getSelectedSearches()[0].getSearchResults().length > 1 ? NLS.bind( Messages
+                .getString( "CopyEntryAsAction.CopyResults" ), new String[] { type } )//$NON-NLS-1$
+                : NLS.bind( Messages.getString( "CopyEntryAsAction.CopyResult" ), new String[] { type } ) ) //$NON-NLS-1$
                 + appendix;
             return text;
         }
 
-        return "Copy Entry as " + type + appendix;
+        return NLS.bind( Messages.getString( "CopyEntryAsAction.CopyEntry" ), new String[] { type + appendix } ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsCsvAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsCsvAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsCsvAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsCsvAction.java Thu Nov 27 04:50:06 2008
@@ -65,7 +65,7 @@
      */
     public CopyEntryAsCsvAction( int mode )
     {
-        super( "CSV", mode );
+        super( Messages.getString( "CopyEntryAsCsvAction.CSV" ), mode ); //$NON-NLS-1$
     }
 
 
@@ -108,7 +108,7 @@
     {
         if ( this.mode == MODE_TABLE )
         {
-            return "Copy Table";
+            return Messages.getString( "CopyEntryAsCsvAction.CopyTable" ); //$NON-NLS-1$
         }
 
         return super.getText();
@@ -241,7 +241,7 @@
                 BrowserUIConstants.PREFERENCE_SEARCHRESULTEDITOR_SHOW_DN ) )
         {
             text.append( quoteCharacter );
-            text.append( "DN" );
+            text.append( "DN" ); //$NON-NLS-1$
             text.append( quoteCharacter );
             text.append( attributeDelimiter );
         }

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsLdifAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsLdifAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsLdifAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyEntryAsLdifAction.java Thu Nov 27 04:50:06 2008
@@ -58,7 +58,7 @@
      */
     public CopyEntryAsLdifAction( int mode )
     {
-        super( "LDIF", mode );
+        super( Messages.getString( "CopyEntryAsLdifAction.LDIF" ), mode ); //$NON-NLS-1$
     }
 
 
@@ -164,7 +164,8 @@
      */
     protected void serializeValue( IValue value, StringBuffer text )
     {
-        text.append( ModelConverter.valueToLdifAttrValLine( value ).toFormattedString( Utils.getLdifFormatParameters() ) );
+        text
+            .append( ModelConverter.valueToLdifAttrValLine( value ).toFormattedString( Utils.getLdifFormatParameters() ) );
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopySearchFilterAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopySearchFilterAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopySearchFilterAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopySearchFilterAction.java Thu Nov 27 04:50:06 2008
@@ -89,23 +89,23 @@
     {
         if ( mode == MODE_EQUALS )
         {
-            return "Copy Search Filter";
+            return Messages.getString( "CopySearchFilterAction.CopySearchFilter" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_NOT )
         {
-            return "Copy NOT Search Filter";
+            return Messages.getString( "CopySearchFilterAction.CopyNotSearchFilter" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_AND )
         {
-            return "Copy AND Search Filter";
+            return Messages.getString( "CopySearchFilterAction.CopyAndSearchFilter" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_OR )
         {
-            return "Copy OR Search Filter";
+            return Messages.getString( "CopySearchFilterAction.CopyOrSearchFilter" ); //$NON-NLS-1$
         }
         else
         {
-            return "Copy Search Filter";
+            return Messages.getString( "CopySearchFilterAction.CopySearchFilter" ); //$NON-NLS-1$
         }
     }
 
@@ -187,15 +187,15 @@
         }
         else if ( mode == MODE_NOT )
         {
-            filter = getFilter( "!" );
+            filter = getFilter( "!" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_AND )
         {
-            filter = getFilter( "&" );
+            filter = getFilter( "&" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_OR )
         {
-            filter = getFilter( "|" );
+            filter = getFilter( "|" ); //$NON-NLS-1$
         }
 
         if ( filter != null && filter.length() > 0 )
@@ -247,13 +247,13 @@
         StringBuffer filter = new StringBuffer();
         if ( filterType != null )
         {
-            filter.append( "(" );
+            filter.append( "(" ); //$NON-NLS-1$
             filter.append( filterType );
             for ( Iterator filterIterator = filterSet.iterator(); filterIterator.hasNext(); )
             {
                 filter.append( filterIterator.next() );
             }
-            filter.append( ")" );
+            filter.append( ")" ); //$NON-NLS-1$
         }
         else if ( filterSet.size() == 1 )
         {

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyUrlAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyUrlAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyUrlAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyUrlAction.java Thu Nov 27 04:50:06 2008
@@ -97,7 +97,7 @@
      */
     public String getText()
     {
-        return "Copy URL";
+        return Messages.getString( "CopyUrlAction.CopyURL" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyValueAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyValueAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyValueAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/CopyValueAction.java Thu Nov 27 04:50:06 2008
@@ -92,23 +92,23 @@
     {
         if ( mode == MODE_UTF8 )
         {
-            return getValueSet().size() > 1 ? "Copy Values (UTF-8)" : "Copy Value (UTF-8)";
+            return getValueSet().size() > 1 ? Messages.getString( "CopyValueAction.CopyValuesUTF" ) : Messages.getString( "CopyValueAction.CopyValueUTF" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else if ( mode == MODE_BASE64 )
         {
-            return getValueSet().size() > 1 ? "Copy Values (BASE-64)" : "Copy Value (BASE-64)";
+            return getValueSet().size() > 1 ? Messages.getString( "CopyValueAction.CopyValuesBase" ) : Messages.getString( "CopyValueAction.CopyValueBase" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else if ( mode == MODE_HEX )
         {
-            return getValueSet().size() > 1 ? "Copy Values (HEX)" : "Copy Value (HEX)";
+            return getValueSet().size() > 1 ? Messages.getString( "CopyValueAction.VopyValuesHex" ) : Messages.getString( "CopyValueAction.CopyValueHex" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else if ( mode == MODE_LDIF )
         {
-            return getValueSet().size() > 1 ? "Copy Name-Value-Pairs as LDIF" : "Copy Name-Value-Pair as LDIF";
+            return getValueSet().size() > 1 ? Messages.getString( "CopyValueAction.CopyValuePairs" ) : Messages.getString( "CopyValueAction.CopyValuePair" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else
         {
-            return "Copy Value";
+            return Messages.getString( "CopyValueAction.CopyValue" ); //$NON-NLS-1$
         }
     }
 
@@ -193,7 +193,8 @@
                 }
                 else if ( mode == MODE_LDIF )
                 {
-                    text.append( ModelConverter.valueToLdifAttrValLine( value ).toFormattedString( Utils.getLdifFormatParameters() ) );
+                    text.append( ModelConverter.valueToLdifAttrValLine( value ).toFormattedString(
+                        Utils.getLdifFormatParameters() ) );
                 }
 
             }

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExpandAllAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExpandAllAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExpandAllAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExpandAllAction.java Thu Nov 27 04:50:06 2008
@@ -46,7 +46,8 @@
      */
     public ExpandAllAction( TreeViewer viewer )
     {
-        super( "Expand All", BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_EXPANDALL ) );
+        super(
+            Messages.getString( "ExpandAllAction.ExpandAll" ), BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_EXPANDALL ) ); //$NON-NLS-1$
         super.setToolTipText( getText() );
         super.setEnabled( true );
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExportConnectionsAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExportConnectionsAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExportConnectionsAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ExportConnectionsAction.java Thu Nov 27 04:50:06 2008
@@ -76,7 +76,7 @@
      */
     public String getText()
     {
-        return "Export Connections...";
+        return Messages.getString( "ExportConnectionsAction.ExportConnections" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/GotoDnAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/GotoDnAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/GotoDnAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/GotoDnAction.java Thu Nov 27 04:50:06 2008
@@ -55,7 +55,7 @@
      */
     public String getText()
     {
-        return "Go to DN...";
+        return Messages.getString( "GotoDnAction.GotoDN" ); //$NON-NLS-1$
     }
 
 
@@ -98,7 +98,9 @@
 
             LdapDN dn = Utils.getLdapDn( getStringFromClipboard() );
 
-            DnDialog dialog = new DnDialog( getShell(), "Go to DN", "Please enter the DN you want to go to.", conn, dn );
+            DnDialog dialog = new DnDialog(
+                getShell(),
+                Messages.getString( "GotoDnAction.GotoDNAction" ), Messages.getString( "GotoDnAction.EnterDNAction" ), conn, dn ); //$NON-NLS-1$ //$NON-NLS-2$
             if ( dialog.open() == TextDialog.OK && dialog.getDn() != null )
             {
                 dn = dialog.getDn();

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportConnectionsAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportConnectionsAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportConnectionsAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportConnectionsAction.java Thu Nov 27 04:50:06 2008
@@ -69,7 +69,7 @@
      */
     public String getText()
     {
-        return "Import Connections...";
+        return Messages.getString( "ImportConnectionsAction.ImportConnections" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportExportAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportExportAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportExportAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/ImportExportAction.java Thu Nov 27 04:50:06 2008
@@ -102,31 +102,31 @@
     {
         if ( this.type == TYPE_IMPORT_LDIF )
         {
-            return "LDIF Import...";
+            return Messages.getString( "ImportExportAction.LDIFImport" ); //$NON-NLS-1$
         }
         else if ( this.type == TYPE_EXPORT_LDIF )
         {
-            return "LDIF Export...";
+            return Messages.getString( "ImportExportAction.LDIFExport" ); //$NON-NLS-1$
         }
         else if ( this.type == TYPE_EXPORT_CSV )
         {
-            return "CSV Export...";
+            return Messages.getString( "ImportExportAction.CVSExport" ); //$NON-NLS-1$
         }
         else if ( this.type == TYPE_EXPORT_EXCEL )
         {
-            return "Excel Export...";
+            return Messages.getString( "ImportExportAction.ExcelExport" ); //$NON-NLS-1$
         }
         else if ( this.type == TYPE_IMPORT_DSML )
         {
-            return "DSML Import...";
+            return Messages.getString( "ImportExportAction.DSMLImport" ); //$NON-NLS-1$
         }
         else if ( this.type == TYPE_EXPORT_DSML )
         {
-            return "DSML Export...";
+            return Messages.getString( "ImportExportAction.DSMLExport" ); //$NON-NLS-1$
         }
         else
         {
-            return "Export...";
+            return Messages.getString( "ImportExportAction.Export" ); //$NON-NLS-1$
         }
     }
 
@@ -297,8 +297,8 @@
             && getSelectedConnections()[0].getJNDIConnectionWrapper().isConnected() )
         {
             Connection connection = getSelectedConnections()[0];
-            IBrowserConnection browserConnection = BrowserCorePlugin.getDefault().getConnectionManager().getBrowserConnection(
-                connection );
+            IBrowserConnection browserConnection = BrowserCorePlugin.getDefault().getConnectionManager()
+                .getBrowserConnection( connection );
             return browserConnection;
         }
         else

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateDnInDitAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateDnInDitAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateDnInDitAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateDnInDitAction.java Thu Nov 27 04:50:06 2008
@@ -56,7 +56,7 @@
      */
     public String getText()
     {
-        return "Locate DN in DIT";
+        return Messages.getString( "LocateDnInDitAction.LocateDN" ); //$NON-NLS-1$
     }
 
 
@@ -85,8 +85,8 @@
                 IValue value = getSelectedAttributeHierarchies()[0].getAttribute().getValues()[0];
                 if ( value.isString() && LdapDN.isValid( value.getStringValue() ) )
                 {
-                    return new ConnectionAndDn( value.getAttribute().getEntry().getBrowserConnection(), new LdapDN( value
-                        .getStringValue() ) );
+                    return new ConnectionAndDn( value.getAttribute().getEntry().getBrowserConnection(), new LdapDN(
+                        value.getStringValue() ) );
                 }
             }
             catch ( InvalidNameException e )
@@ -102,8 +102,8 @@
                 IValue value = getSelectedValues()[0];
                 if ( value.isString() && LdapDN.isValid( value.getStringValue() ) )
                 {
-                    return new ConnectionAndDn( value.getAttribute().getEntry().getBrowserConnection(), new LdapDN( value
-                        .getStringValue() ) );
+                    return new ConnectionAndDn( value.getAttribute().getEntry().getBrowserConnection(), new LdapDN(
+                        value.getStringValue() ) );
                 }
             }
             catch ( InvalidNameException e )

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateEntryInDitAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateEntryInDitAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateEntryInDitAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/LocateEntryInDitAction.java Thu Nov 27 04:50:06 2008
@@ -52,17 +52,17 @@
         if ( getSelectedSearchResults().length == 1
             && getSelectedBookmarks().length + getSelectedEntries().length + getSelectedBrowserViewCategories().length == 0 )
         {
-            return "Open Search Result in DIT";
+            return Messages.getString( "LocateEntryInDitAction.openSearchResult" ); //$NON-NLS-1$
         }
         else if ( getSelectedBookmarks().length == 1
             && getSelectedSearchResults().length + getSelectedEntries().length
                 + getSelectedBrowserViewCategories().length == 0 )
         {
-            return "Open Bookmark in DIT";
+            return Messages.getString( "LocateEntryInDitAction.OpenBookmark" ); //$NON-NLS-1$
         }
         else
         {
-            return "Open Entry in DIT";
+            return Messages.getString( "LocateEntryInDitAction.OpenEntry" ); //$NON-NLS-1$
         }
     }
 
@@ -106,7 +106,8 @@
             && getSelectedSearchResults().length + getSelectedEntries().length
                 + getSelectedBrowserViewCategories().length == 0 )
         {
-            return new ConnectionAndDn( getSelectedBookmarks()[0].getBrowserConnection(), getSelectedBookmarks()[0].getDn() );
+            return new ConnectionAndDn( getSelectedBookmarks()[0].getBrowserConnection(), getSelectedBookmarks()[0]
+                .getDn() );
         }
         else
         {

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

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

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/MoveAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/MoveAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/MoveAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/MoveAction.java Thu Nov 27 04:50:06 2008
@@ -67,11 +67,11 @@
 
         if ( entries.length > 0 && searches.length == 0 && bookmarks.length == 0 )
         {
-            return entries.length == 1 ? "Move Entry..." : "Move Entries...";
+            return entries.length == 1 ? Messages.getString( "MoveAction.MoveEntry" ) : Messages.getString( "MoveAction.MoveEntries" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else
         {
-            return "Move...";
+            return Messages.getString( "MoveAction.Move" ); //$NON-NLS-1$
         }
     }
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBatchOperationAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBatchOperationAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBatchOperationAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBatchOperationAction.java Thu Nov 27 04:50:06 2008
@@ -51,7 +51,7 @@
      */
     public String getText()
     {
-        return "New Batch Operation...";
+        return Messages.getString( "NewBatchOperationAction.NewBatch" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBookmarkAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBookmarkAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBookmarkAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewBookmarkAction.java Thu Nov 27 04:50:06 2008
@@ -68,7 +68,7 @@
      */
     public String getText()
     {
-        return "New Bookmark...";
+        return Messages.getString( "NewBookmarkAction.NewBookmark" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewEntryAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewEntryAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewEntryAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewEntryAction.java Thu Nov 27 04:50:06 2008
@@ -104,7 +104,7 @@
     public String getText()
     {
         boolean isNewContextEntry = NewEntryWizard.isNewContextEntry( window.getSelectionService().getSelection() );
-        return isNewContextEntry ? "New Context Entry..." : "New Entry...";
+        return isNewContextEntry ? Messages.getString( "NewEntryAction.NewContextEntry" ) : Messages.getString( "NewEntryAction.NewEntry" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewLdifFileAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewLdifFileAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewLdifFileAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewLdifFileAction.java Thu Nov 27 04:50:06 2008
@@ -74,7 +74,7 @@
      */
     public String getText()
     {
-        return "New LDIF File";
+        return Messages.getString( "NewLdifFileAction.NewLDIF" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewSearchAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewSearchAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewSearchAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/NewSearchAction.java Thu Nov 27 04:50:06 2008
@@ -61,7 +61,7 @@
      */
     public String getText()
     {
-        return "New Search...";
+        return Messages.getString( "NewSearchAction.NewSearch" ); //$NON-NLS-1$
     }
 
 
@@ -79,7 +79,7 @@
      */
     public String getCommandId()
     {
-        return "org.eclipse.search.ui.openSearchDialog";
+        return "org.eclipse.search.ui.openSearchDialog"; //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenEncoderDecoderDialogAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenEncoderDecoderDialogAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenEncoderDecoderDialogAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenEncoderDecoderDialogAction.java Thu Nov 27 04:50:06 2008
@@ -59,7 +59,7 @@
      */
     public String getText()
     {
-        return "Open Encoder/Decoder";
+        return Messages.getString( "OpenEncoderDecoderDialogAction.OpenEndoderDecoder" ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSchemaBrowserAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSchemaBrowserAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSchemaBrowserAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSchemaBrowserAction.java Thu Nov 27 04:50:06 2008
@@ -153,35 +153,35 @@
     {
         if ( mode == MODE_NONE )
         {
-            return "Open Schema Browser";
+            return Messages.getString( "OpenSchemaBrowserAction.OpenSchemaBrowser" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_OBJECTCLASS )
         {
-            return "Object Class Description";
+            return Messages.getString( "OpenSchemaBrowserAction.ObjectDescription" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_ATTRIBUTETYPE )
         {
-            return "Attribute Type Description";
+            return Messages.getString( "OpenSchemaBrowserAction.AttributeDescription" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_EQUALITYMATCHINGRULE )
         {
-            return "Equality Matching Rule Description";
+            return Messages.getString( "OpenSchemaBrowserAction.EqualityDescription" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_SUBSTRINGMATCHINGRULE )
         {
-            return "Substring Matching Rule Description";
+            return Messages.getString( "OpenSchemaBrowserAction.SubstringDescription" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_ORDERINGMATCHINGRULE )
         {
-            return "Ordering Matching Rule Description";
+            return Messages.getString( "OpenSchemaBrowserAction.OrderingDescription" ); //$NON-NLS-1$
         }
         else if ( mode == MODE_SYNTAX )
         {
-            return "Syntax Description";
+            return Messages.getString( "OpenSchemaBrowserAction.SyntaxDescription" ); //$NON-NLS-1$
         }
         else
         {
-            return "Open Schema Browser";
+            return Messages.getString( "OpenSchemaBrowserAction.OpenSchemaBrowser" ); //$NON-NLS-1$
         }
     }
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchAction.java Thu Nov 27 04:50:06 2008
@@ -46,9 +46,9 @@
      */
     public OpenSearchAction()
     {
-        super( "Search...", Action.AS_PUSH_BUTTON );
-        super.setText( "Search..." );
-        super.setToolTipText( "Search..." );
+        super( Messages.getString( "OpenSearchAction.Search" ), Action.AS_PUSH_BUTTON ); //$NON-NLS-1$
+        super.setText( Messages.getString( "OpenSearchAction.Search" ) ); //$NON-NLS-1$
+        super.setToolTipText( Messages.getString( "OpenSearchAction.Search" ) ); //$NON-NLS-1$
         super.setImageDescriptor( BrowserUIPlugin.getDefault().getImageDescriptor( BrowserUIConstants.IMG_SEARCH ) );
         super.setEnabled( true );
     }

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchResultAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchResultAction.java?rev=721173&r1=721172&r2=721173&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchResultAction.java (original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/actions/OpenSearchResultAction.java Thu Nov 27 04:50:06 2008
@@ -84,7 +84,7 @@
      */
     public String getText()
     {
-        return "Open Search Result";
+        return Messages.getString( "OpenSearchResultAction.OpenResult" ); //$NON-NLS-1$
     }
 
 

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages.properties?rev=721173&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages.properties (added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages.properties Thu Nov 27 04:50:06 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.
+
+CopyAttributeDescriptionAction.CopyAttributeDescription=Copy Attribute Description
+CopyAttributeDescriptionAction.CopyAttributeDescriptions=Copy Attribute Descriptions
+CopyDnAction.CopyDN=Copy DN
+CopyEntryAsAction.AttributesOnly=\ (returning attributes only)
+CopyEntryAsAction.CopyEntries=Copy Entries as {0}
+CopyEntryAsAction.CopyEntry=Copy Entry as {0}
+CopyEntryAsAction.CopyResult=Copy Search Result as {0}
+CopyEntryAsAction.CopyResults=Copy Search Results as {0}
+CopyEntryAsAction.DNOnly=\ (DN only)
+CopyEntryAsAction.OperationalAttributes=\ (include operational attributes)
+CopyEntryAsAction.UserAttributes=\ (all user attributes)
+CopyEntryAsCsvAction.CopyTable=Copy Table
+CopyEntryAsCsvAction.CSV=CSV
+CopyEntryAsLdifAction.LDIF=LDIF
+CopySearchFilterAction.CopyAndSearchFilter=Copy AND Search Filter
+CopySearchFilterAction.CopyNotSearchFilter=Copy NOT Search Filter
+CopySearchFilterAction.CopyOrSearchFilter=Copy OR Search Filter
+CopySearchFilterAction.CopySearchFilter=Copy Search Filter
+CopyUrlAction.CopyURL=Copy URL
+CopyValueAction.CopyValue=Copy Value
+CopyValueAction.CopyValueBase=Copy Value (BASE-64)
+CopyValueAction.CopyValueHex=Copy Value (HEX)
+CopyValueAction.CopyValuePair=Copy Name-Value-Pair as LDIF
+CopyValueAction.CopyValuePairs=Copy Name-Value-Pairs as LDIF
+CopyValueAction.CopyValuesBase=Copy Values (BASE-64)
+CopyValueAction.CopyValuesUTF=Copy Values (UTF-8)
+CopyValueAction.CopyValueUTF=Copy Value (UTF-8)
+CopyValueAction.VopyValuesHex=Copy Values (HEX)
+ExpandAllAction.ExpandAll=Expand All
+ExportConnectionsAction.ExportConnections=Export Connections...
+GotoDnAction.EnterDNAction=Please enter the DN you want to go to.
+GotoDnAction.GotoDN=Go to DN...
+GotoDnAction.GotoDNAction=Go to DN
+ImportConnectionsAction.ImportConnections=Import Connections...
+ImportExportAction.CVSExport=CSV Export...
+ImportExportAction.DSMLExport=DSML Export...
+ImportExportAction.DSMLImport=DSML Import...
+ImportExportAction.ExcelExport=Excel Export...
+ImportExportAction.Export=Export...
+ImportExportAction.LDIFExport=LDIF Export...
+ImportExportAction.LDIFImport=LDIF Import...
+LocateDnInDitAction.LocateDN=Locate DN in DIT
+LocateEntryInDitAction.OpenBookmark=Open Bookmark in DIT
+LocateEntryInDitAction.OpenEntry=Open Entry in DIT
+LocateEntryInDitAction.openSearchResult=Open Search Result in DIT
+MoveAction.Move=Move...
+MoveAction.MoveEntries=Move Entries...
+MoveAction.MoveEntry=Move Entry...
+NewBatchOperationAction.NewBatch=New Batch Operation...
+NewBookmarkAction.NewBookmark=New Bookmark...
+NewEntryAction.NewContextEntry=New Context Entry...
+NewEntryAction.NewEntry=New Entry...
+NewLdifFileAction.NewLDIF=New LDIF File
+NewSearchAction.NewSearch=New Search...
+OpenEncoderDecoderDialogAction.OpenEndoderDecoder=Open Encoder/Decoder
+OpenSchemaBrowserAction.AttributeDescription=Attribute Type Description
+OpenSchemaBrowserAction.EqualityDescription=Equality Matching Rule Description
+OpenSchemaBrowserAction.ObjectDescription=Object Class Description
+OpenSchemaBrowserAction.OpenSchemaBrowser=Open Schema Browser
+OpenSchemaBrowserAction.OrderingDescription=Ordering Matching Rule Description
+OpenSchemaBrowserAction.SubstringDescription=Substring Matching Rule Description
+OpenSchemaBrowserAction.SyntaxDescription=Syntax Description
+OpenSearchAction.Search=Search...
+OpenSearchResultAction.OpenResult=Open Search Result

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

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

Added: directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages_de.properties?rev=721173&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages_de.properties (added)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/resources/org/apache/directory/studio/ldapbrowser/ui/actions/messages_de.properties Thu Nov 27 04:50:06 2008
@@ -0,0 +1,79 @@
+# 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.
+
+CopyAttributeDescriptionAction.CopyAttributeDescription=Kopiere Attribut Beschreibung
+CopyAttributeDescriptionAction.CopyAttributeDescriptions=Kopiere Attribut Beschreibungen
+CopyDnAction.CopyDN=Kopiere DN
+CopyEntryAsAction.AttributesOnly=\ (nur zur\u00FCckgegebene Attribute)
+CopyEntryAsAction.CopyEntries=Kopiere Eintr\u00E4ge als {0}
+CopyEntryAsAction.CopyEntry=Kopiere Eintrag als {0}
+CopyEntryAsAction.CopyResult=Kopiere Suchresultate als {0}
+CopyEntryAsAction.CopyResults=Kopiere Suchresultat als {0}
+CopyEntryAsAction.DNOnly=\ (nur DN)
+CopyEntryAsAction.OperationalAttributes=\ (schliesse operative Attribute ein)
+CopyEntryAsAction.UserAttributes=\ (Alle Benutzer Attribute)
+CopyEntryAsCsvAction.CopyTable=Kopiere Tabelle
+CopySearchFilterAction.CopyAndSearchFilter=Kopieren UND Such Filter
+CopySearchFilterAction.CopyNotSearchFilter=Kopieren UND NICHT Such Filter
+CopySearchFilterAction.CopyOrSearchFilter=Kopieren ODER Such Filter
+CopySearchFilterAction.CopySearchFilter=Kopiere Such Filter
+CopyUrlAction.CopyURL=Kopiere URL
+CopyValueAction.CopyValue=Kopiere Wert
+CopyValueAction.CopyValueBase=Kopiere Wert (BASE-64)
+CopyValueAction.CopyValueHex=Kopiere Wert (HEX)
+CopyValueAction.CopyValuePair=Kopiere Name-Value-Pair als LDIF
+CopyValueAction.CopyValuePairs=Kopiere Name-Value-Pairs als LDIF
+CopyValueAction.CopyValuesBase=Kopiere Werte (BASE-64)
+CopyValueAction.CopyValuesUTF=Kopiere Werte (UTF-8)
+CopyValueAction.CopyValueUTF=Kopiere Wert (UTF-8)
+CopyValueAction.VopyValuesHex=Kopiere Werte (HEX)
+ExpandAllAction.ExpandAll=Alles aufklappen
+ExportConnectionsAction.ExportConnections=Verbindungen exportieren...
+GotoDnAction.EnterDNAction=Bitte geben sie den DN ein, zu dem Sie m\u00F6chten.
+GotoDnAction.GotoDN=Gehe zu DN...
+GotoDnAction.GotoDNAction=Gehe zu DN
+ImportConnectionsAction.ImportConnections=Verbindungen importieren...
+ImportExportAction.CVSExport=CSV exportieren...
+ImportExportAction.DSMLExport=DSMLexportieren...
+ImportExportAction.DSMLImport=DSML importieren...
+ImportExportAction.ExcelExport=Excel Exportieren...
+ImportExportAction.Export=Exportieren...
+ImportExportAction.LDIFExport=LDIF Exportieren...
+ImportExportAction.LDIFImport=LDIF importieren...
+LocateDnInDitAction.LocateDN=Lokalisiere DN in DIT
+LocateEntryInDitAction.OpenBookmark=\u00D6ffne Lesezeichen in DIT
+LocateEntryInDitAction.OpenEntry=\u00D6ffne Eintrag in DIT
+LocateEntryInDitAction.openSearchResult=\u00D6ffne Suchresultat in DIT
+MoveAction.Move=Verschiebe...
+MoveAction.MoveEntries=Verschiebe Eintr\u00E4ge...
+MoveAction.MoveEntry=Verschiebe Eintrag...
+NewBatchOperationAction.NewBatch=Neue Batch-Operation...
+NewBookmarkAction.NewBookmark=Neues Lesezeichen...
+NewEntryAction.NewContextEntry=Neuer Kontext Eintrag...
+NewEntryAction.NewEntry=Neuer Eintrag...
+NewLdifFileAction.NewLDIF=Neue LDIF Datei...
+NewSearchAction.NewSearch=Neue Suche...
+OpenEncoderDecoderDialogAction.OpenEndoderDecoder=Neuer Verschl\u00FCssler/Entschl\u00FCssler
+OpenSchemaBrowserAction.AttributeDescription=Attribute-Typ Beschreibung
+OpenSchemaBrowserAction.EqualityDescription=Gleichheits-Regel Beschreibung
+OpenSchemaBrowserAction.ObjectDescription=Objekt-Klassen Beschreibung
+OpenSchemaBrowserAction.OpenSchemaBrowser=\u00D6ffne Schema Browser
+OpenSchemaBrowserAction.OrderingDescription=Sortier-Regel Beschreibung
+OpenSchemaBrowserAction.SubstringDescription=Teilstring-Regel Beschreibung
+OpenSchemaBrowserAction.SyntaxDescription=Syntax Beschreibung
+OpenSearchAction.Search=Suche...
+OpenSearchResultAction.OpenResult=\u00D6ffne Suchresultat

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

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



Mime
View raw message