complexqa_frontend_core 1.20.3 → 1.21.1

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 (40) hide show
  1. package/package.json +1 -1
  2. package/publish/services/serviceTranslate.js +2 -0
  3. package/publish/types/core/0_familyGeneralElement.js +10 -1
  4. package/publish/types/core/1_familyContext.js +3 -38
  5. package/publish/types/element_translate/_familyContext.i18n.js +190 -0
  6. package/publish/types/element_translate/typeBrowserContext.i18n.js +24 -0
  7. package/publish/types/element_translate/typeBug.i18n.js +1014 -0
  8. package/publish/types/element_translate/typeBugRelation.i18n.js +146 -0
  9. package/publish/types/element_translate/typeDeploymentTargetContext.i18n.js +184 -0
  10. package/publish/types/element_translate/typeDeviceContext.i18n.js +118 -0
  11. package/publish/types/element_translate/typeExecutionContext.i18n.js +267 -0
  12. package/publish/types/element_translate/typeLocaleContext.i18n.js +90 -0
  13. package/publish/types/element_translate/typeOsContext.i18n.js +118 -0
  14. package/publish/types/element_translate/typeProject.i18n.js +135 -0
  15. package/publish/types/element_translate/typeScreenResolutionContext.i18n.js +151 -0
  16. package/publish/types/element_translate/typeTeamMember.i18n.js +119 -0
  17. package/publish/types/element_translate/typeTeamTotalStatistic.i18n.js +97 -0
  18. package/publish/types/element_translate/typeTestAccount.i18n.js +108 -0
  19. package/publish/types/element_translate/typeTestCase.i18n.js +359 -0
  20. package/publish/types/element_translate/typeTestCaseStep.i18n.js +179 -0
  21. package/publish/types/element_translate/typeTestRun.i18n.js +223 -0
  22. package/publish/types/element_translate/typeTestRunResult.i18n.js +141 -0
  23. package/publish/types/family_context/typeBrowserContext.js +2 -8
  24. package/publish/types/family_context/typeDeploymentTargetContext.js +3 -41
  25. package/publish/types/family_context/typeDeviceContext.js +3 -29
  26. package/publish/types/family_context/typeExecutionContext.js +3 -52
  27. package/publish/types/family_context/typeLocaleContext.js +2 -20
  28. package/publish/types/family_context/typeOsContext.js +3 -29
  29. package/publish/types/family_context/typeScreenResolutionContext.js +3 -35
  30. package/publish/types/family_contracts/familyContracts.js +10 -1
  31. package/publish/types/family_contracts/typeTeamTotalStatistic.js +2 -18
  32. package/publish/types/family_elements/typeBug.js +3 -196
  33. package/publish/types/family_elements/typeProject.js +3 -29
  34. package/publish/types/family_elements/typeTeamMember.js +2 -22
  35. package/publish/types/family_elements/typeTestAccount.js +2 -20
  36. package/publish/types/family_elements/typeTestCase.js +3 -72
  37. package/publish/types/family_elements/typeTestCaseStep.js +3 -36
  38. package/publish/types/family_elements/typeTestRun.js +3 -45
  39. package/publish/types/family_elements/typeTestRunResult.js +2 -27
  40. package/publish/types/family_relation/typeBugRelation.js +3 -30
@@ -1,6 +1,7 @@
1
1
  import { is_object } from '../../utils/utils.js';
2
2
  import _ from 'underscore';
3
3
  import { familyRelation } from '../core/1_familyRelation.js';
4
+ import { typeBugRelation_i18n } from '../element_translate/typeBugRelation.i18n.js';
4
5
 
5
6
  /**
6
7
  * Связь бага с сущностью TMS / контекстом выполнения.
@@ -55,37 +56,9 @@ export class typeBugRelation extends familyRelation
55
56
  relation_type: typeBugRelation.get_relation_type_values(),
56
57
  };
57
58
 
58
- enum_value_translate_matrix = {
59
- relation_type: {
60
- en: {
61
- test_case_id : 'Test case',
62
- test_run_id : 'Test run',
63
- test_run_result_id : 'Test run result',
64
- execution_context_id: 'Execution context',
65
- },
66
- ru: {
67
- test_case_id : 'Тест-кейс',
68
- test_run_id : 'Прогон',
69
- test_run_result_id : 'Результат прогона',
70
- execution_context_id: 'Контекст выполнения',
71
- },
72
- },
73
- };
59
+ enum_value_translate_matrix = typeBugRelation_i18n.enum_value_translate_matrix;
74
60
 
75
- attribute_name_translate_matrix = {
76
- en: {
77
- bug_relation_id: 'ID',
78
- bug_id : 'Bug',
79
- relation_type : 'Relation type',
80
- element_id : 'Linked element',
81
- },
82
- ru: {
83
- bug_relation_id: 'ID',
84
- bug_id : 'Баг',
85
- relation_type : 'Тип связи',
86
- element_id : 'Связанный элемент',
87
- },
88
- };
61
+ attribute_name_translate_matrix = typeBugRelation_i18n.attribute_name_translate_matrix;
89
62
 
90
63
 
91
64
  static get_relation_type_values()