@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add("tuFilterClassName", "Class name for the text unit filter", null); return desc; }
@Override public EditorDescription createEditorDescription(ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("TMX Filter Writer Options", true, false); desc.addCheckboxPart(paramsDesc.get(WRITE_ALL_PROPERTIES_AS_ATTRIBUTES)); desc.addCheckboxPart(paramsDesc.get(ENABLE_DUPLICATE_PROPS)); desc.addTextInputPart(paramsDesc.get(PROP_VALUE_SEP)); desc.addCheckboxPart(paramsDesc.get(GENERATE_TU_UUID)); desc.addCheckboxPart(paramsDesc.get(NORMALIZE_INLINE_IDS)); return desc; } }
@Override public ParametersDescription getParametersDescription () { ParametersDescription desc = super.getParametersDescription(); desc.add(PROJECTNAME, "Project name", "Name of the project"); return desc; }
@Override public EditorDescription createEditorDescription(ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("IDML Filter", true, false); desc.addCheckboxPart(paramsDesc.get(UNTAG_XML_STRUCTURES)); desc.addCheckboxPart(paramsDesc.get(EXTRACT_NOTES)); desc.addCheckboxPart(paramsDesc.get(EXTRACT_MASTER_SPREADS)); desc.addCheckboxPart(paramsDesc.get(EXTRACT_HIDDEN_LAYERS)); desc.addCheckboxPart(paramsDesc.get(SKIP_DISCRETIONARY_HYPHENS)); return desc; } }
@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add(COPYCONTENT, "Copy the source content to the target", null); desc.add(COPYPROPERTIES, "Copy the source properties to the target", null); desc.add(OVERWRITEEXISTING, "Overwrite the current target content", null); desc.add(CREATEONNONTRANSLATABLE, "Creates target for non-translatable text units", null); return desc; }
@Override public EditorDescription createEditorDescription (ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("SimpleTB Connector Settings", true, false); desc.addPathInputPart(paramsDesc.get(Parameters.GLOSSARYPATH), "TBX File", false); desc.addTextInputPart(paramsDesc.get(Parameters.SOURCELOCALE)); desc.addTextInputPart(paramsDesc.get(Parameters.TARGETLOCALE)); return desc; }
@Override public ParametersDescription getParametersDescription () { ParametersDescription desc = new ParametersDescription(this); desc.add(AZUREKEY, "Azure Key (See https://translatorbusiness.uservoice.com/knowledgebase/articles/1078534-microsoft-translator-on-azure#signup)", "Microsoft Azure subscription key"); desc.add(CATEGORY, "Category (See http://hub.microsofttranslator.com", "A category code for an MT system trained by user data, if any"); return desc; }
public EditorDescription createEditorDescription(ParametersDescription paramDesc) { EditorDescription desc = new EditorDescription("Cleanup", true, false); desc.addCheckboxPart(paramDesc.get(NORMALIZEQUOTES)); desc.addCheckboxPart(paramDesc.get(MATCHREGEXEXPRESSIONS)); desc.addCheckboxPart(paramDesc.get(MATCHUSERREGEX)); TextInputPart tip = desc.addTextInputPart(paramDesc.get(USERREGEX)); tip.setAllowEmpty(true); desc.addCheckboxPart(paramDesc.get(CHECKCHARACTERS)); desc.addCheckboxPart(paramDesc.get(PRUNETEXTUNIT)); return desc; } }
@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add("filterConfigId", "Filter configuration ID", null); desc.add("simplifyResources", "Simplify resources", "Simplify resources generated by the filter removing references in resources (resource flattening)"); desc.add("simplifyCodes", "Simplify codes", "Merge adjacent inline codes in the source part of a text unit, moves leading and trailing codes to the skeleton"); return desc; }
@Override public EditorDescription createEditorDescription (ParametersDescription paramDesc) { EditorDescription desc = new EditorDescription("Desegmentation", true, false); desc.addCheckboxPart(paramDesc.get(DESEGMENTSOURCE)); desc.addCheckboxPart(paramDesc.get(DESEGMENTTARGET)); desc.addCheckboxPart(paramDesc.get(RENUMBERCODES)); return desc; }
@Override public ParametersDescription getParametersDescription () { ParametersDescription desc = new ParametersDescription(this); desc.add(GLOSSARYPATH, "TBX document", "Full path of the TBX document"); desc.add(SOURCELOCALE, "Source locale", "Locale identifier for the source"); desc.add(TARGETLOCALE, "Target locale", "Locale identifier for the target"); return desc; }
@Override public EditorDescription createEditorDescription( ParametersDescription parametersDescription) { EditorDescription desc = new EditorDescription("Archive Filter Parameters", true, false); desc.addTextInputPart(parametersDescription.get("mimeType")); desc.addTextInputPart(parametersDescription.get("fileNames")); desc.addTextInputPart(parametersDescription.get("configIds")); return desc; }
@Override public ParametersDescription getParametersDescription () { ParametersDescription desc = new ParametersDescription(this); desc.add(CSV_AUTODETECTCOLUMNTYPES, "Use auto-detection (a special row in each input file)", null); desc.add(CSV_AUTODETECTCOLUMNTYPESROW, "Row at which the special configuration information is (first=1)", null); desc.add(CSV_NOEXTRACTCOLS, "Comma-separated list of the colums not to extract (first=0)", null); desc.add(CSV_FORMATCOLS, "Comma-separated list of the colums with non-plain-text content (e.g. '3:okf_markdown', first=0)", null); desc.add(CSV_STARTINGROW, "Row at which the extraction starts (first=1)", null); return desc; }
@Override public EditorDescription createEditorDescription( ParametersDescription parametersDescription) { EditorDescription desc = new EditorDescription("Simplification Filter Parameters", true, false); desc.addTextInputPart(parametersDescription.get("filterConfigId")); desc.addCheckboxPart(parametersDescription.get("simplifyResources")); desc.addCheckboxPart(parametersDescription.get("simplifyCodes")); return desc; }
@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add(COPYOPTION, "Choose copy protection method:", null); desc.add(MOVE, "Move files?", null); return desc; }
@Override public EditorDescription createEditorDescription (ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("Word or Character Count", true, false); desc.addTextLabelPart("Create a word or character count annotation for each of the following resources:"); desc.addCheckboxPart(paramsDesc.get(COUNTINTEXTUNITS)); desc.addCheckboxPart(paramsDesc.get(COUNTINBATCH)); desc.addCheckboxPart(paramsDesc.get(COUNTINBATCHITEMS)); desc.addCheckboxPart(paramsDesc.get(COUNTINDOCUMENTS)); desc.addCheckboxPart(paramsDesc.get(COUNTINSUBDOCUMENTS)); desc.addCheckboxPart(paramsDesc.get(COUNTINGROUPS)); desc.addSpinInputPart(paramsDesc.get(BUFFERSIZE)); return desc; }
@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add(STEPENABLED, "Perform the extraction verification", null); desc.add(COMPARESKELETON, "Compare skeleton", null); desc.add(ALLEVENTS, "Verify all events (otherwise only text units are verified)", null); desc.add(LIMIT, "Maximum number of warnings per document", null); desc.add(INTERRUPT, "Interrupt after reaching the maximum number of warnings", null); return desc; }
@Override public EditorDescription createEditorDescription(ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("Generic XLIFF Package", true, false); CheckboxPart cbp1 = desc.addCheckboxPart(paramsDesc.get(INCLUDENOTRANSLATE)); CheckboxPart cbp2 = desc.addCheckboxPart(paramsDesc.get(SETAPPROVEDASNOTRANSLATE)); cbp2.setMasterPart(cbp1, true); desc.addCheckboxPart(paramsDesc.get(PLACEHOLDERMODE)); desc.addCheckboxPart(paramsDesc.get(COPYSOURCE)); desc.addCheckboxPart(paramsDesc.get(INCLUDEALTTRANS)); desc.addCheckboxPart(paramsDesc.get(INCLUDECODEATTRS)); desc.addCheckboxPart(paramsDesc.get(INCLUDEITS)); desc.addCheckboxPart(paramsDesc.get(ESCAPEGT)); return desc; }
@Override public ParametersDescription getParametersDescription() { ParametersDescription desc = new ParametersDescription(this); desc.add(REMOVE_LEADING_TRAILING_CODES, "Remove leading and trailing codes", "Removes leading and trailing codes from the segment and place them in the inter-segment part."); desc.add(MERGE_CODES, "Merge codes", "Merges adjacent codes (leading/trailing codes are removed first (if option is enabled))."); return desc; }
@Override public EditorDescription createEditorDescription(ParametersDescription paramsDesc) { EditorDescription desc = new EditorDescription("Experimental XLIFF 2.0", true, false); desc.addCheckboxPart(paramsDesc.get(WITHORIGINALDATA)); desc.addCheckboxPart(paramsDesc.get(ELIMINATEEMPTYTARGETSWITHNONEMPTYSOURCE)); //TODO maybe desc.addCheckboxPart(paramsDesc.get(CREATETIPPACKAGE)); return desc; }