You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2008/11/25 14:25:51 UTC
svn commit: r720491 [1/2] - in /directory/studio/trunk/valueeditors/src/main:
java/org/apache/directory/studio/valueeditors/
java/org/apache/directory/studio/valueeditors/address/
java/org/apache/directory/studio/valueeditors/administrativerole/ java/o...
Author: felixk
Date: Tue Nov 25 05:25:50 2008
New Revision: 720491
URL: http://svn.apache.org/viewvc?rev=720491&view=rev
Log:
Some more German translations
Added:
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/integer/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/integer/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/messages_de.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/objectclass/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/objectclass/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/objectclass/messages_de.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/password/
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/password/messages.properties (with props)
directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/password/messages_de.properties (with props)
Modified:
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorsActivator.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/AddressDialog.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/AdministrativeRoleDialog.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageDialog.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageValueEditor.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassDialog.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassValueEditor.java
directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorsActivator.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorsActivator.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorsActivator.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorsActivator.java Tue Nov 25 05:25:50 2008
@@ -151,15 +151,15 @@
try
{
properties = new PropertyResourceBundle( FileLocator.openStream( this.getBundle(), new Path(
- "plugin.properties" ), false ) );
+ "plugin.properties" ), false ) ); //$NON-NLS-1$
}
catch ( IOException e )
{
// We can't use the PLUGIN_ID constant since loading the plugin.properties file has failed,
// So we're using a default plugin id.
getLog().log(
- new Status( Status.ERROR, "org.apache.directory.studio.valueeditors", Status.OK,
- "Unable to get the plugin properties.", e ) );
+ new Status( Status.ERROR, "org.apache.directory.studio.valueeditors", Status.OK, //$NON-NLS-1$
+ Messages.getString("ValueEditorsActivator.UnableGetPluginProperties"), e ) );
}
}
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/AddressDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/AddressDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/AddressDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/AddressDialog.java Tue Nov 25 05:25:50 2008
@@ -74,7 +74,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( "Address Editor" );
+ shell.setText( Messages.getString("AddressDialog.AddressEditor") );
shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_ADDRESSEDITOR ) );
}
@@ -95,9 +95,9 @@
protected void okPressed()
{
returnAddress = text.getText();
- returnAddress = returnAddress.replaceAll( "\n", "\\$" );
- returnAddress = returnAddress.replaceAll( "\r", "\\$" );
- returnAddress = returnAddress.replaceAll( "\\$\\$", "\\$" );
+ returnAddress = returnAddress.replaceAll( "\n", "\\$" ); //$NON-NLS-1$ //$NON-NLS-2$
+ returnAddress = returnAddress.replaceAll( "\r", "\\$" ); //$NON-NLS-1$ //$NON-NLS-2$
+ returnAddress = returnAddress.replaceAll( "\\$\\$", "\\$" ); //$NON-NLS-1$ //$NON-NLS-2$
super.okPressed();
}
@@ -114,7 +114,7 @@
// text widget
text = new Text( composite, SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL );
- text.setText( initialAddress.replaceAll( "\\$", BrowserCoreConstants.LINE_SEPARATOR ) );
+ text.setText( initialAddress.replaceAll( "\\$", BrowserCoreConstants.LINE_SEPARATOR ) ); //$NON-NLS-1$
// GridData gd = new GridData(GridData.GRAB_HORIZONTAL |
// GridData.HORIZONTAL_ALIGN_FILL);
gd = new GridData( GridData.FILL_BOTH );
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.address;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.address.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/address/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/AdministrativeRoleDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/AdministrativeRoleDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/AdministrativeRoleDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/AdministrativeRoleDialog.java Tue Nov 25 05:25:50 2008
@@ -46,14 +46,11 @@
public class AdministrativeRoleDialog extends Dialog
{
- /** The dialog title */
- public static final String DIALOG_TITLE = "Administrative Role Editor";
-
/** The possible administrative role values. */
private static final String[] administrativeRoleValues = new String[]
- { "autonomousArea", "accessControlSpecificArea", "accessControlInnerArea", "subschemaAdminSpecificArea",
- "collectiveAttributeSpecificArea", "collectiveAttributeInnerArea", "triggerExecutionSpecificArea",
- "triggerExecutionInnerArea" };
+ { "autonomousArea", "accessControlSpecificArea", "accessControlInnerArea", "subschemaAdminSpecificArea", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ "collectiveAttributeSpecificArea", "collectiveAttributeInnerArea", "triggerExecutionSpecificArea", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ "triggerExecutionInnerArea" }; //$NON-NLS-1$
/** The initial value. */
private String initialValue;
@@ -86,7 +83,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( DIALOG_TITLE );
+ shell.setText( Messages.getString("AdministrativeRoleDialog.AdministrativeRoleEditor") );
shell.setImage( ValueEditorsActivator.getDefault()
.getImage( ValueEditorsConstants.IMG_ADMINISTRATIVEROLEEDITOR ) );
}
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.administrativerole;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.administrativerole.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/administrativerole/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/DnValueEditor.java Tue Nov 25 05:25:50 2008
@@ -63,7 +63,7 @@
{
dn = null;
}
- DnDialog dialog = new DnDialog( shell, "DN Editor", null, wrapper.connection, dn );
+ DnDialog dialog = new DnDialog( shell, Messages.getString("DnValueEditor.DNEditor"), null, wrapper.connection, dn ); //$NON-NLS-1$
if ( dialog.open() == TextDialog.OK && dialog.getDn() != null )
{
setValue( dialog.getDn().toString() );
@@ -160,7 +160,7 @@
*/
public String toString()
{
- return dn == null ? "" : dn;
+ return dn == null ? "" : dn; //$NON-NLS-1$
}
}
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.dn;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.dn.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/dn/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageDialog.java Tue Nov 25 05:25:50 2008
@@ -77,7 +77,7 @@
private static final int NEW_TAB = 1;
- private static final String SELECTED_TAB_DIALOGSETTINGS_KEY = ImageDialog.class.getName() + ".tab";
+ private static final String SELECTED_TAB_DIALOGSETTINGS_KEY = ImageDialog.class.getName() + ".tab"; //$NON-NLS-1$
private TabFolder tabFolder;
@@ -217,7 +217,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( "Image Editor" );
+ shell.setText( Messages.getString("ImageDialog.ImageEditor") );
shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_IMAGEEDITOR ) );
}
@@ -286,24 +286,24 @@
currentImageLabel = createImageLabel( currentImageContainer );
Composite currentImageInfoContainer = createImageInfoContainer( currentImageContainer );
- currentImageTypeText = createImageInfo( currentImageInfoContainer, "Image Type:" );
- currentImageSizeText = createImageInfo( currentImageInfoContainer, "Image Size:" );
- currentImageWidthText = createImageInfo( currentImageInfoContainer, "Image Width:" );
- currentImageHeightText = createImageInfo( currentImageInfoContainer, "Image Height:" );
+ currentImageTypeText = createImageInfo( currentImageInfoContainer, Messages.getString("ImageDialog.ImageType") );
+ currentImageSizeText = createImageInfo( currentImageInfoContainer, Messages.getString("ImageDialog.ImageSize") );
+ currentImageWidthText = createImageInfo( currentImageInfoContainer, Messages.getString("ImageDialog.ImageWidth") );
+ currentImageHeightText = createImageInfo( currentImageInfoContainer, Messages.getString("ImageDialog.ImageHeight") );
Composite currentImageSaveContainer = createImageInfoContainer( currentImageContainer );
- Label dummyLabel = BaseWidgetUtils.createLabel( currentImageSaveContainer, "", 1 );
+ Label dummyLabel = BaseWidgetUtils.createLabel( currentImageSaveContainer, "", 1 ); //$NON-NLS-1$
GridData gd = new GridData( GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL );
dummyLabel.setLayoutData( gd );
- currentImageSaveButton = createButton( currentImageSaveContainer, "Save..." );
+ currentImageSaveButton = createButton( currentImageSaveContainer, Messages.getString("ImageDialog.Save") );
currentImageSaveButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent event )
{
FileDialog fileDialog = new FileDialog( ImageDialog.this.getShell(), SWT.SAVE );
- fileDialog.setText( "Save Image" );
+ fileDialog.setText( Messages.getString("ImageDialog.SaveImage") );
fileDialog.setFilterExtensions( new String[]
- { "*.jpg" } );
+ { "*.jpg" } ); //$NON-NLS-1$
String returnedFileName = fileDialog.open();
if ( returnedFileName != null )
{
@@ -320,20 +320,20 @@
ConnectionUIPlugin.getDefault().getExceptionHandler().handleException(
new Status( IStatus.ERROR, ValueEditorsConstants.PLUGIN_ID, IStatus.ERROR,
- "Can't write to file", e ) );
+ Messages.getString("ImageDialog.CantWriteFile"), e ) );
}
catch ( IOException e )
{
ConnectionUIPlugin.getDefault().getExceptionHandler().handleException(
new Status( IStatus.ERROR, ValueEditorsConstants.PLUGIN_ID, IStatus.ERROR,
- "Can't write to file", e ) );
+ Messages.getString("ImageDialog.CantWriteFile"), e ) );
}
}
}
} );
currentTab = new TabItem( tabFolder, SWT.NONE );
- currentTab.setText( "Current Image" );
+ currentTab.setText( Messages.getString("ImageDialog.CurrentImage") );
currentTab.setControl( currentImageContainer );
}
@@ -350,10 +350,10 @@
newImageLabel = createImageLabel( newImageContainer );
Composite newImageInfoContainer = createImageInfoContainer( newImageContainer );
- newImageTypeText = createImageInfo( newImageInfoContainer, "Image Type:" );
- newImageSizeText = createImageInfo( newImageInfoContainer, "Image Size:" );
- newImageWidthText = createImageInfo( newImageInfoContainer, "Image Width:" );
- newImageHeightText = createImageInfo( newImageInfoContainer, "Image Height:" );
+ newImageTypeText = createImageInfo( newImageInfoContainer, Messages.getString("ImageDialog.ImageType") );
+ newImageSizeText = createImageInfo( newImageInfoContainer, Messages.getString("ImageDialog.ImageSize") );
+ newImageWidthText = createImageInfo( newImageInfoContainer, Messages.getString("ImageDialog.ImageWidth") );
+ newImageHeightText = createImageInfo( newImageInfoContainer, Messages.getString("ImageDialog.ImageHeight") );
Composite newImageSelectContainer = createImageInfoContainer( newImageContainer );
newImageFilenameText = new Text( newImageSelectContainer, SWT.SINGLE | SWT.BORDER );
@@ -366,13 +366,13 @@
updateNewImageGroup();
}
} );
- newImageBrowseButton = createButton( newImageSelectContainer, "Browse..." );
+ newImageBrowseButton = createButton( newImageSelectContainer, Messages.getString("ImageDialog.Browse") );
newImageBrowseButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent event )
{
FileDialog fileDialog = new FileDialog( ImageDialog.this.getShell(), SWT.OPEN );
- fileDialog.setText( "Select Image" );
+ fileDialog.setText( Messages.getString("ImageDialog.SelectImage") );
// fileDialog.setFilterExtensions(IMAGE_FILE_EXTENSIONS);
fileDialog.setFileName( new File( newImageFilenameText.getText() ).getName() );
fileDialog.setFilterPath( new File( newImageFilenameText.getText() ).getParent() );
@@ -385,7 +385,7 @@
} );
newTab = new TabItem( tabFolder, SWT.NONE );
- newTab.setText( "New Image" );
+ newTab.setText( Messages.getString("ImageDialog.NewImage") );
newTab.setControl( newImageContainer );
applyDialogFont( composite );
@@ -412,31 +412,31 @@
{
ImageData imageData = new ImageData( new ByteArrayInputStream( currentImageRawData ) );
currentImage = new Image( getShell().getDisplay(), resizeImage( imageData ) );
- currentImageLabel.setText( "" );
+ currentImageLabel.setText( "" ); //$NON-NLS-1$
currentImageLabel.setImage( currentImage );
currentImageTypeText.setText( getImageType( imageData.type ) );
currentImageSizeText.setText( getSizeString( currentImageRawData.length ) );
- currentImageWidthText.setText( imageData.width + " Pixel" );
- currentImageHeightText.setText( imageData.height + " Pixel" );
+ currentImageWidthText.setText( imageData.width + Messages.getString("ImageDialog.Pixel") );
+ currentImageHeightText.setText( imageData.height + Messages.getString("ImageDialog.Pixel") );
}
catch ( SWTException swte )
{
currentImageLabel.setImage( null );
- currentImageLabel.setText( " Unsupported format " );
- currentImageTypeText.setText( "Unsupported format" );
+ currentImageLabel.setText( Messages.getString("ImageDialog.UsupportedFormatSpaces") );
+ currentImageTypeText.setText( Messages.getString("ImageDialog.UnsupportedFormat") );
currentImageSizeText.setText( getSizeString( currentImageRawData.length ) );
- currentImageWidthText.setText( "-" );
- currentImageHeightText.setText( "-" );
+ currentImageWidthText.setText( "-" ); //$NON-NLS-1$
+ currentImageHeightText.setText( "-" ); //$NON-NLS-1$
}
}
else
{
currentImageLabel.setImage( null );
- currentImageLabel.setText( " No Image " );
- currentImageTypeText.setText( "No Image" );
- currentImageSizeText.setText( "-" );
- currentImageWidthText.setText( "-" );
- currentImageHeightText.setText( "-" );
+ currentImageLabel.setText( Messages.getString("ImageDialog.NoImageSpaces") );
+ currentImageTypeText.setText( Messages.getString("ImageDialog.NoImage") );
+ currentImageSizeText.setText( "-" ); //$NON-NLS-1$
+ currentImageWidthText.setText( "-" ); //$NON-NLS-1$
+ currentImageHeightText.setText( "-" ); //$NON-NLS-1$
}
currentImageSaveButton.setEnabled( currentImageRawData != null && currentImageRawData.length > 0 );
@@ -455,7 +455,7 @@
newImage = null;
}
- if ( !"".equals( newImageFilenameText.getText() ) )
+ if ( !"".equals( newImageFilenameText.getText() ) ) //$NON-NLS-1$
{
try
{
@@ -476,32 +476,32 @@
{
newImageRawData = null;
newImageLabel.setImage( null );
- newImageLabel.setText( " Error: File not found " );
- newImageTypeText.setText( "-" );
- newImageSizeText.setText( "-" );
- newImageWidthText.setText( "-" );
- newImageHeightText.setText( "-" );
+ newImageLabel.setText( Messages.getString("ImageDialog.ErrorFileNotFound") );
+ newImageTypeText.setText( "-" ); //$NON-NLS-1$
+ newImageSizeText.setText( "-" ); //$NON-NLS-1$
+ newImageWidthText.setText( "-" ); //$NON-NLS-1$
+ newImageHeightText.setText( "-" ); //$NON-NLS-1$
}
catch ( IOException e )
{
newImageRawData = null;
newImageLabel.setImage( null );
- newImageLabel.setText( " Error: Can't read file (" + e.getMessage() + ") " );
- newImageTypeText.setText( "-" );
- newImageSizeText.setText( "-" );
- newImageWidthText.setText( "-" );
- newImageHeightText.setText( "-" );
+ newImageLabel.setText( Messages.getString("ImageDialog.CantReadFileBegin") + e.getMessage() + Messages.getString("ImageDialog.CantReadFileEnd") );
+ newImageTypeText.setText( "-" ); //$NON-NLS-1$
+ newImageSizeText.setText( "-" ); //$NON-NLS-1$
+ newImageWidthText.setText( "-" ); //$NON-NLS-1$
+ newImageHeightText.setText( "-" ); //$NON-NLS-1$
}
}
else
{
newImageRawData = null;
newImageLabel.setImage( null );
- newImageLabel.setText( " No image selected " );
- newImageTypeText.setText( "-" );
- newImageSizeText.setText( "-" );
- newImageWidthText.setText( "-" );
- newImageHeightText.setText( "-" );
+ newImageLabel.setText( Messages.getString("ImageDialog.NoImageSelected") );
+ newImageTypeText.setText( "-" ); //$NON-NLS-1$
+ newImageSizeText.setText( "-" ); //$NON-NLS-1$
+ newImageWidthText.setText( "-" ); //$NON-NLS-1$
+ newImageHeightText.setText( "-" ); //$NON-NLS-1$
}
if ( newImageRawData != null && newImageRawData.length > 0 )
@@ -514,21 +514,21 @@
newImageTypeText.setText( getImageType( imageData.type ) );
if ( imageData.type != requiredImageType )
{
- newImageTypeText.setText( newImageTypeText.getText() + " (will be converted to "
- + getImageType( requiredImageType ) + ")" );
+ newImageTypeText.setText( newImageTypeText.getText() + Messages.getString("ImageDialog.WillBeConvertedStart")
+ + getImageType( requiredImageType ) + Messages.getString("ImageDialog.WillBeConvertedEnd") );
}
newImageSizeText.setText( getSizeString( newImageRawData.length ) );
- newImageWidthText.setText( imageData.width + " Pixel" );
- newImageHeightText.setText( imageData.height + " Pixel" );
+ newImageWidthText.setText( imageData.width + Messages.getString("ImageDialog.Pixel") );
+ newImageHeightText.setText( imageData.height + Messages.getString("ImageDialog.Pixel") );
}
catch ( SWTException swte )
{
newImageLabel.setImage( null );
- newImageLabel.setText( " Unsupported format " );
- newImageTypeText.setText( "Unsupported format" );
+ newImageLabel.setText( Messages.getString("ImageDialog.UnsupportedFormatSpaces") );
+ newImageTypeText.setText( Messages.getString("ImageDialog.UnsupportedFormat") );
newImageSizeText.setText( getSizeString( newImageRawData.length ) );
- newImageWidthText.setText( "-" );
- newImageHeightText.setText( "-" );
+ newImageWidthText.setText( "-" ); //$NON-NLS-1$
+ newImageHeightText.setText( "-" ); //$NON-NLS-1$
}
}
@@ -658,7 +658,7 @@
private Text createImageInfo( Composite parent, String label )
{
BaseWidgetUtils.createLabel( parent, label, 1 );
- Text text = BaseWidgetUtils.createLabeledText( parent, "", 1 );
+ Text text = BaseWidgetUtils.createLabeledText( parent, "", 1 ); //$NON-NLS-1$
return text;
}
@@ -689,15 +689,15 @@
{
if ( length > 1000000 )
{
- return ( length / 1000000 ) + " MB (" + length + " bytes)";
+ return ( length / 1000000 ) + Messages.getString("ImageDialog.MBStart") + length + Messages.getString("ImageDialog.MDEnd");
}
else if ( length > 1000 )
{
- return ( length / 1000 ) + " KB (" + length + " bytes)";
+ return ( length / 1000 ) + Messages.getString("ImageDialog.KBStart") + length + Messages.getString("ImageDialog.KBEnd");
}
else
{
- return length + " bytes";
+ return length + Messages.getString("ImageDialog.Bytes");
}
}
@@ -714,25 +714,25 @@
if ( imageRawData == null )
{
- return "NULL";
+ return "NULL"; //$NON-NLS-1$
}
- String text = "Image (" + imageRawData.length + " Bytes)";
+ String text = Messages.getString("ImageDialog.ImageStart") + imageRawData.length + Messages.getString("ImageDialog.ImageEnd");
try
{
ByteArrayInputStream bais = new ByteArrayInputStream( imageRawData );
ImageData imageData = new ImageData( bais );
String typePrefix = getImageType( imageData.type );
- if ( !"".equals( typePrefix ) )
- typePrefix += "-";
+ if ( !"".equals( typePrefix ) ) //$NON-NLS-1$
+ typePrefix += "-"; //$NON-NLS-1$
- text = typePrefix + "Image (" + imageData.width + "x" + imageData.height + " Pixel, " + imageRawData.length
- + " Bytes)";
+ text = typePrefix + Messages.getString("ImageDialog.ImageStart") + imageData.width + "x" + imageData.height + Messages.getString("ImageDialog.ComaPixel") + imageRawData.length //$NON-NLS-2$
+ + Messages.getString("ImageDialog.ImageEnd");
}
catch ( SWTException swte )
{
- text = "Invalid Image (" + imageRawData.length + " Bytes)";
+ text = Messages.getString("ImageDialog.InvalidImageBegin") + imageRawData.length + Messages.getString("ImageDialog.InvalidImageEnd");
}
return text;
}
@@ -747,23 +747,23 @@
*/
private static String getImageType( int swtCode )
{
- String type = "";
+ String type = ""; //$NON-NLS-1$
if ( swtCode == SWT.IMAGE_JPEG )
{
- type = "JPEG";
+ type = "JPEG"; //$NON-NLS-1$
}
else if ( swtCode == SWT.IMAGE_GIF )
{
- type = "GIF";
+ type = "GIF"; //$NON-NLS-1$
}
else if ( swtCode == SWT.IMAGE_PNG )
{
- type = "PNG";
+ type = "PNG"; //$NON-NLS-1$
}
else if ( swtCode == SWT.IMAGE_BMP || swtCode == SWT.IMAGE_BMP_RLE )
{
- type = "BMP";
+ type = "BMP"; //$NON-NLS-1$
}
return type;
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageValueEditor.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageValueEditor.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/ImageValueEditor.java Tue Nov 25 05:25:50 2008
@@ -78,7 +78,7 @@
{
if ( value == null )
{
- return "NULL";
+ return "NULL"; //$NON-NLS-1$
}
else if ( value.isBinary() )
{
@@ -88,7 +88,7 @@
}
else
{
- return "Invalid Image Data";
+ return Messages.getString("ImageValueEditor.InvalidImageData");
}
}
}
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.image;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.image.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/image/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java Tue Nov 25 05:25:50 2008
@@ -43,9 +43,6 @@
public class IntegerDialog extends Dialog
{
- /** The dialog title */
- public static final String DIALOG_TITLE = "Integer Editor";
-
/** The initial value. */
private int initialValue;
@@ -77,7 +74,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( DIALOG_TITLE );
+ shell.setText( Messages.getString("IntegerDialog.IntegerEditor") );
shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_INTEGEREDITOR ) );
}
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.integer;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.integer.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.objectclass;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.objectclass.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassDialog.java Tue Nov 25 05:25:50 2008
@@ -50,9 +50,6 @@
public class ObjectClassDialog extends Dialog
{
- /** The dialog title */
- public static final String DIALOG_TITLE = "Object Class Editor";
-
/** The schema. */
private Schema schema;
@@ -89,7 +86,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( DIALOG_TITLE );
+ shell.setText( Messages.getString("ObjectClassDialog.ObjectClassEditor") );
shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_OCDEDITOR ) );
}
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassValueEditor.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassValueEditor.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/objectclass/ObjectClassValueEditor.java Tue Nov 25 05:25:50 2008
@@ -52,7 +52,7 @@
{
ObjectClassValueEditorRawValueWrapper wrapper = ( ObjectClassValueEditorRawValueWrapper ) value;
ObjectClassDialog dialog = new ObjectClassDialog( shell, wrapper.schema, wrapper.objectClass );
- if ( dialog.open() == TextDialog.OK && !"".equals( dialog.getObjectClass() ) )
+ if ( dialog.open() == TextDialog.OK && !"".equals( dialog.getObjectClass() ) ) //$NON-NLS-1$
{
setValue( dialog.getObjectClass() );
return true;
@@ -72,30 +72,30 @@
{
if ( getRawValue( value ) == null )
{
- return "NULL";
+ return "NULL"; //$NON-NLS-1$
}
String displayValue = value.getStringValue();
- if ( !showRawValues() && !"".equals( displayValue ) )
+ if ( !showRawValues() && !"".equals( displayValue ) ) //$NON-NLS-1$
{
Schema schema = value.getAttribute().getEntry().getBrowserConnection().getSchema();
ObjectClassDescription ocd = schema.getObjectClassDescription( displayValue );
switch ( ocd.getKind() )
{
case STRUCTURAL:
- displayValue = displayValue + " (structural)";
+ displayValue = displayValue + Messages.getString("ObjectClassValueEditor.Structural");
break;
case ABSTRACT:
- displayValue = displayValue + " (abstract)";
+ displayValue = displayValue + Messages.getString("ObjectClassValueEditor.Abstract");
break;
case AUXILIARY:
- displayValue = displayValue + " (auxiliary)";
+ displayValue = displayValue + Messages.getString("ObjectClassValueEditor.Auxiliary");
break;
}
if ( ocd.isObsolete() )
{
- displayValue = displayValue + " (obsolete)";
+ displayValue = displayValue + Messages.getString("ObjectClassValueEditor.Obsolete");
}
}
Added: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java (added)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java Tue Nov 25 05:25:50 2008
@@ -0,0 +1,50 @@
+/*
+ * 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.valueeditors.password;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+ private static final String BUNDLE_NAME = "org.apache.directory.studio.valueeditors.password.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/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/Messages.java
------------------------------------------------------------------------------
svn:keywords = Id
Modified: directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java?rev=720491&r1=720490&r2=720491&view=diff
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java (original)
+++ directory/studio/trunk/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/password/PasswordDialog.java Tue Nov 25 05:25:50 2008
@@ -75,10 +75,10 @@
private static final int NEW_TAB = 1;
- private static final String SELECTED_TAB_DIALOGSETTINGS_KEY = PasswordDialog.class.getName() + ".tab";
+ private static final String SELECTED_TAB_DIALOGSETTINGS_KEY = PasswordDialog.class.getName() + ".tab"; //$NON-NLS-1$
private static final String SELECTED_HASH_METHOD_DIALOGSETTINGS_KEY = PasswordDialog.class.getName()
- + ".hashMethod";
+ + ".hashMethod"; //$NON-NLS-1$
private TabFolder tabFolder;
@@ -162,7 +162,7 @@
protected void configureShell( Shell shell )
{
super.configureShell( shell );
- shell.setText( "Password Editor" );
+ shell.setText( Messages.getString("PasswordDialog.PasswordEditor") );
shell.setImage( ValueEditorsActivator.getDefault().getImage( ValueEditorsConstants.IMG_PASSWORDEDITOR ) );
}
@@ -280,20 +280,20 @@
currentLayout.horizontalSpacing = convertHorizontalDLUsToPixels( IDialogConstants.HORIZONTAL_SPACING );
currentPasswordContainer.setLayout( currentLayout );
- BaseWidgetUtils.createLabel( currentPasswordContainer, "Current Password:", 1 );
- currentPasswordText = BaseWidgetUtils.createReadonlyText( currentPasswordContainer, "", 1 );
+ BaseWidgetUtils.createLabel( currentPasswordContainer, Messages.getString("PasswordDialog.CurrentPassword") + ":", 1 ); //$NON-NLS-2$
+ currentPasswordText = BaseWidgetUtils.createReadonlyText( currentPasswordContainer, "", 1 ); //$NON-NLS-1$
new Label( currentPasswordContainer, SWT.NONE );
Composite currentPasswordDetailContainer = BaseWidgetUtils.createColumnContainer( currentPasswordContainer,
2, 1 );
- BaseWidgetUtils.createLabel( currentPasswordDetailContainer, "Hash Method:", 1 );
- currentPasswordHashMethodText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 );
- BaseWidgetUtils.createLabel( currentPasswordDetailContainer, "Password (Hex):", 1 );
- currentPasswordValueHexText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 );
- BaseWidgetUtils.createLabel( currentPasswordDetailContainer, "Salt (Hex):", 1 );
- currentPasswordSaltHexText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 );
+ BaseWidgetUtils.createLabel( currentPasswordDetailContainer, Messages.getString("PasswordDialog.HashMethod"), 1 );
+ currentPasswordHashMethodText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( currentPasswordDetailContainer, Messages.getString("PasswordDialog.PasswordHex"), 1 );
+ currentPasswordValueHexText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( currentPasswordDetailContainer, Messages.getString("PasswordDialog.SaltHex"), 1 );
+ currentPasswordSaltHexText = BaseWidgetUtils.createLabeledText( currentPasswordDetailContainer, "", 1 ); //$NON-NLS-1$
showCurrentPasswordDetailsButton = BaseWidgetUtils.createCheckbox( currentPasswordDetailContainer,
- "Show current password details", 1 );
+ Messages.getString("PasswordDialog.ShowCurrentPasswordDetails"), 1 );
showCurrentPasswordDetailsButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent arg0 )
@@ -302,8 +302,8 @@
}
} );
- BaseWidgetUtils.createLabel( currentPasswordContainer, "Verify Password:", 1 );
- testPasswordText = BaseWidgetUtils.createPasswordText( currentPasswordContainer, "", 1 );
+ BaseWidgetUtils.createLabel( currentPasswordContainer, Messages.getString("PasswordDialog.VerifyPassword"), 1 );
+ testPasswordText = BaseWidgetUtils.createPasswordText( currentPasswordContainer, "", 1 ); //$NON-NLS-1$
testPasswordText.addModifyListener( new ModifyListener()
{
public void modifyText( ModifyEvent e )
@@ -315,7 +315,7 @@
new Label( currentPasswordContainer, SWT.NONE );
Composite verifyPasswordButtonContainer = BaseWidgetUtils.createColumnContainer( currentPasswordContainer,
2, 1 );
- verifyPasswordButton = BaseWidgetUtils.createButton( verifyPasswordButtonContainer, "Verify", 1 );
+ verifyPasswordButton = BaseWidgetUtils.createButton( verifyPasswordButtonContainer, Messages.getString("PasswordDialog.Verify"), 1 );
verifyPasswordButton.setEnabled( false );
verifyPasswordButton.addSelectionListener( new SelectionAdapter()
{
@@ -324,7 +324,7 @@
verifyCurrentPassword();
}
} );
- bindPasswordButton = BaseWidgetUtils.createButton( verifyPasswordButtonContainer, "Bind", 1 );
+ bindPasswordButton = BaseWidgetUtils.createButton( verifyPasswordButtonContainer, Messages.getString("PasswordDialog.Bind"), 1 );
bindPasswordButton.setEnabled( false );
bindPasswordButton.addSelectionListener( new SelectionAdapter()
{
@@ -335,7 +335,7 @@
} );
currentTab = new TabItem( tabFolder, SWT.NONE );
- currentTab.setText( "Current Password" );
+ currentTab.setText( Messages.getString("PasswordDialog.CurrentPassword") );
currentTab.setControl( currentPasswordContainer );
}
@@ -348,8 +348,8 @@
newLayout.horizontalSpacing = convertHorizontalDLUsToPixels( IDialogConstants.HORIZONTAL_SPACING );
newPasswordContainer.setLayout( newLayout );
- BaseWidgetUtils.createLabel( newPasswordContainer, "Enter New Password:", 1 );
- newPasswordText = BaseWidgetUtils.createPasswordText( newPasswordContainer, "", 1 );
+ BaseWidgetUtils.createLabel( newPasswordContainer, Messages.getString("PasswordDialog.EnterNewPassword"), 1 );
+ newPasswordText = BaseWidgetUtils.createPasswordText( newPasswordContainer, "", 1 ); //$NON-NLS-1$
newPasswordText.addModifyListener( new ModifyListener()
{
public void modifyText( ModifyEvent e )
@@ -358,7 +358,7 @@
}
} );
- BaseWidgetUtils.createLabel( newPasswordContainer, "Select Hash Method:", 1 );
+ BaseWidgetUtils.createLabel( newPasswordContainer, Messages.getString("PasswordDialog.SelectHashMethod"), 1 );
newPasswordHashMethodCombo = BaseWidgetUtils.createReadonlyCombo( newPasswordContainer, HASH_METHODS, 0, 1 );
newPasswordHashMethodCombo.addSelectionListener( new SelectionAdapter()
{
@@ -368,10 +368,10 @@
}
} );
- BaseWidgetUtils.createLabel( newPasswordContainer, "Password Preview:", 1 );
- newPasswordPreviewText = BaseWidgetUtils.createReadonlyText( newPasswordContainer, "", 1 );
+ BaseWidgetUtils.createLabel( newPasswordContainer, Messages.getString("PasswordDialog.PasswordPreview"), 1 );
+ newPasswordPreviewText = BaseWidgetUtils.createReadonlyText( newPasswordContainer, "", 1 ); //$NON-NLS-1$
- newSaltButton = BaseWidgetUtils.createButton( newPasswordContainer, "New Salt", 1 );
+ newSaltButton = BaseWidgetUtils.createButton( newPasswordContainer, Messages.getString("PasswordDialog.NewSalt"), 1 );
newSaltButton.setEnabled( false );
newSaltButton.addSelectionListener( new SelectionAdapter()
{
@@ -382,12 +382,12 @@
} );
Composite newPasswordPreviewDetailContainer = BaseWidgetUtils
.createColumnContainer( newPasswordContainer, 2, 1 );
- BaseWidgetUtils.createLabel( newPasswordPreviewDetailContainer, "Password (Hex):", 1 );
- newPasswordPreviewValueHexText = BaseWidgetUtils.createLabeledText( newPasswordPreviewDetailContainer, ":", 1 );
- BaseWidgetUtils.createLabel( newPasswordPreviewDetailContainer, "Salt (Hex):", 1 );
- newPasswordPreviewSaltHexText = BaseWidgetUtils.createLabeledText( newPasswordPreviewDetailContainer, "", 1 );
+ BaseWidgetUtils.createLabel( newPasswordPreviewDetailContainer, Messages.getString("PasswordDialog.PasswordHex"), 1 );
+ newPasswordPreviewValueHexText = BaseWidgetUtils.createLabeledText( newPasswordPreviewDetailContainer, ":", 1 ); //$NON-NLS-1$
+ BaseWidgetUtils.createLabel( newPasswordPreviewDetailContainer, Messages.getString("PasswordDialog.SaltHex"), 1 );
+ newPasswordPreviewSaltHexText = BaseWidgetUtils.createLabeledText( newPasswordPreviewDetailContainer, "", 1 ); //$NON-NLS-1$
showNewPasswordDetailsButton = BaseWidgetUtils.createCheckbox( newPasswordPreviewDetailContainer,
- "Show new password details", 1 );
+ Messages.getString("PasswordDialog.ShowNewPasswordDetails"), 1 );
showNewPasswordDetailsButton.addSelectionListener( new SelectionAdapter()
{
public void widgetSelected( SelectionEvent arg0 )
@@ -397,7 +397,7 @@
} );
newTab = new TabItem( tabFolder, SWT.NONE );
- newTab.setText( "New Password" );
+ newTab.setText( Messages.getString("PasswordDialog.NewPassword") );
newTab.setControl( newPasswordContainer );
applyDialogFont( composite );
@@ -438,8 +438,8 @@
// enable/disable test field and buttons
testPasswordText.setEnabled( currentPassword != null && currentPassword.getHashedPassword() != null
&& currentPassword.toBytes().length > 0 );
- verifyPasswordButton.setEnabled( testPasswordText.isEnabled() && !"".equals( testPasswordText.getText() ) );
- bindPasswordButton.setEnabled( testPasswordText.isEnabled() && !"".equals( testPasswordText.getText() )
+ verifyPasswordButton.setEnabled( testPasswordText.isEnabled() && !"".equals( testPasswordText.getText() ) ); //$NON-NLS-1$
+ bindPasswordButton.setEnabled( testPasswordText.isEnabled() && !"".equals( testPasswordText.getText() ) //$NON-NLS-1$
&& entry != null && entry.getBrowserConnection().getConnection() != null );
// default dialog button
@@ -464,15 +464,15 @@
{
if ( currentPassword.verify( testPassword ) )
{
- MessageDialog dialog = new MessageDialog( getShell(), "Password Verification", getShell().getImage(),
- "Password verified sucessfully", MessageDialog.INFORMATION, new String[]
+ MessageDialog dialog = new MessageDialog( getShell(), Messages.getString("PasswordDialog.PasswordVerification"), getShell().getImage(),
+ Messages.getString("PasswordDialog.PasswordVerifiedSuccessfully"), MessageDialog.INFORMATION, new String[]
{ IDialogConstants.OK_LABEL }, 0 );
dialog.open();
}
else
{
- MessageDialog dialog = new MessageDialog( getShell(), "Password Verification", getShell().getImage(),
- "Password verification failed", MessageDialog.ERROR, new String[]
+ MessageDialog dialog = new MessageDialog( getShell(), Messages.getString("PasswordDialog.PasswordVerification"), getShell().getImage(),
+ Messages.getString("PasswordDialog.PasswordVerificationFailed"), MessageDialog.ERROR, new String[]
{ IDialogConstants.OK_LABEL }, 0 );
dialog.open();
}
@@ -485,7 +485,7 @@
*/
private void bindCurrentPassword()
{
- if ( !"".equals( testPasswordText.getText() ) && entry != null
+ if ( !"".equals( testPasswordText.getText() ) && entry != null //$NON-NLS-1$
&& entry.getBrowserConnection().getConnection() != null )
{
Connection connection = ( Connection ) entry.getBrowserConnection().getConnection().clone();
@@ -498,8 +498,8 @@
IStatus status = RunnableContextRunner.execute( runnable, null, true );
if ( status.isOK() )
{
- MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
- "The authentication was successful." );
+ MessageDialog.openInformation( Display.getDefault().getActiveShell(), Messages.getString("PasswordDialog.CheckAuthentication"),
+ Messages.getString("PasswordDialog.AuthenticationSuccessful") );
}
}
}
@@ -512,7 +512,7 @@
{
// set new password to the UI widgets
newPassword = new Password( newPasswordHashMethodCombo.getText(), newPasswordText.getText() );
- if ( !"".equals( newPasswordText.getText() ) || newPassword.getHashMethod() == null )
+ if ( !"".equals( newPasswordText.getText() ) || newPassword.getHashMethod() == null ) //$NON-NLS-1$
{
newPasswordPreviewValueHexText
.setText( Utils.getNonNullString( newPassword.getHashedPasswordAsHexString() ) );
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,18 @@
+# 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.
+
+AddressDialog.AddressEditor=Address Editor
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,18 @@
+# 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.
+
+AddressDialog.AddressEditor=Adressen Editor
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/address/messages_de.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,18 @@
+# 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.
+
+AdministrativeRoleDialog.AdministrativeRoleEditor=Administrative Role Editor
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,18 @@
+# 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.
+
+AdministrativeRoleDialog.AdministrativeRoleEditor=Administrative Rollen Editor
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/administrativerole/messages_de.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,18 @@
+# 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.
+
+DnValueEditor.DNEditor=DN Editor
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/dn/messages.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,52 @@
+# 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.
+
+ImageDialog.Browse=Browse...
+ImageDialog.Bytes=\ bytes
+ImageDialog.CantReadFileBegin=\ Error\: Can't read file (
+ImageDialog.CantReadFileEnd=)
+ImageDialog.CantWriteFile=Can't write to file
+ImageDialog.ComaPixel=\ Pixel,
+ImageDialog.CurrentImage=Current Image
+ImageDialog.ErrorFileNotFound=\ Error\: File not found
+ImageDialog.ImageEditor=Image Editor
+ImageDialog.ImageEnd=\ Bytes)
+ImageDialog.ImageHeight=Image Height:
+ImageDialog.ImageSize=Image Size:
+ImageDialog.ImageStart=Image (
+ImageDialog.ImageType=Image Type:
+ImageDialog.ImageWidth=Image Width:
+ImageDialog.InvalidImageBegin=Invalid Image (
+ImageDialog.InvalidImageEnd=\ Bytes)
+ImageDialog.KBEnd=\ bytes)
+ImageDialog.KBStart=\ KB (
+ImageDialog.MBStart=\ MB (
+ImageDialog.MDEnd=\ bytes)
+ImageDialog.NewImage=New Image
+ImageDialog.NoImage=No Image
+ImageDialog.NoImageSelected=\ No image selected
+ImageDialog.NoImageSpaces=\ No Image
+ImageDialog.Pixel=\ Pixel
+ImageDialog.Save=Save...
+ImageDialog.SaveImage=Save Image
+ImageDialog.SelectImage=Select Image
+ImageDialog.UnsupportedFormat=Unsupported format
+ImageDialog.UnsupportedFormatSpaces=\ Unsupported format
+ImageDialog.UsupportedFormatSpaces=\ Unsupported format
+ImageDialog.WillBeConvertedEnd=)
+ImageDialog.WillBeConvertedStart=\ (will be converted to
+ImageValueEditor.InvalidImageData=Invalid Image Data
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages.properties
------------------------------------------------------------------------------
svn:keywords = Id
Added: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties?rev=720491&view=auto
==============================================================================
--- directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties (added)
+++ directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties Tue Nov 25 05:25:50 2008
@@ -0,0 +1,40 @@
+# 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.
+
+ImageDialog.CantReadFileBegin=\ Fehler\: Kann Datei nicht lesen (
+ImageDialog.CantWriteFile=Datei kann nicht geschrieben werden
+ImageDialog.CurrentImage=Aktuelles Bild
+ImageDialog.ErrorFileNotFound=\ Fehler\: Datei nicht gefunden
+ImageDialog.ImageEditor=Bild Editor
+ImageDialog.ImageHeight=Bild H\u00F6he\:
+ImageDialog.ImageSize=Bild Gr\u00F6sse\:
+ImageDialog.ImageStart=Bild (
+ImageDialog.ImageType=Bild Typ:
+ImageDialog.ImageWidth=Bild Breite:
+ImageDialog.InvalidImageBegin=Ung\u00FCltiges Bild (
+ImageDialog.NewImage=Neues Bild
+ImageDialog.NoImage=Kein Bild
+ImageDialog.NoImageSelected=\ Kein Bild ausgew\u00E4hlt
+ImageDialog.NoImageSpaces=\ Kein Bild
+ImageDialog.Save=Speichern...
+ImageDialog.SaveImage=Bild speichern
+ImageDialog.SelectImage=Bild ausw\u00E4hlen
+ImageDialog.UnsupportedFormat=Nicht unterst\u00FCtzes Format
+ImageDialog.UnsupportedFormatSpaces=\ Nicht unterst\u00FCtzes Format
+ImageDialog.UsupportedFormatSpaces=\ Nicht unterst\u00FCtzes Format
+ImageDialog.WillBeConvertedStart=\ (wird konvertiert zu
+ImageValueEditor.InvalidImageData=Ung\u00FCltige Bilddaten
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/studio/trunk/valueeditors/src/main/resources/org/apache/directory/studio/valueeditors/image/messages_de.properties
------------------------------------------------------------------------------
svn:keywords = Id