directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720824 - in /directory/studio/trunk/schemaeditor/src/main: java/org/apache/directory/studio/schemaeditor/view/dialogs/ resources/org/apache/directory/studio/schemaeditor/view/dialogs/
Date Wed, 26 Nov 2008 12:15:31 GMT
Author: felixk
Date: Wed Nov 26 04:15:19 2008
New Revision: 720824

URL: http://svn.apache.org/viewvc?rev=720824&view=rev
Log:
- Fix NLS parameter stuff
- Add German translation

Added:
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
  (with props)
Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java?rev=720824&r1=720823&r2=720824&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
Wed Nov 26 04:15:19 2008
@@ -26,6 +26,7 @@
 import org.apache.directory.studio.schemaeditor.model.AttributeTypeImpl;
 import org.apache.directory.studio.schemaeditor.view.ViewUtils;
 import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.graphics.Image;
 
 
@@ -68,7 +69,7 @@
             }
             else
             {
-                return Messages.getString("AttributeTypeSelectionDialogLabelProvider.None")
+ at.getOid() + ")"; //$NON-NLS-2$
+                return NLS.bind( Messages.getString("AttributeTypeSelectionDialogLabelProvider.None"),
new String[]{at.getOid()}); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java?rev=720824&r1=720823&r2=720824&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/EditAliasesDialog.java
Wed Nov 26 04:15:19 2008
@@ -28,6 +28,7 @@
 import org.apache.directory.studio.schemaeditor.PluginUtils;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.custom.TableEditor;
 import org.eclipse.swt.events.KeyAdapter;
@@ -450,7 +451,7 @@
             else if ( !PluginUtils.verifyName( alias ) )
             {
                 errorComposite.setVisible( true );
-                errorLabel.setText( Messages.getString("EditAliasesDialog.TheAliasBegin")
+ alias + Messages.getString("EditAliasesDialog.TheAliasEnd") );
+                errorLabel.setText( NLS.bind( Messages.getString("EditAliasesDialog.TheAliasBegin"),
new String[]{ alias}) );
             }
         }
     }

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java?rev=720824&r1=720823&r2=720824&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
Wed Nov 26 04:15:19 2008
@@ -26,6 +26,7 @@
 import org.apache.directory.studio.schemaeditor.model.ObjectClassImpl;
 import org.apache.directory.studio.schemaeditor.view.ViewUtils;
 import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.swt.graphics.Image;
 
 
@@ -68,7 +69,7 @@
             }
             else
             {
-                return Messages.getString("ObjectClassSelectionDialogLabelProvider.None")
+ oc.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
+                return NLS.bind( Messages.getString("ObjectClassSelectionDialogLabelProvider.None"),
new String[]{oc.getOid()}); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties?rev=720824&r1=720823&r2=720824&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties
(original)
+++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties
Wed Nov 26 04:15:19 2008
@@ -20,21 +20,20 @@
 AttributeTypeSelectionDialog.MatchingTypes=Matching attribute type(s)
 AttributeTypeSelectionDialog.MustChooseType=You have to choose an attribute type
 AttributeTypeSelectionDialog.TypeSelection=Attribute Type Selection
-AttributeTypeSelectionDialogLabelProvider.None=(None)  -  (
+AttributeTypeSelectionDialogLabelProvider.None=(None)  -  ({0})
 EditAliasesDialog.Add=Add...
 EditAliasesDialog.Aliases=Aliases:
 EditAliasesDialog.Edit=Edit...
 EditAliasesDialog.EditAlias=Edit Aliases
 EditAliasesDialog.ElementWithSameAliasExists=An element with the same alias already exists.
 EditAliasesDialog.Remove=Remove
-EditAliasesDialog.TheAliasBegin=The alias '
-EditAliasesDialog.TheAliasEnd=' is invalid.
+EditAliasesDialog.TheAliasBegin=The alias "{0}" is invalid.
 ObjectClassSelectionDialog.ChooseClass=Choose an object class
 ObjectClassSelectionDialog.ClassSelection=Object Class Selection
 ObjectClassSelectionDialog.InvalidSelection=Invalid Selection
 ObjectClassSelectionDialog.MatchingClasses=Matching object class(es)
 ObjectClassSelectionDialog.MustChooseClass=You have to choose an object class
-ObjectClassSelectionDialogLabelProvider.None=(None)  -  (
+ObjectClassSelectionDialogLabelProvider.None=(None)  -  ({0})
 PreviousSearchesDialog.Open=Open
 PreviousSearchesDialog.Previous=Previous Searches
 PreviousSearchesDialog.Remove=Remove

Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties?rev=720824&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
(added)
+++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
Wed Nov 26 04:15:19 2008
@@ -0,0 +1,43 @@
+# 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.
+
+AttributeTypeSelectionDialog.ChooseAType=W\u00E4hle einen Attribut Typ
+AttributeTypeSelectionDialog.InvalidSelection=Ung\u00FCltige Auswahl
+AttributeTypeSelectionDialog.MatchingTypes=Passend Attribut Typ(en)
+AttributeTypeSelectionDialog.MustChooseType=Es muss ein Attribut Typ ausgew\u00E4hlt werden
+AttributeTypeSelectionDialog.TypeSelection=Auswahl Attribute Typ
+AttributeTypeSelectionDialogLabelProvider.None=(Keine)  -  ({0})
+EditAliasesDialog.Add=Hinzuf\u00FCgen...
+EditAliasesDialog.Aliases=Aliase\:
+EditAliasesDialog.Edit=Editieren...
+EditAliasesDialog.EditAlias=Aliase editieren
+EditAliasesDialog.ElementWithSameAliasExists=Es existiert schon ein Element mit demselben
Alias.
+EditAliasesDialog.Remove=L\u00F6schen
+EditAliasesDialog.TheAliasBegin=Der Alias "{0}" ist ung\u00FCltig.
+ObjectClassSelectionDialog.ChooseClass=W\u00E4hle eine Objekt Klasse
+ObjectClassSelectionDialog.ClassSelection=Auswahl Objekt Klasse
+ObjectClassSelectionDialog.InvalidSelection=Ung\u00FCltige Auswahl
+ObjectClassSelectionDialog.MatchingClasses=Passende Objekt Klasse(n)
+ObjectClassSelectionDialog.MustChooseClass=Es muss eine Objekt Klasse ausgew\u00E4hlt werden
+ObjectClassSelectionDialogLabelProvider.None=(Keine)  -  ({0})
+PreviousSearchesDialog.Open=\u00D6ffnen
+PreviousSearchesDialog.Previous=Fr\u00FChere Suchen
+PreviousSearchesDialog.Remove=L\u00F6schen
+PreviousSearchesDialog.ShowResultsInView=W\u00E4hlen Sie die Suche aus, die in der Resultate-Ansicht
angezeigt werden soll\:
+RenameProjectDialog.NameExists=Ein Projekt mit diesem Namen existiert bereits.
+RenameProjectDialog.NewName=Neuer Name\:
+RenameProjectDialog.Rename=Schema Project umbenennen

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

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



Mime
View raw message