directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r748634 - in /directory/studio/trunk: apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/ apacheds/ apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/ apacheds/src/main/java/org/apache/directory/studio/ap...
Date Fri, 27 Feb 2009 18:49:53 GMT
Author: seelmann
Date: Fri Feb 27 18:49:53 2009
New Revision: 748634

URL: http://svn.apache.org/viewvc?rev=748634&view=rev
Log:
German translations

Added:
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/Messages.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages.properties
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages_de.properties
Modified:
    directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Service.java
    directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/messages_de.properties
    directory/studio/trunk/apacheds/plugin_de.properties
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/RunAction.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/messages_de.properties
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/jobs/messages_de.properties
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServerVersion.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewLabelProvider.java

Modified: directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Service.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Service.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Service.java
(original)
+++ directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/Service.java
Fri Feb 27 18:49:53 2009
@@ -56,13 +56,13 @@
 
         if ( args.length > 0 && new File( args[0] ).exists() ) // hack that takes
server.xml file argument
         {
-            LOG.info( Messages.getString( "Service.LoadingSettings" ), args[0] );
+            LOG.info( Messages.getString( "Service.LoadingSettings" ), args[0] ); //$NON-NLS-1$
             factory = new FileSystemXmlApplicationContext( new File( args[0] ).toURI().toURL().toString()
);
             apacheDS = ( ApacheDS ) factory.getBean( "apacheDS" ); //$NON-NLS-1$
         }
         else
         {
-            LOG.info( Messages.getString( "Service.UsingDefaultSettings" ) );
+            LOG.info( Messages.getString( "Service.UsingDefaultSettings" ) ); //$NON-NLS-1$
             DirectoryService directoryService = new DefaultDirectoryService();
             directoryService.startup();
             SocketAcceptor socketAcceptor = new SocketAcceptor( null );
@@ -131,7 +131,7 @@
 
             while ( workerThread.isAlive() )
             {
-                LOG.info( Messages.getString( "Service.WaitingForSynchWorkerThread" ) );
+                LOG.info( Messages.getString( "Service.WaitingForSynchWorkerThread" ) );
//$NON-NLS-1$
                 workerThread.join( 500 );
             }
         }
@@ -166,7 +166,7 @@
                     }
                     catch ( InterruptedException e )
                     {
-                        LOG.warn( Messages.getString( "Service.SynchWorkerFailedToWait" ),
e );
+                        LOG.warn( Messages.getString( "Service.SynchWorkerFailedToWait" ),
e ); //$NON-NLS-1$
                     }
                 }
 
@@ -176,7 +176,7 @@
                 }
                 catch ( Exception e )
                 {
-                    LOG.error( Messages.getString( "Service.SynchWorkerFailedToSynch" ),
e );
+                    LOG.error( Messages.getString( "Service.SynchWorkerFailedToSynch" ),
e ); //$NON-NLS-1$
                 }
             }
         }

Modified: directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/messages_de.properties?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/messages_de.properties
(original)
+++ directory/studio/trunk/apacheds-launcher/src/main/java/org/apache/directory/studio/apacheds/messages_de.properties
Fri Feb 27 18:49:53 2009
@@ -15,9 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-Service.LoadingSettings=server\: Lade Einstellungen von 
-Service.Started=server\: gestartet in {0} Millisekunden
+Service.LoadingSettings=Server\: Lade Einstellungen von 
+Service.Started=Server\: gestartet in {0} Millisekunden
 Service.SynchWorkerFailedToSynch=SynchWorker scheiterte das Directory zu synchronisieren.
 Service.SynchWorkerFailedToWait=SynchWorker scheiterte beim Warten auf eine Datensperre.
-Service.UsingDefaultSettings=server\: verwende Standart-Einstellungen ...
+Service.UsingDefaultSettings=Server\: verwende Standard-Einstellungen ...
 Service.WaitingForSynchWorkerThread=Warten bis SynchWorkerThread gestorben ist.

Modified: directory/studio/trunk/apacheds/plugin_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/plugin_de.properties?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/plugin_de.properties (original)
+++ directory/studio/trunk/apacheds/plugin_de.properties Fri Feb 27 18:49:53 2009
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 
+View_ServersView_name=Server
+
 Pref_ColorsAndFontsPage_name=Farben und Schriften
 
 Cmd_NewServer_name=Neuer Server
@@ -40,6 +42,6 @@
 Cmd_Properties_name=Eigenschaften
 Cmd_Properties_description=Zeight die Eigenschaften des Servers an
 
-Ctx_ServersView_name=Serversicht von Apache DS
-Ctx_ServersView_description=Serversicht von Apache DS
+Ctx_ServersView_name=Serveransicht von Apache DS
+Ctx_ServersView_description=Serveransicht von Apache DS
 

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/RunAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/RunAction.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/RunAction.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/RunAction.java
Fri Feb 27 18:49:53 2009
@@ -384,7 +384,7 @@
         {
             if ( !AvailablePortFinder.available( serverConfiguration.getNtpPort() ) )
             {
-                alreadyInUseProtocolPortsList.add( NLS.bind( Messages.getString( "RunAction.NTPPort"
), new Object[]
+                alreadyInUseProtocolPortsList.add( NLS.bind( Messages.getString( "RunAction.NTPPort"
), new Object[] //$NON-NLS-1$
                     { serverConfiguration.getNtpPort() } ) );
             }
         }

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/messages_de.properties?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/messages_de.properties
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/actions/messages_de.properties
Fri Feb 27 18:49:53 2009
@@ -15,7 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
-CreateConnectionAction.CreateAConnection=Ein Verbindung erstellen
+CreateConnectionAction.CreateAConnection=Eine Verbindung erstellen
 CreateConnectionAction.FollowingErrorOccurred=Es ist folgender Fehler aufgetreten\: 
 CreateConnectionAction.LDAPAndLDAPSDisabled=Die Protokolle LDAP und LDAPS sind gesperrt.
Es kann keine Verbindung erstellt werden.
 CreateConnectionAction.UnableCreateConnection=Unf\u00E4hig eine Verbindung zu erstellen
@@ -44,6 +44,10 @@
 RunAction.PortsInUse=Die Ports werden bereits verwendet
 RunAction.PortsOfProtocolsInUse=Die Ports folgender Protokolle werden bereits verwendet\:
 RunAction.UnableReadServerConfiguration=Unf\u00E4hig die Server Konfiguration zu lesen.
+RunAction.Run=&Starten
+RunAction.RunToolTip=Starten
+StopAction.Stop=S&toppen
+StopAction.StopToolTip=Stoppen
 StopAction.ErrorWhenStopping=Beim Stoppen des Servers ist ein Fehler aufgetreten.\n\n
 StopAction.ErrorWhenWriting=Beim Schreiben auf die Informations-Nachrichten-Konsole ist ein
Fehler aufgetreten.\n\n
 StopAction.ServerStopped=Server gestoppt.\n

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/jobs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/jobs/messages_de.properties?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/jobs/messages_de.properties
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/jobs/messages_de.properties
Fri Feb 27 18:49:53 2009
@@ -19,7 +19,7 @@
 LaunchServerJob.ErrorOverwritingLog=Beim \u00DCberschreiben der log4j.properties Datei des
Servers ist ein Fehler aufgetreten.\n\n
 LaunchServerJob.ErrorWritingConsole=Beim Schreiben auf die Informations-Nachrichten-Konsole
ist ein Fehler aufgetreten.\n\n
 LaunchServerJob.ServerStarted=Server gestartet.\n
-LaunchServerJob.ServerStarting=Server startend...\n
+LaunchServerJob.ServerStarting=Server startet...\n
 LaunchServerJob.ServerStopped=Server gestoppt.\n
 LaunchServerJob.Starting=Startend "{0}" ...
 LaunchServerJob.StartingServer=Startend {0}

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServerVersion.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServerVersion.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServerVersion.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServerVersion.java
Fri Feb 27 18:49:53 2009
@@ -36,7 +36,7 @@
          */
         public String toString()
         {
-            return "1.5.4";
+            return "1.5.4"; //$NON-NLS-1$
         }
     },
 
@@ -48,7 +48,7 @@
          */
         public String toString()
         {
-            return "1.5.3";
+            return "1.5.3"; //$NON-NLS-1$
         }
     }
 }

Added: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/Messages.java?rev=748634&view=auto
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/Messages.java
(added)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/Messages.java
Fri Feb 27 18:49:53 2009
@@ -0,0 +1,31 @@
+package org.apache.directory.studio.apacheds.views;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.views.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 + '!';
+        }
+    }
+}

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersTableViewer.java
Fri Feb 27 18:49:53 2009
@@ -60,7 +60,7 @@
 public class ServersTableViewer extends TreeViewer
 {
     /** The root element */
-    protected static final String ROOT = "root";
+    protected static final String ROOT = "root"; //$NON-NLS-1$
 
     /** The label provider */
     private ServersViewLabelProvider labelProvider;

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersView.java
Fri Feb 27 18:49:53 2009
@@ -89,7 +89,7 @@
     /** Token used to activate and deactivate shortcuts in the view */
     private IContextActivation contextActivation;
 
-    private static final String TAG_COLUMN_WIDTH = "columnWidth";
+    private static final String TAG_COLUMN_WIDTH = "columnWidth"; //$NON-NLS-1$
     protected int[] columnWidths;
 
     // Actions
@@ -148,14 +148,14 @@
 
         // Adding columns
         TreeColumn serverColumn = new TreeColumn( tree, SWT.SINGLE );
-        serverColumn.setText( "Server" );
+        serverColumn.setText( Messages.getString("ServersView.server") ); //$NON-NLS-1$
         serverColumn.setWidth( columnWidths[0] );
         serverColumn.addSelectionListener( getHeaderListener( 0 ) );
         tree.setSortColumn( serverColumn );
         tree.setSortDirection( SWT.UP );
 
         TreeColumn stateColumn = new TreeColumn( tree, SWT.SINGLE );
-        stateColumn.setText( "State" );
+        stateColumn.setText( Messages.getString("ServersView.state") ); //$NON-NLS-1$
         stateColumn.setWidth( columnWidths[1] );
         stateColumn.addSelectionListener( getHeaderListener( 1 ) );
 
@@ -169,7 +169,7 @@
 
         // set help context
         PlatformUI.getWorkbench().getHelpSystem().setHelp( parent,
-            ApacheDsPluginConstants.PLUGIN_ID + "." + "gettingstarted_views_servers" );
+            ApacheDsPluginConstants.PLUGIN_ID + "." + "gettingstarted_views_servers" ); //$NON-NLS-1$
//$NON-NLS-2$
     }
 
 
@@ -304,7 +304,7 @@
         {
             public void menuAboutToShow( IMenuManager manager )
             {
-                MenuManager newManager = new MenuManager( "&New" );
+                MenuManager newManager = new MenuManager( Messages.getString("ServersView.new")
); //$NON-NLS-1$
                 newManager.add( newServer );
                 manager.add( newManager );
                 manager.add( openConfiguration );
@@ -315,7 +315,7 @@
                 manager.add( run );
                 manager.add( stop );
                 manager.add( new Separator() );
-                MenuManager ldapBrowserManager = new MenuManager( "LDAP Browser" );
+                MenuManager ldapBrowserManager = new MenuManager( Messages.getString("ServersView.ldapBrowser")
); //$NON-NLS-1$
                 ldapBrowserManager.add( createConnection );
                 manager.add( ldapBrowserManager );
                 manager.add( new Separator() );

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewLabelProvider.java?rev=748634&r1=748633&r2=748634&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewLabelProvider.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/ServersViewLabelProvider.java
Fri Feb 27 18:49:53 2009
@@ -37,9 +37,9 @@
  */
 public class ServersViewLabelProvider extends LabelProvider implements ITableLabelProvider
 {
-    private static final String THREE_DOTS = "...";
-    private static final String TWO_DOTS = "..";
-    private static final String ONE_DOT = ".";
+    private static final String THREE_DOTS = "..."; //$NON-NLS-1$
+    private static final String TWO_DOTS = ".."; //$NON-NLS-1$
+    private static final String ONE_DOT = "."; //$NON-NLS-1$
     private int count = 1;
 
 

Added: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages.properties?rev=748634&view=auto
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages.properties
(added)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages.properties
Fri Feb 27 18:49:53 2009
@@ -0,0 +1,4 @@
+ServersView.ldapBrowser=LDAP Browser
+ServersView.new=&New
+ServersView.server=Server
+ServersView.state=State

Added: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages_de.properties?rev=748634&view=auto
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages_de.properties
(added)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/views/messages_de.properties
Fri Feb 27 18:49:53 2009
@@ -0,0 +1,4 @@
+ServersView.ldapBrowser=LDAP Browser
+ServersView.new=&Neu
+ServersView.server=Server
+ServersView.state=Status



Mime
View raw message