Skip to content

Commit

Permalink
Forgot to change some strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgelf committed Feb 3, 2014
1 parent f46d8a7 commit 3b20adf
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 20 deletions.
8 changes: 4 additions & 4 deletions extCDC/config/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<libraries library-dir="lib"/>
<resourceBundle name="text"/>
<extensions>
<extension class-name="es.udc.cartolab.accesTerrit.AccesTerritGuiExtension" description="ACCESTERRIT_PANEL" active="true">
<tool-bar name="_acces_territ_tool-bar-name">
<action-tool icon="acces_territ-icon" tooltip="_acces_territ-launcher-tooltip"
<extension class-name="es.udc.cartolab.CDC.CDCGuiExtension" description="CDC_PANEL" active="true">
<tool-bar name="_CDC_tool-bar-name">
<action-tool icon="CDC-icon" tooltip="_CDC-launcher-tooltip"
action-command="gui" position="0" />
</tool-bar>
<menu text="_acces_territ_menu_name/_acces_territ-launcher"
<menu text="_CDC_menu_name/_CDC-launcher"
action-command="gui" position="0"
/>
</extension>
Expand Down
18 changes: 9 additions & 9 deletions extCDC/config/text.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
_acces_territ-launcher-tooltip=Modelo de Coste Distancia Condicionado
_acces_territ-launcher=Cálculo del Coste Distancia Condicionado
_CDC-launcher-tooltip=Modelo de Coste Distancia Condicionado
_CDC-launcher=Cálculo del Coste Distancia Condicionado

_acces_territ_menu_name=Coste Dist. Cond.
_acces_territ_tool-bar-name=CosteDistCond
_CDC_menu_name=Coste Dist. Cond.
_CDC_tool-bar-name=CosteDistCond

_acces_territ-executing=Ejecutando algoritmo...
_acces_territ-executing-title=Algoritmo de Coste Dist. Cond.
_acces_territ-executed=¡Ejecución terminada!
_acces_territ-init_time=Inicio del proceso
_acces_territ-end_time=Fin del proceso
_CDC-executing=Ejecutando algoritmo...
_CDC-executing-title=Algoritmo de Coste Dist. Cond.
_CDC-executed=¡Ejecución terminada!
_CDC-init_time=Inicio del proceso
_CDC-end_time=Fin del proceso

Input=Datos de entrada
ZonaDesplazamiento=Zona de Desplazamiento:
Expand Down
2 changes: 1 addition & 1 deletion extCDC/src/es/udc/cartolab/CDC/CDCGuiExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void execute(String actionCommand) {

protected void registerIcons() {
PluginServices.getIconTheme().registerDefault(
"acces_territ-icon",
"CDC-icon",
this.getClass().getClassLoader().getResource(
"images/algorithm.png"));
}
Expand Down
14 changes: 9 additions & 5 deletions extCDC/src/es/udc/cartolab/CDC/gui/AlgorithmExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void done() {
Font.BOLD, taskOutput.getFont().getSize() + 2);
taskOutput.setFont(newLabelFont);
taskOutput.setText(PluginServices.getText(this,
"_acces_territ-executed"));
"_CDC-executed"));
timeOutput.setText(durationMessage);
okButton.setEnabled(true);
}
Expand Down Expand Up @@ -136,7 +136,7 @@ public void initialize() throws Exception {
c.gridy++;
c.gridwidth = 5;

taskOutput = new JLabel(PluginServices.getText(this, "_acces_territ-executing"));
taskOutput = new JLabel(PluginServices.getText(this, "_CDC-executing"));
taskOutput.setHorizontalAlignment(SwingConstants.CENTER);
Font newLabelFont = new Font(taskOutput.getFont().getName(),
Font.PLAIN, taskOutput.getFont().getSize() + 2);
Expand All @@ -149,9 +149,13 @@ public void initialize() throws Exception {
c.gridy++;
c.gridwidth = 5;

timeOutput = new JLabel("<html>" + PluginServices.getText(this, "_acces_territ-init_time") +
timeOutput = new JLabel("<html>"
+ PluginServices.getText(this, "_CDC-init_time")
+
": " + DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM).format(initTime) +
"<br>" + PluginServices.getText(this, "_acces_territ-end_time") + ": ---</html></html>");
"<br>"
+ PluginServices.getText(this, "_CDC-end_time")
+ ": ---</html></html>");
timeOutput.setHorizontalAlignment(SwingConstants.CENTER);
newLabelFont = new Font(timeOutput.getFont().getName(),
Font.PLAIN, timeOutput.getFont().getSize());
Expand Down Expand Up @@ -220,7 +224,7 @@ public WindowInfo getWindowInfo() {
viewInfo = new WindowInfo(WindowInfo.MODALDIALOG
| WindowInfo.PALETTE | WindowInfo.NOTCLOSABLE);
viewInfo.setTitle(PluginServices.getText(this,
"_acces_territ-executing-title"));
"_CDC-executing-title"));
viewInfo.setWidth(350);
viewInfo.setHeight(170);
}
Expand Down
2 changes: 1 addition & 1 deletion extCDC/src/es/udc/cartolab/CDC/utils/Preferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Preferences {
// cambios son v�lidos.

private static final String preferencesFile = "gvSIG" + File.separator
+ "extensiones" + File.separator + "es.udc.cartolab.accesTerrit"
+ "extensiones" + File.separator + "es.udc.cartolab.CDC"
+ File.separator + ".config";
private static Preferences instance = null;

Expand Down

0 comments on commit 3b20adf

Please sign in to comment.