foreman_templates 9.2.0 → 9.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_templates/locale/cs_CZ/foreman_templates.js +211 -0
  3. data/app/assets/javascripts/foreman_templates/locale/de/foreman_templates.js +211 -0
  4. data/app/assets/javascripts/foreman_templates/locale/en_GB/foreman_templates.js +211 -0
  5. data/app/assets/javascripts/foreman_templates/locale/es/foreman_templates.js +211 -0
  6. data/app/assets/javascripts/foreman_templates/locale/fr/foreman_templates.js +211 -0
  7. data/app/assets/javascripts/foreman_templates/locale/gl/foreman_templates.js +211 -0
  8. data/app/assets/javascripts/foreman_templates/locale/it/foreman_templates.js +211 -0
  9. data/app/assets/javascripts/foreman_templates/locale/ja/foreman_templates.js +211 -0
  10. data/app/assets/javascripts/foreman_templates/locale/ka/foreman_templates.js +211 -0
  11. data/app/assets/javascripts/foreman_templates/locale/ko/foreman_templates.js +211 -0
  12. data/app/assets/javascripts/foreman_templates/locale/pt_BR/foreman_templates.js +211 -0
  13. data/app/assets/javascripts/foreman_templates/locale/ru/foreman_templates.js +211 -0
  14. data/app/assets/javascripts/foreman_templates/locale/sv_SE/foreman_templates.js +211 -0
  15. data/app/assets/javascripts/foreman_templates/locale/zh_CN/foreman_templates.js +211 -0
  16. data/app/assets/javascripts/foreman_templates/locale/zh_TW/foreman_templates.js +211 -0
  17. data/app/services/foreman_templates/template_exporter.rb +9 -2
  18. data/db/migrate/20211122154929_templates_settings_category_to_dsl.rb +1 -1
  19. data/lib/foreman_templates/engine.rb +2 -1
  20. data/lib/foreman_templates/version.rb +1 -1
  21. data/locale/cs_CZ/LC_MESSAGES/foreman_templates.mo +0 -0
  22. data/locale/cs_CZ/foreman_templates.po +211 -0
  23. data/locale/de/LC_MESSAGES/foreman_templates.mo +0 -0
  24. data/locale/de/foreman_templates.po +215 -0
  25. data/locale/en_GB/LC_MESSAGES/foreman_templates.mo +0 -0
  26. data/locale/en_GB/foreman_templates.po +211 -0
  27. data/locale/es/LC_MESSAGES/foreman_templates.mo +0 -0
  28. data/locale/es/foreman_templates.po +211 -0
  29. data/locale/fr/LC_MESSAGES/foreman_templates.mo +0 -0
  30. data/locale/fr/foreman_templates.po +214 -0
  31. data/locale/gl/LC_MESSAGES/foreman_templates.mo +0 -0
  32. data/locale/gl/foreman_templates.po +209 -0
  33. data/locale/it/LC_MESSAGES/foreman_templates.mo +0 -0
  34. data/locale/it/foreman_templates.po +212 -0
  35. data/locale/ja/LC_MESSAGES/foreman_templates.mo +0 -0
  36. data/locale/ja/foreman_templates.po +212 -0
  37. data/locale/ka/LC_MESSAGES/foreman_templates.mo +0 -0
  38. data/locale/ka/foreman_templates.po +209 -0
  39. data/locale/ko/LC_MESSAGES/foreman_templates.mo +0 -0
  40. data/locale/ko/foreman_templates.po +210 -0
  41. data/locale/pt_BR/LC_MESSAGES/foreman_templates.mo +0 -0
  42. data/locale/pt_BR/foreman_templates.po +213 -0
  43. data/locale/ru/LC_MESSAGES/foreman_templates.mo +0 -0
  44. data/locale/ru/foreman_templates.po +214 -0
  45. data/locale/sv_SE/LC_MESSAGES/foreman_templates.mo +0 -0
  46. data/locale/sv_SE/foreman_templates.po +210 -0
  47. data/locale/zh_CN/LC_MESSAGES/foreman_templates.mo +0 -0
  48. data/locale/zh_CN/foreman_templates.po +212 -0
  49. data/locale/zh_TW/LC_MESSAGES/foreman_templates.mo +0 -0
  50. data/locale/zh_TW/foreman_templates.po +211 -0
  51. data/package.json +10 -36
  52. data/webpack/__mocks__/foremanReact/common/I18n.js +1 -0
  53. data/webpack/__tests__/helpers.test.js +1 -1
  54. data/webpack/components/NewTemplateSync/NewTemplateSync.js +2 -1
  55. data/webpack/components/NewTemplateSync/__tests__/NewTemplateSync.test.js +1 -1
  56. data/webpack/components/NewTemplateSync/__tests__/NewTemplateSyncReducer.test.js +1 -1
  57. data/webpack/components/NewTemplateSync/__tests__/NewTemplateSyncSelectors.test.js +1 -1
  58. data/webpack/components/NewTemplateSync/components/ButtonTooltip.js +8 -14
  59. data/webpack/components/NewTemplateSync/components/NewTemplateSyncForm/NewTemplateSyncForm.js +4 -3
  60. data/webpack/components/NewTemplateSync/components/NewTemplateSyncForm/__tests__/NewTemplateSyncFormSelectors.test.js +1 -1
  61. data/webpack/components/NewTemplateSync/components/SyncSettingField.js +3 -2
  62. data/webpack/components/NewTemplateSync/components/__tests__/SyncSettingField.test.js +1 -1
  63. data/webpack/components/NewTemplateSync/components/__tests__/SyncSettingFields.test.js +1 -1
  64. data/webpack/components/NewTemplateSync/components/__tests__/SyncTypeRadios.test.js +1 -1
  65. data/webpack/components/NewTemplateSync/components/__tests__/TextButtonField.test.js +1 -1
  66. data/webpack/components/PageNotFound.js +1 -0
  67. data/webpack/components/PermissionDenied.js +1 -0
  68. data/webpack/components/TemplateSyncResult/__tests__/TemplateSyncResult.test.js +1 -1
  69. data/webpack/components/TemplateSyncResult/__tests__/TemplateSyncResultReducer.test.js +1 -1
  70. data/webpack/components/TemplateSyncResult/components/FinishedSyncResult.js +3 -2
  71. data/webpack/components/TemplateSyncResult/components/SyncedTemplate/InfoItem.js +4 -8
  72. data/webpack/components/TemplateSyncResult/components/SyncedTemplate/StringInfoItem.js +2 -15
  73. data/webpack/components/TemplateSyncResult/components/SyncedTemplate/helpers.js +0 -1
  74. data/webpack/components/TemplateSyncResult/components/SyncedTemplate/helpers.test.js +1 -1
  75. data/webpack/components/TemplateSyncResult/components/__tests__/SyncResultList.test.js +1 -1
  76. data/webpack/components/TemplateSyncResult/components/__tests__/SyncedTemplate.test.js +1 -1
  77. data/webpack/components/TemplateSyncResult/components/__tests__/__snapshots__/SyncedTemplate.test.js.snap +0 -8
  78. data/webpack/testSetup.js +1 -1
  79. metadata +63 -3
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
2
+ import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
3
3
  import withProtectedView from '../withProtectedView';
4
4
 
5
5
  const ProtectedComponent = () => <div>Protected component</div>;
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import { LoadingState } from 'patternfly-react';
3
- import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
4
3
  import PropTypes from 'prop-types';
4
+ import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
5
+ import { translate as __ } from 'foremanReact/common/I18n';
5
6
 
6
7
  import NewTemplateSyncForm from './components/NewTemplateSyncForm';
7
8
  import './NewTemplateSync.scss';
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import NewTemplateSync from '../NewTemplateSync';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testReducerSnapshotWithFixtures } from 'react-redux-test-utils';
1
+ import { testReducerSnapshotWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import reducer, { initialState } from '../NewTemplateSyncReducer';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
1
+ import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import {
4
4
  importSettings,
@@ -1,20 +1,14 @@
1
1
  import React from 'react';
2
- import { Tooltip, Icon, OverlayTrigger } from 'patternfly-react';
2
+ import { Tooltip } from '@patternfly/react-core';
3
+ import { RedoIcon } from '@patternfly/react-icons';
3
4
  import PropTypes from 'prop-types';
5
+ import { translate as __ } from 'foremanReact/common/I18n';
4
6
 
5
- const ButtonTooltip = props => {
6
- const tooltip = (
7
- <Tooltip id={`${props.tooltipId}-tooltip-id`}>
8
- <span>Use default value from settings</span>
9
- </Tooltip>
10
- );
11
-
12
- return (
13
- <OverlayTrigger overlay={tooltip} trigger={['hover', 'focus']}>
14
- <Icon type="fa" name="refresh" />
15
- </OverlayTrigger>
16
- );
17
- };
7
+ const ButtonTooltip = ({ tooltipId }) => (
8
+ <Tooltip id={tooltipId} content={__('Use default value from settings')}>
9
+ <RedoIcon />
10
+ </Tooltip>
11
+ );
18
12
 
19
13
  ButtonTooltip.propTypes = {
20
14
  tooltipId: PropTypes.string.isRequired,
@@ -7,6 +7,7 @@ import {
7
7
  useForemanLocation,
8
8
  useForemanOrganization,
9
9
  } from 'foremanReact/Root/Context/ForemanContext';
10
+ import { translate as __ } from 'foremanReact/common/I18n';
10
11
 
11
12
  import SyncSettingsFields from '../SyncSettingFields';
12
13
  import SyncTypeRadios from '../SyncTypeRadios';
@@ -28,8 +29,8 @@ const NewTemplateSyncForm = ({
28
29
  currentUserPermissions[radioAttrs.permission];
29
30
 
30
31
  const radioButtons = [
31
- { label: 'Import', value: 'import', permission: 'import' },
32
- { label: 'Export', value: 'export', permission: 'export' },
32
+ { label: __('Import'), value: 'import', permission: 'import' },
33
+ { label: __('Export'), value: 'export', permission: 'export' },
33
34
  ];
34
35
 
35
36
  const [syncType, setSyncType] = useState(
@@ -99,7 +100,7 @@ const NewTemplateSyncForm = ({
99
100
  >
100
101
  <SyncTypeRadios
101
102
  name="syncType"
102
- controlLabel="Action type"
103
+ controlLabel={__('Action type')}
103
104
  radios={initRadioButtons(syncType)}
104
105
  />
105
106
  <SyncSettingsFields
@@ -1,4 +1,4 @@
1
- import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
1
+ import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import {
4
4
  stateFactory,
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { FieldLevelHelp } from 'patternfly-react';
4
+ import { translate as __ } from 'foremanReact/common/I18n';
4
5
 
5
6
  import TextButtonField from './TextButtonField';
6
7
  import ButtonTooltip from './ButtonTooltip';
7
8
 
8
9
  const SyncSettingField = ({ setting, resetField, disabled, syncType }) => {
9
- const label = settingObj => `${settingObj.fullName} `;
10
+ const label = settingObj => `${__(settingObj.fullName)} `;
10
11
 
11
12
  const fieldSelector = settingObj => {
12
13
  if (settingObj.settingsType === 'boolean') {
@@ -23,7 +24,7 @@ const SyncSettingField = ({ setting, resetField, disabled, syncType }) => {
23
24
  const tooltipContent = (
24
25
  <div
25
26
  dangerouslySetInnerHTML={{
26
- __html: setting.description,
27
+ __html: __(setting.description),
27
28
  }}
28
29
  />
29
30
  );
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import SyncSettingField from '../SyncSettingField';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import SyncSettingFields from '../SyncSettingFields';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import SyncTypeRadios from '../SyncTypeRadios';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import TextButtonField from '../TextButtonField';
4
4
 
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { EmptyStatePattern as EmptyState } from 'foremanReact/components/common/EmptyState';
3
+ import { translate as __ } from 'foremanReact/common/I18n';
3
4
 
4
5
  const PageNotFound = props => (
5
6
  <EmptyState
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
 
4
+ import { translate as __ } from 'foremanReact/common/I18n';
4
5
  import { EmptyStatePattern as EmptyState } from 'foremanReact/components/common/EmptyState';
5
6
 
6
7
  const PermissionDenied = props => {
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import {
4
4
  importTemplates,
@@ -1,4 +1,4 @@
1
- import { testReducerSnapshotWithFixtures } from 'react-redux-test-utils';
1
+ import { testReducerSnapshotWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import reducer, { initialState } from '../TemplateSyncResultReducer';
4
4
  import { importTemplates } from '../__fixtures__/templateSyncResult.fixtures';
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { capitalize } from 'lodash';
4
+ import { LinkContainer } from 'react-router-bootstrap';
5
+ import { Button } from 'patternfly-react';
4
6
 
7
+ import { translate as __ } from 'foremanReact/common/I18n';
5
8
  import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
6
- import { LinkContainer } from 'react-router-bootstrap';
7
9
 
8
- import { Button } from 'patternfly-react';
9
10
  import SyncResultList from './SyncResultList';
10
11
 
11
12
  const titleString = (type, repo, branch, gitUser, fileRepoStartWith) => {
@@ -1,17 +1,13 @@
1
1
  import React from 'react';
2
- import { ListView, OverlayTrigger, Tooltip } from 'patternfly-react';
2
+ import { ListView } from 'patternfly-react';
3
+ import { Tooltip } from '@patternfly/react-core';
3
4
  import PropTypes from 'prop-types';
4
5
 
5
6
  const InfoItem = ({ itemId, children, tooltipText }) => {
6
7
  const overlay = (
7
- <OverlayTrigger
8
- overlay={tooltipText ? <Tooltip id={itemId}>{tooltipText}</Tooltip> : ''}
9
- placement="top"
10
- trigger={['hover', 'focus']}
11
- rootClose={false}
12
- >
8
+ <Tooltip content={tooltipText || ''} id={itemId}>
13
9
  {children}
14
- </OverlayTrigger>
10
+ </Tooltip>
15
11
  );
16
12
  return (
17
13
  <ListView.InfoItem key={itemId} className="additional-info-wide">
@@ -5,19 +5,8 @@ import PropTypes from 'prop-types';
5
5
  import InfoItem from './InfoItem';
6
6
  import { itemIteratorId } from './helpers';
7
7
 
8
- const StringInfoItem = ({
9
- template,
10
- attr,
11
- tooltipText,
12
- translate,
13
- mapAttr,
14
- elipsed,
15
- }) => {
16
- const inner = (
17
- <span>
18
- {translate ? __(mapAttr(template, attr)) : mapAttr(template, attr)}
19
- </span>
20
- );
8
+ const StringInfoItem = ({ template, attr, tooltipText, mapAttr, elipsed }) => {
9
+ const inner = <span>{mapAttr(template, attr)}</span>;
21
10
  const innerContent = elipsed ? (
22
11
  <EllipsisWithTooltip placement="top">{inner}</EllipsisWithTooltip>
23
12
  ) : (
@@ -35,13 +24,11 @@ StringInfoItem.propTypes = {
35
24
  template: PropTypes.object.isRequired,
36
25
  attr: PropTypes.string.isRequired,
37
26
  tooltipText: PropTypes.string,
38
- translate: PropTypes.bool,
39
27
  mapAttr: PropTypes.func,
40
28
  elipsed: PropTypes.bool,
41
29
  };
42
30
 
43
31
  StringInfoItem.defaultProps = {
44
- translate: false,
45
32
  mapAttr: (template, attr) => template[attr],
46
33
  elipsed: false,
47
34
  tooltipText: undefined,
@@ -55,7 +55,6 @@ export const additionalInfo = (template, editPath) => {
55
55
  <StringInfoItem
56
56
  template={template}
57
57
  attr={attr}
58
- translate
59
58
  mapAttr={(templateObj, attribute) =>
60
59
  classNameMap[templateObj[attribute]]
61
60
  ? classNameMap[templateObj[attribute]]
@@ -1,4 +1,4 @@
1
- import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
1
+ import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import { expandableContent } from './helpers';
4
4
 
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
 
3
3
  import SyncResultList from '../SyncResultList';
4
4
  import { importTemplates } from '../../__fixtures__/templateSyncResult.fixtures';
@@ -1,4 +1,4 @@
1
- import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
1
+ import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
2
2
  import SyncedTemplate from '../SyncedTemplate';
3
3
  import {
4
4
  noName,
@@ -79,7 +79,6 @@ exports[`SyncedTemplate should render skipped template 1`] = `
79
79
  "templateFile": "coreos_default.erb",
80
80
  }
81
81
  }
82
- translate={true}
83
82
  />,
84
83
  <EmptyInfoItem
85
84
  attr="kind"
@@ -118,7 +117,6 @@ exports[`SyncedTemplate should render skipped template 1`] = `
118
117
  "templateFile": "coreos_default.erb",
119
118
  }
120
119
  }
121
- translate={false}
122
120
  />,
123
121
  ]
124
122
  }
@@ -236,7 +234,6 @@ exports[`SyncedTemplate should render template with invalid metadata 1`] = `
236
234
  "templateFile": "random_template.erb",
237
235
  }
238
236
  }
239
- translate={false}
240
237
  />,
241
238
  ]
242
239
  }
@@ -361,7 +358,6 @@ exports[`SyncedTemplate should render template with validation errors 1`] = `
361
358
  "templateFile": "epel.erb",
362
359
  }
363
360
  }
364
- translate={true}
365
361
  />,
366
362
  <StringInfoItem
367
363
  attr="kind"
@@ -384,7 +380,6 @@ exports[`SyncedTemplate should render template with validation errors 1`] = `
384
380
  "templateFile": "epel.erb",
385
381
  }
386
382
  }
387
- translate={false}
388
383
  />,
389
384
  <StringInfoItem
390
385
  attr="templateFile"
@@ -407,7 +402,6 @@ exports[`SyncedTemplate should render template with validation errors 1`] = `
407
402
  "templateFile": "epel.erb",
408
403
  }
409
404
  }
410
- translate={false}
411
405
  />,
412
406
  ]
413
407
  }
@@ -508,7 +502,6 @@ exports[`SyncedTemplate should render template without errros 1`] = `
508
502
  "templateFile": "coreos_default.erb",
509
503
  }
510
504
  }
511
- translate={true}
512
505
  />,
513
506
  <EmptyInfoItem
514
507
  attr="kind"
@@ -541,7 +534,6 @@ exports[`SyncedTemplate should render template without errros 1`] = `
541
534
  "templateFile": "coreos_default.erb",
542
535
  }
543
536
  }
544
- translate={false}
545
537
  />,
546
538
  ]
547
539
  }
data/webpack/testSetup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import 'core-js/shim';
2
2
  import 'regenerator-runtime/runtime';
3
3
 
4
- import { configure } from 'enzyme';
4
+ import { configure } from '@theforeman/test';
5
5
  import Adapter from 'enzyme-adapter-react-16';
6
6
 
7
7
  configure({ adapter: new Adapter() });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.2.0
4
+ version: 9.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: Engine to synchronise provisioning templates from GitHub
56
70
  email: gsutclif@redhat.com
57
71
  executables: []
@@ -63,6 +77,21 @@ files:
63
77
  - LICENSE
64
78
  - README.md
65
79
  - Rakefile
80
+ - app/assets/javascripts/foreman_templates/locale/cs_CZ/foreman_templates.js
81
+ - app/assets/javascripts/foreman_templates/locale/de/foreman_templates.js
82
+ - app/assets/javascripts/foreman_templates/locale/en_GB/foreman_templates.js
83
+ - app/assets/javascripts/foreman_templates/locale/es/foreman_templates.js
84
+ - app/assets/javascripts/foreman_templates/locale/fr/foreman_templates.js
85
+ - app/assets/javascripts/foreman_templates/locale/gl/foreman_templates.js
86
+ - app/assets/javascripts/foreman_templates/locale/it/foreman_templates.js
87
+ - app/assets/javascripts/foreman_templates/locale/ja/foreman_templates.js
88
+ - app/assets/javascripts/foreman_templates/locale/ka/foreman_templates.js
89
+ - app/assets/javascripts/foreman_templates/locale/ko/foreman_templates.js
90
+ - app/assets/javascripts/foreman_templates/locale/pt_BR/foreman_templates.js
91
+ - app/assets/javascripts/foreman_templates/locale/ru/foreman_templates.js
92
+ - app/assets/javascripts/foreman_templates/locale/sv_SE/foreman_templates.js
93
+ - app/assets/javascripts/foreman_templates/locale/zh_CN/foreman_templates.js
94
+ - app/assets/javascripts/foreman_templates/locale/zh_TW/foreman_templates.js
66
95
  - app/controllers/api/v2/template_controller.rb
67
96
  - app/controllers/concerns/foreman/controller/parameters/template_params.rb
68
97
  - app/controllers/template_syncs_controller.rb
@@ -93,10 +122,41 @@ files:
93
122
  - lib/foreman_templates/engine.rb
94
123
  - lib/foreman_templates/version.rb
95
124
  - lib/tasks/foreman_templates_tasks.rake
125
+ - locale/cs_CZ/LC_MESSAGES/foreman_templates.mo
126
+ - locale/cs_CZ/foreman_templates.po
127
+ - locale/de/LC_MESSAGES/foreman_templates.mo
128
+ - locale/de/foreman_templates.po
129
+ - locale/en_GB/LC_MESSAGES/foreman_templates.mo
130
+ - locale/en_GB/foreman_templates.po
131
+ - locale/es/LC_MESSAGES/foreman_templates.mo
132
+ - locale/es/foreman_templates.po
133
+ - locale/fr/LC_MESSAGES/foreman_templates.mo
134
+ - locale/fr/foreman_templates.po
135
+ - locale/gl/LC_MESSAGES/foreman_templates.mo
136
+ - locale/gl/foreman_templates.po
137
+ - locale/it/LC_MESSAGES/foreman_templates.mo
138
+ - locale/it/foreman_templates.po
139
+ - locale/ja/LC_MESSAGES/foreman_templates.mo
140
+ - locale/ja/foreman_templates.po
141
+ - locale/ka/LC_MESSAGES/foreman_templates.mo
142
+ - locale/ka/foreman_templates.po
143
+ - locale/ko/LC_MESSAGES/foreman_templates.mo
144
+ - locale/ko/foreman_templates.po
145
+ - locale/pt_BR/LC_MESSAGES/foreman_templates.mo
146
+ - locale/pt_BR/foreman_templates.po
147
+ - locale/ru/LC_MESSAGES/foreman_templates.mo
148
+ - locale/ru/foreman_templates.po
149
+ - locale/sv_SE/LC_MESSAGES/foreman_templates.mo
150
+ - locale/sv_SE/foreman_templates.po
151
+ - locale/zh_CN/LC_MESSAGES/foreman_templates.mo
152
+ - locale/zh_CN/foreman_templates.po
153
+ - locale/zh_TW/LC_MESSAGES/foreman_templates.mo
154
+ - locale/zh_TW/foreman_templates.po
96
155
  - package.json
97
156
  - webpack/ForemanTemplates.js
98
157
  - webpack/Routes.js
99
158
  - webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js
159
+ - webpack/__mocks__/foremanReact/common/I18n.js
100
160
  - webpack/__mocks__/foremanReact/common/helpers.js
101
161
  - webpack/__mocks__/foremanReact/components/Layout/LayoutSelectors.js
102
162
  - webpack/__mocks__/foremanReact/components/Pagination/index.js
@@ -200,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
260
  - !ruby/object:Gem::Version
201
261
  version: '0'
202
262
  requirements: []
203
- rubygems_version: 3.1.2
263
+ rubygems_version: 3.1.6
204
264
  signing_key:
205
265
  specification_version: 4
206
266
  summary: Template-syncing engine for Foreman