Révision 937
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 13 | 13 |
|
| 14 | 14 |
ChartsEngineSharedPreferencePage_CHARTS_RENDERING_DEFAULT_PREFERENCES = Rendu des graphiques |
| 15 | 15 |
|
| 16 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_CONCORDANCE = Envoyer la sélection vers la concordance |
|
| 17 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_COOCCURRENCE = Envoyer la sélection vers la cooccurrence |
|
| 18 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_INDEX = Envoyer la sélection vers l'index |
|
| 19 |
SWTChartsComponentProvider_SHOW_GRID = Afficher la grille |
|
| 20 |
SWTChartsComponentProvider_SHOW_HIDE_GRID = Afficher/masquer la grille |
|
| 21 |
SWTChartsComponentProvider_SHOW_HIDE_LEGEND = Afficher/masquer la légende |
|
| 22 |
SWTChartsComponentProvider_SHOW_LEGEND = Afficher la légende |
|
| 23 |
SWTChartsComponentProvider_SHOW_TITLE = Afficher le titre |
|
| 16 |
SWTChartsComponentProvider_SHOW_GRID = Afficher la grille |
|
| 17 |
SWTChartsComponentProvider_SHOW_HIDE_GRID = Afficher/masquer la grille |
|
| 18 |
SWTChartsComponentProvider_SHOW_HIDE_LEGEND = Afficher/masquer la légende |
|
| 19 |
SWTChartsComponentProvider_SHOW_LEGEND = Afficher la légende |
|
| 20 |
SWTChartsComponentProvider_SHOW_TITLE = Afficher le titre |
|
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 13 | 13 |
|
| 14 | 14 |
ChartsEngineSharedPreferencePage_CHARTS_RENDERING_DEFAULT_PREFERENCES = Charts rendering |
| 15 | 15 |
|
| 16 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_CONCORDANCE = Send selection to concordance |
|
| 17 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_COOCCURRENCE = Send selection to cooccurrence |
|
| 18 |
SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_INDEX = Send selection to index |
|
| 19 |
SWTChartsComponentProvider_SHOW_GRID = Show grid |
|
| 20 |
SWTChartsComponentProvider_SHOW_HIDE_GRID = Show/hide grid |
|
| 21 |
SWTChartsComponentProvider_SHOW_HIDE_LEGEND = Show/hide legend |
|
| 22 |
SWTChartsComponentProvider_SHOW_HIDE_TITLE = Show/hide title |
|
| 23 |
SWTChartsComponentProvider_SHOW_LEGEND = Show legend |
|
| 24 |
SWTChartsComponentProvider_SHOW_TITLE = Show title |
|
| 16 |
SWTChartsComponentProvider_SHOW_GRID = Show grid |
|
| 17 |
SWTChartsComponentProvider_SHOW_HIDE_GRID = Show/hide grid |
|
| 18 |
SWTChartsComponentProvider_SHOW_HIDE_LEGEND = Show/hide legend |
|
| 19 |
SWTChartsComponentProvider_SHOW_HIDE_TITLE = Show/hide title |
|
| 20 |
SWTChartsComponentProvider_SHOW_LEGEND = Show legend |
|
| 21 |
SWTChartsComponentProvider_SHOW_TITLE = Show title |
|
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/messages/SWTComponentsProviderMessages.java (revision 937) | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
public class SWTComponentsProviderMessages extends NLS {
|
| 7 | 7 |
|
| 8 |
private static final String BUNDLE_NAME = "org.txm.chartsengine.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 9 |
|
|
| 8 | 10 |
public static String ChartsEnginePreferencePage_COMBO_FIELD_SELECT_DISPLAY_FORMAT_LABEL; |
| 9 | 11 |
public static String ChartsEnginePreferencePage_COMBO_FIELD_SELECT_EXPORT_FORMAT_LABEL; |
| 10 | 12 |
|
| ... | ... | |
| 21 | 23 |
|
| 22 | 24 |
public static String ChartsEngineSharedPreferencePage_CHARTS_RENDERING_DEFAULT_PREFERENCES; |
| 23 | 25 |
|
| 24 |
|
|
| 25 |
// FIXME: these keys are not used at this moment |
|
| 26 |
public static String SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_CONCORDANCE; |
|
| 27 |
public static String SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_COOCCURRENCE; |
|
| 28 |
public static String SWTChartsComponentProvider_SHARED_SEND_SELECTION_TO_INDEX; |
|
| 29 |
// End of fixme |
|
| 30 |
|
|
| 31 |
|
|
| 32 | 26 |
public static String SWTChartsComponentProvider_SHOW_TITLE; |
| 33 | 27 |
public static String SWTChartsComponentProvider_SHOW_LEGEND; |
| 34 | 28 |
public static String SWTChartsComponentProvider_SHOW_GRID; |
| ... | ... | |
| 41 | 35 |
|
| 42 | 36 |
static {
|
| 43 | 37 |
// initialize resource bundle |
| 44 |
Utf8NLS.initializeMessages(SWTComponentsProviderMessages.class); |
|
| 38 |
Utf8NLS.initializeMessages(BUNDLE_NAME, SWTComponentsProviderMessages.class);
|
|
| 45 | 39 |
} |
| 46 | 40 |
|
| 47 | 41 |
private SWTComponentsProviderMessages() {
|
| tmp/org.txm.annotation.rcp/src/org/txm/annotation/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 1 |
|
|
| 2 |
AnnotationPreferences_1 = simple (avec catégories) |
|
| 3 |
AnnotationPreferences_2 = avancé (avec types+valeurs) |
|
| tmp/org.txm.annotation.rcp/src/org/txm/annotation/rcp/messages/AnnotationUIMessages.java (revision 937) | ||
|---|---|---|
| 13 | 13 |
*/ |
| 14 | 14 |
public class AnnotationUIMessages extends NLS {
|
| 15 | 15 |
|
| 16 |
public static String AnnotationPreferences_1; |
|
| 17 |
public static String AnnotationPreferences_2; |
|
| 18 |
|
|
| 16 |
private static final String BUNDLE_NAME = "org.txm.annotation.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 17 |
|
|
| 19 | 18 |
static {
|
| 20 | 19 |
// initialize resource bundle |
| 21 |
Utf8NLS.initializeMessages(AnnotationUIMessages.class); |
|
| 20 |
Utf8NLS.initializeMessages(BUNDLE_NAME, AnnotationUIMessages.class);
|
|
| 22 | 21 |
} |
| 23 | 22 |
|
| 24 | 23 |
private AnnotationUIMessages() {
|
| tmp/org.txm.annotation.rcp/src/org/txm/annotation/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 1 |
|
|
| 2 |
AnnotationPreferences_1 = simple (with categories) |
|
| 3 |
AnnotationPreferences_2 = advanced (with types+values) |
|
| tmp/org.txm.index.rcp/src/org/txm/index/rcp/messages/IndexUIMessages.java (revision 937) | ||
|---|---|---|
| 3 | 3 |
import org.eclipse.osgi.util.NLS; |
| 4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
| 5 | 5 |
|
| 6 |
/** |
|
| 7 |
* Index UI messages. |
|
| 8 |
* |
|
| 9 |
* @author sjacquot |
|
| 10 |
* |
|
| 11 |
*/ |
|
| 6 | 12 |
public class IndexUIMessages extends NLS {
|
| 7 | 13 |
|
| 14 |
private static final String BUNDLE_NAME = "org.txm.index.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 15 |
|
|
| 8 | 16 |
public static String IndexEditor_0; |
| 9 | 17 |
public static String IndexEditor_1; |
| 10 | 18 |
public static String IndexEditor_10; |
| ... | ... | |
| 34 | 42 |
|
| 35 | 43 |
static {
|
| 36 | 44 |
// initialize resource bundle |
| 37 |
Utf8NLS.initializeMessages(IndexUIMessages.class); |
|
| 45 |
Utf8NLS.initializeMessages(BUNDLE_NAME, IndexUIMessages.class);
|
|
| 38 | 46 |
} |
| 39 | 47 |
|
| 40 | 48 |
private IndexUIMessages() {
|
| tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages_ru.properties (revision 937) | ||
|---|---|---|
| 12 | 12 |
ComputeCorrespondanceAnalysis_13 = ** Невозможно провести факторный анализ соответствий при наличии менее 4-х колонок |
| 13 | 13 |
ComputeCorrespondanceAnalysis_14 = Открытие результатов факторного анализа соответствий |
| 14 | 14 |
ComputeCorrespondanceAnalysis_15 = Создание окна ФАС |
| 15 |
ComputeCorrespondanceAnalysis_16 = Создание словарной таблицы для ФАС |
|
| 16 |
ComputeCorrespondanceAnalysis_17 = Расчет ФАС |
|
| 17 | 15 |
ComputeCorrespondanceAnalysis_3 = ** Ошибка |
| 18 | 16 |
ComputeCorrespondanceAnalysis_4 = ** Невозможно провести факторный анализ соответствий при наличии только |
| 19 | 17 |
ComputeCorrespondanceAnalysis_8 = Загрузка результатов факторного анализа |
| 20 | 18 |
|
| 21 | 19 |
CorrespondanceAnalysisEditorInput_0 = Собственные значения |
| 22 | 20 |
CorrespondanceAnalysisEditorInput_1 = Факт. план |
| 23 |
CorrespondanceAnalysisEditorInput_10 = ФАС |
|
| 24 | 21 |
CorrespondanceAnalysisEditorInput_11 = ∑ |
| 25 | 22 |
CorrespondanceAnalysisEditorInput_2 = Гистограмма собственных значений |
| 26 | 23 |
CorrespondanceAnalysisEditorInput_26 = Масса |
| 27 | 24 |
CorrespondanceAnalysisEditorInput_27 = Дист |
| 28 | 25 |
CorrespondanceAnalysisEditorInput_29 = Конт |
| 29 |
CorrespondanceAnalysisEditorInput_3 = Результат анализа соответствий не может быть пустым |
|
| 30 | 26 |
CorrespondanceAnalysisEditorInput_30 = Cos² |
| 31 | 27 |
CorrespondanceAnalysisEditorInput_4 = Фактор |
| 32 | 28 |
CorrespondanceAnalysisEditorInput_5 = Собственные значения |
| tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/CAUIMessages.java (revision 937) | ||
|---|---|---|
| 1 | 1 |
package org.txm.ca.rcp.messages; |
| 2 | 2 |
|
| 3 |
import org.eclipse.osgi.util.NLS; |
|
| 3 | 4 |
import org.txm.utils.messages.Utf8NLS; |
| 4 | 5 |
|
| 5 | 6 |
/** |
| ... | ... | |
| 9 | 10 |
* @author sjacquot |
| 10 | 11 |
* |
| 11 | 12 |
*/ |
| 12 |
public class CAUIMessages extends Utf8NLS {
|
|
| 13 |
public class CAUIMessages extends NLS {
|
|
| 13 | 14 |
|
| 14 | 15 |
private static final String BUNDLE_NAME = "org.txm.ca.rcp.messages.messages"; //$NON-NLS-1$ |
| 15 | 16 |
|
| ... | ... | |
| 32 | 33 |
public static String ComputeCorrespondanceAnalysis_13; |
| 33 | 34 |
public static String ComputeCorrespondanceAnalysis_14; |
| 34 | 35 |
public static String ComputeCorrespondanceAnalysis_15; |
| 35 |
public static String ComputeCorrespondanceAnalysis_16; |
|
| 36 |
public static String ComputeCorrespondanceAnalysis_17; |
|
| 37 | 36 |
public static String ComputeCorrespondanceAnalysis_1; |
| 38 | 37 |
public static String ComputeCorrespondanceAnalysis_3; |
| 39 | 38 |
public static String ComputeCorrespondanceAnalysis_4; |
| ... | ... | |
| 42 | 41 |
public static String ComputeCorrespondanceAnalysisDialog_0; |
| 43 | 42 |
|
| 44 | 43 |
public static String CorrespondanceAnalysisEditorInput_0; |
| 45 |
public static String CorrespondanceAnalysisEditorInput_10; |
|
| 46 | 44 |
public static String CorrespondanceAnalysisEditorInput_11; |
| 47 | 45 |
public static String CorrespondanceAnalysisEditorInput_1; |
| 48 | 46 |
public static String CorrespondanceAnalysisEditorInput_2; |
| 49 |
public static String CorrespondanceAnalysisEditorInput_3; |
|
| 50 | 47 |
public static String CorrespondanceAnalysisEditorInput_4; |
| 51 | 48 |
public static String CorrespondanceAnalysisEditorInput_5; |
| 52 | 49 |
public static String CorrespondanceAnalysisEditorInput_8; |
| tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 17 | 17 |
ComputeCorrespondanceAnalysis_13 = ** Impossible de calculer l'analyse factorielle des correspondances avec moins de 4 colonnes |
| 18 | 18 |
ComputeCorrespondanceAnalysis_14 = Ouverture des résultats de l'analyse factorielle des correspondances |
| 19 | 19 |
ComputeCorrespondanceAnalysis_15 = Création de la fenêtre de l'AFC |
| 20 |
ComputeCorrespondanceAnalysis_16 = Création de la table lexicale pour l'AFC |
|
| 21 |
ComputeCorrespondanceAnalysis_17 = Calcul de l'AFC |
|
| 22 | 20 |
ComputeCorrespondanceAnalysis_3 = ** Erreur |
| 23 | 21 |
ComputeCorrespondanceAnalysis_4 = ** Impossible de calculer l'analyse factorielle avec seulement {0} parties (minimum=4).
|
| 24 | 22 |
ComputeCorrespondanceAnalysis_8 = Chargement des résultats de l'analyse factorielle |
| 25 | 23 |
|
| 26 | 24 |
CorrespondanceAnalysisEditorInput_0 = Valeurs propres |
| 27 | 25 |
CorrespondanceAnalysisEditorInput_1 = Plan fact. |
| 28 |
CorrespondanceAnalysisEditorInput_10 = AFC |
|
| 29 | 26 |
CorrespondanceAnalysisEditorInput_11 = ∑ |
| 30 | 27 |
CorrespondanceAnalysisEditorInput_2 = Histogramme des valeurs propres |
| 31 |
CorrespondanceAnalysisEditorInput_3 = Le résultat de l'analyse des correspondances ne peut être nul |
|
| 32 | 28 |
CorrespondanceAnalysisEditorInput_4 = # |
| 33 | 29 |
CorrespondanceAnalysisEditorInput_5 = Valeur propre |
| 34 | 30 |
CorrespondanceAnalysisEditorInput_8 = Info lignes |
| tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 19 | 19 |
ComputeCorrespondanceAnalysis_13 = Can not compute CA on lexical table with less than 4 columns |
| 20 | 20 |
ComputeCorrespondanceAnalysis_14 = Opening the Correspondence Analysis results |
| 21 | 21 |
ComputeCorrespondanceAnalysis_15 = Creating CA |
| 22 |
ComputeCorrespondanceAnalysis_16 = Creating Lexical Table for the CA |
|
| 23 |
ComputeCorrespondanceAnalysis_17 = Compute CA |
|
| 24 | 22 |
ComputeCorrespondanceAnalysis_3 = ** Error |
| 25 | 23 |
ComputeCorrespondanceAnalysis_4 = Can not compute factorial analysis with only {0} parts (the minimum is 4 parts).
|
| 26 | 24 |
ComputeCorrespondanceAnalysis_8 = Loading correspondence analysis results... |
| 27 | 25 |
|
| 28 | 26 |
CorrespondanceAnalysisEditorInput_0 = Eigenvalues |
| 29 | 27 |
CorrespondanceAnalysisEditorInput_1 = Fact. plan |
| 30 |
CorrespondanceAnalysisEditorInput_10 = CA |
|
| 31 | 28 |
CorrespondanceAnalysisEditorInput_11 = ∑ |
| 32 | 29 |
CorrespondanceAnalysisEditorInput_2 = Eigenvalues histogram |
| 33 |
CorrespondanceAnalysisEditorInput_3 = Correspondence analysis result cannot be null |
|
| 34 | 30 |
CorrespondanceAnalysisEditorInput_4 = # |
| 35 | 31 |
CorrespondanceAnalysisEditorInput_5 = Eigenvalue |
| 36 | 32 |
CorrespondanceAnalysisEditorInput_8 = Rows infos |
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/messages/AnnotationUIMessages.java (revision 937) | ||
|---|---|---|
| 1 |
package org.txm.annotation.kr.rcp.messages; |
|
| 2 |
|
|
| 3 |
import org.eclipse.osgi.util.NLS; |
|
| 4 |
import org.txm.utils.messages.Utf8NLS; |
|
| 5 |
|
|
| 6 |
|
|
| 7 |
/** |
|
| 8 |
* Annotation UI messages. |
|
| 9 |
* |
|
| 10 |
* @author mdecorde |
|
| 11 |
* @author sjacquot |
|
| 12 |
* |
|
| 13 |
*/ |
|
| 14 |
public class AnnotationUIMessages extends NLS {
|
|
| 15 |
|
|
| 16 |
public static String AnnotationPreferences_1; |
|
| 17 |
public static String AnnotationPreferences_2; |
|
| 18 |
|
|
| 19 |
static {
|
|
| 20 |
// initialize resource bundle |
|
| 21 |
Utf8NLS.initializeMessages(AnnotationUIMessages.class); |
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
private AnnotationUIMessages() {
|
|
| 25 |
} |
|
| 26 |
} |
|
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 1 |
|
|
| 2 |
AnnotationPreferences_1 = simple (avec catégories) |
|
| 3 |
AnnotationPreferences_2 = avancé (avec types+valeurs) |
|
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/messages/KRAnnotationUIMessages.java (revision 937) | ||
|---|---|---|
| 1 |
package org.txm.annotation.kr.rcp.messages; |
|
| 2 |
|
|
| 3 |
import org.eclipse.osgi.util.NLS; |
|
| 4 |
import org.txm.utils.messages.Utf8NLS; |
|
| 5 |
|
|
| 6 |
|
|
| 7 |
/** |
|
| 8 |
* KR annotation UI messages. |
|
| 9 |
* |
|
| 10 |
* @author mdecorde |
|
| 11 |
* @author sjacquot |
|
| 12 |
* |
|
| 13 |
*/ |
|
| 14 |
public class KRAnnotationUIMessages extends NLS {
|
|
| 15 |
|
|
| 16 |
private static final String BUNDLE_NAME = "org.txm.annotation.kr.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 17 |
|
|
| 18 |
static {
|
|
| 19 |
// initialize resource bundle |
|
| 20 |
Utf8NLS.initializeMessages(BUNDLE_NAME, KRAnnotationUIMessages.class); |
|
| 21 |
} |
|
| 22 |
|
|
| 23 |
private KRAnnotationUIMessages() {
|
|
| 24 |
} |
|
| 25 |
} |
|
| 0 | 26 | |
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 1 |
|
|
| 2 |
AnnotationPreferences_1 = simple (with categories) |
|
| 3 |
AnnotationPreferences_2 = advanced (with types+values) |
|
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/preferences/AnnotationPreferencePage.java (revision 937) | ||
|---|---|---|
| 1 |
// Copyright © 2010-2013 ENS de Lyon. |
|
| 2 |
// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of |
|
| 3 |
// Lyon 2, University of Franche-Comté, University of Nice |
|
| 4 |
// Sophia Antipolis, University of Paris 3. |
|
| 5 |
// |
|
| 6 |
// The TXM platform is free software: you can redistribute it |
|
| 7 |
// and/or modify it under the terms of the GNU General Public |
|
| 8 |
// License as published by the Free Software Foundation, |
|
| 9 |
// either version 2 of the License, or (at your option) any |
|
| 10 |
// later version. |
|
| 11 |
// |
|
| 12 |
// The TXM platform is distributed in the hope that it will be |
|
| 13 |
// useful, but WITHOUT ANY WARRANTY; without even the implied |
|
| 14 |
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
| 15 |
// PURPOSE. See the GNU General Public License for more |
|
| 16 |
// details. |
|
| 17 |
// |
|
| 18 |
// You should have received a copy of the GNU General |
|
| 19 |
// Public License along with the TXM platform. If not, see |
|
| 20 |
// http://www.gnu.org/licenses. |
|
| 21 |
// |
|
| 22 |
// |
|
| 23 |
// |
|
| 24 |
// $LastChangedDate:$ |
|
| 25 |
// $LastChangedRevision:$ |
|
| 26 |
// $LastChangedBy:$ |
|
| 27 |
// |
|
| 28 |
package org.txm.annotation.kr.rcp.preferences; |
|
| 29 |
|
|
| 30 |
import org.eclipse.ui.IWorkbench; |
|
| 31 |
import org.txm.annotation.kr.core.preferences.AnnotationPreferences; |
|
| 32 |
import org.txm.rcp.IImageKeys; |
|
| 33 |
import org.txm.rcp.preferences.TXMPreferencePage; |
|
| 34 |
import org.txm.rcp.preferences.TXMPreferenceStore; |
|
| 35 |
/** |
|
| 36 |
* This class represents a preference page that is contributed to the |
|
| 37 |
* Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we |
|
| 38 |
* can use the field support built into JFace that allows us to create a page |
|
| 39 |
* that is small and knows how to save, restore and apply itself. |
|
| 40 |
* <p> |
|
| 41 |
* This page is used to modif y preferences only. They are stored in the |
|
| 42 |
* preference store that belongs to the main plug-in class. That way, |
|
| 43 |
* preferences can be accessed directly via the preference store. |
|
| 44 |
*/ |
|
| 45 |
|
|
| 46 |
public class AnnotationPreferencePage extends TXMPreferencePage {
|
|
| 47 |
|
|
| 48 |
/** |
|
| 49 |
* Instantiates a new cAH preference page. |
|
| 50 |
*/ |
|
| 51 |
public AnnotationPreferencePage() {
|
|
| 52 |
super(); |
|
| 53 |
} |
|
| 54 |
|
|
| 55 |
/** |
|
| 56 |
* Creates the field editors. Field editors are abstractions of the common |
|
| 57 |
* GUI blocks needed to manipulate various types of preferences. Each field |
|
| 58 |
* editor knows how to save and restore itself. |
|
| 59 |
*/ |
|
| 60 |
@Override |
|
| 61 |
public void createFieldEditors() {
|
|
| 62 |
|
|
| 63 |
} |
|
| 64 |
|
|
| 65 |
|
|
| 66 |
/* |
|
| 67 |
* (non-Javadoc) |
|
| 68 |
* |
|
| 69 |
* @see |
|
| 70 |
* org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) |
|
| 71 |
*/ |
|
| 72 |
@Override |
|
| 73 |
public void init(IWorkbench workbench) {
|
|
| 74 |
this.setPreferenceStore(new TXMPreferenceStore(AnnotationPreferences.PREFERENCES_NODE)); |
|
| 75 |
this.setImageDescriptor(IImageKeys.getImageDescriptor(IImageKeys.PENCIL)); |
|
| 76 |
} |
|
| 77 |
} |
|
| tmp/org.txm.annotation.kr.rcp/src/org/txm/annotation/kr/rcp/preferences/KRAnnotationPreferencePage.java (revision 937) | ||
|---|---|---|
| 1 |
// Copyright © 2010-2013 ENS de Lyon. |
|
| 2 |
// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of |
|
| 3 |
// Lyon 2, University of Franche-Comté, University of Nice |
|
| 4 |
// Sophia Antipolis, University of Paris 3. |
|
| 5 |
// |
|
| 6 |
// The TXM platform is free software: you can redistribute it |
|
| 7 |
// and/or modify it under the terms of the GNU General Public |
|
| 8 |
// License as published by the Free Software Foundation, |
|
| 9 |
// either version 2 of the License, or (at your option) any |
|
| 10 |
// later version. |
|
| 11 |
// |
|
| 12 |
// The TXM platform is distributed in the hope that it will be |
|
| 13 |
// useful, but WITHOUT ANY WARRANTY; without even the implied |
|
| 14 |
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
| 15 |
// PURPOSE. See the GNU General Public License for more |
|
| 16 |
// details. |
|
| 17 |
// |
|
| 18 |
// You should have received a copy of the GNU General |
|
| 19 |
// Public License along with the TXM platform. If not, see |
|
| 20 |
// http://www.gnu.org/licenses. |
|
| 21 |
// |
|
| 22 |
// |
|
| 23 |
// |
|
| 24 |
// $LastChangedDate:$ |
|
| 25 |
// $LastChangedRevision:$ |
|
| 26 |
// $LastChangedBy:$ |
|
| 27 |
// |
|
| 28 |
package org.txm.annotation.kr.rcp.preferences; |
|
| 29 |
|
|
| 30 |
import org.eclipse.ui.IWorkbench; |
|
| 31 |
import org.txm.annotation.kr.core.preferences.AnnotationPreferences; |
|
| 32 |
import org.txm.rcp.IImageKeys; |
|
| 33 |
import org.txm.rcp.preferences.TXMPreferencePage; |
|
| 34 |
import org.txm.rcp.preferences.TXMPreferenceStore; |
|
| 35 |
/** |
|
| 36 |
* This class represents a preference page that is contributed to the |
|
| 37 |
* Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we |
|
| 38 |
* can use the field support built into JFace that allows us to create a page |
|
| 39 |
* that is small and knows how to save, restore and apply itself. |
|
| 40 |
* <p> |
|
| 41 |
* This page is used to modif y preferences only. They are stored in the |
|
| 42 |
* preference store that belongs to the main plug-in class. That way, |
|
| 43 |
* preferences can be accessed directly via the preference store. |
|
| 44 |
*/ |
|
| 45 |
|
|
| 46 |
public class KRAnnotationPreferencePage extends TXMPreferencePage {
|
|
| 47 |
|
|
| 48 |
/** |
|
| 49 |
* Instantiates a new cAH preference page. |
|
| 50 |
*/ |
|
| 51 |
public KRAnnotationPreferencePage() {
|
|
| 52 |
super(); |
|
| 53 |
} |
|
| 54 |
|
|
| 55 |
/** |
|
| 56 |
* Creates the field editors. Field editors are abstractions of the common |
|
| 57 |
* GUI blocks needed to manipulate various types of preferences. Each field |
|
| 58 |
* editor knows how to save and restore itself. |
|
| 59 |
*/ |
|
| 60 |
@Override |
|
| 61 |
public void createFieldEditors() {
|
|
| 62 |
|
|
| 63 |
} |
|
| 64 |
|
|
| 65 |
|
|
| 66 |
/* |
|
| 67 |
* (non-Javadoc) |
|
| 68 |
* |
|
| 69 |
* @see |
|
| 70 |
* org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench) |
|
| 71 |
*/ |
|
| 72 |
@Override |
|
| 73 |
public void init(IWorkbench workbench) {
|
|
| 74 |
this.setPreferenceStore(new TXMPreferenceStore(AnnotationPreferences.PREFERENCES_NODE)); |
|
| 75 |
this.setImageDescriptor(IImageKeys.getImageDescriptor(IImageKeys.PENCIL)); |
|
| 76 |
} |
|
| 77 |
} |
|
| 0 | 78 | |
| tmp/org.txm.annotation.kr.rcp/plugin.xml (revision 937) | ||
|---|---|---|
| 55 | 55 |
point="org.eclipse.ui.preferencePages"> |
| 56 | 56 |
<page |
| 57 | 57 |
category="org.txm.rcp.preferences.UserPreferencePage" |
| 58 |
class="org.txm.annotation.kr.rcp.preferences.AnnotationPreferencePage" |
|
| 58 |
class="org.txm.annotation.kr.rcp.preferences.KRAnnotationPreferencePage"
|
|
| 59 | 59 |
id="org.txm.rcp.preferences.AnnotationPreferencePage" |
| 60 | 60 |
name="Annotation"> |
| 61 | 61 |
</page> |
| tmp/org.txm.internalview.rcp/src/org/txm/internalview/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 1 | 1 |
|
| 2 |
ComputeInternalView_0 = Selection is not structured |
|
| 3 | 2 |
ComputeInternalView_1 = Error: selection is not a Corpus |
| 4 | 3 |
|
| 5 |
InternalViewEditor_1 = Computing Internal view |
|
| 6 |
InternalViewEditor_10 = InternalView: failed to initialize form |
|
| 7 |
InternalViewEditor_11 = OK |
|
| 8 | 4 |
InternalViewEditor_16 = error |
| 9 |
InternalViewEditor_2 = Getting next result |
|
| 10 | 5 |
InternalViewEditor_25 = QUERY: |
| 11 |
InternalViewEditor_3 = Refreshing interface |
|
| 12 | 6 |
InternalViewEditor_4 = Structure: |
| 13 | 7 |
InternalViewEditor_5 = Structural properties: |
| tmp/org.txm.internalview.rcp/src/org/txm/internalview/rcp/messages/messages_ru.properties (revision 937) | ||
|---|---|---|
| 1 |
InternalViewEditor_1=Подготовка внутреннего вида... |
|
| 2 |
InternalViewEditor_10=Внутренний вид: ошибка инициализации: |
|
| 3 |
InternalViewEditor_11=OK |
|
| 4 |
InternalViewEditor_16=Ошибка |
|
| 5 |
InternalViewEditor_2=Получение следующего результата... |
|
| 6 |
InternalViewEditor_25=сформированный запрос: |
|
| 7 |
InternalViewEditor_3=Перезагрузка интерфейса |
|
| 8 |
InternalViewEditor_4=Структура: |
|
| 9 |
InternalViewEditor_5=Свойство структуры: |
|
| 1 |
|
|
| 2 |
InternalViewEditor_16 = Ошибка |
|
| 3 |
InternalViewEditor_25 = сформированный запрос: |
|
| 4 |
InternalViewEditor_4 = Структура: |
|
| 5 |
InternalViewEditor_5 = Свойство структуры: |
|
| tmp/org.txm.internalview.rcp/src/org/txm/internalview/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 1 |
InternalViewEditor_1 = Calcul de la vue interne... |
|
| 2 |
InternalViewEditor_10 = InternalView: erreur d'initialisation : |
|
| 3 |
InternalViewEditor_11 = OK |
|
| 1 |
|
|
| 4 | 2 |
InternalViewEditor_16 = Erreur |
| 5 |
InternalViewEditor_2 = Récupération du prochain résultat... |
|
| 6 | 3 |
InternalViewEditor_25 = requête générée : |
| 7 |
InternalViewEditor_3 = Rechargement de l'interface |
|
| 8 | 4 |
InternalViewEditor_4 = Structure : |
| 9 |
InternalViewEditor_5 = Propriété de structure : |
|
| 5 |
InternalViewEditor_5 = Propriété de structure : |
|
| tmp/org.txm.internalview.rcp/src/org/txm/internalview/rcp/messages/InternalViewUIMessages.java (revision 937) | ||
|---|---|---|
| 3 | 3 |
import org.eclipse.osgi.util.NLS; |
| 4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
| 5 | 5 |
|
| 6 |
/** |
|
| 7 |
* Internal view UI messages. |
|
| 8 |
* |
|
| 9 |
* @author sjacquot |
|
| 10 |
* |
|
| 11 |
*/ |
|
| 6 | 12 |
public class InternalViewUIMessages extends NLS {
|
| 7 | 13 |
|
| 8 |
public static String ComputeInternalView_0; |
|
| 14 |
private static final String BUNDLE_NAME = "org.txm.internalview.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 15 |
|
|
| 9 | 16 |
public static String ComputeInternalView_1; |
| 10 | 17 |
|
| 11 |
public static String InternalViewEditor_1; |
|
| 12 |
public static String InternalViewEditor_10; |
|
| 13 |
public static String InternalViewEditor_11; |
|
| 14 | 18 |
public static String InternalViewEditor_16; |
| 15 |
public static String InternalViewEditor_2; |
|
| 16 | 19 |
public static String InternalViewEditor_25; |
| 17 |
public static String InternalViewEditor_3; |
|
| 18 | 20 |
public static String InternalViewEditor_4; |
| 19 | 21 |
public static String InternalViewEditor_5; |
| 20 | 22 |
|
| 21 | 23 |
static {
|
| 22 | 24 |
// initialize resource bundle |
| 23 |
Utf8NLS.initializeMessages(InternalViewUIMessages.class); |
|
| 25 |
Utf8NLS.initializeMessages(BUNDLE_NAME, InternalViewUIMessages.class);
|
|
| 24 | 26 |
} |
| 25 | 27 |
} |
| tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 11 | 11 |
CoocPreferencePage_8 = Utiliser les seulements les fréquences des cooccurents plutôt que celles de tous les mots du corpus |
| 12 | 12 |
|
| 13 | 13 |
CooccurrencesEditor_0 = Trier par : {0}
|
| 14 |
CooccurrencesEditor_1 = ** Une erreur est survenue lors du calcul de la coocurrence: |
|
| 15 | 14 |
CooccurrencesEditor_10 = Cofréquence |
| 16 |
CooccurrencesEditor_11 = La valeur de l'indice n'est pas un flottant double |
|
| 17 |
CooccurrencesEditor_12 = Calcul des cooccurrents de {0}
|
|
| 18 |
CooccurrencesEditor_13 = Réglage du calcul des cooccurrents |
|
| 19 |
CooccurrencesEditor_14 = Calcul des cooccurrents |
|
| 20 |
CooccurrencesEditor_15 = Affichage des résultats |
|
| 21 |
CooccurrencesEditor_16 = ** Impossible de calculer les cooccurrences sans contexte |
|
| 22 | 15 |
CooccurrencesEditor_17 = Indice |
| 23 | 16 |
CooccurrencesEditor_18 = Le seuil d''indice doit être un nombre réel différent de {0}
|
| 24 |
CooccurrencesEditor_2 = Calculer |
|
| 25 |
CooccurrencesEditor_20 = Calcul des cooccurrents de <{0}> dans le corpus {1}
|
|
| 26 |
CooccurrencesEditor_23 = Terminé : aucun résultat. |
|
| 27 |
CooccurrencesEditor_24 = Terminé : un résultat. |
|
| 28 | 17 |
CooccurrencesEditor_25 = ** Une erreur est survenue lors du calcul de la taille du corpus |
| 29 | 18 |
CooccurrencesEditor_3 = Propriétés des cooccurrents : |
| 30 |
CooccurrencesEditor_33 = Début du calcul des cooccurrences |
|
| 31 |
CooccurrencesEditor_34 = Terminé : {0} occurrences de pivot et {1} cooccurrents
|
|
| 32 | 19 |
CooccurrencesEditor_4 = Seuils : Fmin ≥ |
| 33 | 20 |
CooccurrencesEditor_5 = Cmin ≥ |
| 34 | 21 |
CooccurrencesEditor_6 = Indice ≥ |
| tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/messages/CooccurrenceUIMessages.java (revision 937) | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
public class CooccurrenceUIMessages extends NLS {
|
| 7 | 7 |
|
| 8 |
private static final String BUNDLE_NAME = "org.txm.cooccurrence.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 9 |
|
|
| 8 | 10 |
public static String CoocPreferencePage_0; |
| 9 | 11 |
public static String CoocPreferencePage_1; |
| 10 | 12 |
public static String CoocPreferencePage_11; |
| ... | ... | |
| 16 | 18 |
public static String CoocPreferencePage_6; |
| 17 | 19 |
public static String CoocPreferencePage_8; |
| 18 | 20 |
public static String CooccurrencesEditor_0; |
| 19 |
public static String CooccurrencesEditor_1; |
|
| 20 | 21 |
|
| 21 | 22 |
public static String CooccurrencesEditor_10; |
| 22 |
public static String CooccurrencesEditor_12; |
|
| 23 |
public static String CooccurrencesEditor_13; |
|
| 24 |
public static String CooccurrencesEditor_14; |
|
| 25 |
public static String CooccurrencesEditor_15; |
|
| 26 |
public static String CooccurrencesEditor_16; |
|
| 27 | 23 |
public static String CooccurrencesEditor_17; |
| 28 | 24 |
public static String CooccurrencesEditor_18; |
| 29 |
public static String CooccurrencesEditor_2; |
|
| 30 |
public static String CooccurrencesEditor_20; |
|
| 31 | 25 |
|
| 32 | 26 |
public static String CooccurrencesEditor_25; |
| 33 | 27 |
public static String CooccurrencesEditor_3; |
| 34 |
public static String CooccurrencesEditor_33; |
|
| 35 |
public static String CooccurrencesEditor_34; |
|
| 36 | 28 |
public static String CooccurrencesEditor_4; |
| 37 | 29 |
public static String CooccurrencesEditor_5; |
| 38 | 30 |
public static String CooccurrencesEditor_6; |
| 39 | 31 |
public static String CooccurrencesEditor_8; |
| 40 | 32 |
public static String CooccurrencesEditor_9; |
| 41 | 33 |
|
| 42 |
//FIXME: unused keys |
|
| 43 |
public static String CooccurrencesEditor_11; |
|
| 44 |
// end of fixme |
|
| 45 |
|
|
| 46 | 34 |
static {
|
| 47 | 35 |
// initialize resource bundle |
| 48 |
Utf8NLS.initializeMessages(CooccurrenceUIMessages.class); |
|
| 36 |
Utf8NLS.initializeMessages(BUNDLE_NAME, CooccurrenceUIMessages.class);
|
|
| 49 | 37 |
} |
| 50 | 38 |
|
| 51 | 39 |
private CooccurrenceUIMessages() {
|
| tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 11 | 11 |
CoocPreferencePage_8 = Use partial lexical table |
| 12 | 12 |
|
| 13 | 13 |
CooccurrencesEditor_0 = Sort by: {0}
|
| 14 |
CooccurrencesEditor_1 = Error while computing the coocurrence: |
|
| 15 | 14 |
CooccurrencesEditor_10 = Cofrequency |
| 16 |
CooccurrencesEditor_11 = Score value is not a double float |
|
| 17 |
CooccurrencesEditor_12 = Computing the cooccurrents of {0}
|
|
| 18 |
CooccurrencesEditor_13 = Setting up cooccurrences process |
|
| 19 |
CooccurrencesEditor_14 = Computing cooccurrents |
|
| 20 |
CooccurrencesEditor_15 = Displaying results |
|
| 21 |
CooccurrencesEditor_16 = Can't compute cooccurrences with no context |
|
| 22 | 15 |
CooccurrencesEditor_17 = Score |
| 23 | 16 |
CooccurrencesEditor_18 = The score threshold must be a real number ! {0}
|
| 24 |
CooccurrencesEditor_2 = Search |
|
| 25 |
CooccurrencesEditor_20 = Computing the cooccurrents of <{0}> in the {1} corpus
|
|
| 26 |
CooccurrencesEditor_23 = Done: no result. |
|
| 27 |
CooccurrencesEditor_24 = Done: one result. |
|
| 28 | 17 |
CooccurrencesEditor_25 = Error while reading corpus size |
| 29 | 18 |
CooccurrencesEditor_3 = Cooccurrents properties: |
| 30 |
CooccurrencesEditor_33 = Start computing cooccurrences |
|
| 31 |
CooccurrencesEditor_34 = Done: {0} keywords and {1} cooccurrents
|
|
| 32 | 19 |
CooccurrencesEditor_4 = Thresholds: Fmin ≥ |
| 33 | 20 |
CooccurrencesEditor_5 = \ Cmin ≥ |
| 34 | 21 |
CooccurrencesEditor_6 = \ Score ≥ |
| tmp/org.txm.cooccurrence.rcp/src/org/txm/cooccurrence/rcp/messages/messages_ru.properties (revision 937) | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
CooccurrencesEditor_0 = Сортировать по: {0}
|
| 14 | 14 |
CooccurrencesEditor_10 = Совместная частотность |
| 15 |
CooccurrencesEditor_11 = Значение индекса не соответствует формату двойной плавающей точки |
|
| 16 |
CooccurrencesEditor_12 = Расчет совместной встречаемости {0}
|
|
| 17 |
CooccurrencesEditor_13 = Отладка расчета совместной встречаемости |
|
| 18 |
CooccurrencesEditor_14 = Расчет совместной встречаемости |
|
| 19 |
CooccurrencesEditor_15 = Отображение результатов |
|
| 20 |
CooccurrencesEditor_16 = ** Невозможно вычислить совместную встречаемость без контекстов |
|
| 21 | 15 |
CooccurrencesEditor_17 = Индекс |
| 22 | 16 |
CooccurrencesEditor_18 = Порог индекса должен быть действительным числом, отличным от {0}
|
| 23 |
CooccurrencesEditor_2 = Рассчитать |
|
| 24 |
CooccurrencesEditor_20 = Расчет совместной встречаемости <{0}> в корпусе {1}
|
|
| 25 |
CooccurrencesEditor_23 = Готово: ни одного результата. |
|
| 26 |
CooccurrencesEditor_24 = Готово: один результат. |
|
| 27 | 17 |
CooccurrencesEditor_3 = Свойства совместных употреблений: |
| 28 |
CooccurrencesEditor_33 = Начало расчета совместной встречаемости |
|
| 29 |
CooccurrencesEditor_34 = Готово: {1} совместных употреблений на {0} употреблений мотива
|
|
| 30 | 18 |
CooccurrencesEditor_4 = Пороги: Част ≥ |
| 31 | 19 |
CooccurrencesEditor_5 = Совм-част ≥ |
| 32 | 20 |
CooccurrencesEditor_6 = Показатель ≥ |
| tmp/org.txm.backtomedia.rcp/src/vlcplayerrcp/messages.properties (revision 937) | ||
|---|---|---|
| 1 |
BackToMedia_0=No StructuredSelection. Aborting. |
|
| 2 |
BackToMedia_1=Current editor is not a ConcordancesEditor. Aborting. |
|
| 3 |
BackToMedia_11=No time property found with name: |
|
| 4 |
BackToMedia_12=Error: no ''{0}'' structure
|
|
| 5 |
BackToMedia_14=Error: no ''{0}'' structure property
|
|
| 6 |
BackToMedia_16=STARTTIME: |
|
| 7 |
BackToMedia_17=Error: this is not a transcription corpus: no ''{0}'' structure properties
|
|
| 8 |
BackToMedia_19=ENDTIME: |
|
| 9 |
BackToMedia_25=AUDIO/VIDEO FILE: |
|
| 10 |
BackToMedia_26=Error: no media file (mp3, wav, mp4 or avi) found for name: |
|
| 11 |
BackToMedia_27=All media files should be stored in the ' |
|
| 12 |
BackToMedia_28=' directory. |
|
| 13 |
BackToMedia_29=Media file names should be '<transcription ID>.<supported format>' |
|
| 14 |
BackToMedia_30=Unexpected error: |
|
| 15 |
BackToMedia_7=TEXT ID: |
|
| 16 |
BackToMediaPreferencePage_0=MediaPlayer |
|
| 17 |
BackToMediaPreferencePage_1=Open the player with the repeat option enable |
|
| 18 |
BackToMediaPreferencePage_2=Use word property to get time |
|
| 19 |
BackToMediaPreferencePage_3=Span to play |
|
| 20 |
BackToMediaPreferencePage_4=Word time property |
|
| 21 |
BackToMediaPreferencePage_5=Structure |
|
| 22 |
BackToMediaPreferencePage_6=Start property |
|
| 23 |
BackToMediaPreferencePage_7=End property |
|
| 24 |
cancel=Cancel |
|
| 25 |
error_native_libs=ERROR: failed to find VLC native libraries |
|
| 26 |
error_open_media=Error: could not open VLC player. |
|
| 27 |
opening=Opening: |
|
| 28 |
opening_media=Opening media... |
|
| 29 |
pause=PAUSE |
|
| 30 |
play=PLAY |
|
| 31 |
playing=Playing {0} from {1} ms to {2} ms ...
|
|
| 32 |
rate=Rate: |
|
| 33 |
repeat=Repeat |
|
| 34 |
resume=RESUME |
|
| 35 |
select_file=Selecting file... |
|
| 36 |
select_file_title=Select a audio/video file |
|
| 37 |
select_object=Selected object: |
|
| 38 |
stop=STOP |
|
| 39 |
time_range=Time range |
|
| 40 |
volume=Vol: |
|
| 1 |
|
|
| 2 |
BackToMediaPreferencePage_1 = Open the player with the repeat option enable |
|
| 3 |
BackToMediaPreferencePage_2 = Use word property to get time |
|
| 4 |
BackToMediaPreferencePage_3 = Span to play |
|
| 5 |
BackToMediaPreferencePage_4 = Word time property |
|
| 6 |
BackToMediaPreferencePage_5 = Structure |
|
| 7 |
BackToMediaPreferencePage_6 = Start property |
|
| 8 |
BackToMediaPreferencePage_7 = End property |
|
| 9 |
|
|
| 10 |
BackToMedia_0 = No StructuredSelection. Aborting. |
|
| 11 |
BackToMedia_1 = Current editor is not a ConcordancesEditor. Aborting. |
|
| 12 |
BackToMedia_11 = No time property found with name: |
|
| 13 |
BackToMedia_12 = Error: no ''{0}'' structure
|
|
| 14 |
BackToMedia_14 = Error: no ''{0}'' structure property
|
|
| 15 |
BackToMedia_16 = STARTTIME: |
|
| 16 |
BackToMedia_17 = Error: this is not a transcription corpus: no ''{0}'' structure properties
|
|
| 17 |
BackToMedia_19 = ENDTIME: |
|
| 18 |
BackToMedia_25 = AUDIO/VIDEO FILE: |
|
| 19 |
BackToMedia_26 = Error: no media file (mp3, wav, mp4 or avi) found for name: |
|
| 20 |
BackToMedia_27 = All media files should be stored in the ' |
|
| 21 |
BackToMedia_28 = ' directory. |
|
| 22 |
BackToMedia_29 = Media file names should be '<transcription ID>.<supported format>' |
|
| 23 |
BackToMedia_30 = Unexpected error: |
|
| 24 |
BackToMedia_7 = TEXT ID: |
|
| 25 |
|
|
| 26 |
cancel = Cancel |
|
| 27 |
|
|
| 28 |
error_native_libs = ERROR: failed to find VLC native libraries |
|
| 29 |
error_open_media = Error: could not open VLC player. |
|
| 30 |
|
|
| 31 |
opening = Opening: |
|
| 32 |
|
|
| 33 |
opening_media = Opening media... |
|
| 34 |
|
|
| 35 |
pause = PAUSE |
|
| 36 |
|
|
| 37 |
play = PLAY |
|
| 38 |
|
|
| 39 |
playing = Playing {0} from {1} ms to {2} ms ...
|
|
| 40 |
|
|
| 41 |
rate = Rate: |
|
| 42 |
|
|
| 43 |
repeat = Repeat |
|
| 44 |
|
|
| 45 |
resume = RESUME |
|
| 46 |
|
|
| 47 |
select_file = Selecting file... |
|
| 48 |
select_file_title = Select a audio/video file |
|
| 49 |
select_object = Selected object: |
|
| 50 |
|
|
| 51 |
stop = STOP |
|
| 52 |
|
|
| 53 |
time_range = Time range |
|
| 54 |
|
|
| 55 |
volume = Vol: |
|
| tmp/org.txm.backtomedia.rcp/src/vlcplayerrcp/MessagesMP.java (revision 937) | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
public class MessagesMP extends NLS {
|
| 7 | 7 |
|
| 8 |
private static final String BUNDLE_NAME = "vlcplayerrcp.messages"; //$NON-NLS-1$ |
|
| 9 |
|
|
| 8 | 10 |
public static String BackToMedia_0; |
| 9 | 11 |
public static String BackToMedia_1; |
| 10 | 12 |
public static String BackToMedia_11; |
| ... | ... | |
| 20 | 22 |
public static String BackToMedia_29; |
| 21 | 23 |
public static String BackToMedia_30; |
| 22 | 24 |
public static String BackToMedia_7; |
| 23 |
public static String BackToMediaPreferencePage_0; |
|
| 24 | 25 |
public static String BackToMediaPreferencePage_1; |
| 25 | 26 |
public static String BackToMediaPreferencePage_2; |
| 26 | 27 |
public static String BackToMediaPreferencePage_3; |
| ... | ... | |
| 48 | 49 |
|
| 49 | 50 |
|
| 50 | 51 |
static {
|
| 51 |
Utf8NLS.initializeMessages(MessagesMP.class); |
|
| 52 |
Utf8NLS.initializeMessages(BUNDLE_NAME, MessagesMP.class);
|
|
| 52 | 53 |
} |
| 53 | 54 |
|
| 54 | 55 |
} |
| tmp/org.txm.backtomedia.rcp/src/vlcplayerrcp/messages_fr.properties (revision 937) | ||
|---|---|---|
| 1 |
BackToMedia_0=Pas de s?lection RCP structur?e. Abandon. |
|
| 2 |
BackToMedia_1=L'?diteur courant n'est pas un ConcordancesEditor. Abandon. |
|
| 3 |
BackToMedia_11=Pas de propri?t? de temps trouv?e avec comme nom : |
|
| 4 |
BackToMedia_12=Erreur : pas de structure ''{0}'' trouv?e
|
|
| 5 |
BackToMedia_14=Erreur : pas de propri?t? de structure ''{0}'' trouv?e
|
|
| 6 |
BackToMedia_16=TEMPS DEBUT : |
|
| 7 |
BackToMedia_17=Erreur : pas de propri?t? de structure ''{0}'' trouv?e
|
|
| 8 |
BackToMedia_19=TEMPS FIN : |
|
| 9 |
BackToMedia_25=Fichier AUDIO/VIDEO : |
|
| 10 |
BackToMedia_26=Error: no media file (mp3, wav, mp4 or avi) found for name: |
|
| 11 |
BackToMedia_27=All media files should be stored in the ' |
|
| 12 |
BackToMedia_28=' directory. |
|
| 13 |
BackToMedia_29=Le nom du fichier m?dia doit ?tre '<transcription ID>.<format support?>' |
|
| 14 |
BackToMedia_30=Erreur : |
|
| 15 |
BackToMedia_7=Identifiant de texte : |
|
| 16 |
BackToMediaPreferencePage_0=M?diaPlayer |
|
| 17 |
BackToMediaPreferencePage_1=R?p?ter le m?dia |
|
| 18 |
BackToMediaPreferencePage_2=R?cup?rer le temps ? partir d'une propri?t? de mot |
|
| 19 |
BackToMediaPreferencePage_3=Empan ? jouer |
|
| 20 |
BackToMediaPreferencePage_4=Propri?t? de mot de temps |
|
| 21 |
BackToMediaPreferencePage_5=Structure |
|
| 22 |
BackToMediaPreferencePage_6=Propri?t? codant le temps de d?part |
|
| 23 |
BackToMediaPreferencePage_7=Propri?t? codant le temps de fin |
|
| 24 |
cancel=Annuler |
|
| 25 |
error_native_libs=ERREUR: TXM n'a pas trouv? les libraries natives de VLC. |
|
| 26 |
error_open_media=Erreur: l'?diteur n'a pas pu ?tre ouvert |
|
| 27 |
opening=Ouverture : |
|
| 28 |
opening_media=Ouverture du m?dia... |
|
| 29 |
pause=PAUSE |
|
| 30 |
play=LECTURE |
|
| 31 |
playing=Joue {0} depuis {1} ms ? {2} ms ...
|
|
| 32 |
rate=Taux: |
|
| 33 |
repeat=R?p?ter |
|
| 34 |
resume=REPRENDRE |
|
| 35 |
select_file=S?lection du fichier... |
|
| 36 |
select_file_title=S?lectionner un fichier audio/video |
|
| 37 |
select_object=Objet RCP s?lectionn? : |
|
| 38 |
stop=STOP |
|
| 39 |
time_range=Empan temporel |
|
| 40 |
volume=Vol : |
|
| 1 |
|
|
| 2 |
BackToMediaPreferencePage_1 = R�p�ter le m�dia |
|
| 3 |
BackToMediaPreferencePage_2 = R�cup�rer le temps � partir d'une propri�t� de mot |
|
| 4 |
BackToMediaPreferencePage_3 = Empan � jouer |
|
| 5 |
BackToMediaPreferencePage_4 = Propri�t� de mot de temps |
|
| 6 |
BackToMediaPreferencePage_5 = Structure |
|
| 7 |
BackToMediaPreferencePage_6 = Propri�t� codant le temps de d�part |
|
| 8 |
BackToMediaPreferencePage_7 = Propri�t� codant le temps de fin |
|
| 9 |
|
|
| 10 |
BackToMedia_0 = Pas de s�lection RCP structur�e. Abandon. |
|
| 11 |
BackToMedia_1 = L'�diteur courant n'est pas un ConcordancesEditor. Abandon. |
|
| 12 |
BackToMedia_11 = Pas de propri�t� de temps trouv�e avec comme nom : |
|
| 13 |
BackToMedia_12 = Erreur : pas de structure ''{0}'' trouv�e
|
|
| 14 |
BackToMedia_14 = Erreur : pas de propri�t� de structure ''{0}'' trouv�e
|
|
| 15 |
BackToMedia_16 = TEMPS DEBUT : |
|
| 16 |
BackToMedia_17 = Erreur : pas de propri�t� de structure ''{0}'' trouv�e
|
|
| 17 |
BackToMedia_19 = TEMPS FIN : |
|
| 18 |
BackToMedia_25 = Fichier AUDIO/VIDEO : |
|
| 19 |
BackToMedia_26 = Error: no media file (mp3, wav, mp4 or avi) found for name: |
|
| 20 |
BackToMedia_27 = All media files should be stored in the ' |
|
| 21 |
BackToMedia_28 = ' directory. |
|
| 22 |
BackToMedia_29 = Le nom du fichier m�dia doit �tre '<transcription ID>.<format support�>' |
|
| 23 |
BackToMedia_30 = Erreur : |
|
| 24 |
BackToMedia_7 = Identifiant de texte : |
|
| 25 |
|
|
| 26 |
cancel = Annuler |
|
| 27 |
|
|
| 28 |
error_native_libs = ERREUR: TXM n'a pas trouv� les libraries natives de VLC. |
|
| 29 |
error_open_media = Erreur: l'�diteur n'a pas pu �tre ouvert |
|
| 30 |
|
|
| 31 |
opening = Ouverture : |
|
| 32 |
|
|
| 33 |
opening_media = Ouverture du m�dia... |
|
| 34 |
|
|
| 35 |
pause = PAUSE |
|
| 36 |
|
|
| 37 |
play = LECTURE |
|
| 38 |
|
|
| 39 |
playing = Joue {0} depuis {1} ms � {2} ms ...
|
|
| 40 |
|
|
| 41 |
rate = Taux: |
|
| 42 |
|
|
| 43 |
repeat = R�p�ter |
|
| 44 |
|
|
| 45 |
resume = REPRENDRE |
|
| 46 |
|
|
| 47 |
select_file = S�lection du fichier... |
|
| 48 |
select_file_title = S�lectionner un fichier audio/video |
|
| 49 |
select_object = Objet RCP s�lectionn� : |
|
| 50 |
|
|
| 51 |
stop = STOP |
|
| 52 |
|
|
| 53 |
time_range = Empan temporel |
|
| 54 |
|
|
| 55 |
volume = Vol : |
|
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/SynopticEditionUIMessages.java (revision 937) | ||
|---|---|---|
| 1 |
package org.txm.edition.rcp.messages; |
|
| 2 |
|
|
| 3 |
import org.eclipse.osgi.util.NLS; |
|
| 4 |
import org.txm.utils.messages.Utf8NLS; |
|
| 5 |
|
|
| 6 |
public class SynopticEditionUIMessages extends NLS {
|
|
| 7 |
|
|
| 8 |
public static String BackToText_0; |
|
| 9 |
public static String BackToText_1; |
|
| 10 |
public static String BackToText_2; |
|
| 11 |
public static String BackToText_3; |
|
| 12 |
public static String BackToText_4; |
|
| 13 |
public static String BackToText_5; |
|
| 14 |
public static String EditionPanel_0; |
|
| 15 |
public static String EditionPanel_1; |
|
| 16 |
public static String EditionPanel_2; |
|
| 17 |
public static String EditionPanel_5; |
|
| 18 |
public static String EditionPanel_6; |
|
| 19 |
public static String EditionPanel_7; |
|
| 20 |
public static String EditionSelectorDialog_0; |
|
| 21 |
public static String EditionSelectorDialog_1; |
|
| 22 |
public static String OpenEdition_0; |
|
| 23 |
public static String OpenEdition_1; |
|
| 24 |
public static String OpenEdition_10; |
|
| 25 |
public static String OpenEdition_3; |
|
| 26 |
public static String OpenEdition_4; |
|
| 27 |
public static String OpenEdition_7; |
|
| 28 |
public static String OpenEdition_9; |
|
| 29 |
public static String SynopticEditionEditor_0; |
|
| 30 |
public static String SynopticEditionEditor_1; |
|
| 31 |
public static String SynopticEditionEditor_10; |
|
| 32 |
public static String SynopticEditionEditor_11; |
|
| 33 |
public static String SynopticEditionEditor_3; |
|
| 34 |
public static String SynopticEditionEditor_4; |
|
| 35 |
public static String SynopticEditionEditor_5; |
|
| 36 |
public static String SynopticEditionEditor_6; |
|
| 37 |
public static String SynopticEditionEditor_7; |
|
| 38 |
public static String SynopticEditionEditor_8; |
|
| 39 |
public static String SynopticEditionEditor_9; |
|
| 40 |
|
|
| 41 |
static {
|
|
| 42 |
// initialize resource bundle |
|
| 43 |
Utf8NLS.initializeMessages(SynopticEditionUIMessages.class); |
|
| 44 |
} |
|
| 45 |
|
|
| 46 |
private SynopticEditionUIMessages() {
|
|
| 47 |
} |
|
| 48 |
} |
|
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/messages_fr.properties (revision 937) | ||
|---|---|---|
| 1 | 1 |
|
| 2 | 2 |
BackToText_0 = Ouverture avec la première édition (pas de défaut) : |
| 3 |
BackToText_1 = Abandon : la sélection courante n'est pas une ligne de concordance : |
|
| 4 |
BackToText_2 = Abandon : erreur de sélection |
|
| 5 | 3 |
BackToText_3 = Abandon : erreur pendant la récupération des identifiants de mot. |
| 6 | 4 |
BackToText_4 = Pas d'édition disponible. |
| 7 | 5 |
BackToText_5 = Ouverture de l'édition par défaut : |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/EditionUIMessages.java (revision 937) | ||
|---|---|---|
| 1 |
package org.txm.edition.rcp.messages; |
|
| 2 |
|
|
| 3 |
import org.eclipse.osgi.util.NLS; |
|
| 4 |
import org.txm.utils.messages.Utf8NLS; |
|
| 5 |
|
|
| 6 |
/** |
|
| 7 |
* Edition UI messages. |
|
| 8 |
* |
|
| 9 |
* @author mdecorde |
|
| 10 |
* @author sjacquot |
|
| 11 |
* |
|
| 12 |
*/ |
|
| 13 |
public class EditionUIMessages extends NLS {
|
|
| 14 |
|
|
| 15 |
private static final String BUNDLE_NAME = "org.txm.edition.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 16 |
|
|
| 17 |
public static String BackToText_0; |
|
| 18 |
public static String BackToText_3; |
|
| 19 |
public static String BackToText_4; |
|
| 20 |
public static String BackToText_5; |
|
| 21 |
public static String EditionPanel_0; |
|
| 22 |
public static String EditionPanel_1; |
|
| 23 |
public static String EditionPanel_2; |
|
| 24 |
public static String EditionPanel_5; |
|
| 25 |
public static String EditionPanel_6; |
|
| 26 |
public static String EditionPanel_7; |
|
| 27 |
public static String EditionSelectorDialog_0; |
|
| 28 |
public static String EditionSelectorDialog_1; |
|
| 29 |
public static String OpenEdition_0; |
|
| 30 |
public static String OpenEdition_1; |
|
| 31 |
public static String OpenEdition_10; |
|
| 32 |
public static String OpenEdition_3; |
|
| 33 |
public static String OpenEdition_4; |
|
| 34 |
public static String OpenEdition_7; |
|
| 35 |
public static String OpenEdition_9; |
|
| 36 |
public static String SynopticEditionEditor_0; |
|
| 37 |
public static String SynopticEditionEditor_1; |
|
| 38 |
public static String SynopticEditionEditor_10; |
|
| 39 |
public static String SynopticEditionEditor_11; |
|
| 40 |
public static String SynopticEditionEditor_3; |
|
| 41 |
public static String SynopticEditionEditor_4; |
|
| 42 |
public static String SynopticEditionEditor_5; |
|
| 43 |
public static String SynopticEditionEditor_6; |
|
| 44 |
public static String SynopticEditionEditor_7; |
|
| 45 |
public static String SynopticEditionEditor_8; |
|
| 46 |
public static String SynopticEditionEditor_9; |
|
| 47 |
|
|
| 48 |
static {
|
|
| 49 |
// initialize resource bundle |
|
| 50 |
Utf8NLS.initializeMessages(BUNDLE_NAME, EditionUIMessages.class); |
|
| 51 |
} |
|
| 52 |
|
|
| 53 |
private EditionUIMessages() {
|
|
| 54 |
} |
|
| 55 |
} |
|
| 0 | 56 | |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/messages.properties (revision 937) | ||
|---|---|---|
| 1 | 1 |
|
| 2 | 2 |
BackToText_0 = Opening with first edition (no default edition set): |
| 3 |
BackToText_1 = Aborting: selection is not a concordance line: |
|
| 4 |
BackToText_2 = Aborting: error during selection. |
|
| 5 | 3 |
BackToText_3 = Error: could not retrieve line word ids. Aborting back to text. |
| 6 | 4 |
BackToText_4 = No edition to open. |
| 7 | 5 |
BackToText_5 = Opening default editions: |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/EditionPanel.java (revision 937) | ||
|---|---|---|
| 46 | 46 |
import org.osgi.framework.Bundle; |
| 47 | 47 |
import org.txm.concordance.rcp.actions.BackToText; |
| 48 | 48 |
import org.txm.core.preferences.TXMPreferences; |
| 49 |
import org.txm.edition.rcp.messages.SynopticEditionUIMessages;
|
|
| 49 |
import org.txm.edition.rcp.messages.EditionUIMessages; |
|
| 50 | 50 |
import org.txm.edition.rcp.preferences.SynopticEditionPreferencePage; |
| 51 | 51 |
import org.txm.edition.rcp.preferences.SynopticEditionPreferences; |
| 52 | 52 |
import org.txm.objects.Corpus; |
| ... | ... | |
| 532 | 532 |
Edition edition = text.getEdition(name); |
| 533 | 533 |
|
| 534 | 534 |
if (edition == null) {
|
| 535 |
String s = SynopticEditionUIMessages.EditionPanel_0+text+SynopticEditionUIMessages.EditionPanel_5+name;
|
|
| 535 |
String s = EditionUIMessages.EditionPanel_0+text+EditionUIMessages.EditionPanel_5+name;
|
|
| 536 | 536 |
System.out.println(s); |
| 537 | 537 |
StatusLine.setMessage(s); |
| 538 | 538 |
Log.severe(s); |
| ... | ... | |
| 560 | 560 |
currentPage = currentEdition.getFirstPage(); |
| 561 | 561 |
currentText = currentEdition.getText(); |
| 562 | 562 |
if (currentPage == null) {
|
| 563 |
System.out.println(SynopticEditionUIMessages.EditionPanel_1+currentEdition.getName()+SynopticEditionUIMessages.EditionPanel_2+currentText.getName());
|
|
| 563 |
System.out.println(EditionUIMessages.EditionPanel_1+currentEdition.getName()+EditionUIMessages.EditionPanel_2+currentText.getName());
|
|
| 564 | 564 |
} |
| 565 | 565 |
|
| 566 | 566 |
this.setURL(currentPage.toURL()); |
| ... | ... | |
| 639 | 639 |
String editionName = currentEdition.getName(); |
| 640 | 640 |
Edition tmp = firstText.getEdition(editionName); |
| 641 | 641 |
if (tmp == null) {
|
| 642 |
System.out.println(SynopticEditionUIMessages.EditionPanel_6+editionName+SynopticEditionUIMessages.EditionPanel_7+firstText.getName());
|
|
| 642 |
System.out.println(EditionUIMessages.EditionPanel_6+editionName+EditionUIMessages.EditionPanel_7+firstText.getName());
|
|
| 643 | 643 |
return; |
| 644 | 644 |
} |
| 645 | 645 |
currentEdition = tmp; |
| ... | ... | |
| 665 | 665 |
String editionName = currentEdition.getName(); |
| 666 | 666 |
Edition tmp = lastText.getEdition(editionName); |
| 667 | 667 |
if (tmp == null) {
|
| 668 |
System.out.println(SynopticEditionUIMessages.EditionPanel_6+editionName+SynopticEditionUIMessages.EditionPanel_7+lastText.getName());
|
|
| 668 |
System.out.println(EditionUIMessages.EditionPanel_6+editionName+EditionUIMessages.EditionPanel_7+lastText.getName());
|
|
| 669 | 669 |
return; |
| 670 | 670 |
} |
| 671 | 671 |
|
| ... | ... | |
| 698 | 698 |
|
| 699 | 699 |
Edition tmp = previousText.getEdition(editionName); |
| 700 | 700 |
if (tmp == null) {
|
| 701 |
System.out.println(SynopticEditionUIMessages.EditionPanel_6+editionName+SynopticEditionUIMessages.EditionPanel_7+previousText.getName());
|
|
| 701 |
System.out.println(EditionUIMessages.EditionPanel_6+editionName+EditionUIMessages.EditionPanel_7+previousText.getName());
|
|
| 702 | 702 |
} |
| 703 | 703 |
currentEdition = tmp; |
| 704 | 704 |
currentText = previousText; |
| ... | ... | |
| 729 | 729 |
String editionName = currentEdition.getName(); |
| 730 | 730 |
Edition tmp = nextText.getEdition(editionName); |
| 731 | 731 |
if (tmp == null) {
|
| 732 |
System.out.println(SynopticEditionUIMessages.EditionPanel_6+editionName+SynopticEditionUIMessages.EditionPanel_7+nextText.getName());
|
|
| 732 |
System.out.println(EditionUIMessages.EditionPanel_6+editionName+EditionUIMessages.EditionPanel_7+nextText.getName());
|
|
| 733 | 733 |
return; |
| 734 | 734 |
} |
| 735 | 735 |
currentEdition = tmp; |
| ... | ... | |
| 752 | 752 |
String editionName = currentEdition.getName(); |
| 753 | 753 |
Edition tmp = text.getEdition(editionName); |
| 754 | 754 |
if (tmp == null) {
|
| 755 |
System.out.println(SynopticEditionUIMessages.EditionPanel_6+editionName+SynopticEditionUIMessages.EditionPanel_7+text.getName());
|
|
| 755 |
System.out.println(EditionUIMessages.EditionPanel_6+editionName+EditionUIMessages.EditionPanel_7+text.getName());
|
|
| 756 | 756 |
return; |
| 757 | 757 |
} |
| 758 | 758 |
|
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/SynopticEditionEditor.java (revision 937) | ||
|---|---|---|
| 70 | 70 |
import org.eclipse.ui.PlatformUI; |
| 71 | 71 |
import org.eclipse.ui.commands.ICommandService; |
| 72 | 72 |
import org.eclipse.ui.handlers.IHandlerService; |
| 73 |
import org.txm.edition.rcp.messages.SynopticEditionUIMessages;
|
|
| 73 |
import org.txm.edition.rcp.messages.EditionUIMessages; |
|
| 74 | 74 |
import org.txm.objects.Edition; |
| 75 | 75 |
import org.txm.objects.Text; |
| 76 | 76 |
import org.txm.rcp.IImageKeys; |
| ... | ... | |
| 353 | 353 |
openEditions(corpus, text, editionNames); |
| 354 | 354 |
firstPage(); |
| 355 | 355 |
} else {
|
| 356 |
System.out.println(SynopticEditionUIMessages.SynopticEditionEditor_5);
|
|
| 356 |
System.out.println(EditionUIMessages.SynopticEditionEditor_5); |
|
| 357 | 357 |
} |
| 358 | 358 |
} catch (Exception e2) {
|
| 359 | 359 |
org.txm.rcp.utils.Logger.printStackTrace(e2); |
| 360 |
System.out.println(SynopticEditionUIMessages.SynopticEditionEditor_6+e2);
|
|
| 360 |
System.out.println(EditionUIMessages.SynopticEditionEditor_6+e2); |
|
| 361 | 361 |
} |
| 362 | 362 |
} |
| 363 | 363 |
|
| ... | ... | |
| 429 | 429 |
// set labels |
| 430 | 430 |
page_label.setText(""); //$NON-NLS-1$
|
| 431 | 431 |
firstText.setImage(IImageKeys.getImage(IImageKeys.CTRLREWINDSTART)); |
| 432 |
firstText.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_0);
|
|
| 432 |
firstText.setToolTipText(EditionUIMessages.SynopticEditionEditor_0); |
|
| 433 | 433 |
previousText.setImage(IImageKeys.getImage(IImageKeys.CTRLREWIND)); |
| 434 |
previousText.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_1);
|
|
| 434 |
previousText.setToolTipText(EditionUIMessages.SynopticEditionEditor_1); |
|
| 435 | 435 |
first.setImage(IImageKeys.getImage(IImageKeys.CTRLSTART)); |
| 436 |
first.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_3);
|
|
| 436 |
first.setToolTipText(EditionUIMessages.SynopticEditionEditor_3); |
|
| 437 | 437 |
previous.setImage(IImageKeys.getImage(IImageKeys.CTRLREVERSE)); |
| 438 |
previous.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_4);
|
|
| 438 |
previous.setToolTipText(EditionUIMessages.SynopticEditionEditor_4); |
|
| 439 | 439 |
next.setImage(IImageKeys.getImage(IImageKeys.CTRLPLAY)); |
| 440 |
next.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_7);
|
|
| 440 |
next.setToolTipText(EditionUIMessages.SynopticEditionEditor_7); |
|
| 441 | 441 |
last.setImage(IImageKeys.getImage(IImageKeys.CTRLEND)); |
| 442 |
last.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_8);
|
|
| 442 |
last.setToolTipText(EditionUIMessages.SynopticEditionEditor_8); |
|
| 443 | 443 |
nextText.setImage(IImageKeys.getImage(IImageKeys.CTRLFASTFORWARD)); |
| 444 |
nextText.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_10);
|
|
| 444 |
nextText.setToolTipText(EditionUIMessages.SynopticEditionEditor_10); |
|
| 445 | 445 |
lastText.setImage(IImageKeys.getImage(IImageKeys.CTRLFASTFORWARDEND)); |
| 446 |
lastText.setToolTipText(SynopticEditionUIMessages.SynopticEditionEditor_11);
|
|
| 446 |
lastText.setToolTipText(EditionUIMessages.SynopticEditionEditor_11); |
|
| 447 | 447 |
|
| 448 | 448 |
page_text.addKeyListener(new KeyListener() {
|
| 449 | 449 |
|
| ... | ... | |
| 612 | 612 |
|
| 613 | 613 |
editionPanels.put(editionName, panel); |
| 614 | 614 |
} else {
|
| 615 |
System.out.println(SynopticEditionUIMessages.SynopticEditionEditor_9+editionName);
|
|
| 615 |
System.out.println(EditionUIMessages.SynopticEditionEditor_9+editionName); |
|
| 616 | 616 |
} |
| 617 | 617 |
} |
| 618 | 618 |
editionsArea.layout(); |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/EditionSelectorDialog.java (revision 937) | ||
|---|---|---|
| 5 | 5 |
import org.eclipse.swt.graphics.Image; |
| 6 | 6 |
import org.eclipse.swt.widgets.Shell; |
| 7 | 7 |
import org.eclipse.ui.dialogs.ElementListSelectionDialog; |
| 8 |
import org.txm.edition.rcp.messages.SynopticEditionUIMessages;
|
|
| 8 |
import org.txm.edition.rcp.messages.EditionUIMessages; |
|
| 9 | 9 |
import org.txm.objects.Corpus; |
| 10 | 10 |
|
| 11 | 11 |
public class EditionSelectorDialog extends ElementListSelectionDialog {
|
| ... | ... | |
| 38 | 38 |
} |
| 39 | 39 |
}); |
| 40 | 40 |
|
| 41 |
setTitle(SynopticEditionUIMessages.EditionSelectorDialog_0);
|
|
| 42 |
setMessage(SynopticEditionUIMessages.EditionSelectorDialog_1);
|
|
| 41 |
setTitle(EditionUIMessages.EditionSelectorDialog_0); |
|
| 42 |
setMessage(EditionUIMessages.EditionSelectorDialog_1); |
|
| 43 | 43 |
setMultipleSelection(true); |
| 44 | 44 |
setElements(corpus.getEditionNames().toArray()); |
| 45 | 45 |
setFilter("*"); //$NON-NLS-1$
|
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/handlers/BackToText.java (revision 937) | ||
|---|---|---|
| 49 | 49 |
import org.txm.concordance.rcp.handlers.BackToTextCommand; |
| 50 | 50 |
import org.txm.edition.rcp.editors.RGBA; |
| 51 | 51 |
import org.txm.edition.rcp.editors.SynopticEditionEditor; |
| 52 |
import org.txm.edition.rcp.messages.SynopticEditionUIMessages;
|
|
| 52 |
import org.txm.edition.rcp.messages.EditionUIMessages; |
|
| 53 | 53 |
import org.txm.objects.Text; |
| 54 | 54 |
import org.txm.rcp.StatusLine; |
| 55 | 55 |
import org.txm.rcp.utils.SWTEditorsUtils; |
| ... | ... | |
| 258 | 258 |
if (editionNames.size() > 0) { // use the first edition declared
|
| 259 | 259 |
editionsToOpen = new String[1]; |
| 260 | 260 |
editionsToOpen[0] = editionNames.get(0); |
| 261 |
Log.info(SynopticEditionUIMessages.BackToText_0+editionNames.get(0));
|
|
| 261 |
Log.info(EditionUIMessages.BackToText_0+editionNames.get(0)); |
|
| 262 | 262 |
} else { // no edition in the corpus
|
| 263 |
Log.info(SynopticEditionUIMessages.BackToText_4);
|
|
| 263 |
Log.info(EditionUIMessages.BackToText_4); |
|
| 264 | 264 |
editionsToOpen = new String[0]; |
| 265 | 265 |
return false; |
| 266 | 266 |
} |
| 267 | 267 |
} else {
|
| 268 |
Log.info(SynopticEditionUIMessages.BackToText_5+StringUtils.join(editionsToOpen));
|
|
| 268 |
Log.info(EditionUIMessages.BackToText_5+StringUtils.join(editionsToOpen)); |
|
| 269 | 269 |
} |
| 270 | 270 |
|
| 271 | 271 |
attachedBrowserEditor = OpenEdition.openEdition(corpus, editionsToOpen); |
| ... | ... | |
| 310 | 310 |
|
| 311 | 311 |
String line_wordid = lineids.get(0); |
| 312 | 312 |
if (line_wordid == null) {
|
| 313 |
System.out.println(SynopticEditionUIMessages.BackToText_3);
|
|
| 313 |
System.out.println(EditionUIMessages.BackToText_3); |
|
| 314 | 314 |
return false; |
| 315 | 315 |
} |
| 316 | 316 |
|
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/handlers/OpenEdition.java (revision 937) | ||
|---|---|---|
| 41 | 41 |
import org.eclipse.ui.handlers.HandlerUtil; |
| 42 | 42 |
import org.txm.edition.rcp.editors.SynopticEditionEditor; |
| 43 | 43 |
import org.txm.edition.rcp.editors.SynopticEditorInput; |
| 44 |
import org.txm.edition.rcp.messages.SynopticEditionUIMessages;
|
|
| 44 |
import org.txm.edition.rcp.messages.EditionUIMessages; |
|
| 45 | 45 |
import org.txm.objects.BaseParameters; |
| 46 | 46 |
import org.txm.objects.Text; |
| 47 | 47 |
import org.txm.searchengine.cqp.corpus.Corpus; |
| ... | ... | |
| 94 | 94 |
if (editionNames.size() > 0) { // use the first edition declared
|
| 95 | 95 |
editionsToOpen = new String[1]; |
| 96 | 96 |
editionsToOpen[0] = editionNames.get(0); |
| 97 |
Log.info(SynopticEditionUIMessages.OpenEdition_0+editionNames.get(0));
|
|
| 97 |
Log.info(EditionUIMessages.OpenEdition_0+editionNames.get(0)); |
|
| 98 | 98 |
} else { // no edition in the corpus
|
| 99 |
Log.info(SynopticEditionUIMessages.OpenEdition_1);
|
|
| 99 |
Log.info(EditionUIMessages.OpenEdition_1); |
|
| 100 | 100 |
editionsToOpen = new String[0]; |
| 101 | 101 |
return false; |
| 102 | 102 |
} |
| 103 | 103 |
} else {
|
| 104 |
Log.info(SynopticEditionUIMessages.OpenEdition_3+StringUtils.join(editionsToOpen));
|
|
| 104 |
Log.info(EditionUIMessages.OpenEdition_3+StringUtils.join(editionsToOpen)); |
|
| 105 | 105 |
} |
| 106 | 106 |
|
| 107 | 107 |
editor = openEdition(c, editionsToOpen); |
| ... | ... | |
| 110 | 110 |
editor.firstPage(); |
| 111 | 111 |
|
| 112 | 112 |
} catch (Exception e) {
|
| 113 |
System.out.println(SynopticEditionUIMessages.OpenEdition_4+e);
|
|
| 113 |
System.out.println(EditionUIMessages.OpenEdition_4+e); |
|
| 114 | 114 |
org.txm.rcp.utils.Logger.printStackTrace(e); |
| 115 | 115 |
} |
| 116 | 116 |
} else {
|
| 117 |
System.out.println(SynopticEditionUIMessages.OpenEdition_9);
|
|
| 117 |
System.out.println(EditionUIMessages.OpenEdition_9); |
|
| 118 | 118 |
} |
| 119 | 119 |
return null; |
| 120 | 120 |
} |
| ... | ... | |
| 160 | 160 |
text = maincorpus.getFirstText(); |
| 161 | 161 |
|
| 162 | 162 |
if (text == null) {
|
| 163 |
System.out.println("** Could not find first text of ID "+textid+SynopticEditionUIMessages.OpenEdition_7); //$NON-NLS-1$ //$NON-NLS-1$
|
|
| 163 |
System.out.println("** Could not find first text of ID "+textid+EditionUIMessages.OpenEdition_7); //$NON-NLS-1$ //$NON-NLS-1$
|
|
| 164 | 164 |
return null; |
| 165 | 165 |
} |
| 166 | 166 |
|
| ... | ... | |
| 179 | 179 |
|
| 180 | 180 |
} catch (Exception e) {
|
| 181 | 181 |
Log.printStackTrace(e); |
| 182 |
System.out.println(SynopticEditionUIMessages.OpenEdition_10+e);
|
|
| 182 |
System.out.println(EditionUIMessages.OpenEdition_10+e); |
|
| 183 | 183 |
return null; |
| 184 | 184 |
} |
| 185 | 185 |
} |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/preferences/SynopticEditionPreferencePage.java (revision 937) | ||
|---|---|---|
| 7 | 7 |
import org.eclipse.ui.preferences.ScopedPreferenceStore; |
| 8 | 8 |
import org.txm.rcp.Application; |
| 9 | 9 |
|
| 10 |
public class SynopticEditionPreferencePage extends FieldEditorPreferencePage |
|
| 11 |
implements IWorkbenchPreferencePage {
|
|
| 10 |
/** |
|
| 11 |
* Edition preference page. |
|
| 12 |
* |
|
| 13 |
* @author mdecorde |
|
| 14 |
* @author sjacquot |
|
| 15 |
* |
|
| 16 |
*/ |
|
| 17 |
// FIXME: must inherit TXMPreferencePage |
|
| 18 |
public class SynopticEditionPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
|
|
| 19 |
|
|
| 12 | 20 |
ScopedPreferenceStore preferences; |
| 13 | 21 |
|
| 14 | 22 |
private BooleanFieldEditor fast_highlight; |
| ... | ... | |
| 16 | 24 |
|
| 17 | 25 |
public SynopticEditionPreferencePage() {
|
| 18 | 26 |
super(); |
| 19 |
preferences = new ScopedPreferenceStore(org.eclipse.core.runtime.preferences.InstanceScope.INSTANCE, |
|
| 20 |
Application.PLUGIN_ID); |
|
| 27 |
preferences = new ScopedPreferenceStore(org.eclipse.core.runtime.preferences.InstanceScope.INSTANCE, Application.PLUGIN_ID); |
|
| 21 | 28 |
setPreferenceStore(preferences); |
| 22 | 29 |
setTitle("Edition");
|
| 23 | 30 |
} |
| ... | ... | |
| 27 | 34 |
|
| 28 | 35 |
@Override |
| 29 | 36 |
protected void createFieldEditors() {
|
| 30 |
fast_highlight = new BooleanFieldEditor(SynopticEditionPreferences.FAST_HIGHLIGHT, |
|
| 31 |
"Enable fast word highlight", getFieldEditorParent()); |
|
| 37 |
fast_highlight = new BooleanFieldEditor(SynopticEditionPreferences.FAST_HIGHLIGHT, "Enable fast word highlight", getFieldEditorParent()); |
|
| 32 | 38 |
addField(fast_highlight); |
| 33 | 39 |
} |
| 34 | 40 |
} |
| tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/preferences/SynopticEditionPreferences.java (revision 937) | ||
|---|---|---|
| 1 | 1 |
package org.txm.edition.rcp.preferences; |
| 2 | 2 |
|
| 3 | 3 |
import org.eclipse.core.runtime.preferences.DefaultScope; |
| 4 |
import org.osgi.framework.FrameworkUtil; |
|
| 4 | 5 |
import org.osgi.service.prefs.Preferences; |
| 5 | 6 |
import org.txm.core.preferences.TXMPreferences; |
| 6 | 7 |
|
| 8 |
/** |
|
| 9 |
* Default preferences initializer. |
|
| 10 |
* |
|
| 11 |
* @author mdecorde |
|
| 12 |
* @author sjacquot |
|
| 13 |
* |
|
| 14 |
*/ |
|
| 7 | 15 |
public class SynopticEditionPreferences extends TXMPreferences {
|
| 8 | 16 |
|
| 9 |
public static String PREFERENCES_NODE = "org.txm.synopticedition.rcp.synoptic";
|
|
| 17 |
public static final String PREFERENCES_NODE = FrameworkUtil.getBundle(SynopticEditionPreferences.class).getSymbolicName();
|
|
| 10 | 18 |
|
| 11 |
public static String FAST_HIGHLIGHT = "fast_highlight"; |
|
| 19 |
/** |
|
| 20 |
* |
|
| 21 |
*/ |
|
| 22 |
public static final String FAST_HIGHLIGHT = "fast_highlight"; //$NON-NLS-1$ |
|
| 12 | 23 |
|
| 13 | 24 |
@Override |
| 14 | 25 |
public void initializeDefaultPreferences() {
|
| tmp/org.txm.concordance.rcp/src/org/txm/concordance/rcp/messages/ConcordanceUIMessages.java (revision 937) | ||
|---|---|---|
| 3 | 3 |
import org.eclipse.osgi.util.NLS; |
| 4 | 4 |
import org.txm.utils.messages.Utf8NLS; |
| 5 | 5 |
|
| 6 |
/** |
|
| 7 |
* Concordance UI messages. |
|
| 8 |
* |
|
| 9 |
* @author mdecorde |
|
| 10 |
* @author sjacquot |
|
| 11 |
* |
|
| 12 |
*/ |
|
| 6 | 13 |
public class ConcordanceUIMessages extends NLS {
|
| 7 | 14 |
|
| 15 |
private static final String BUNDLE_NAME = "org.txm.concordance.rcp.messages.messages"; //$NON-NLS-1$ |
|
| 16 |
|
|
| 8 | 17 |
public static String ConcordancesEditor_referenceColumn_text; |
| 9 | 18 |
public static String ConcordancesEditor_xpndtmNewExpanditem_text; |
| 10 | 19 |
public static String ConcordancesEditor_xpndtmNewParameters_text; |
| ... | ... | |
| 137 | 146 |
|
| 138 | 147 |
static {
|
| 139 | 148 |
// initialize resource bundle |
| 140 |
Utf8NLS.initializeMessages(ConcordanceUIMessages.class); |
|
| 149 |
Utf8NLS.initializeMessages(BUNDLE_NAME, ConcordanceUIMessages.class);
|
|
| 141 | 150 |
} |
| 142 | 151 |
|
| 143 | 152 |
} |
Formats disponibles : Unified diff