tycho-components 0.28.5 → 0.28.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,8 @@ type InconsistencyResponse = {
14
14
  attributes?: InconsistencyResult;
15
15
  junction?: InconsistencyResult;
16
16
  segmentation?: InconsistencyResult;
17
+ legacySegmented?: InconsistencyResult;
18
+ duplicateEditions?: InconsistencyResult;
17
19
  splitters?: InconsistencyResult;
18
20
  editions?: InconsistencyResult;
19
21
  };
@@ -21,6 +23,8 @@ export type InconsistencyPageResponse = {
21
23
  attributes?: number;
22
24
  junction?: Struct[];
23
25
  segmentation?: Struct[];
26
+ legacySegmented?: number;
27
+ duplicateEditions?: number;
24
28
  splitters?: number;
25
29
  editions?: number;
26
30
  };
@@ -21,6 +21,16 @@ export const inconsistencies = [
21
21
  auto: false,
22
22
  link: true,
23
23
  },
24
+ {
25
+ key: 'legacySegmented',
26
+ severity: 'medium',
27
+ auto: true,
28
+ },
29
+ {
30
+ key: 'duplicateEditions',
31
+ severity: 'medium',
32
+ auto: true,
33
+ },
24
34
  {
25
35
  key: 'splitters',
26
36
  severity: 'medium',
@@ -6,6 +6,8 @@ export declare const InconsistencyTexts: {
6
6
  'type.label.attributes': string;
7
7
  'type.label.junction': string;
8
8
  'type.label.segmentation': string;
9
+ 'type.label.legacySegmented': string;
10
+ 'type.label.duplicateEditions': string;
9
11
  'type.label.splitters': string;
10
12
  'type.label.editions': string;
11
13
  'action.label.automatic': string;
@@ -37,6 +39,8 @@ export declare const InconsistencyTexts: {
37
39
  'type.label.attributes': string;
38
40
  'type.label.junction': string;
39
41
  'type.label.segmentation': string;
42
+ 'type.label.legacySegmented': string;
43
+ 'type.label.duplicateEditions': string;
40
44
  'type.label.splitters': string;
41
45
  'type.label.editions': string;
42
46
  'action.label.automatic': string;
@@ -68,6 +72,8 @@ export declare const InconsistencyTexts: {
68
72
  'type.label.attributes': string;
69
73
  'type.label.junction': string;
70
74
  'type.label.segmentation': string;
75
+ 'type.label.legacySegmented': string;
76
+ 'type.label.duplicateEditions': string;
71
77
  'type.label.splitters': string;
72
78
  'type.label.editions': string;
73
79
  'action.label.automatic': string;
@@ -1,11 +1,13 @@
1
1
  export const InconsistencyTexts = {
2
2
  en: {
3
3
  'modal.inconsistency.title': 'Inconsistency check',
4
- 'modal.inconsistency.description': 'Inconsistencies have been detected in this page, and it is highly recommended that you address them before continuing to work on it. Some inconsistencies may be automatically corrected. Sentences containing junctions and segmentations must be checked individually.',
4
+ 'modal.inconsistency.description': 'Inconsistencies have been detected in this page, and it is highly recommended that you address them before continuing to work on it. Some inconsistencies may be automatically corrected, including legacy segmentation data and duplicate editions. Sentences containing junctions and segmentations must be checked individually.',
5
5
  'modal.inconsistency.warning': 'To fix the inconsistencies, you need to check the information available at each page in the editor.',
6
6
  'type.label.attributes': 'Word attributes',
7
7
  'type.label.junction': 'Junctions',
8
8
  'type.label.segmentation': 'Segmentations',
9
+ 'type.label.legacySegmented': 'Legacy segmentation data',
10
+ 'type.label.duplicateEditions': 'Duplicate editions',
9
11
  'type.label.splitters': 'Word splitters',
10
12
  'type.label.editions': 'Invalid editions',
11
13
  'action.label.automatic': 'automatic',
@@ -32,11 +34,13 @@ export const InconsistencyTexts = {
32
34
  },
33
35
  'pt-BR': {
34
36
  'modal.inconsistency.title': 'Verificação de Inconsistência',
35
- 'modal.inconsistency.description': 'Foram detectadas inconsistências nesta página e é altamente recomendável que você as corrija antes de continuar trabalhando nela. Algumas inconsistências podem ser corrigidas automaticamente. Sentenças contendo junções e segmentações devem ser verificadas individualmente.',
37
+ 'modal.inconsistency.description': 'Foram detectadas inconsistências nesta página e é altamente recomendável que você as corrija antes de continuar trabalhando nela. Algumas inconsistências podem ser corrigidas automaticamente, incluindo dados legados de segmentação e edições duplicadas. Sentenças contendo junções e segmentações devem ser verificadas individualmente.',
36
38
  'modal.inconsistency.warning': 'Para corrigir as inconsistências, você precisa verificar as informações disponíveis em cada página no editor.',
37
39
  'type.label.attributes': 'Atributos da Palavra',
38
40
  'type.label.junction': 'Junções',
39
41
  'type.label.segmentation': 'Segmentações',
42
+ 'type.label.legacySegmented': 'Dados legados de segmentação',
43
+ 'type.label.duplicateEditions': 'Edições duplicadas',
40
44
  'type.label.splitters': 'Splitters',
41
45
  'type.label.editions': 'Edições inválidas',
42
46
  'action.label.automatic': 'automático',
@@ -63,11 +67,13 @@ export const InconsistencyTexts = {
63
67
  },
64
68
  it: {
65
69
  'modal.inconsistency.title': 'Controllo incoerenze',
66
- 'modal.inconsistency.description': 'Sono state rilevate incoerenze in questo documento. Si consiglia di risolverle prima di continuare. Alcune incoerenze possono essere corrette automaticamente. Le frasi con giunzioni e segmentazioni devono essere verificate singolarmente.',
70
+ 'modal.inconsistency.description': 'Sono state rilevate incoerenze in questo documento. Si consiglia di risolverle prima di continuare. Alcune incoerenze possono essere corrette automaticamente, inclusi dati di segmentazione legacy ed edizioni duplicate. Le frasi con giunzioni e segmentazioni devono essere verificate singolarmente.',
67
71
  'modal.inconsistency.warning': 'Per correggere le incoerenze, verificare le informazioni disponibili in ogni pagina nell\'editor.',
68
72
  'type.label.attributes': 'Attributi delle parole',
69
73
  'type.label.junction': 'Giunzioni',
70
74
  'type.label.segmentation': 'Segmentazioni',
75
+ 'type.label.legacySegmented': 'Dati di segmentazione legacy',
76
+ 'type.label.duplicateEditions': 'Edizioni duplicate',
71
77
  'type.label.splitters': 'Splitter di parole',
72
78
  'type.label.editions': 'Edizioni non valide',
73
79
  'action.label.automatic': 'automatico',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.28.5",
4
+ "version": "0.28.6",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {