Revision 44824
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.h2/src/main/resources/org/gvsig/fmap/dal/store/h2/H2SpatialParameters.xml | ||
---|---|---|
6 | 6 |
<extends> |
7 | 7 |
<class>JDBC2ResourceParameters</class> |
8 | 8 |
</extends> |
9 |
<description>_H2_Spatial_loading_parameters</description> |
|
9 | 10 |
<fields> |
10 | 11 |
<field name="JDBCDriverClass" type="string" mandatory="true" |
11 |
defaultValue="org.h2.Driver" group="Advanced"> |
|
12 |
defaultValue="org.h2.Driver" group="Advanced">
|
|
12 | 13 |
<description>JDBC Driver class</description> |
13 | 14 |
</field> |
14 |
<field name="port" type="integer" mandatory="false" defaultValue="9123" group="Connection">
|
|
15 |
<field name="port" type="integer" mandatory="false" defaultValue="9123" group="Connection">
|
|
15 | 16 |
<description></description> |
16 | 17 |
</field> |
17 | 18 |
<field name="database_file" label="Database file" type="file" mandatory="true" defaultValue="" group="Basic"> |
18 | 19 |
<description></description> |
19 | 20 |
</field> |
20 | 21 |
<field name="UseSSL" type="boolean" mandatory="false" |
21 |
defaultValue="false" group="Basic"> |
|
22 |
defaultValue="false" group="Basic">
|
|
22 | 23 |
<description>Use SSL connetion</description> |
23 | 24 |
</field> |
24 | 25 |
<field name="dbuser" type="string" mandatory="false" group="Basic" defaultValue="SA" > |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/dataStoreParameters/DefaultDataStoreParametersPanelManager.java | ||
---|---|---|
70 | 70 |
|
71 | 71 |
@Override |
72 | 72 |
public int showPropertiesDialog(final DynObject parameters, final DataStoreParametersPanel panel) { |
73 |
I18nManager i18nManager = ToolsLocator.getI18nManager();
|
|
73 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
74 | 74 |
|
75 | 75 |
String title = parameters.getDynClass().getDescription(); |
76 |
if( !StringUtils.isEmpty(title) ) {
|
|
76 |
if( StringUtils.isBlank(title) ) {
|
|
77 | 77 |
title = parameters.getDynClass().getName(); |
78 | 78 |
} |
79 |
|
|
79 |
if( title.startsWith("_") ) { |
|
80 |
title = i18n.getTranslation(title); |
|
81 |
} |
|
80 | 82 |
WindowManager_v2 winmanager = (WindowManager_v2) ToolsSwingLocator.getWindowManager(); |
81 | 83 |
Dialog dialog = winmanager.createDialog( |
82 | 84 |
panel.asJComponent(), |
... | ... | |
89 | 91 |
} else { |
90 | 92 |
dialog.setButtonLabel( |
91 | 93 |
WindowManager_v2.BUTTON_APPLY, |
92 |
i18nManager.getTranslation("Avanzado")
|
|
94 |
i18n.getTranslation("Avanzado") |
|
93 | 95 |
); |
94 | 96 |
} |
95 | 97 |
dialog.addActionListener(new ActionListener() { |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.shp/src/main/resources/org/gvsig/fmap/dal/store/shp/SHPParameters.xml | ||
---|---|---|
35 | 35 |
<tags> |
36 | 36 |
<value name="defaultGroup" value="Basic"/> |
37 | 37 |
</tags> |
38 |
<description>Store the parameters need to open a shp file
|
|
38 |
<description>_SHP_loading_parameters</description>
|
|
39 | 39 |
</description> |
40 | 40 |
<fields> |
41 | 41 |
<field name="shpFile" type="file" mandatory="true" group="Basic"> |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/resources/org/gvsig/fmap/dal/store/csv/CSVParameters.xml | ||
---|---|---|
9 | 9 |
<tags> |
10 | 10 |
<value name="defaultGroup" value="Basic"/> |
11 | 11 |
</tags> |
12 |
<description>Store the parameters need to open a CSV file</description>
|
|
12 |
<description>_CSV_loading_parameters</description>
|
|
13 | 13 |
<fields> |
14 | 14 |
<field name="File" type="file" mandatory="true" group="Basic"> |
15 | 15 |
<description>CSV file</description> |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.dbf/src/main/resources/org/gvsig/fmap/dal/store/dbf/DBFParameters.xml | ||
---|---|---|
34 | 34 |
<tags> |
35 | 35 |
<value name="defaultGroup" value="Basic"/> |
36 | 36 |
</tags> |
37 |
<description>Store the parameters need to open a dbf file</description>
|
|
37 |
<description>_DBF_loading_parameters</description>
|
|
38 | 38 |
<fields> |
39 | 39 |
<field name="DbfFile" label="DBF file" type="file" mandatory="true" group="Basic"> |
40 | 40 |
<description>dbf file</description> |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
10 | 10 |
A0=A0 |
11 | 11 |
A1=A1 |
12 | 12 |
A2=A2 |
13 |
A3=A3 |
|
14 |
A4=A4 |
|
13 |
A3=A3A4=A4 |
|
15 | 14 |
abajo=Abajo |
16 | 15 |
abrir=Abrir |
17 | 16 |
abrir_gestor_de_orig_db=Abrir gestor de origen base de datos |
... | ... | |
1442 | 1441 |
_Precision=Precision |
1443 | 1442 |
_Scale=Escala |
1444 | 1443 |
_More=M\u00e1s |
1445 |
_Apply_changes=Aplicar cambios |
|
1444 |
_Apply_changes=Aplicar cambios |
|
1445 |
_CSV_loading_parameters=Par\u00e1metros de carga del CSV |
|
1446 |
_H2_Spatial_loading_parameters=Par\u00e1metros de carga de H2-Spatial |
|
1447 |
_DBF_loading_parameters=Par\u00e1metros de carga del DBF |
|
1448 |
_SHP_loading_parameters=Par\u00e1metros de carga del SHP |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties | ||
---|---|---|
1361 | 1361 |
_Precision=Precision |
1362 | 1362 |
_Scale=Scale |
1363 | 1363 |
_More=More |
1364 |
_Apply_changes=Apply changes |
|
1364 |
_Apply_changes=Apply changes |
|
1365 |
_CSV_loading_parameters=CSV loading parameters |
|
1366 |
_H2_Spatial_loading_parameters=H2-Spatial loading parameters |
|
1367 |
_DBF_loading_parameters=DBF loading parameters |
|
1368 |
_SHP_loading_parameters=SHP loading parameters |
Also available in: Unified diff