Revision 43564

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/gui/preferencespage/dal/DALView.java
2 2

  
3 3
import com.jgoodies.forms.layout.CellConstraints;
4 4
import com.jgoodies.forms.layout.FormLayout;
5

  
5 6
import java.awt.BorderLayout;
6 7
import java.awt.ComponentOrientation;
7 8
import java.awt.Container;
8 9
import java.awt.Dimension;
10

  
9 11
import javax.swing.Box;
10 12
import javax.swing.ImageIcon;
11 13
import javax.swing.JComboBox;
12 14
import javax.swing.JLabel;
13 15
import javax.swing.JPanel;
14 16
import javax.swing.JTextField;
17

  
15 18
import org.gvsig.andami.preferences.AbstractPreferencePage;
19
import org.gvsig.tools.ToolsLocator;
20
import org.gvsig.tools.i18n.I18nManager;
16 21

  
17 22

  
18 23
public abstract class DALView extends AbstractPreferencePage
......
98 103
   }
99 104

  
100 105
   /**
101
    * Method for recalculating the component orientation for 
106
    * Method for recalculating the component orientation for
102 107
    * right-to-left Locales.
103 108
    * @param orientation the component orientation to be applied
104 109
    */
......
111 116

  
112 117
   public JPanel createPanel()
113 118
   {
119
      I18nManager i18nManager = ToolsLocator.getI18nManager();
114 120
      JPanel jpanel1 = new JPanel();
115 121
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE");
116 122
      CellConstraints cc = new CellConstraints();
117 123
      jpanel1.setLayout(formlayout1);
118 124

  
119 125
      lblAccuracy.setName("lblAccuracy");
120
      lblAccuracy.setText("Precision comparing decimal numbers");
126
      lblAccuracy.setText(i18nManager.getTranslation("_precision_comparing_decimal_numbers"));
121 127
      jpanel1.add(lblAccuracy,cc.xy(2,4));
122 128

  
123 129
      lblDALEvaluator.setName("lblDALEvaluator");
124
      lblDALEvaluator.setText("Default expression evaluator");
130
      lblDALEvaluator.setText(i18nManager.getTranslation("_default_expression_evaluator"));
125 131
      jpanel1.add(lblDALEvaluator,cc.xy(2,2));
126 132

  
127 133
      cboDALEvaluator.setName("cboDALEvaluator");
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
1204 1204
_move_down_the_selected_item_in_the_list=Move down the selected item in the list
1205 1205
_Data_access_services=Data access services
1206 1206
_Change_view_projection=Change view projection
1207
_Change_view_projection_to_projection_of_the_selected_item_in_the_list=Change view projection to the projection of the selected item in the list
1207
_Change_view_projection_to_projection_of_the_selected_item_in_the_list=Change view projection to the projection of the selected item in the list
1208
_precision_comparing_decimal_numbers=Precision comparing decimal numbers
1209
_default_expression_evaluator=Default expression evaluator
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text.properties
1286 1286
_Data_access_services=Servicios de acceso a datos
1287 1287
_Change_view_projection=Cambiar proyecci\u00f3n de la vista
1288 1288
_Change_view_projection_to_projection_of_the_selected_item_in_the_list=Cambia la proyecci\u00f3n de la vista a la proyecci\u00f3n del item seleccionado en la lista.
1289
_precision_comparing_decimal_numbers=Precisi\u00f3n de comparaci\u00f3n de n\u00fameros decimales
1290
_default_expression_evaluator=Evaluador de expresiones por defecto

Also available in: Unified diff