Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker
2 changes: 1 addition & 1 deletion internal_scripts
1 change: 0 additions & 1 deletion plugins/familysearch
Submodule familysearch deleted from 5a16b5
1 change: 0 additions & 1 deletion plugins/roblox
Submodule roblox deleted from bc7ae7
156 changes: 155 additions & 1 deletion public/api/swagger-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ var spec = {
required: false,
type: 'string',
},
{
name: 'private_tm_key_json',
in: 'formData',
description: 'Private key(s) for MyMemory in a JSON format. `tm_prioritization` must be specified.',
required: false,
type: 'string',
example:
'{"tm_prioritization":true, "keys":[{"key": "123456","read": true, "write": true, "penalty": 97},{"key": "xdfr3r","read": true, "write": true, "penalty": 95}]}',
},
{
name: 'subject',
in: 'formData',
Expand Down Expand Up @@ -193,6 +202,14 @@ var spec = {
type: 'integer',
default: 0,
},
{
name: 'pretranslate_101',
in: 'formData',
description: 'Pre-translate 101% matches from TM',
required: false,
type: 'integer',
default: 0,
},
{
name: 'dialect_strict',
in: 'formData',
Expand Down Expand Up @@ -220,6 +237,20 @@ var spec = {
example:
'{"glossaries": [1, 2, 3, 4], "ignore_glossary_case": true }',
},
{
name: 'mmt_ignore_glossary_case',
in: 'formData',
description: 'Ignore case sensitivity for MMT glossaries',
required: false,
type: 'boolean',
},
{
name: 'mmt_activate_context_analyzer',
in: 'formData',
description: 'Activate context analyzer on MMT glossaries',
required: false,
type: 'boolean',
},
{
name: 'deepl_formality',
in: 'formData',
Expand All @@ -238,11 +269,19 @@ var spec = {
type: 'string',
example: '34532',
},
{
name: 'deepl_engine_type',
in: 'formData',
description: 'Select the DeepL engine type',
required: false,
type: 'string',
enum: ['prefer_quality_optimized','latency_optimized']
},
{
name: 'filters_extraction_parameters',
in: 'formData',
description:
'Set the filters extraction parameters throught a json string',
'Set the filters extraction parameters through a json string',
required: false,
type: 'string',
example:
Expand Down Expand Up @@ -300,6 +339,121 @@ var spec = {
required: false,
type: 'string',
},
{
name: 'character_counter_count_tags',
in: 'formData',
description: 'Include tags in the character counter',
required: false,
type: 'boolean',
},
{
name: 'character_counter_mode',
in: 'formData',
description: 'Select character count mode',
required: false,
type: 'string',
enum: ['google_ads', 'exclude_cjk', 'all_one'],
},
{
name: 'mt_evaluation',
in: 'formData',
description: 'Activate MT evaluation',
required: false,
type: 'boolean',
},
{
name: 'mt_quality_value_in_editor',
in: 'formData',
description: 'Enable MT quality value in the editor',
required: false,
type: 'integer',
default: 86,
minimum: 76,
maximum: 102
},
{
name: 'legacy_icu',
in: 'formData',
description: 'Enable legacy ICU',
required: false,
type: 'boolean',
},
{
name: 'project_info',
in: 'formData',
description: 'Additional project information',
required: false,
type: 'string'
},
{
name: 'public_tm_penalty',
in: 'formData',
description: 'The penalty value (between 0 and 100) to be applied to the public TM matches',
required: false,
type: 'integer',
default: 0,
minimum: 0,
maximum: 100
},
{
name: 'project_completion',
in: 'formData',
description: 'Enable project completion feature',
required: false,
type: 'boolean',
},
{
name: 'qa_model_template_id',
in: 'formData',
description: 'The id of the QA model you want to use in the project you are creating (if you want to use a custom QA model in a project, both relevant parameters must be included in the API call)',
required: false,
type: 'integer'
},
{
name: 'speech2text',
in: 'formData',
description: 'Enable speech to text for this project',
required: false,
type: 'boolean',
},
{
name: 'enable_mt_analysis',
in: 'formData',
description: 'Enable MT during analysis',
required: false,
default: true,
type: 'boolean',
},
{
name: 'intento_routing',
in: 'formData',
description: 'Select the Intento routing (this parameter is only applied if Intento is enabled for the project)',
required: false,
type: 'string',
},
{
name: 'intento_provider',
in: 'formData',
description: 'Select the Intento provider (this parameter is only applied if Intento is enabled for the project)',
required: false,
type: 'string',
},
{
name: 'instructions[]',
in: 'formData',
description: 'A set of project instructions',
required: false,
type: 'string',
},
{
name: 'subfiltering_handlers',
in: 'formData',
description: 'An array string to choose which syntaxes to detect and lock in tags during translation. Allowed values are: "markup", "percent_double_curly", "twig", "ruby_on_rails", "double_snail", "double_square", "dollar_curly", "single_curly", "objective_c_ns", "double_percent", "square_sprintf", "sprintf"',
required: false,
type: 'string',
default: '[]',
example: '["markup","percent_double_curly","twig"]'
}
],
responses: {
200: {
Expand Down
43 changes: 5 additions & 38 deletions public/css/sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ section mark.searchMarker.currSearchItem {
background: url(/public/img/matecat_file_icons.png) 6px -1107px no-repeat !important;
}


/* retina display query */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
Expand Down Expand Up @@ -535,7 +534,6 @@ section mark.searchMarker.currSearchItem {
/* Google Sheet */
}


@font-face {
font-family: 'icomoon';
src: url('/public/css/fonts/icomoon.eot?7sjwen');
Expand Down Expand Up @@ -655,7 +653,7 @@ header .filter:before {
}

.more:before,
.more.minus:before{
.more.minus:before {
margin-right: 5px;
position: relative;
top: 2px;
Expand Down Expand Up @@ -745,10 +743,6 @@ a.unarchive-project:after {
content: '\e602';
}

.icon-download:before {
content: '\e603';
}

.icon-stop:before {
content: '\e604';
}
Expand All @@ -757,10 +751,6 @@ a.unarchive-project:after {
content: '\e605';
}

.icon-drawer:before {
content: '\e606';
}

.icon-minus:before {
content: '\e607';
}
Expand All @@ -769,10 +759,6 @@ a.unarchive-project:after {
content: '\e8b8';
}

.icon-download-logs:before {
content: '\e900';
}

.icon-zip:before {
content: '\e901';
}
Expand Down Expand Up @@ -805,18 +791,10 @@ a.unarchive-project:after {
content: '\ea6c';
}

.icon-refresh:before {
content: '\f021';
}

.icon-split:before {
content: '\f03d';
}

.icon-edit:before {
content: '\f044';
}

.icon-play:before {
content: '\f04b';
}
Expand Down Expand Up @@ -908,10 +886,6 @@ a.unarchive-project:after {
content: '\f013';
}

.icon-trash-o:before {
content: '\f014';
}

.icon-share-square-o:before {
content: '\f045';
}
Expand Down Expand Up @@ -940,14 +914,6 @@ a.unarchive-project:after {
content: '\f05d';
}

.icon-expand:before {
content: '\f065';
}

.icon-compress:before {
content: '\f066';
}

.icon-plus:before {
content: '\f067';
}
Expand Down Expand Up @@ -996,7 +962,6 @@ a.unarchive-project:after {
content: '\f147';
}


.icon-plus-square-o:before {
content: '\f196';
}
Expand Down Expand Up @@ -1056,7 +1021,8 @@ a.unarchive-project:after {
url('/public/css/fonts/calibri-webfont.woff') format('woff'),
url('/public/css/fonts/calibri-webfont.ttf') format('truetype'),
url('/public/css/fonts/calibri-webfont.eot'),
url('/public/css/fonts/calibri-webfont.eot?#iefix') format('embedded-opentype');
url('/public/css/fonts/calibri-webfont.eot?#iefix')
format('embedded-opentype');
}

@font-face {
Expand All @@ -1067,7 +1033,8 @@ a.unarchive-project:after {
url('/public/css/fonts/calibri_bold-webfont.woff') format('woff'),
url('/public/css/fonts/calibri_bold-webfont.ttf') format('truetype'),
url('/public/css/fonts/calibri_bold-webfont.eot'),
url('/public/css/fonts/calibri_bold-webfont.eot?#iefix') format('embedded-opentype');
url('/public/css/fonts/calibri_bold-webfont.eot?#iefix')
format('embedded-opentype');
}

#menu-site li {
Expand Down
17 changes: 12 additions & 5 deletions public/css/sass/commons/_analyze.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use "../commons/colors";
@use '../commons/colors';
// rewrite semantic CSS
html, body {
html,
body {
height: 100%;
}
body.analyze {
Expand Down Expand Up @@ -261,7 +262,8 @@ body.analyze {
background-color: colors.$grey5;
margin: 0 -1rem 0;
&.type-mtqe {
.title-total-words, .title-matecat-words {
.title-total-words,
.title-matecat-words {
width: 50% !important;
}
}
Expand Down Expand Up @@ -547,6 +549,11 @@ body.analyze {
}
}
}
.split {
display: flex;
align-items: center;
justify-content: space-evenly;
}
.split,
.merge {
font-family: Calibri, Arial, Helvetica, sans-serif;
Expand Down Expand Up @@ -952,7 +959,7 @@ body.analyze {

@media only screen and (min-width: 1200px) {
.ui.container:not(.fluid) {
width: 1140px !important;;
width: 1140px !important;
margin-left: auto !important;
margin-right: auto !important;
transition: 0.3s ease;
Expand All @@ -961,7 +968,7 @@ body.analyze {

@media only screen and (min-width: 1380px) {
.ui.container:not(.fluid) {
width: 1280px !important;;
width: 1280px !important;
margin-left: auto !important;
margin-right: auto !important;
transition: 0.3s ease;
Expand Down
2 changes: 1 addition & 1 deletion public/css/sass/commons/_aria-label-tooltip.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "../commons/colors";
@use '../commons/colors';

// Tooltips
[aria-label] {
Expand Down
Loading