directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1432132 - in /directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors: adtime/ActiveDirectoryTimeValueDialog.java adtime/ActiveDirectoryTimeValueEditor.java integer/IntegerDialog.java
Date Fri, 11 Jan 2013 16:18:36 GMT
Author: pamarcelot
Date: Fri Jan 11 16:18:36 2013
New Revision: 1432132

URL: http://svn.apache.org/viewvc?rev=1432132&view=rev
Log:
Externalized and translated strings.

Modified:
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueDialog.java
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueEditor.java
    directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueDialog.java?rev=1432132&r1=1432131&r2=1432132&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueDialog.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueDialog.java
Fri Jan 11 16:18:36 2013
@@ -354,7 +354,7 @@ public class ActiveDirectoryTimeValueDia
     private void updateRawFields()
     {
         // Raw value
-        rawValueText.setText( "" + value );
+        rawValueText.setText( "" + value ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueEditor.java?rev=1432132&r1=1432131&r2=1432132&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueEditor.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/adtime/ActiveDirectoryTimeValueEditor.java
Fri Jan 11 16:18:36 2013
@@ -63,7 +63,7 @@ public class ActiveDirectoryTimeValueEdi
         {
             // Special case for the "0" value where we don't want to display date 
             // that makes no sense ("0" being the default value, it happened a lot).
-            if ( "0".equals( displayValue ) )
+            if ( "0".equals( displayValue ) ) //$NON-NLS-1$
             {
                 return displayValue;
             }
@@ -134,7 +134,7 @@ public class ActiveDirectoryTimeValueEdi
             ActiveDirectoryTimeValueDialog dialog = new ActiveDirectoryTimeValueDialog( shell,
adTimeValue );
             if ( dialog.open() == ActiveDirectoryTimeValueDialog.OK )
             {
-                setValue( "" + dialog.getValue() );
+                setValue( "" + dialog.getValue() ); //$NON-NLS-1$
                 return true;
             }
         }

Modified: directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java?rev=1432132&r1=1432131&r2=1432132&view=diff
==============================================================================
--- directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java
(original)
+++ directory/studio/trunk/plugins/valueeditors/src/main/java/org/apache/directory/studio/valueeditors/integer/IntegerDialog.java
Fri Jan 11 16:18:36 2013
@@ -122,7 +122,7 @@ public class IntegerDialog extends Dialo
 
         // - Button
         Button minusButton = new Button( composite, SWT.PUSH );
-        minusButton.setText( "-" );
+        minusButton.setText( "-" ); //$NON-NLS-1$
         minusButton.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -186,7 +186,7 @@ public class IntegerDialog extends Dialo
 
         // + Button
         Button plusButton = new Button( composite, SWT.PUSH );
-        plusButton.setText( "+" );
+        plusButton.setText( "+" ); //$NON-NLS-1$
         plusButton.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )



Mime
View raw message