Révision 693

tmp/org.txm.backtomedia.rcp/src/vlcplayerrcp/MessagesMP.java (revision 693)
1 1
package vlcplayerrcp;
2 2

  
3
import org.eclipse.osgi.util.NLS;
3 4
import org.txm.utils.messages.Utf8NLS;
4 5

  
5
public class MessagesMP extends Utf8NLS {
6
	static {
7
		Utf8NLS.initializeMessages(MessagesMP.class);
8
	}
6
public class MessagesMP extends NLS {
9 7
	
8
	
10 9
	private static final String BUNDLE_NAME = "vlcplayerrcp.messages"; //$NON-NLS-1$
10

  
11
	
11 12
	public static String BackToMedia_0;
12 13
	public static String BackToMedia_1;
13 14
	public static String BackToMedia_11;
......
48 49
	public static String stop;
49 50
	public static String time_range;
50 51
	public static String volume;
52
	
53
	
54
	static {
55
		Utf8NLS.initializeMessages(BUNDLE_NAME, MessagesMP.class);
56
	}
57

  
51 58
}
tmp/org.txm.partition.rcp/src/org/txm/partition/rcp/messages/messages_ru.properties (revision 693)
1

  
2
PreferencesPage_DIMENSIONS_SORT_BY_PARTS_SIZE = Сортировать части по размеру
tmp/org.txm.internalview.core/src/org/txm/internalview/core/messages/messages_en.properties (revision 693)
1
InternalView_3 = \  Structure informations: 
2
InternalView_6 = InternalView: failed to retrieve struct properties values: 
3
InternalView_7 = \  No structure informations
tmp/org.txm.internalview.core/src/org/txm/internalview/core/messages/messages.properties (revision 693)
1
InternalView_3 = \  Structure informations: 
2
InternalView_6 = InternalView: failed to retrieve struct properties values: 
3
InternalView_7 = \  No structure informations
0 4

  
tmp/org.txm.internalview.core/src/org/txm/internalview/core/messages/InternalViewCoreMessages.java (revision 693)
1 1
package org.txm.internalview.core.messages;
2 2

  
3
import org.eclipse.osgi.util.NLS;
3 4
import org.txm.utils.messages.Utf8NLS;
4 5

  
5
public class InternalViewCoreMessages extends Utf8NLS {
6
/**
7
 * Internal view core messages.
8
 * 
9
 * @author mdecorde
10
 * @author sjacquot
11
 *
12
 */
13
public class InternalViewCoreMessages extends NLS {
6 14
	
7 15
	private static final String BUNDLE_NAME = "org.txm.internalview.core.messages.messages"; //$NON-NLS-1$
8 16
	
......
11 19
	public static String InternalView_7;
12 20
	
13 21
	static {
14
		Utf8NLS.initializeMessages(InternalViewCoreMessages.class);
22
		Utf8NLS.initializeMessages(BUNDLE_NAME, InternalViewCoreMessages.class);
15 23
	}
16 24
}
tmp/org.txm.utils/src/org/txm/utils/messages/Utf8NLS.java (revision 693)
8 8

  
9 9
/**
10 10
 * Class that manages UTF-8 encoding for .properties messages files.
11
 * 
11 12
 * @author sjacquot
12 13
 *
13 14
 */
......
16 17
	private static final int MOD_EXPECTED = Modifier.PUBLIC | Modifier.STATIC;
17 18
	private static final int MOD_MASK = MOD_EXPECTED | Modifier.FINAL;
18 19

  
19
	/**
20
	 * Initializes messages using UTF-8 encoding.
21
	 * 
22
	 * The base name is built using the class fullname
23
	 * 
24
	 * @param clazz
25
	 */
26
	public static void initializeMessages(final Class<?> clazz) {
27
		// initialize resource bundle
28
		initializeMessages(clazz.getPackage().getName() + ".messages", clazz); //$NON-NLS-1$
29
	}
30 20
	
21
	
31 22
	/**
32 23
	 * Initializes messages using UTF-8 encoding.
33 24
	 * @param baseName
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/messages/ChartsEngineCoreMessages.java (revision 693)
1 1
package org.txm.chartsengine.core.messages;
2 2

  
3
import org.eclipse.osgi.util.NLS;
3 4
import org.txm.utils.messages.Utf8NLS;
4 5

  
5
public class ChartsEngineCoreMessages extends Utf8NLS {
6
/**
7
 * Charts engine core messages.
8
 * 
9
 * @author sjacquot
10
 *
11
 */
12
public class ChartsEngineCoreMessages extends NLS {
6 13
	
7
	static {
8
		Utf8NLS.initializeMessages(ChartsEngineCoreMessages.class);
9
	}
14
	private static final String BUNDLE_NAME = "org.txm.chartsengine.core.messages.messages"; //$NON-NLS-1$
15

  
16
	
10 17
	public static String error_cantCreateTmpChartFile;
11 18
	public static String error_cantWriteInFile;
12 19

  
13 20
	public static String charts_labelValueSeparator;
21

  
22
	
23
	static {
24
		Utf8NLS.initializeMessages(BUNDLE_NAME, ChartsEngineCoreMessages.class);
25
	}
26
	
14 27
}
tmp/org.txm.annotation.core/src/org/txm/annotation/core/repository/Messages.java (revision 693)
3 3
import org.txm.utils.messages.Utf8NLS;
4 4

  
5 5
public class Messages extends Utf8NLS {
6
	
7
	
8
	private static final String BUNDLE_NAME = "org.txm.annotation.core.repository.messages.messages"; //$NON-NLS-1$
9
	
10
	
6 11
	static {
7
		Utf8NLS.initializeMessages(Messages.class);
12
		Utf8NLS.initializeMessages(BUNDLE_NAME, Messages.class);
8 13
	}
9 14

  
10 15
	private Messages() {
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/messages/CQPSearchEngineCoreMessages.java (revision 693)
18 18
	
19 19
	public static String Diagnostic_0;
20 20
	public static String Diagnostic_1;
21
	public static String Diagnostic_10;
22 21
	public static String Diagnostic_11;
23
	public static String Diagnostic_12;
24
	public static String Diagnostic_13;
25 22
	public static String Diagnostic_14;
26
	public static String Diagnostic_15;
27 23
	public static String Diagnostic_16;
28
	public static String Diagnostic_17;
29
	public static String Diagnostic_18;
30
	public static String Diagnostic_19;
31 24
	public static String Diagnostic_2;
32
	public static String Diagnostic_20;
33 25
	public static String Diagnostic_22;
34
	public static String Diagnostic_23;
35 26
	public static String Diagnostic_26;
36 27
	public static String Diagnostic_3;
37 28
	public static String Diagnostic_4;
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/messages/messages.properties (revision 693)
1 1

  
2 2
Diagnostic_0  = * Structural Units properties\n
3 3
Diagnostic_1  = ** Failed to access corpus 
4
Diagnostic_10 = Partition name: 
5 4
Diagnostic_11 = \ structures
6
Diagnostic_12 = Number of parts: 
7
Diagnostic_13 = Partition size: 
8 5
Diagnostic_14 = Lexical Units properties (max {0} values)
9
Diagnostic_15 = Part number: 
10 6
Diagnostic_16 = Number of structural units 
11
Diagnostic_17 = Part names: 
12
Diagnostic_18 = Part sizes: 
13
Diagnostic_19 = Part properties: 
14 7
Diagnostic_2  = ** Error
15
Diagnostic_20 = Parts queries: 
16 8
Diagnostic_22 = Structural Units properties (max {0} values)
17
Diagnostic_23 = \ values)
18 9
Diagnostic_26 = No property
19 10
Diagnostic_3  = Description of 
20 11
Diagnostic_4  = \ properties
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/messages/messages_fr.properties (revision 693)
1 1

  
2 2
Diagnostic_0  = <h3>Propriétés des structures\n
3 3
Diagnostic_1  = ** Echec d'accès au corpus
4
Diagnostic_10 = Nom de la partition : 
5 4
Diagnostic_11 = \ structures
6
Diagnostic_12 = Nombre de parties :
7
Diagnostic_13 = Taille de la partition : 
8 5
Diagnostic_14 = Propriétés des unités lexicales (max {0} valeurs)
9
Diagnostic_15 = Numéro de la partie : 
10 6
Diagnostic_16 = Nombre d'unités de structure 
11
Diagnostic_17 = Nom des parties : 
12
Diagnostic_18 = Taille des parties : 
13
Diagnostic_19 = Propriétés des parties : 
14 7
Diagnostic_2  = ** Erreur
15
Diagnostic_20 = Requêtes de parties : 
16 8
Diagnostic_22 = Propriétés des structures (max {0} valeurs)
17
Diagnostic_23 = \ valeurs)
18 9
Diagnostic_26 = Pas de propriété
19 10
Diagnostic_3  = Description du corpus 
20 11
Diagnostic_4  = \ propriétés
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/core/functions/information/Information.java (revision 693)
42 42
import java.util.Locale;
43 43

  
44 44
import org.eclipse.osgi.util.NLS;
45
import org.txm.core.messages.TXMCoreMessages;
46 45
import org.txm.core.preferences.TBXPreferences;
47 46
import org.txm.core.preferences.TXMPreferences;
48 47
import org.txm.core.results.Parameter;
......
353 352
				{
354 353
					//System.out.println("struct: "+s+" >> "+ps);
355 354
					int valuecount = internalArchitecturePropertiesCounts.get(s).get(ps);
356
					ArrayList<String> values = new ArrayList<String>(
357
							internalArchitectureProperties.get(s).get(ps));
355
					ArrayList<String> values = new ArrayList<String>(internalArchitectureProperties.get(s).get(ps));
358 356
					subbuffer.append("<li> " + ps + " (" + valuecount + ") = "); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
359 357
					//System.out.println("VALUES: "+values);
360 358
					Collections.sort(values);
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/views/RConsole.java (revision 693)
39 39
import org.eclipse.ui.part.ViewPart;
40 40
import org.txm.EngineType;
41 41
import org.txm.Toolbox;
42
import org.txm.Toolbox;
43 42
import org.txm.rcp.IImageKeys;
44
import org.txm.rcp.messages.TXMUIMessages;
45 43
import org.txm.statsengine.r.core.RWorkspace;
46 44
import org.txm.statsengine.r.core.exceptions.RWorkspaceException;
45
import org.txm.statsengine.r.rcp.messages.RUIMessages;
47 46
import org.txm.utils.MessagePrinter;
48 47
import org.txm.utils.StreamHog;
49 48
import org.txm.utils.logger.Log;
50 49

  
51 50
/**
52
 * display the R logs only 
53
 * @author mdecorde.
51
 * Display the R logs only.
52
 * 
53
 * @author mdecorde
54 54
 */
55 55
public class RConsole extends ViewPart implements MessagePrinter {
56 56

  
......
231 231
	public void connectToRWorkspace() {
232 232
		if (!readyToDisplay && Toolbox.getEngineManager(EngineType.STAT).getEngine("R").getState()) {
233 233
			RWorkspace rw = null;
234
			Log.warning(TXMUIMessages.RConsole_0);
234
			Log.warning(RUIMessages.RConsole_0);
235 235
			try {
236 236
				rw = RWorkspace.getRWorkspaceInstance();
237 237
				if (rw == null) return;
......
246 246
					readyToDisplay = true;
247 247
				//}
248 248
			} catch (RWorkspaceException e) {
249
				System.out.println(TXMUIMessages.RConsole_1+e);
249
				System.out.println(RUIMessages.RConsole_1 + e);
250 250
				Log.printStackTrace(e);
251 251
			}
252 252
		}
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/views/RVariablesView.java (revision 693)
59 59
import org.eclipse.ui.PlatformUI;
60 60
import org.eclipse.ui.part.ViewPart;
61 61
import org.txm.Toolbox;
62
import org.txm.ahc.core.functions.AHC;
62 63
import org.txm.ca.core.functions.CA;
63
import org.txm.ahc.core.functions.AHC;
64 64
import org.txm.concordance.core.functions.Concordance;
65 65
import org.txm.cooccurrence.core.functions.Cooccurrence;
66 66
import org.txm.core.results.TXMResult;
......
81 81
import org.txm.searchengine.cqp.corpus.Partition;
82 82
import org.txm.specificities.core.functions.Specificities;
83 83
import org.txm.statsengine.r.core.RWorkspace;
84
import org.txm.statsengine.r.rcp.messages.RUIMessages;
84 85
/**
85 86
 * The Class RVariablesView: list the R variables linked to TXMResult that have a representation in the R workspace
86 87
 */
......
231 232
		Button export = new Button(parent, SWT.PUSH);
232 233
		export.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true,
233 234
				false));
234
		export.setText(TXMUIMessages.RVariablesView_1);
235
		export.setText(RUIMessages.RVariablesView_1);
235 236
		export.addSelectionListener(new SelectionListener() {
236 237
			@Override
237 238
			public void widgetSelected(SelectionEvent arg0) {
......
245 246
		
246 247
		Button logs = new Button(parent, SWT.PUSH);
247 248
		logs.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true,	false));
248
		logs.setText(TXMUIMessages.RVariablesView_2);
249
		logs.setText(RUIMessages.RVariablesView_2);
249 250
		logs.addSelectionListener(new SelectionListener() {
250 251
			@Override
251 252
			public void widgetSelected(SelectionEvent arg0) {
......
346 347
			if (symbol == null)
347 348
				return name;
348 349
			else
349
				return NLS.bind(TXMUIMessages.RVariablesView_9, name, symbol);
350
				return NLS.bind(RUIMessages.RVariablesView_9, name, symbol);
350 351
		}
351 352

  
352 353
		/* (non-Javadoc)
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/messages/RUIMessages.java (revision 693)
52 52
	public static String SendToR_0;
53 53
	public static String SendToR_3;
54 54

  
55
	public static String RConsole_0;
56
	public static String RConsole_1;
57
	public static String RVariablesView_1;
58
	public static String RVariablesView_2;
59
	public static String RVariablesView_9;
60

  
55 61
	
56 62
	static {
57 63
		// initialize resource bundle
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/messages/messages_ru.properties (revision 693)
6 6
RPreferencePage_6 = Пароль
7 7
RPreferencePage_7 = Использовать передачу данных R через файл
8 8

  
9
RVariablesView_1 = Обновить переменные
10
RVariablesView_2 = Показать отчет об оценках
11
RVariablesView_9 = имя TXM {0} >> имя R {1}
12

  
9 13
SendToR_0 = Передача в рабочее пространство R: 
10 14
SendToR_3 = Поиск видов...
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/messages/messages_fr.properties (revision 693)
8 8
RPreferencePage_6 = Mot de passe
9 9
RPreferencePage_7 = Utiliser la transmission de données R par fichier
10 10

  
11
RVariablesView_1 = Rafraîchir les variables
12
RVariablesView_2 = Afficher le journal des évaluations
13
RVariablesView_9 = nom TXM {0} >> nom R {1}
14

  
11 15
SendToR_0 = Transfert vers l'espace de travail R : 
12 16
SendToR_3 = Rechargement des vues...
tmp/org.txm.statsengine.r.rcp/src/org/txm/statsengine/r/rcp/messages/messages.properties (revision 693)
27 27
CheckRPackages_5  = Some packages are missing. See console for details.
28 28
CheckRPackages_9  = Checking R packages...
29 29

  
30
RConsole_0 = Connecting RConsole to RWorkspace stdout and stderr.
31
RConsole_1 = Error while initializing RConsole: 
32

  
30 33
RPreferencePage_0 = Run RServe in debug mode
31 34
RPreferencePage_1 = Port (default is 6311)
32 35
RPreferencePage_2 = Path to R binary
......
38 41
RPreferencePage_8 = R args
39 42
RPreferencePage_9 = Rserve args
40 43

  
44
RVariablesView_1 = Refresh variables
45
RVariablesView_2 = Show eval logs
46
RVariablesView_9 = "TXM name {0} >> R name {1}
47

  
41 48
SendToR_0 = Sending to R Workspace:
42 49
SendToR_3 = Refreshing views
tmp/org.txm.core/src/java/org/txm/Toolbox.java (revision 693)
167 167
	 */
168 168
	public static boolean initialize(Class preferencesStore, IProgressMonitor monitor) throws Exception {
169 169
		initializing = true;
170
		if (monitor != null) monitor.setTaskName("Initializing Toolbox...");
170
		if (monitor != null) {
171
			monitor.setTaskName("Initializing Toolbox...");
172
		}
171 173
		try {
172
			if (monitor != null) monitor.subTask("Loading extensions (pre-installation)...");
174
			if (monitor != null) {
175
				monitor.subTask("Loading extensions (pre-installation)...");
176
			}
173 177
			pluginsPreinstallation();
174 178
		} catch(Exception e) {
175
			System.out.println("Error while pre-installaing plugins: "+e.getLocalizedMessage());
179
			System.out.println("Error while pre-installing plugins: " + e.getLocalizedMessage());
176 180
		}
177 181
	
178 182
		try {
......
185 189
			Log.setLevel(Level.parse(TXMPreferences.getString(TBXPreferences.LOG_LEVEL, TBXPreferences.PREFERENCES_NODE)));
186 190
			Log.setPrintInConsole(Boolean.parseBoolean(TXMPreferences.getString(TBXPreferences.ADD_TECH_LOGS, TBXPreferences.PREFERENCES_NODE)));
187 191

  
188
			if (!TXMPreferences.getString(TBXPreferences.LOG_DIR, TBXPreferences.PREFERENCES_NODE).isEmpty())
192
			if (!TXMPreferences.getString(TBXPreferences.LOG_DIR, TBXPreferences.PREFERENCES_NODE).isEmpty()) {
189 193
				Log.setPrintInFile(Boolean.parseBoolean(TXMPreferences.getString(TBXPreferences.LOG_IN_FILE, TBXPreferences.PREFERENCES_NODE)), new File(TXMPreferences.getString(TBXPreferences.LOG_DIR, TBXPreferences.PREFERENCES_NODE)));
190
			else
194
			}
195
			else {
191 196
				Log.setPrintInFile(Boolean.parseBoolean(TXMPreferences.getString(TBXPreferences.LOG_IN_FILE, TBXPreferences.PREFERENCES_NODE)));
197
			}
192 198
			
193 199
		} catch (Exception e) {
194 200
			initializing = false;
......
205 211
		Log.info("Toolbox states: "+TXMCoreMessages.Toolbox_22 + state); //$NON-NLS-1$
206 212
		
207 213
		try {
208
			if (monitor != null) monitor.subTask("Loading extensions (post-installation)...");
214
			if (monitor != null) {
215
				monitor.subTask("Loading extensions (post-installation)...");
216
			}
209 217
			pluginsPostinstallation();
210 218
		} catch(Exception e) {
211 219
			System.out.println("Error while post-installaing plugins: "+e.getLocalizedMessage());
......
294 302
	 */
295 303
	private static void pluginsPostinstallation() {
296 304

  
297
		IConfigurationElement[] config = Platform.getExtensionRegistry()
298
				.getConfigurationElementsFor(PostInstallationStep.EXTENSION_ID);
305
		IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(PostInstallationStep.EXTENSION_ID);
299 306
		Log.warning(TXMCoreMessages.ApplicationWorkbenchAdvisor_15);
300 307
		Log.warning(Arrays.toString(config));
301 308

  
302 309
		for (IConfigurationElement e : config) {
303 310
			try {
304
				Log.warning(TXMCoreMessages.ApplicationWorkbenchAdvisor_14+e.getName()+" from "+e.getContributor().getName());
311
				Log.warning(TXMCoreMessages.ApplicationWorkbenchAdvisor_14 + e.getName() + " from " + e.getContributor().getName());
305 312
				final Object o = e.createExecutableExtension("class"); //$NON-NLS-1$
306 313
				if (o instanceof PostInstallationStep) {
307 314
					ISafeRunnable runnable = new ISafeRunnable() {
......
318 325
					SafeRunner.run(runnable);
319 326
				}
320 327
			} catch (Exception ex) {
321
				System.out.println("Exception while installing "+e.getName()+": "+ex.getMessage());
328
				System.out.println("Exception while installing " + e.getName() + ": " + ex.getMessage());
322 329
			}
323 330
		}
324 331
	}
......
334 341

  
335 342
		for (IConfigurationElement e : config) {
336 343
			try {
337
				Log.warning(TXMCoreMessages.ApplicationWorkbenchAdvisor_14+e.getName()+" from "+e.getContributor().getName());
344
				Log.warning(TXMCoreMessages.ApplicationWorkbenchAdvisor_14 + e.getName() + " from " + e.getContributor().getName());
338 345
				final Object o = e.createExecutableExtension("class"); //$NON-NLS-1$
339 346
				if (o instanceof PostInstallationStep) {
340 347
					ISafeRunnable runnable = new ISafeRunnable() {
tmp/org.txm.ahc.rcp/src/org/txm/ahc/rcp/messages/AHCUIMessages.java (revision 693)
3 3
import org.eclipse.osgi.util.NLS;
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6
/**
7
 * 
8
 * @author sjacquot
9
 *
10
 */
6 11
public class AHCUIMessages extends NLS {
7 12
	
8
	static {
9
		Utf8NLS.initializeMessages(AHCUIMessages.class);
10
	}
13
	private static final String BUNDLE_NAME = "org.txm.ahc.rcp.messages.messages"; //$NON-NLS-1$
11 14
	
15
	
12 16
	public static String CAHPreferencePage_0;
13 17
	public static String CAHPreferencePage_2;
14 18
	public static String CAHPreferencePage_3;
......
28 32
	public static String COMPUTE_ROWS;
29 33
	
30 34
	public static String CHART_TOOLBAR_BUTTON_NUMBER_OF_CLUSTERS;
35
	
36
	
37
	
38
	static {
39
		Utf8NLS.initializeMessages(BUNDLE_NAME, AHCUIMessages.class);
40
	}
41

  
42
	
31 43
}
tmp/org.txm.ahc.core/src/org/txm/ahc/core/messages/AHCCoreMessages.java (revision 693)
1 1
package org.txm.ahc.core.messages;
2 2

  
3
import org.eclipse.osgi.util.NLS;
3 4
import org.txm.utils.messages.Utf8NLS;
4 5

  
5
public class AHCCoreMessages extends Utf8NLS {
6
/**
7
 * AHC core messages.
8
 * 
9
 * @author mdecorde
10
 * @author sjacquot
11
 *
12
 */
13
public class AHCCoreMessages extends NLS {
6 14
	
7
	static {
8
		Utf8NLS.initializeMessages(AHCCoreMessages.class);
9
	}
10 15
	
16
	private static final String BUNDLE_NAME = "org.txm.ahc.core.messages.messages"; //$NON-NLS-1$
17

  
11 18
	public static String RESULT_TYPE;
12 19
	
13 20
	public static String ERROR_EXPORT_TXT;
14 21
	public static String LOG_COMPUTE_CAH;
22
	
23
	
24
	static {
25
		Utf8NLS.initializeMessages(BUNDLE_NAME, AHCCoreMessages.class);
26
	}
27
	
28

  
15 29
}
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/CQPPreferencePage.java (revision 693)
43 43
import org.txm.rcp.preferences.TXMPreferenceStore;
44 44
import org.txm.searchengine.cqp.rcp.messages.CQPUIMessages;
45 45

  
46
// TODO: Auto-generated Javadoc
47 46
/**
48
 * This class represents a preference page that is contributed to the
49
 * Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we
50
 * can use the field support built into JFace that allows us to create a page
51
 * that is small and knows how to save, restore and apply itself.
52
 * <p>
53
 * This page is used to modify preferences only. They are stored in the
54
 * preference store that belongs to the main plug-in class. That way,
55
 * preferences can be accessed directly via the preference store.
47
 * CQP search engine preferences page.
48
 *  
49
 * @author mdecorde
50
 * @author sjacquot
51
 *
56 52
 */
57

  
58 53
public class CQPPreferencePage extends TXMPreferencePage {
59 54

  
60 55
	/** The cqi_server_is_remote. */
......
103 98
	@Override
104 99
	public void createFieldEditors() {
105 100

  
106
		cqi_use_network = new BooleanFieldEditor(CQPLibPreferences.CQI_NETWORK_MODE,
107
				CQPUIMessages.CQPPreferencePage_1,
108
				BooleanFieldEditor.DEFAULT, getFieldEditorParent());
109
		cqi_server_path_to_cqplib = new DirectoryFieldEditor(
110
				CQPLibPreferences.CQI_SERVER_PATH_TO_CQPLIB, CQPUIMessages.CQPPreferencePage_0,
111
				getFieldEditorParent());
112
		cqi_server_is_remote = new BooleanFieldEditor(CQPLibPreferences.CQI_SERVER_IS_REMOTE,
113
				CQPUIMessages.CQPPreferencePage_10,
114
				BooleanFieldEditor.DEFAULT, getFieldEditorParent());
115
		cqi_server_host = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_HOST,
116
				CQPUIMessages.CQPPreferencePage_11, getFieldEditorParent());
101
		cqi_use_network = new BooleanFieldEditor(CQPLibPreferences.CQI_NETWORK_MODE, CQPUIMessages.CQPPreferencePage_1, BooleanFieldEditor.DEFAULT, getFieldEditorParent());
102
		cqi_server_path_to_cqplib = new DirectoryFieldEditor(CQPLibPreferences.CQI_SERVER_PATH_TO_CQPLIB, CQPUIMessages.CQPPreferencePage_0, getFieldEditorParent());
103
		cqi_server_is_remote = new BooleanFieldEditor(CQPLibPreferences.CQI_SERVER_IS_REMOTE, CQPUIMessages.CQPPreferencePage_10, BooleanFieldEditor.DEFAULT, getFieldEditorParent());
104
		cqi_server_host = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_HOST, CQPUIMessages.CQPPreferencePage_11, getFieldEditorParent());
105
		cqi_server_port = new IntegerFieldEditor(CQPLibPreferences.CQI_SERVER_PORT, CQPUIMessages.CQPPreferencePage_12, getFieldEditorParent());
106
		cqi_server_user = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_LOGIN, CQPUIMessages.CQPPreferencePage_13, getFieldEditorParent());
117 107

  
118
		cqi_server_port = new IntegerFieldEditor(CQPLibPreferences.CQI_SERVER_PORT,
119
				CQPUIMessages.CQPPreferencePage_12, getFieldEditorParent());
108
		cqi_server_password = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_PASSWORD, CQPUIMessages.CQPPreferencePage_14, getFieldEditorParent());
120 109

  
121
		cqi_server_user = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_LOGIN,
122
				CQPUIMessages.CQPPreferencePage_13, getFieldEditorParent());
110
		cqi_server_path_to_executable = new FileFieldEditor(CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE, CQPUIMessages.CQPPreferencePage_15, getFieldEditorParent());
123 111

  
124
		cqi_server_password = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_PASSWORD,
125
				CQPUIMessages.CQPPreferencePage_14, getFieldEditorParent());
112
//		cqi_server_path_to_registry = new DirectoryFieldEditor(CQI_SERVER_PATH_TO_REGISTRY, CQPUIMessages.CQPPreferencePage_16, getFieldEditorParent());
113
		
114
		cqi_server_path_to_init_file = new FileFieldEditor(CQPLibPreferences.CQI_SERVER_PATH_TO_INIT_FILE, CQPUIMessages.CQPPreferencePage_17, getFieldEditorParent());
115
		cqi_server_additional_options = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_ADDITIONAL_OPTIONS, CQPUIMessages.CQPPreferencePage_18, getFieldEditorParent());
126 116

  
127
		cqi_server_path_to_executable = new FileFieldEditor(
128
				CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE, CQPUIMessages.CQPPreferencePage_15,
129
				getFieldEditorParent());
130

  
131
//		cqi_server_path_to_registry = new DirectoryFieldEditor(
132
//				CQI_SERVER_PATH_TO_REGISTRY, CQPUIMessages.CQPPreferencePage_16,
133
//				getFieldEditorParent());
134
		cqi_server_path_to_init_file = new FileFieldEditor(
135
				CQPLibPreferences.CQI_SERVER_PATH_TO_INIT_FILE, CQPUIMessages.CQPPreferencePage_17,
136
				getFieldEditorParent());
137
		cqi_server_additional_options = new StringFieldEditor(
138
				CQPLibPreferences.CQI_SERVER_ADDITIONAL_OPTIONS, CQPUIMessages.CQPPreferencePage_18,
139
				getFieldEditorParent());
140

  
141 117
		addField(cqi_use_network);
142 118
		addField(cqi_server_path_to_cqplib);
143 119
		addField(cqi_server_is_remote);
......
151 127
		addField(cqi_server_additional_options);
152 128

  
153 129
		Preferences preferences = org.eclipse.core.runtime.preferences.InstanceScope.INSTANCE.getNode(Application.PLUGIN_ID);
154
		boolean useNetwork = preferences.getBoolean(
155
				CQPLibPreferences.CQI_NETWORK_MODE,
156
				false);
157
		boolean serverIsRemote = preferences.getBoolean(
158
				CQPLibPreferences.CQI_SERVER_IS_REMOTE,
159
				false);
130
		boolean useNetwork = preferences.getBoolean(CQPLibPreferences.CQI_NETWORK_MODE, false);
131
		boolean serverIsRemote = preferences.getBoolean(CQPLibPreferences.CQI_SERVER_IS_REMOTE, false);
160 132
		updateFieldsState(useNetwork, serverIsRemote);
161 133
	}
162 134

  
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/InformationPreferencePage.java (revision 693)
59 59
	@Override
60 60
	public void createFieldEditors() {
61 61
		
62
		// The diag_maxvalue
63
		IntegerFieldEditor diag_maxvalue = new IntegerFieldEditor(CQPPreferences.MAX_VALUE, CQPUIMessages.DiagnosticPreferencePage_2, this.getFieldEditorParent());
64
		diag_maxvalue.setValidRange(1, 9999);
65
		this.addField(diag_maxvalue);
62
		// The maximum number of word property values to display
63
		IntegerFieldEditor maxValue = new IntegerFieldEditor(CQPPreferences.MAX_VALUE, CQPUIMessages.DiagnosticPreferencePage_2, this.getFieldEditorParent());
64
		maxValue.setValidRange(1, 9999);
65
		this.addField(maxValue);
66 66
	}
67 67
}
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties (revision 693)
1 1

  
2
About_Menu_Label = О платформе TXM...
3

  
4
AdapterFactory_0 = ** Предупреждение: корпус {0} поврежден. Некоторые команды могут быть недоступны или функционировать некорркетно.
5

  
6
AssistedQueryWidget_0 = Ouvrir l'assistant de requêtes
7

  
8
BackToText_0 = Показать в полнотекстовом режиме
9

  
10
CGU_CHECKMESSAGE = J'accepte la licence et je m'engage à citer TXM dans mes travaux de recherche \n(voir la section Citation de la page <http://textometrie.ens-lyon.fr/spip.php?rubrique61>)
11
CGU_MESSAGE      = <p>TXM est diffusé sous licence GNU GPL 2 &lt;<a href="https://www.gnu.org/licenses/gpl-2.0.fr.html">https://www.gnu.org/licenses/gpl-2.0.fr.html</a>
12
CGU_TITLE        = Licence d'utilisation
13

  
14
CQPPreferenceInitializer_0 = localhost
15
CQPPreferenceInitializer_1 = anonymous
16

  
17
CQPPreferencePage_0  = N/A_CQPlib path
2
CQPPreferencePage_0  = 
18 3
CQPPreferencePage_1  = Использовать сетевой протокол
19 4
CQPPreferencePage_10 = Удаленный &сервер CWB
20 5
CQPPreferencePage_11 = Удаленный сервер: &имя машины
......
22 7
CQPPreferencePage_13 = Удаленный сервер: &логин
23 8
CQPPreferencePage_14 = Удаленный сервер: &пароль
24 9
CQPPreferencePage_15 = Путь к исполняемому &файлу 'cqpserver'
25
CQPPreferencePage_16 = Путь к папке &Регистр сервера CWB
26 10
CQPPreferencePage_17 = Путь к файлу инициализации сервера CWB
27 11
CQPPreferencePage_18 = Дополнительные опции сервера CWB: 
28 12

  
29
Cannot_ask_simple_when_advance = Невозможно отобразить закладку простых опций, когда пользователь выбрал отображение дополнительных опций
30

  
31
Commands_0 = Ошибка: невозможно инициализировать команды
32

  
33
ComplexSortSelector_0 = Ключи для сортировки:
34
ComplexSortSelector_1 = Мульти-сортировка
35
ComplexSortSelector_2 = Сортировка
36
ComplexSortSelector_5 = ** Ошибка при сортировке: {0}
37
ComplexSortSelector_6 = по умолчанию
38

  
39
ComplexSort_0         = Открытие диалогового окна сложной сортировки
40
ComplexSort_1         = &Сложная сортировка
41
ComplexSort_10        = Недопустимый блок сравнения
42
ComplexSort_11        = Необходимо выбрать не менее двух блоков сравнения
43
ComplexSort_12        = Добавить в выделенному
44
ComplexSort_14        = Удалить из выделенного
45
ComplexSort_16        = Поднять выделение на один уровень
46
ComplexSort_18        = Опустить выделение на один уровень
47
ComplexSort_2         = Задать и использовать сложную сортировку
48
ComplexSort_3         = Выберите сложную сортировку
49
ComplexSort_4         = &Новый
50
ComplexSort_5         = Создать новый метод сортировки
51
ComplexSort_6         = Имя: 
52
ComplexSort_9         = Поле Имя обязательно.
53

  
54
ComplexSubcorpusPanel_0  = Выделить
55
ComplexSubcorpusPanel_1  = Все критерии
56
ComplexSubcorpusPanel_16 = не содержит
57
ComplexSubcorpusPanel_2  = отдельные критерии
58
ComplexSubcorpusPanel_4  = Запрос 
59
ComplexSubcorpusPanel_5  = Обновить
60

  
61
ConvertCorpus_0 = N/A_Corpus conversion failed.
62

  
63
CorpusPage_0  = Издания
64
CorpusPage_1  = Добавить издание
65
CorpusPage_10 = Свойства слова
66
CorpusPage_11 = Добавить определение свойства
67
CorpusPage_12 = Добавить опредление свойства структуры
68
CorpusPage_13 = Удалить определение свойства
69
CorpusPage_14 = Подкорпуса и распределения по умолчанию
70
CorpusPage_15 = Добавить подкорпус
71
CorpusPage_16 = N/A_caract�res de ponctuations s�parateurs
72
CorpusPage_17 = Удалить подкорпус
73
CorpusPage_18 = Добавить распределение
74
CorpusPage_19 = N/A_caract�res d'ellision
75
CorpusPage_2  = Удалить издание
76
CorpusPage_20 = Удалить распределение
77
CorpusPage_21 = Добавить запрос
78
CorpusPage_22 = N/A_caract�res de fin de phrase
79
CorpusPage_23 = Удалить запрос
80
CorpusPage_24 = Свойства структуры
81
CorpusPage_25 = Добавить определение свойства структуры
82
CorpusPage_26 = N/A_Annotate the corpus
83
CorpusPage_27 = Удалить определение свойства структуры
84
CorpusPage_28 = Использовать только эти тесты при словарной сегментации
85
CorpusPage_29 = Добавить параметр
86
CorpusPage_3  = Шрифт
87
CorpusPage_31 = Удалить параметр
88
CorpusPage_32 = Добавить тест
89
CorpusPage_33 = Добавить параметр
90
CorpusPage_34 = Удалить тест
91
CorpusPage_35 = 1.\	Нажмите на значок 
92
CorpusPage_36 = 'папка', чтобы 
93
CorpusPage_37 = выбрать папку с исходными материалами.
94
CorpusPage_38 = 2.\	Вы можете изменить параметры на следующих этапах.
95
CorpusPage_39 = 3.\	Вы можете 
96
CorpusPage_4  = Добавить параметр
97
CorpusPage_40 = сохранить параметры импорта,
98
CorpusPage_41 = \ нажав на значок дискеты: 
99
CorpusPage_42 = 4.\	Чтобы
100
CorpusPage_43 = начать импортирование,
101
CorpusPage_44 = \ нажмите на этот значок: 
102
CorpusPage_45 = ПИ
103
CorpusPage_46 = Папка с исходными материалами не содержала файл 'import.xml'. Создан новый.
104
CorpusPage_47 = Ошибка при создании файла 'import.xml' 
105
CorpusPage_48 = Загрузка параметров импорта из файла: 
106
CorpusPage_49 = N/A_Default
107
CorpusPage_5  = N/A_caract�res blancs s�parateurs
108
CorpusPage_50 = Параметры модуля: 
109
CorpusPage_51 = Только эти тесты
110
CorpusPage_52 = Сохранение параметров импорта...
111
CorpusPage_53 = Имя корпуса обязательно
112
CorpusPage_54 = Имя корпуса должно содержать хотя бы одну букву
113
CorpusPage_55 = Только эти тесты
114
CorpusPage_6  = Удалить параметр
115
CorpusPage_60 = N/A_OK
116
CorpusPage_61 = Edit XSL stylesheet...
117
CorpusPage_65 = N/A_Cannot save import configuration. No source folder selected.
118
CorpusPage_66 = N/A_Cannot start import configuration. No source folder selected.
119
CorpusPage_7  = Общая информация
120
CorpusPage_8  = Имя корпуса*
121
CorpusPage_9  = Описание - HTML
122

  
123
CreatePartitionDialog_0  = Создать Распределение
124
CreatePartitionDialog_1  = Простое
125
CreatePartitionDialog_16 = Запросы не должны быть пустыми
126
CreatePartitionDialog_2  = &Структура: 
127
CreatePartitionDialog_3  = С подсказкой
128
CreatePartitionDialog_4  = С&войство: 
129
CreatePartitionDialog_5  = Продвинутое
130
CreatePartitionDialog_6  = &Имя: 
131
CreatePartitionDialog_7  = &Часть 
132
CreatePartitionDialog_8  = Не задана ни одна часть
133
CreatePartitionDialog_9  = Имя распределения не вводилось. Автоматическое имя: {0}
134

  
135
CreatePartition_0        = Создание распределения по {0}
136
CreatePartition_2        = ** Ошибка: распределение не создано
137
CreatePartition_5        = Готово: {0} пунктов на {1} употреблений
138
CreatePartition_6        = Готово: {0} частей
139

  
140
CreateSubCorpus_0      = ** Ошибка: подкорпус не был создан
141
CreateSubCorpus_2      = N/A_Failed to get last CQP error: 
142
CreateSubCorpus_begin  = Новый &Подкорпус
143
CreateSubCorpus_create = Создать новый подокорпус для {0}
144

  
145
CreateSubcorpusDialog_0  = Создать подкорпус
146
CreateSubcorpusDialog_10 = &Запрос: 
147
CreateSubcorpusDialog_11 = Некорректное имя
148
CreateSubcorpusDialog_13 = Некорректный запрос
149
CreateSubcorpusDialog_14 = Поле Запрос не должно быть пустым.
150
CreateSubcorpusDialog_6  = Зна&чение: 
151
CreateSubcorpusDialog_8  = Имя подкорпуса создано автоматически.
152

  
153
CreateSubcorpus_7        = Составление подкорпуса для {0}, структура {1}, свойство {2} : {3}
154
CreateSubcorpus_8        = Готово : {0} образован 
155
CreateSubcorpus_9        = Составление подкорпуса для {0} по запросу <{1}>
156

  
157
DONE = Готово: {0}
158

  
159
DefineReferencePattern_0 = Шаблон ссылок для отображения
160
DefineReferencePattern_1 = Шаблон ссылок для &отображения
161
DefineReferencePattern_2 = Шаблон ссылок для отображения
162
DefineReferencePattern_3 = Шаблон ссылок для &сортировки
163
DefineReferencePattern_4 = Шаблон ссылок для сортировки
164
DefineReferencePattern_5 = Шаблон ссылок для сортировки
165

  
166
DeleteInCorporaView_1 = ** Ошибка при удалении подкорпуса {0}
167
DeleteInCorporaView_2 = ** Ошибка при удалении распределения {0}
168

  
169 13
DiagnosticPreferencePage_2 = Число отображаемых значений свойства
170
DiagnosticPreferencePage_3 = Сортировать части по размеру
171

  
172
Diagnostique_0  = Структурные единицы {0}
173
Diagnostique_1  = Информация о {0} уже сформирована. Хотите ли Вы ее обновить?
174
Diagnostique_10 = Получение информации о структурных единицах
175
Diagnostique_11 = Открытие окна
176
Diagnostique_2  = ** Ошибка при чтении файла *informations* 
177
Diagnostique_7  = Создание окна с информацией
178
Diagnostique_8  = Получение общей информации
179
Diagnostique_9  = Получение данных о словарных единицах
180

  
181
ERROR = N/A_Error: 
182

  
183
EmpantWidget_0 = Контекст: 
184
EmpantWidget_1 = форма
185
EmpantWidget_2 = структура
186
EmpantWidget_3 = от -
187
EmpantWidget_4 = до -
188
EmpantWidget_5 = и от
189
EmpantWidget_6 = до
190
EmpantWidget_7 = вклюая структуру, содержащую мотив
191
EmpantWidget_8 = Активный левый контекст
192
EmpantWidget_9 = Активный правый контекст
193

  
194
Error_creating_partition = ** Ошибка во время создания распределения: {0}
195

  
196
ExportCorpus_0 = ** Не удалось экспортировать корпу {0}
197
ExportCorpus_3 = Экпортирование 
198
ExportCorpus_4 = Готово, бинарный файл - {0} 
199

  
200
InternalCorpusView_0 = ** Ошибка при подготовке информации о корпусе
201
InternalCorpusView_1 = Перезагрузить
202
InternalCorpusView_2 = ** Внутренняя ошибка: getText {0}
203

  
204
Invalid_analysis_property = Некорректное свойство
205

  
206
LastCQPError = Последняя ошибка CQP: 
207

  
208
ONE_RESULT = Готово: один результат
209

  
210
PartitionComposer_0  = Структура: 
211
PartitionComposer_11 = Удалить
212
PartitionComposer_2  = Выбрать значения для назначения: 
213
PartitionComposer_3  = Новая часть
214
PartitionComposer_5  = Часть
215
PartitionComposer_6  = Удалить все части
216
PartitionComposer_8  = Заголовок: 
217
PartitionComposer_9  = Назначить
218

  
219
Preferences_Menu_Label = Опции
220

  
221
PropertiesSelector_0 = Не удается загрузить свойства корпуса {0} ({1})
222
PropertiesSelector_1 = Свойства: 
223
PropertiesSelector_2 = Править
224

  
225
PropertySelector_0 = Выбрать свойство
226

  
227
PurgeCorpora_0  = Осторожно! Эта команда приведет к удалению всех выделенных корпусов. Продолжить?
228
PurgeCorpora_1  = Удаляемые корпуса 
229
PurgeCorpora_10 = Создание нового рабочего пространства
230
PurgeCorpora_12 = Перезагрузка платформы
231
PurgeCorpora_13 = ** Ошибка: не удалось найти рабочее пространство: 
232
PurgeCorpora_2  = ** Внимание! не были удалены корпуса: 
233
PurgeCorpora_3  = Осторожно! Эта команда приведет к удалению всех корпусов. Продолжить?
234
PurgeCorpora_4  = ** Ошибка: переменная окружения 'TXMHOME' не задана (ее значение по умолчанию -  '$HOME/TXM'). Работа прекращена.
235
PurgeCorpora_5  = Удаление всех корпусов
236
PurgeCorpora_7  = ** Не удалось удалить корпуса
237
PurgeCorpora_9  = ** Не удалось удалить регистр
238

  
239
QueriesView_1  = Экспортировать всё
240
QueriesView_10 = ошибка: 
241
QueriesView_5  = Запросы:\n
242

  
243
QueryAssistDialog_0  = Мастер Запросов
244
QueryAssistDialog_1  = Дополнительное слово
245
QueryAssistDialog_10 = совпадает с
246
QueryAssistDialog_11 = начинается с
247
QueryAssistDialog_12 = заканчивается на
248
QueryAssistDialog_13 = содержит
249
QueryAssistDialog_2  = Я ищу: 
250
QueryAssistDialog_3  = слово
251
QueryAssistDialog_32 = за ним 
252
QueryAssistDialog_33 = с интервалом не менее 0 слов
253
QueryAssistDialog_34 = с интервалом не менее 1 слова
254
QueryAssistDialog_8  = - Слово №
255

  
256
RefreshingCorporaView = Обновление вида корпусов...
257

  
258
SetContextSize_1 = Задать размер &контекстов
259
SetContextSize_2 = Задать размер контекстов
260
SetContextSize_3 = Размер левого контекста
261
SetContextSize_4 = Размер правого контекста
262

  
263
SetEncoding_0 = Изменить кодировку
264
SetEncoding_1 = Изменить кодировку.\n\n\	Используемая кодировка: 
265
SetEncoding_2 = \n\	Кодировка по умолчанию:  
266

  
267
SetLineNumber_0 = Количество строк на странице
268
SetLineNumber_1 = № строки
269

  
270
SetSortProperty_1 = Задать свойство &Сортировки
271
SetSortProperty_2 = Задать свойство сортировки
272
SetSortProperty_3 = Сортировка свойств 
273

  
274
ShowSelected_4 = Править свойство 'LANG'
275

  
276
SortPropertySelection_0 = Сортировка свойств 
277

  
278
Structure_field_not_empty = Поле Структура не должно быть пустым.
279

  
280
Submit_0 = Сохранить
281

  
282
TXMCqpServerWatcher_0 = Поисковая машина остановлена
283
TXMCqpServerWatcher_1 = Пожалуйста, подождите, пока поисковая машина перезагружается...
284

  
285
TXMRServeWatcher_0 = Статистическая машина остановлена
286
TXMRServeWatcher_1 = Пожалуйста, подождите, пока статистическая машина перезагружается...
287
TXMRServeWatcher_2 = Ok
288
TXMRServeWatcher_3 = Перезагрузка вида корпусов...
289
TXMRServeWatcher_4 = Пожалуйста, подождите...
290

  
291
ViewPropertySelectionDialog_0 = Отображение свойств
292

  
293
ViewPropertySelection_0       = Отображение свойств
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java (revision 693)
1 1
package org.txm.searchengine.cqp.rcp.messages;
2 2

  
3
import org.eclipse.osgi.util.NLS;
3 4
import org.txm.utils.messages.Utf8NLS;
4 5

  
5
public class CQPUIMessages extends Utf8NLS {
6
/**
7
 * CAP UI messages.
8
 * 
9
 * @author mdecorde
10
 * @author sjacquot
11
 *
12
 */
13
public class CQPUIMessages extends NLS {
6 14
	
7 15
	private static final String BUNDLE_NAME = "org.txm.searchengine.cqp.rcp.messages.messages"; //$NON-NLS-1$
8 16
	
9
	public static String CQPPreferenceInitializer_0;
10
	public static String CQPPreferenceInitializer_1;
11 17
	public static String CQPPreferencePage_0;
12 18
	public static String CQPPreferencePage_1;
13 19
	public static String CQPPreferencePage_10;
......
16 22
	public static String CQPPreferencePage_13;
17 23
	public static String CQPPreferencePage_14;
18 24
	public static String CQPPreferencePage_15;
19
	public static String CQPPreferencePage_16;
20 25
	public static String CQPPreferencePage_17;
21 26
	public static String CQPPreferencePage_18;
22 27
	
23 28
	
24 29
	public static String ComputeDiagnostic_0;
25
	public static String ComputeDiagnostic_1;
26 30

  
27 31
	public static String DiagnosticPreferencePage_2;
28
	public static String DiagnosticPreferencePage_3;
29
	public static String Diagnostique_0;
30
	public static String Diagnostique_10;
31
	public static String Diagnostique_11;
32
	public static String Diagnostique_1;
33
	public static String Diagnostique_2;
34
	public static String Diagnostique_7;
35
	public static String Diagnostique_8;
36
	public static String Diagnostique_9;
37 32

  
38 33
	
39 34
	static {
40
		Utf8NLS.initializeMessages(CQPUIMessages.class);
35
		// initialize resource bundle
36
		Utf8NLS.initializeMessages(BUNDLE_NAME, CQPUIMessages.class);
41 37
	}
42 38
}
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties (revision 693)
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
2
#Eclipse modern messages class
3
#Mon Feb 10 10:26:04 CET 2014
4

  
5
About_Menu_Label = À propos de TXM...
6

  
7
AdapterFactory_0 = ** Avertissement : le corpus {0} est corrompu. Certaines commandes ne fonctionneront pas correctement.
8

  
9
AssistedQueryWidget_0 = Ouvrir l'assistant de requêtes
10

  
11
CGU_CHECKMESSAGE = J'accepte la licence et je m'engage à citer TXM dans mes travaux de recherche \n(voir la section Citation de la page <http://textometrie.ens-lyon.fr/spip.php?rubrique61>)
12
CGU_MESSAGE      = <p>TXM est diffusé sous licence GNU GPL 2 &lt;<a href="https://www.gnu.org/licenses/gpl-2.0.fr.html">https://www.gnu.org/licenses/gpl-2.0.fr.html</a>
13
CGU_TITLE        = Licence d'utilisation
14

  
15
CQPPreferenceInitializer_0 = localhost
16
CQPPreferenceInitializer_1 = anonymous
17

  
1

18 2
CQPPreferencePage_0  = Chemin vers CQPlib
19 3
CQPPreferencePage_1  = Utiliser le protocole réseau
20 4
CQPPreferencePage_10 = &Serveur CWB distant
......
23 7
CQPPreferencePage_13 = Serveur distant : &login
24 8
CQPPreferencePage_14 = Serveur distant : &mot de passe
25 9
CQPPreferencePage_15 = Chemin vers le fichier &exécutable 'cqpserver'
26
CQPPreferencePage_16 = Chemin vers le dossier de &Registre du serveur CWB
27 10
CQPPreferencePage_17 = Chemin vers le fichier d'initialisation du serveur CWB
28 11
CQPPreferencePage_18 = Options additionnelles pour le serveur CWB : 
29 12

  
30
Cannot_ask_simple_when_advance = Impossible d'afficher l'onglet des options simples quand l'utilisateur a sélectionné l'affichage des options avancées
31

  
32
ComplexSortSelector_0 = Clés de tri : 
33
ComplexSortSelector_1 = Tri multiple : 
34
ComplexSortSelector_2 = Tri
35
ComplexSortSelector_5 = ** Erreur pendant le tri : {0}
36
ComplexSortSelector_6 = par défaut
37

  
38
ComplexSort_0         = Ouverture de la boite de dialogue du tri composé
39
ComplexSort_1         = &Tri composé
40
ComplexSort_10        = Comparateur invalide
41
ComplexSort_11        = Il faut sélectionner au moins deux comparateurs
42
ComplexSort_12        = Ajouter à la sélection
43
ComplexSort_14        = Retirer de la sélection
44
ComplexSort_16        = Monter d'un cran la sélection
45
ComplexSort_18        = Descendre d'un cran la sélection
46
ComplexSort_2         = Définir et utiliser un tri composé
47
ComplexSort_3         = Sélectionnez un tri composé
48
ComplexSort_4         = &Nouveau
49
ComplexSort_5         = Créer une nouvelle méthode de tri
50
ComplexSort_6         = Nom : 
51
ComplexSort_9         = Le champ Nom est obligatoire.
52

  
53
ComplexSubcorpusPanel_0  = Sélectionner
54
ComplexSubcorpusPanel_1  = Tous les critères
55
ComplexSubcorpusPanel_16 = ne contient pas
56
ComplexSubcorpusPanel_2  = certains critères
57
ComplexSubcorpusPanel_4  = Requête 
58
ComplexSubcorpusPanel_5  = Rafraîchir
59

  
60
ComputeCoocFromLines_0 = Calcul des cooccurrents en cours
61
ComputeCoocFromLines_1 = Ouverture du tableau de cooccurrents
62

  
63
ConvertCorpus_0 = La conversion du corpus a échoué.
64

  
65
CreatePartitionDialog_0  = Créer une Partition
66
CreatePartitionDialog_1  = Simple
67
CreatePartitionDialog_16 = Les requêtes ne doivent pas être vides
68
CreatePartitionDialog_2  = &Structure : 
69
CreatePartitionDialog_3  = Assisté
70
CreatePartitionDialog_4  = &Propriété : 
71
CreatePartitionDialog_5  = Avancé
72
CreatePartitionDialog_6  = &Nom : 
73
CreatePartitionDialog_7  = Partie 
74
CreatePartitionDialog_8  = Aucune partie définie
75
CreatePartitionDialog_9  = Le nom de la partition n''a pas été précisé. Le nom est {0}
76

  
77
CreatePartition_0        = Création d''une partition sur {0}
78
CreatePartition_2        = ** Erreur : la partition n'a pas été créé
79
CreatePartition_5        = Terminé : {0} items pour {1} occurrences.
80
CreatePartition_6        = Terminé : {0} parties
81

  
82
CreateSubCorpus_0      = ** Erreur : le sous-corpus n'a pas été créé
83
CreateSubCorpus_2      = Erreur lors de la récupération de la dernière erreur CQP : 
84
CreateSubCorpus_begin  = Nouveau &Sous-corpus
85
CreateSubCorpus_create = Créer un nouveau sous-corpus de {0}
86

  
87
CreateSubcorpusDialog_0  = Créer un sous-corpus
88
CreateSubcorpusDialog_10 = &Requête : 
89
CreateSubcorpusDialog_11 = Nom incorrect
90
CreateSubcorpusDialog_13 = Requête invalide
91
CreateSubcorpusDialog_14 = Le champ Requête ne doit pas être vide.
92
CreateSubcorpusDialog_6  = &Valeur : 
93
CreateSubcorpusDialog_8  = Un nom de sous-corpus a été généré.
94

  
95
CreateSubcorpus_7        = Calcul d''un sous-corpus de {0}, structure {1}, propriété {2} : {3}
96
CreateSubcorpus_8        = Terminé : {0} a été créé  
97
CreateSubcorpus_9        = Calcul d''un sous-corpus de {0} avec la requête <{1}>
98

  
99
DONE = Terminé : {0}
100

  
101
DefineReferencePattern_0 = Options d'affichage des références
102
DefineReferencePattern_1 = Options d'&affichage des références
103
DefineReferencePattern_2 = Options d'affichage des références
104
DefineReferencePattern_3 = Options de &tri des références
105
DefineReferencePattern_4 = Options de tri des références
106
DefineReferencePattern_5 = Options de tri des références
107

  
108
DeleteInCorporaView_1 = ** Erreur lors de la suppression du sous-corpus {0}
109
DeleteInCorporaView_2 = ** Erreur lors de la suppression de la partition {0}
110

  
111
DeleteLines_0 = Le tableau doit comporter au moins une ligne
112
DeleteLines_1 = Sûr(e) ?
113

  
114 13
DiagnosticPreferencePage_2 = Nombre de valeurs de propriété affiché
115
DiagnosticPreferencePage_3 = Ordonner les parties par taille
116

  
117
Diagnostique_0  = Unités de structure de {0}
118
Diagnostique_1  = Les informations de {0} ont déjà été calculées. Souhaitez vous les recalculer ?
119
Diagnostique_10 = Récupération des informations sur les unités de structure
120
Diagnostique_11 = Ouverture de la fenêtre...
121
Diagnostique_2  = ** Échec de lecture du fichier *informations* de 
122
Diagnostique_7  = Création de la fenêtre d'informations
123
Diagnostique_8  = Récupération des informations générales
124
Diagnostique_9  = Récupération des données sur les unités lexicales
125

  
126
ERROR = Erreur: 
127

  
128
EmpantWidget_0 = Contexte : 
129
EmpantWidget_1 = forme
130
EmpantWidget_2 = structure
131
EmpantWidget_3 = de -
132
EmpantWidget_4 = à -
133
EmpantWidget_5 = et de
134
EmpantWidget_6 = à
135
EmpantWidget_7 = inclure la structure contenant le pivot
136
EmpantWidget_8 = Contexte gauche actif
137
EmpantWidget_9 = Contexte droit actif
138

  
139
Exit_Menu_Label = Quitter
140

  
141
ExportAnnotation_0 = Exportation des annotations
142

  
143
ExportCorpus_0 = ** Échec de l''exportation du corpus {0}
144
ExportCorpus_3 = Exportation de {0}. Cela peut prendre du temps en fonction de la taille du corpus.
145
ExportCorpus_4 = Terminé, le fichier binaire créé est {0}
146

  
147
InternalCorpusView_0 = ** Erreur lors du calcul des informations du corpus
148
InternalCorpusView_1 = Recharger
149
InternalCorpusView_2 = ** Erreur interne : getText {0}
150

  
151
Invalid_analysis_property = Propriété invalide
152

  
153
LastCQPError = Dernière erreur CQP : 
154

  
155
NavigationWidget_0 = Erreur lors de la récupération des données à l'indice : 
156

  
157
NumberOfLines = Nombre de lignes :
158

  
159
OK = OK
160

  
161
ONE_RESULT = Terminé : un résultat.
162

  
163
OpenEmptyEditor_2 = ** Bibliographie : dossier {0} introuvable
164

  
165
OpenTXMUserPreferences_0 = Paramètres par défaut
166

  
167
PartitionComposer_0  = Structure : 
168
PartitionComposer_11 = Supprimer
169
PartitionComposer_2  = Sélectionner les valeurs à affecter : 
170
PartitionComposer_3  = Nouvelle partie
171
PartitionComposer_5  = Partie
172
PartitionComposer_6  = Supp. toutes les parties
173
PartitionComposer_8  = Titre : 
174
PartitionComposer_9  = Affecter
175

  
176
PartsSize_0  = Trier par taille
177
PartsSize_10 = Dimensions de la partition {0} du corpus {1}
178
PartsSize_2  = Nombre de mots par partie
179

  
180
PasteFile_1 = ** Erreur lors de la copie  
181
PasteFile_3 = ** Échec de la suppression
182
PasteFile_4 = : 
183

  
184
Preferences_Menu_Label = Préférences
185

  
186
PropertiesSelector_0 = Impossible de charger les propriétés du corpus {0} ({1})
187
PropertiesSelector_1 = Propriétés : 
188
PropertiesSelector_2 = Editer
189

  
190
Property = Propriétés :
191

  
192
PropertySelector_0 = Sélectionner une propriété
193

  
194
PurgeCorpora_0  = Attention ! Cette commande va supprimer tous les corpus sélectionnés. Continuer ?
195
PurgeCorpora_1  = Corpus à supprimer 
196
PurgeCorpora_10 = Création d'un nouvel espace de travail
197
PurgeCorpora_12 = Redémarrage de la plateforme
198
PurgeCorpora_13 = ** Erreur : espace de travail introuvable : 
199
PurgeCorpora_2  = ** Attention : corpus non supprimés : 
200
PurgeCorpora_3  = Attention ! Cette commande va supprimer tous les corpus. Continuer ?
201
PurgeCorpora_4  = ** Erreur : la variable d'environnement 'TXMHOME' n'est pas configurée (sa valeur standard est '$HOME/TXM'). Abandon.
202
PurgeCorpora_5  = Supprime tous les corpus
203
PurgeCorpora_7  = ** Échec de la suppression des corpus
204
PurgeCorpora_9  = ** Échec de la suppression du registre
205

  
206
QueriesView_1  = Tout exporter
207
QueriesView_10 = erreur : 
208
QueriesView_5  = Requêtes :\n
209

  
210
QueryAssistDialog_0  = Assistant de Requête
211
QueryAssistDialog_1  = Mot supplémentaire
212
QueryAssistDialog_10 = correspond à
213
QueryAssistDialog_11 = commence par
214
QueryAssistDialog_12 = se termine par
215
QueryAssistDialog_13 = contient
216
QueryAssistDialog_2  = Je recherche : 
217
QueryAssistDialog_3  = mot
218
QueryAssistDialog_32 = suivi de 
219
QueryAssistDialog_33 = séparé d'au moins 0 mot
220
QueryAssistDialog_34 = séparé d'au moins 1 mot
221
QueryAssistDialog_8  = un mot dont
222

  
223
REFRESH = Rafraîchir
224

  
225
RefreshingCorporaView = Mise à jour de la vue des corpus...
226

  
227
RenameFile_0 = Renommer le fichier
228
RenameFile_2 = Renommage par : 
229
RenameFile_3 = ** Échec du renommage 
230

  
231
RestartTXM_0 = Rechargement des vues...
232
RestartTXM_1 = Redémarrer TXM
233

  
234
RunGroovyScript_0  = Exécution du script
235
RunGroovyScript_1  = &Exécuter un script
236
RunGroovyScript_10 = Répertoire de sources :
237
RunGroovyScript_2  = Exécuter un script
238
RunGroovyScript_3  = *.groovy
239
RunGroovyScript_4  = Erreur lors de l''ouverture du script groovy : {0}
240
RunGroovyScript_8  = ** Erreur lors de l''exécution du script groovy : {0}
241
RunGroovyScript_9  = Exécution du script
242

  
243
SEARCH = &Искать
244

  
245
SVGGraphicEditor_1 = Impossible d'afficher un graphique avec les informations fournies.
246

  
247
SaveAs_2 = ** Échec de la sauvegarde 
248

  
249
ScriptPreferencePage_0 = Prochain numéro de session 
250
ScriptPreferencePage_3 = Dossier &racine
251

  
252
SetContextSize_1 = Options d'affichage des &contextes
253
SetContextSize_2 = Options d'affichage des contextes
254
SetContextSize_3 = Taille du contexte gauche
255
SetContextSize_4 = Taille du contexte droit
256

  
257
SetEncoding_0 = Changer l'encodage des caractères
258
SetEncoding_1 = Changer l'encodage des caractères.\n\n\	Encodage actuel : 
259
SetEncoding_2 = \n\	Encodage par défaut :  
260

  
261
SetLineNumber_0 = Options de pagination
262
SetLineNumber_1 = Lignes par page : 
263

  
264
SetSortProperty_1 = Options de tri
265
SetSortProperty_2 = Options de tri
266
SetSortProperty_3 = Options de tri
267

  
268
ShowSelected_4 = Régler la propriété 'LANG'
269

  
270
SingularValuesEditor_0 = Entrée erronée
271

  
272
SortPropertySelection_0 = Options de tri
273

  
274
Structure_field_not_empty = Le champ structure ne doit pas être vide.
275

  
276
Submit_0 = Enregistrer
277

  
278
TXMCqpServerWatcher_0 = Le moteur de recherche est arrêté
279
TXMCqpServerWatcher_1 = Veuillez attendre que le moteur de recherche ai redémarré...
280

  
281
TXMRServeWatcher_0 = Le moteur statistique est arrêté
282
TXMRServeWatcher_1 = Veuillez attendre que le moteur statistique ai redémarré...
283
TXMRServeWatcher_2 = Ok
284
TXMRServeWatcher_3 = Rechargement de la vue des corpus...
285
TXMRServeWatcher_4 = Veuillez patienter...
286

  
287
TablableVector_0 = Les deux tables doivent être de même taille.
288

  
289
TableEditor_0 = Impossible d'afficher un tableau avec les informations fournies
290

  
291
TableKeyListener_1 = Saisissez l'expression régulière de votre recherche
292
TableKeyListener_6 = Lignes copiées : \n
293

  
294
TxmCommand_1 = Chargement de l'extension 
295

  
296
UIParameterException_0 = Erreur  
297

  
298
ViewPropertySelectionDialog_0 = Options d'affichage
299

  
300
ViewPropertySelection_0       = Options d'affichage
tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages.properties (revision 693)
1
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
2
#Eclipse modern messages class
3
#Mon Feb 10 11:04:14 CET 2014
4 1

  
5
CANT_CREATE_GRAPHIC = ** Cannot create the graphic
6

  
7
CQPPreferenceInitializer_0 = localhost
8
CQPPreferenceInitializer_1 = anonymous
9

  
10 2
CQPPreferencePage_0  = CQPlib path
11 3
CQPPreferencePage_1  = Use network protocol
12 4
CQPPreferencePage_10 = &Remote CWB server address:
......
15 7
CQPPreferencePage_13 = CWB server: &login:
16 8
CQPPreferencePage_14 = CWB server: &password:
17 9
CQPPreferencePage_15 = Path to CWB server binary
18
CQPPreferencePage_16 = Path to CWB server registry
19
CQPPreferencePage_17 = Path to CWB server initialisation file
20
CQPPreferencePage_18 = Additionnal &options for the CWB server:
10
CQPPreferencePage_17 = Path to CWB server initialization file
11
CQPPreferencePage_18 = Additional &options for the CWB server:
21 12

  
22
ComplexSubcorpusPanel_0  = Match
23
ComplexSubcorpusPanel_1  = All criteria
24
ComplexSubcorpusPanel_16 = does not contain
25
ComplexSubcorpusPanel_2  = Some criteria
26
ComplexSubcorpusPanel_4  = Query
27
ComplexSubcorpusPanel_5  = Refresh
28

  
29 13
ComputeDiagnostic_0 = Selection is not structured
30
ComputeDiagnostic_1 = Error: selection is not a corpus:
31 14

  
32
DeleteInCorporaView_1 = ** Failed to delete subcorpus {0}
33
DeleteInCorporaView_2 = ** Failed to delete partition {0}
34

  
35 15
DiagnosticPreferencePage_2 = Maximum values to display
36
DiagnosticPreferencePage_3 = Order partition parts by size
37

  
38
Diagnostique_0  = Structural Units of {0}
39
Diagnostique_1  = Informations of {0} already exists. Do you want to compute a new one ?
40
Diagnostique_10 = get structural units data
41
Diagnostique_11 = Open editor...
42
Diagnostique_2  = ** Failed to read *informations* file of
43
Diagnostique_7  = Create Informations
44
Diagnostique_8  = Getting general informations
45
Diagnostique_9  = Getting lexical properties data
46

  
47
EmpantWidget_0 = Context:
48
EmpantWidget_1 = word
49
EmpantWidget_2 = structure
50
EmpantWidget_3 = from -
51
EmpantWidget_4 = to -
52
EmpantWidget_5 = and from
53
EmpantWidget_6 = to
54
EmpantWidget_7 = include the keyword structure in the count
55
EmpantWidget_8 = use left Window
56
EmpantWidget_9 = use right Window
57

  
58
Error_creating_partition = Error while creating a partition: {0}
59

  
60
ExportAnnotation_0 = Exporting annotations.
61

  
62
ExportCorpus_0 = ** Failed to export corpus {0}
63
ExportCorpus_3 = Exporting {0}. This may take a while.
64
ExportCorpus_4 = Done, the created binary file is {0}
65

  
66
GraphicalLogger_0 = Error {0}
67

  
68
InternalCorpusView_0 = Error while computing corpus summary
69
InternalCorpusView_1 = Reload
70
InternalCorpusView_2 = Error: getText: {0}
71

  
72
Invalid_analysis_property = Invalid property
73

  
74
LastCQPError = Last CQP error:
75

  
76
NumberOfLines = Number of lines:
77

  
78
ONE_RESULT = Done: one result.
79

  
80
PartitionComposer_0  = Structure:
81
PartitionComposer_1  = Error: this partition has no part.
82
PartitionComposer_11 = Remove
83
PartitionComposer_2  = Select values to assign:
84
PartitionComposer_3  = New part
85
PartitionComposer_5  = Part
86
PartitionComposer_6  = Rmv all the parts
87
PartitionComposer_8  = Title:
88
PartitionComposer_9  = Assign
89

  
90
PropertiesSelector_0 = Can''t load properties from corpus {0}: {1}
91
PropertiesSelector_1 = Properties:
92
PropertiesSelector_2 = Edit
93

  
94
Property = Property:
95

  
96
PropertySelector_0 = Select a property
97

  
98
PurgeCorpora_0  = Warning! this command will delete the selected corpora, Continue ?
99
PurgeCorpora_1  = Corpora to delete
100
PurgeCorpora_10 = Creating new workspace
101
PurgeCorpora_12 = Restarting platform
102
PurgeCorpora_13 = ** Error: could not find workspace:
103
PurgeCorpora_2  = ** Warning: Failed to delete corpora:
104
PurgeCorpora_3  = Warning! this command will delete all your corpora, Continue ?
105
PurgeCorpora_4  = ** Error: 'TXMHOME' environment variable is not set (its standard value is '$HOME/TXM'). Aborting
106
PurgeCorpora_5  = Delete all corpora
107
PurgeCorpora_7  = ** Failed to delete corpora
108
PurgeCorpora_9  = ** Failed to delete registry
109

  
110
QueriesView_1  = Export all
111
QueriesView_10 = Error with element {0}
112
QueriesView_5  = Queries:\n
113

  
114
QueryAssistDialog_0  = Query Assistant
115
QueryAssistDialog_1  = Add a word
116
QueryAssistDialog_10 = equals to
117
QueryAssistDialog_11 = starts with
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff