public final class OConsts
extends java.lang.Object
// TODO Note: Some constants that are used only in a single class, or are more appropriate in another class (e.g. preference names) are moved in appropriate class definitions.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTO_ENFORCE_TM
Project subfolder for automatically applied translation memories within the tm folder.
|
static java.lang.String |
AUTO_TM
Project subfolder for automatically applied translation memories within the tm folder.
|
static java.lang.String |
BACKUP_EXTENSION |
static java.lang.String |
CONTRIBUTORS_FILE |
static java.lang.String |
DEFAULT_DICT
Project subfolder for dictionaries default name.
|
static java.lang.String |
DEFAULT_GLOSSARY
Project subfolder for glossaries default name.
|
static java.lang.String |
DEFAULT_INTERNAL
Project subfolder for project's translation memory.
|
static java.lang.String |
DEFAULT_OTHERLANG
Project subfolder for translation memories with other languages as alternative sources.
|
static java.lang.String |
DEFAULT_SOURCE
Project subfolder for source files default name.
|
static java.lang.String |
DEFAULT_TARGET
Project subfolder for translated files default name.
|
static java.lang.String |
DEFAULT_TM
Project subfolder for legacy translation memories default name.
|
static java.lang.String |
DEFAULT_W_GLOSSARY
Default name for the project writeable glossary file (inside project)
|
static java.lang.String |
DEFAULT_W_GLOSSARY_SUFF
Default suffix for project writeable glossary file (outside of project)
|
static java.lang.String |
EXT_CSV_UTF8 |
static java.lang.String |
EXT_TBX |
static java.lang.String |
EXT_TSV_DEF
Glossary files extensions
|
static java.lang.String |
EXT_TSV_TSV |
static java.lang.String |
EXT_TSV_TXT |
static java.lang.String |
EXT_TSV_UTF8 |
static java.lang.String |
FILE_PROJECT
Project Filename
|
static java.lang.String |
FILES_ORDER_FILENAME |
static int |
FUZZY_MATCH_THRESHOLD
The smallest threshold to detect a fuzzy match string
|
static java.lang.String |
HELP_DIR |
static java.lang.String |
HELP_HOME |
static java.lang.String |
HELP_INSTANT_START |
static java.lang.String |
HELP_LANG_INDEX |
static java.lang.String |
IGNORED_WORD_LIST_FILE_NAME
The name of the file with the ignored words: one ignored word per line
|
static java.lang.String |
LAST_CHANGES_FILE |
static java.lang.String |
LAST_ENTRY_NUMBER
The name of the file with the last entry number for later reopening.
|
static java.lang.String |
LEARNED_WORD_LIST_FILE_NAME
The name of the file with the correct (learned) words: one word per line
|
static java.lang.String |
LEVEL1_TMX |
static java.lang.String |
LEVEL2_TMX |
static java.lang.String |
LICENSE_FILE |
static int |
MAX_BACKUPS |
static int |
MAX_NEAR_STRINGS
Number of fuzzy matches to display
|
static int |
MAX_PARENT_DIRECTORIES_ABS2REL
The maximum "distance" in parent directories a path can be at when
relativizing a path for storage.
|
static int |
MAX_RECENT_PROJECTS
Max number of recent projects to remember
|
static int |
MAX_STORED_NEAR_STRINGS
Number of fuzzy matches to store
|
static java.lang.String |
NEWFILE_EXTENSION |
static java.lang.String |
OMEGAT_TMX |
static java.lang.String |
PROJ_CUR_VERSION
Project Version
|
static int |
READ_AHEAD_LIMIT
The limit of bytes that various filters may read ahead to inspect files.
|
static java.lang.String |
SC_AFFIX_EXTENSION
affix file extension
|
static java.lang.String |
SC_DICTIONARY_EXTENSION
dictionary file extension
|
static java.lang.String |
SEGMENT_MARKER_STRING |
static java.lang.String |
SPELLING_DICT_DIR
Default name for spelling dictionary directory
|
static int |
ST_MAX_SEARCH_RESULTS |
static java.lang.String |
STATS_FILENAME
The name of the file with project statistics: segments, words, chars
count.
|
static java.lang.String |
STATS_MATCH_FILENAME
The name of the file with project match statistics.
|
static java.lang.String |
STATS_MATCH_PER_FILE_FILENAME
The name of the file with project match statistics.
|
static java.lang.String |
STATUS_EXTENSION |
static java.lang.String |
STATUS_RECOVER_EXTENSION |
static java.lang.String |
TMX_EXTENSION |
static java.lang.String |
TMX_GZ_EXTENSION |
static java.lang.String |
TMX_ZIP_EXTENSION |
static java.lang.String |
XB_COMMENT_SHORTCUT |
public static final java.lang.String FILE_PROJECT
public static final java.lang.String PROJ_CUR_VERSION
public static final java.lang.String TMX_EXTENSION
public static final java.lang.String TMX_GZ_EXTENSION
public static final java.lang.String TMX_ZIP_EXTENSION
public static final java.lang.String OMEGAT_TMX
public static final java.lang.String LEVEL1_TMX
public static final java.lang.String LEVEL2_TMX
public static final java.lang.String HELP_HOME
public static final java.lang.String HELP_INSTANT_START
public static final java.lang.String HELP_DIR
public static final java.lang.String HELP_LANG_INDEX
public static final java.lang.String LICENSE_FILE
public static final java.lang.String LAST_CHANGES_FILE
public static final java.lang.String CONTRIBUTORS_FILE
public static final java.lang.String FILES_ORDER_FILENAME
public static final java.lang.String STATUS_EXTENSION
public static final java.lang.String STATUS_RECOVER_EXTENSION
public static final java.lang.String BACKUP_EXTENSION
public static final java.lang.String NEWFILE_EXTENSION
public static final java.lang.String DEFAULT_SOURCE
public static final java.lang.String DEFAULT_TARGET
public static final java.lang.String DEFAULT_GLOSSARY
public static final java.lang.String DEFAULT_W_GLOSSARY
public static final java.lang.String DEFAULT_W_GLOSSARY_SUFF
public static final java.lang.String DEFAULT_TM
public static final java.lang.String AUTO_TM
public static final java.lang.String AUTO_ENFORCE_TM
public static final java.lang.String DEFAULT_DICT
public static final java.lang.String DEFAULT_INTERNAL
public static final java.lang.String DEFAULT_OTHERLANG
public static final java.lang.String SPELLING_DICT_DIR
public static final java.lang.String EXT_TSV_DEF
public static final java.lang.String EXT_TSV_UTF8
public static final java.lang.String EXT_TSV_TXT
public static final java.lang.String EXT_TSV_TSV
public static final java.lang.String EXT_CSV_UTF8
public static final java.lang.String EXT_TBX
public static final java.lang.String STATS_FILENAME
public static final java.lang.String STATS_MATCH_FILENAME
public static final java.lang.String STATS_MATCH_PER_FILE_FILENAME
public static final java.lang.String LAST_ENTRY_NUMBER
public static final java.lang.String IGNORED_WORD_LIST_FILE_NAME
public static final java.lang.String LEARNED_WORD_LIST_FILE_NAME
public static final java.lang.String SC_AFFIX_EXTENSION
public static final java.lang.String SC_DICTIONARY_EXTENSION
public static final int FUZZY_MATCH_THRESHOLD
public static final int ST_MAX_SEARCH_RESULTS
public static final java.lang.String XB_COMMENT_SHORTCUT
public static final int MAX_NEAR_STRINGS
public static final int MAX_STORED_NEAR_STRINGS
public static final int MAX_BACKUPS
public static final int READ_AHEAD_LIMIT
BufferedReader
) to this number because otherwise EOL
detection on .sdlxliff
files with large headers can fail.public static final int MAX_PARENT_DIRECTORIES_ABS2REL
../
are in front.
This is used when storing project folders (source, target, tm, glossary, etc.) located outside of the project root folder.
This limit is based on the following logic:
~/Projects
.public static final java.lang.String SEGMENT_MARKER_STRING
public static final int MAX_RECENT_PROJECTS