complexqa_frontend_core 1.20.3 → 1.21.2

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.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/publish/api/index.js +18 -16
  3. package/publish/api/util/browser_tools_util_execution_api.js +108 -0
  4. package/publish/index.js +8 -0
  5. package/publish/services/serviceTranslate.js +2 -0
  6. package/publish/types/core/0_familyGeneralElement.js +10 -1
  7. package/publish/types/core/1_familyContext.js +3 -38
  8. package/publish/types/element_translate/_familyContext.i18n.js +190 -0
  9. package/publish/types/element_translate/_familyUtil.i18n.js +68 -0
  10. package/publish/types/element_translate/typeBrowserContext.i18n.js +24 -0
  11. package/publish/types/element_translate/typeBug.i18n.js +1014 -0
  12. package/publish/types/element_translate/typeBugRelation.i18n.js +146 -0
  13. package/publish/types/element_translate/typeDeploymentTargetContext.i18n.js +184 -0
  14. package/publish/types/element_translate/typeDeviceContext.i18n.js +118 -0
  15. package/publish/types/element_translate/typeExecutionContext.i18n.js +267 -0
  16. package/publish/types/element_translate/typeLocaleContext.i18n.js +90 -0
  17. package/publish/types/element_translate/typeOsContext.i18n.js +118 -0
  18. package/publish/types/element_translate/typeProject.i18n.js +135 -0
  19. package/publish/types/element_translate/typeScreenResolutionContext.i18n.js +151 -0
  20. package/publish/types/element_translate/typeTeamMember.i18n.js +119 -0
  21. package/publish/types/element_translate/typeTeamTotalStatistic.i18n.js +97 -0
  22. package/publish/types/element_translate/typeTestAccount.i18n.js +108 -0
  23. package/publish/types/element_translate/typeTestCase.i18n.js +359 -0
  24. package/publish/types/element_translate/typeTestCaseStep.i18n.js +179 -0
  25. package/publish/types/element_translate/typeTestRun.i18n.js +223 -0
  26. package/publish/types/element_translate/typeTestRunResult.i18n.js +141 -0
  27. package/publish/types/element_translate/typeUtilExecution.i18n.js +49 -0
  28. package/publish/types/element_translate/typeUtilExecutionScreenshotMulti.i18n.js +43 -0
  29. package/publish/types/family_context/typeBrowserContext.js +2 -8
  30. package/publish/types/family_context/typeDeploymentTargetContext.js +3 -41
  31. package/publish/types/family_context/typeDeviceContext.js +3 -29
  32. package/publish/types/family_context/typeExecutionContext.js +3 -52
  33. package/publish/types/family_context/typeLocaleContext.js +2 -20
  34. package/publish/types/family_context/typeOsContext.js +3 -29
  35. package/publish/types/family_context/typeScreenResolutionContext.js +3 -35
  36. package/publish/types/family_contracts/familyContracts.js +10 -1
  37. package/publish/types/family_contracts/typeTeamTotalStatistic.js +2 -18
  38. package/publish/types/family_elements/typeBug.js +3 -196
  39. package/publish/types/family_elements/typeProject.js +3 -29
  40. package/publish/types/family_elements/typeTeamMember.js +2 -22
  41. package/publish/types/family_elements/typeTestAccount.js +2 -20
  42. package/publish/types/family_elements/typeTestCase.js +3 -72
  43. package/publish/types/family_elements/typeTestCaseStep.js +3 -36
  44. package/publish/types/family_elements/typeTestRun.js +3 -45
  45. package/publish/types/family_elements/typeTestRunResult.js +2 -27
  46. package/publish/types/family_relation/typeBugRelation.js +3 -30
  47. package/publish/types/family_utils/familyUtil.js +43 -0
  48. package/publish/types/family_utils/typeUtilExecution.js +153 -0
  49. package/publish/types/family_utils/typeUtilExecutionEvent.js +56 -0
  50. package/publish/types/family_utils/typeUtilExecutionScreenshotMulti.js +72 -0
  51. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiCapture.js +57 -0
  52. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiCaptureError.js +49 -0
  53. package/publish/types/family_utils/typeUtilExecutionScreenshotMultiScreenshot.js +57 -0
@@ -0,0 +1,223 @@
1
+ /**
2
+ * Переводы для typeTestRun.
3
+ *
4
+ * @see typeTestRun
5
+ */
6
+ export const typeTestRun_i18n = {
7
+ attribute_name_translate_matrix: {
8
+ en: {
9
+ test_run_id : 'ID',
10
+ test_run_name : 'Name',
11
+ project_id : 'Project',
12
+ team_id : 'Team',
13
+ test_run_description: 'Description',
14
+ assigned_to : 'Assigned to',
15
+ test_case_ids : 'Test cases',
16
+ test_run_status : 'Status',
17
+ created_at : 'Created at',
18
+ updated_at : 'Updated at',
19
+ completed_at : 'Completed at',
20
+ },
21
+ ru: {
22
+ test_run_id : 'ID',
23
+ test_run_name : 'Название',
24
+ project_id : 'Проект',
25
+ team_id : 'Команда',
26
+ test_run_description: 'Описание',
27
+ assigned_to : 'Назначен',
28
+ test_case_ids : 'Тест кейсы',
29
+ test_run_status : 'Статус',
30
+ created_at : 'Создано',
31
+ updated_at : 'Изменено',
32
+ completed_at : 'Завершено',
33
+ },
34
+ de: {
35
+ test_run_id : 'ID',
36
+ test_run_name : 'Name',
37
+ project_id : 'Projekt',
38
+ team_id : 'Team',
39
+ test_run_description: 'Beschreibung',
40
+ assigned_to : 'Zugewiesen an',
41
+ test_case_ids : 'Testfälle',
42
+ test_run_status : 'Status',
43
+ created_at : 'Erstellt am',
44
+ updated_at : 'Geändert am',
45
+ completed_at : 'Abgeschlossen am',
46
+ },
47
+ ar: {
48
+ test_run_id : 'ID',
49
+ test_run_name : 'الاسم',
50
+ project_id : 'المشروع',
51
+ team_id : 'الفريق',
52
+ test_run_description: 'الوصف',
53
+ assigned_to : 'مُسند إلى',
54
+ test_case_ids : 'حالات الاختبار',
55
+ test_run_status : 'الحالة',
56
+ created_at : 'تاريخ الإنشاء',
57
+ updated_at : 'تاريخ التحديث',
58
+ completed_at : 'تاريخ الإكمال',
59
+ },
60
+ es: {
61
+ test_run_id : 'ID',
62
+ test_run_name : 'Nombre',
63
+ project_id : 'Proyecto',
64
+ team_id : 'Equipo',
65
+ test_run_description: 'Descripción',
66
+ assigned_to : 'Asignado a',
67
+ test_case_ids : 'Casos de prueba',
68
+ test_run_status : 'Estado',
69
+ created_at : 'Creado el',
70
+ updated_at : 'Actualizado el',
71
+ completed_at : 'Completado el',
72
+ },
73
+ fr: {
74
+ test_run_id : 'ID',
75
+ test_run_name : 'Nom',
76
+ project_id : 'Projet',
77
+ team_id : 'Équipe',
78
+ test_run_description: 'Description',
79
+ assigned_to : 'Assigné à',
80
+ test_case_ids : 'Cas de test',
81
+ test_run_status : 'Statut',
82
+ created_at : 'Créé le',
83
+ updated_at : 'Modifié le',
84
+ completed_at : 'Terminé le',
85
+ },
86
+ hy: {
87
+ test_run_id : 'ID',
88
+ test_run_name : 'Անուն',
89
+ project_id : 'Նախագիծ',
90
+ team_id : 'Թիմ',
91
+ test_run_description: 'Նկարագրություն',
92
+ assigned_to : 'Նշանակված',
93
+ test_case_ids : 'Թեստային դեպքեր',
94
+ test_run_status : 'Կարգավիճակ',
95
+ created_at : 'Ստեղծված',
96
+ updated_at : 'Թարմացված',
97
+ completed_at : 'Ավարտված',
98
+ },
99
+ it: {
100
+ test_run_id : 'ID',
101
+ test_run_name : 'Nome',
102
+ project_id : 'Progetto',
103
+ team_id : 'Team',
104
+ test_run_description: 'Descrizione',
105
+ assigned_to : 'Assegnato a',
106
+ test_case_ids : 'Casi di test',
107
+ test_run_status : 'Stato',
108
+ created_at : 'Creato il',
109
+ updated_at : 'Aggiornato il',
110
+ completed_at : 'Completato il',
111
+ },
112
+ pl: {
113
+ test_run_id : 'ID',
114
+ test_run_name : 'Nazwa',
115
+ project_id : 'Projekt',
116
+ team_id : 'Zespół',
117
+ test_run_description: 'Opis',
118
+ assigned_to : 'Przypisany do',
119
+ test_case_ids : 'Przypadki testowe',
120
+ test_run_status : 'Status',
121
+ created_at : 'Utworzono',
122
+ updated_at : 'Zaktualizowano',
123
+ completed_at : 'Ukończono',
124
+ },
125
+ pt: {
126
+ test_run_id : 'ID',
127
+ test_run_name : 'Nome',
128
+ project_id : 'Projeto',
129
+ team_id : 'Equipa',
130
+ test_run_description: 'Descrição',
131
+ assigned_to : 'Atribuído a',
132
+ test_case_ids : 'Casos de teste',
133
+ test_run_status : 'Estado',
134
+ created_at : 'Criado em',
135
+ updated_at : 'Atualizado em',
136
+ completed_at : 'Concluído em',
137
+ },
138
+ tt: {
139
+ test_run_id : 'ID',
140
+ test_run_name : 'Исем',
141
+ project_id : 'Проект',
142
+ team_id : 'Команд',
143
+ test_run_description: 'Тасвирлау',
144
+ assigned_to : 'Билгеләнгән',
145
+ test_case_ids : 'Тест очраклары',
146
+ test_run_status : 'Статус',
147
+ created_at : 'Ясалган',
148
+ updated_at : 'Яңартылган',
149
+ completed_at : 'Тәмамланган',
150
+ },
151
+ },
152
+
153
+ enum_value_translate_matrix: {
154
+ test_run_status: {
155
+ en: {
156
+ PENDING : 'Pending',
157
+ IN_PROGRESS: 'In progress',
158
+ COMPLETED : 'Completed',
159
+ CLOSED : 'Closed',
160
+ },
161
+ ru: {
162
+ PENDING : 'Ожидает',
163
+ IN_PROGRESS: 'В работе',
164
+ COMPLETED : 'Завершен',
165
+ CLOSED : 'Закрыт',
166
+ },
167
+ de: {
168
+ PENDING : 'Ausstehend',
169
+ IN_PROGRESS: 'In Bearbeitung',
170
+ COMPLETED : 'Abgeschlossen',
171
+ CLOSED : 'Geschlossen',
172
+ },
173
+ ar: {
174
+ PENDING : 'قيد الانتظار',
175
+ IN_PROGRESS: 'قيد التنفيذ',
176
+ COMPLETED : 'مكتمل',
177
+ CLOSED : 'مغلق',
178
+ },
179
+ es: {
180
+ PENDING : 'Pendiente',
181
+ IN_PROGRESS: 'En progreso',
182
+ COMPLETED : 'Completado',
183
+ CLOSED : 'Cerrado',
184
+ },
185
+ fr: {
186
+ PENDING : 'En attente',
187
+ IN_PROGRESS: 'En cours',
188
+ COMPLETED : 'Terminé',
189
+ CLOSED : 'Fermé',
190
+ },
191
+ hy: {
192
+ PENDING : 'Սպասում',
193
+ IN_PROGRESS: 'Ընթացքում',
194
+ COMPLETED : 'Ավարտված',
195
+ CLOSED : 'Փակ',
196
+ },
197
+ it: {
198
+ PENDING : 'In attesa',
199
+ IN_PROGRESS: 'In corso',
200
+ COMPLETED : 'Completato',
201
+ CLOSED : 'Chiuso',
202
+ },
203
+ pl: {
204
+ PENDING : 'Oczekujący',
205
+ IN_PROGRESS: 'W trakcie',
206
+ COMPLETED : 'Ukończony',
207
+ CLOSED : 'Zamknięty',
208
+ },
209
+ pt: {
210
+ PENDING : 'Pendente',
211
+ IN_PROGRESS: 'Em progresso',
212
+ COMPLETED : 'Concluído',
213
+ CLOSED : 'Fechado',
214
+ },
215
+ tt: {
216
+ PENDING : 'Көтү',
217
+ IN_PROGRESS: 'Бара',
218
+ COMPLETED : 'Тәмамланган',
219
+ CLOSED : 'Ябык',
220
+ },
221
+ },
222
+ },
223
+ };
@@ -0,0 +1,141 @@
1
+ /**
2
+ * Переводы для typeTestRunResult.
3
+ *
4
+ * @see typeTestRunResult
5
+ */
6
+ export const typeTestRunResult_i18n = {
7
+ attribute_name_translate_matrix: {
8
+ en: {
9
+ test_result_id : 'ID',
10
+ test_case_id : 'Test case',
11
+ test_run_id : 'Test run',
12
+ test_result_status : 'Status',
13
+ test_result_description: 'Description',
14
+ assigned_to : 'Assigned to',
15
+ project_id : 'Project',
16
+ created_at : 'Created at',
17
+ updated_at : 'Updated at',
18
+ completed_at : 'Completed at',
19
+ },
20
+ ru: {
21
+ test_result_id : 'ID',
22
+ test_case_id : 'Тест кейс',
23
+ test_run_id : 'Тестовый прогон',
24
+ test_result_status : 'Статус',
25
+ test_result_description: 'Описание',
26
+ assigned_to : 'Назначен',
27
+ project_id : 'Проект',
28
+ created_at : 'Создано',
29
+ updated_at : 'Обновлено',
30
+ completed_at : 'Завершено',
31
+ },
32
+ de: {
33
+ test_result_id : 'ID',
34
+ test_case_id : 'Testfall',
35
+ test_run_id : 'Testlauf',
36
+ test_result_status : 'Status',
37
+ test_result_description: 'Beschreibung',
38
+ assigned_to : 'Zugewiesen an',
39
+ project_id : 'Projekt',
40
+ created_at : 'Erstellt am',
41
+ updated_at : 'Geändert am',
42
+ completed_at : 'Abgeschlossen am',
43
+ },
44
+ ar: {
45
+ test_result_id : 'ID',
46
+ test_case_id : 'حالة الاختبار',
47
+ test_run_id : 'تشغيل الاختبار',
48
+ test_result_status : 'الحالة',
49
+ test_result_description: 'الوصف',
50
+ assigned_to : 'مُسند إلى',
51
+ project_id : 'المشروع',
52
+ created_at : 'تاريخ الإنشاء',
53
+ updated_at : 'تاريخ التحديث',
54
+ completed_at : 'تاريخ الإكمال',
55
+ },
56
+ es: {
57
+ test_result_id : 'ID',
58
+ test_case_id : 'Caso de prueba',
59
+ test_run_id : 'Ejecución de pruebas',
60
+ test_result_status : 'Estado',
61
+ test_result_description: 'Descripción',
62
+ assigned_to : 'Asignado a',
63
+ project_id : 'Proyecto',
64
+ created_at : 'Creado el',
65
+ updated_at : 'Actualizado el',
66
+ completed_at : 'Completado el',
67
+ },
68
+ fr: {
69
+ test_result_id : 'ID',
70
+ test_case_id : 'Cas de test',
71
+ test_run_id : 'Exécution de tests',
72
+ test_result_status : 'Statut',
73
+ test_result_description: 'Description',
74
+ assigned_to : 'Assigné à',
75
+ project_id : 'Projet',
76
+ created_at : 'Créé le',
77
+ updated_at : 'Modifié le',
78
+ completed_at : 'Terminé le',
79
+ },
80
+ hy: {
81
+ test_result_id : 'ID',
82
+ test_case_id : 'Թեստային դեպք',
83
+ test_run_id : 'Թեստի գործարկում',
84
+ test_result_status : 'Կարգավիճակ',
85
+ test_result_description: 'Նկարագրություն',
86
+ assigned_to : 'Նշանակված',
87
+ project_id : 'Նախագիծ',
88
+ created_at : 'Ստեղծված',
89
+ updated_at : 'Թարմացված',
90
+ completed_at : 'Ավարտված',
91
+ },
92
+ it: {
93
+ test_result_id : 'ID',
94
+ test_case_id : 'Caso di test',
95
+ test_run_id : 'Esecuzione test',
96
+ test_result_status : 'Stato',
97
+ test_result_description: 'Descrizione',
98
+ assigned_to : 'Assegnato a',
99
+ project_id : 'Progetto',
100
+ created_at : 'Creato il',
101
+ updated_at : 'Aggiornato il',
102
+ completed_at : 'Completato il',
103
+ },
104
+ pl: {
105
+ test_result_id : 'ID',
106
+ test_case_id : 'Przypadek testowy',
107
+ test_run_id : 'Uruchomienie testów',
108
+ test_result_status : 'Status',
109
+ test_result_description: 'Opis',
110
+ assigned_to : 'Przypisany do',
111
+ project_id : 'Projekt',
112
+ created_at : 'Utworzono',
113
+ updated_at : 'Zaktualizowano',
114
+ completed_at : 'Ukończono',
115
+ },
116
+ pt: {
117
+ test_result_id : 'ID',
118
+ test_case_id : 'Caso de teste',
119
+ test_run_id : 'Execução de testes',
120
+ test_result_status : 'Estado',
121
+ test_result_description: 'Descrição',
122
+ assigned_to : 'Atribuído a',
123
+ project_id : 'Projeto',
124
+ created_at : 'Criado em',
125
+ updated_at : 'Atualizado em',
126
+ completed_at : 'Concluído em',
127
+ },
128
+ tt: {
129
+ test_result_id : 'ID',
130
+ test_case_id : 'Тест очрагы',
131
+ test_run_id : 'Тест йөгертүе',
132
+ test_result_status : 'Статус',
133
+ test_result_description: 'Тасвирлау',
134
+ assigned_to : 'Билгеләнгән',
135
+ project_id : 'Проект',
136
+ created_at : 'Ясалган',
137
+ updated_at : 'Яңартылган',
138
+ completed_at : 'Тәмамланган',
139
+ },
140
+ },
141
+ };
@@ -0,0 +1,49 @@
1
+ import { familyUtil_i18n } from './_familyUtil.i18n.js';
2
+
3
+ /**
4
+ * Переводы для typeUtilExecution.
5
+ *
6
+ * @see typeUtilExecution
7
+ */
8
+ export const typeUtilExecution_i18n = {
9
+ attribute_name_translate_matrix: {
10
+ en: {
11
+ util_execution_id : 'ID',
12
+ team_id : 'Team',
13
+ project_id : 'Project',
14
+ user_id : 'User',
15
+ execution_status : 'Status',
16
+ external_job_id : 'External job',
17
+ error_message : 'Error',
18
+ submitted_at : 'Submitted at',
19
+ completed_at : 'Completed at',
20
+ created_at : 'Created at',
21
+ page_url : 'Page URL',
22
+ screenshot_count : 'Screenshots',
23
+ captures_total : 'Captures total',
24
+ captures_succeeded: 'Captures succeeded',
25
+ captures_failed : 'Captures failed',
26
+ },
27
+ ru: {
28
+ util_execution_id : 'ID',
29
+ team_id : 'Команда',
30
+ project_id : 'Проект',
31
+ user_id : 'Пользователь',
32
+ execution_status : 'Статус',
33
+ external_job_id : 'Внешняя задача',
34
+ error_message : 'Ошибка',
35
+ submitted_at : 'Отправлено',
36
+ completed_at : 'Завершено',
37
+ created_at : 'Создано',
38
+ page_url : 'URL страницы',
39
+ screenshot_count : 'Скриншоты',
40
+ captures_total : 'Всего захватов',
41
+ captures_succeeded: 'Успешных захватов',
42
+ captures_failed : 'Ошибок захвата',
43
+ },
44
+ },
45
+
46
+ enum_value_translate_matrix: {
47
+ execution_status: familyUtil_i18n.execution_status,
48
+ },
49
+ };
@@ -0,0 +1,43 @@
1
+ import { familyUtil_i18n } from './_familyUtil.i18n.js';
2
+
3
+ /**
4
+ * Переводы для typeUtilExecutionScreenshotMulti.
5
+ *
6
+ * @see typeUtilExecutionScreenshotMulti
7
+ */
8
+ export const typeUtilExecutionScreenshotMulti_i18n = {
9
+ attribute_name_translate_matrix: {
10
+ en: {
11
+ util_execution_id : 'Execution',
12
+ page_url : 'Page URL',
13
+ wait_until : 'Wait until',
14
+ full_page : 'Full page',
15
+ navigation_timeout_milliseconds: 'Navigation timeout (ms)',
16
+ capture_matrix_preset : 'Capture matrix',
17
+ last_callback_status : 'Last callback status',
18
+ captures_total : 'Captures total',
19
+ captures_succeeded : 'Captures succeeded',
20
+ captures_failed : 'Captures failed',
21
+ duration_milliseconds : 'Duration (ms)',
22
+ },
23
+ ru: {
24
+ util_execution_id : 'Запуск',
25
+ page_url : 'URL страницы',
26
+ wait_until : 'Ожидание загрузки',
27
+ full_page : 'Полная страница',
28
+ navigation_timeout_milliseconds: 'Таймаут навигации (мс)',
29
+ capture_matrix_preset : 'Матрица захвата',
30
+ last_callback_status : 'Статус callback',
31
+ captures_total : 'Всего захватов',
32
+ captures_succeeded : 'Успешных захватов',
33
+ captures_failed : 'Ошибок захвата',
34
+ duration_milliseconds : 'Длительность (мс)',
35
+ },
36
+ },
37
+
38
+ enum_value_translate_matrix: {
39
+ capture_matrix_preset: familyUtil_i18n.capture_matrix_preset,
40
+ wait_until : familyUtil_i18n.wait_until,
41
+ last_callback_status : familyUtil_i18n.execution_status,
42
+ },
43
+ };
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeBrowserContext_i18n } from "../element_translate/typeBrowserContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -28,14 +29,7 @@ export class typeBrowserContext extends familyContext
28
29
  ...familyContext.get_catalog_base_structure_scheme(),
29
30
  };
30
31
 
31
- attribute_name_translate_matrix = (() =>
32
- {
33
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
34
- return {
35
- en: { ...base.en, browser_context_id: 'ID', browser_vendor: 'Vendor' },
36
- ru: { ...base.ru, browser_context_id: 'ID', browser_vendor: 'Вендор' },
37
- };
38
- })();
32
+ attribute_name_translate_matrix = typeBrowserContext_i18n.attribute_name_translate_matrix;
39
33
 
40
34
 
41
35
  /**
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeDeploymentTargetContext_i18n } from "../element_translate/typeDeploymentTargetContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -33,48 +34,9 @@ export class typeDeploymentTargetContext extends familyContext
33
34
  deployment_tier: [ 'LOCAL', 'DEVELOPMENT', 'QA', 'STAGING', 'UAT', 'PRODUCTION', 'DR', 'OTHER' ],
34
35
  };
35
36
 
36
- enum_value_translate_matrix = {
37
- ...familyContext.get_base_enum_value_translate_matrix(),
38
- deployment_tier: {
39
- en: {
40
- LOCAL : 'Local',
41
- DEVELOPMENT: 'Development',
42
- QA : 'QA',
43
- STAGING : 'Staging',
44
- UAT : 'UAT',
45
- PRODUCTION : 'Production',
46
- DR : 'Disaster recovery',
47
- OTHER : 'Other',
48
- },
49
- ru: {
50
- LOCAL : 'Локальная',
51
- DEVELOPMENT: 'Разработка',
52
- QA : 'QA',
53
- STAGING : 'Staging',
54
- UAT : 'UAT',
55
- PRODUCTION : 'Продакшен',
56
- DR : 'DR',
57
- OTHER : 'Другое',
58
- },
59
- },
60
- };
37
+ enum_value_translate_matrix = typeDeploymentTargetContext_i18n.enum_value_translate_matrix;
61
38
 
62
- attribute_name_translate_matrix = (() =>
63
- {
64
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
65
- return {
66
- en: {
67
- ...base.en,
68
- deployment_target_context_id: 'ID',
69
- deployment_tier : 'Tier',
70
- },
71
- ru: {
72
- ...base.ru,
73
- deployment_target_context_id: 'ID',
74
- deployment_tier : 'Уровень',
75
- },
76
- };
77
- })();
39
+ attribute_name_translate_matrix = typeDeploymentTargetContext_i18n.attribute_name_translate_matrix;
78
40
 
79
41
 
80
42
  /**
@@ -1,6 +1,7 @@
1
1
  import { familyContext } from "../core/1_familyContext.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { register_type_class } from "../core/type_class_resolver.js";
4
+ import { typeDeviceContext_i18n } from "../element_translate/typeDeviceContext.i18n.js";
4
5
 
5
6
 
6
7
  /**
@@ -33,36 +34,9 @@ export class typeDeviceContext extends familyContext
33
34
  device_class: [ 'DESKTOP', 'MOBILE', 'TABLET', 'TV', 'WATCH', 'OTHER' ],
34
35
  };
35
36
 
36
- enum_value_translate_matrix = {
37
- ...familyContext.get_base_enum_value_translate_matrix(),
38
- device_class: {
39
- en: {
40
- DESKTOP: 'Desktop',
41
- MOBILE : 'Mobile',
42
- TABLET : 'Tablet',
43
- TV : 'TV',
44
- WATCH : 'Watch',
45
- OTHER : 'Other',
46
- },
47
- ru: {
48
- DESKTOP: 'Настольный',
49
- MOBILE : 'Мобильный',
50
- TABLET : 'Планшет',
51
- TV : 'ТВ',
52
- WATCH : 'Часы',
53
- OTHER : 'Другое',
54
- },
55
- },
56
- };
37
+ enum_value_translate_matrix = typeDeviceContext_i18n.enum_value_translate_matrix;
57
38
 
58
- attribute_name_translate_matrix = (() =>
59
- {
60
- let base = familyContext.get_catalog_attribute_name_translate_matrix();
61
- return {
62
- en: { ...base.en, device_context_id: 'ID', device_class: 'Device class' },
63
- ru: { ...base.ru, device_context_id: 'ID', device_class: 'Класс устройства' },
64
- };
65
- })();
39
+ attribute_name_translate_matrix = typeDeviceContext_i18n.attribute_name_translate_matrix;
66
40
 
67
41
 
68
42
  /**
@@ -1,5 +1,6 @@
1
1
  import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
+ import { typeExecutionContext_i18n } from "../element_translate/typeExecutionContext.i18n.js";
3
4
 
4
5
 
5
6
  /**
@@ -65,59 +66,9 @@ export class typeExecutionContext extends familyGeneralElement
65
66
  protocol: [ 'HTTP', 'HTTPS' ],
66
67
  };
67
68
 
68
- enum_value_translate_matrix = {
69
- protocol: {
70
- en: {
71
- HTTP : 'HTTP',
72
- HTTPS: 'HTTPS',
73
- },
74
- ru: {
75
- HTTP : 'HTTP',
76
- HTTPS: 'HTTPS',
77
- },
78
- },
79
- };
69
+ enum_value_translate_matrix = typeExecutionContext_i18n.enum_value_translate_matrix;
80
70
 
81
- attribute_name_translate_matrix = {
82
- en: {
83
- execution_context_id : 'ID',
84
- context_title : 'Title',
85
- context_description : 'Description',
86
- project_id : 'Project',
87
- team_id : 'Team',
88
- browser_context_id : 'Browser',
89
- os_context_id : 'Operating system',
90
- screen_resolution_context_id: 'Screen resolution',
91
- device_context_id : 'Device',
92
- locale_context_id : 'Locale',
93
- deployment_target_context_id: 'Deployment target',
94
- protocol : 'Protocol',
95
- host : 'Host',
96
- base_url : 'Base URL',
97
- build_version : 'Build version',
98
- created_at : 'Created at',
99
- updated_at : 'Updated at',
100
- },
101
- ru: {
102
- execution_context_id : 'ID',
103
- context_title : 'Название',
104
- context_description : 'Описание',
105
- project_id : 'Проект',
106
- team_id : 'Команда',
107
- browser_context_id : 'Браузер',
108
- os_context_id : 'ОС',
109
- screen_resolution_context_id: 'Разрешение экрана',
110
- device_context_id : 'Устройство',
111
- locale_context_id : 'Локаль',
112
- deployment_target_context_id: 'Среда развёртывания',
113
- protocol : 'Протокол',
114
- host : 'Хост',
115
- base_url : 'Базовый URL',
116
- build_version : 'Версия сборки',
117
- created_at : 'Создано',
118
- updated_at : 'Обновлено',
119
- },
120
- };
71
+ attribute_name_translate_matrix = typeExecutionContext_i18n.attribute_name_translate_matrix;
121
72
 
122
73
 
123
74
  /**