Révision 1341
tmp/org.txm.rcp/src/main/java/org/txm/rcp/Application.java (revision 1341) | ||
---|---|---|
42 | 42 |
import org.osgi.framework.Bundle; |
43 | 43 |
import org.osgi.framework.ServiceReference; |
44 | 44 |
import org.txm.Toolbox; |
45 |
import org.txm.core.messages.TXMCoreMessages; |
|
45 | 46 |
import org.txm.core.preferences.TBXPreferences; |
46 | 47 |
import org.txm.rcp.messages.TXMUIMessages; |
47 | 48 |
import org.txm.utils.logger.Log; |
... | ... | |
70 | 71 |
public Object start(IApplicationContext context) throws Exception { |
71 | 72 |
Map args = context.getArguments(); |
72 | 73 |
|
73 |
List<String> argsList = Arrays.asList((String[])(args.get("application.args"))); |
|
74 |
System.out.println(TXMUIMessages.argsDDot+argsList); |
|
74 |
List<String> argsList = Arrays.asList((String[])(args.get("application.args"))); //$NON-NLS-1$ |
|
75 |
|
|
76 |
System.out.println(TXMCoreMessages.bind(TXMUIMessages.argsDDot, argsList)); |
|
77 |
|
|
75 | 78 |
if (argsList.contains("-log")) { //$NON-NLS-1$ |
76 | 79 |
System.out.println(TXMUIMessages.logOptionDetected); |
77 | 80 |
Log.setPrintInConsole(true); |
... | ... | |
148 | 151 |
Log.warning(TXMUIMessages.activateProxyService); |
149 | 152 |
activateProxyService(); |
150 | 153 |
} catch (Exception e) { |
151 |
Log.warning(TXMUIMessages.couldNotStartProxyConfigurationDDot+e);
|
|
154 |
Log.warning(TXMCoreMessages.bind(TXMUIMessages.couldNotStartProxyConfigurationDDot, e));
|
|
152 | 155 |
} |
153 | 156 |
|
154 | 157 |
try { |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/messages/messages.properties (revision 1341) | ||
---|---|---|
68 | 68 |
|
69 | 69 |
areYouSureYouWantToDeleteToSort = Are you sure you want to delete to sort |
70 | 70 |
|
71 |
argsDDot = Args: |
|
71 |
argsDDot = Args: {0}.
|
|
72 | 72 |
|
73 | 73 |
assign = Assign |
74 | 74 |
|
... | ... | |
193 | 193 |
|
194 | 194 |
couldNotReadInstallPreferencesFile = ** Could not read install preferences file |
195 | 195 |
|
196 |
couldNotStartProxyConfigurationDDot = Could not start proxy configuration: |
|
196 |
couldNotStartProxyConfigurationDDot = Could not start proxy configuration: {0}.
|
|
197 | 197 |
|
198 | 198 |
couldNotUnzipBinaryCorpusDDot = ** Could not unzip binary corpus: |
199 | 199 |
|
Formats disponibles : Unified diff