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
@@ -0,0 +1,210 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_templates package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # johnny.westerlund <johnny.westerlund@gmail.com>, 2019
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: foreman_templates 9.3.0\n"
12
+ "Report-Msgid-Bugs-To: \n"
13
+ "PO-Revision-Date: 2019-10-14 12:27+0000\n"
14
+ "Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2019\n"
15
+ "Language-Team: Swedish (Sweden) (https://www.transifex.com/foreman/teams/114/s"
16
+ "v_SE/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: sv_SE\n"
21
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
+
23
+ msgid "Action with sub plans"
24
+ msgstr ""
25
+
26
+ msgid "Always"
27
+ msgstr ""
28
+
29
+ msgid "Associate"
30
+ msgstr ""
31
+
32
+ msgid "Associate templates to OS, organization and location"
33
+ msgstr ""
34
+
35
+ msgid "Associate to OS's, Locations & Organizations. Options are: always, new or never."
36
+ msgstr ""
37
+
38
+ msgid "Back to sync form"
39
+ msgstr ""
40
+
41
+ msgid "Branch"
42
+ msgstr ""
43
+
44
+ msgid "Branch in Git repo."
45
+ msgstr ""
46
+
47
+ msgid "Choose verbosity for Rake task importing templates"
48
+ msgstr ""
49
+
50
+ msgid "Commit message"
51
+ msgstr ""
52
+
53
+ msgid "Custom commit message for templates export"
54
+ msgstr ""
55
+
56
+ msgid "Default branch in Git repo"
57
+ msgstr ""
58
+
59
+ msgid "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata"
60
+ msgstr ""
61
+
62
+ msgid "Dirname"
63
+ msgstr ""
64
+
65
+ msgid "Export templates with names matching this regex (case-insensitive; snippets are not filtered)."
66
+ msgstr ""
67
+
68
+ msgid "Filter"
69
+ msgstr "Filter"
70
+
71
+ msgid "Force import"
72
+ msgstr ""
73
+
74
+ msgid "How to handle lock for imported templates?"
75
+ msgstr ""
76
+
77
+ msgid "Import Puppet classes"
78
+ msgstr ""
79
+
80
+ msgid "Import facts"
81
+ msgstr ""
82
+
83
+ msgid "Import or Export Templates"
84
+ msgstr ""
85
+
86
+ msgid "Import/export names matching this regex (case-insensitive; snippets are not filtered)"
87
+ msgstr ""
88
+
89
+ msgid "Initiate Export"
90
+ msgstr ""
91
+
92
+ msgid "Initiate Import"
93
+ msgstr ""
94
+
95
+ msgid "Keep"
96
+ msgstr ""
97
+
98
+ msgid "Keep, do not lock new"
99
+ msgstr ""
100
+
101
+ msgid "Keep, lock new"
102
+ msgstr ""
103
+
104
+ msgid "Lock"
105
+ msgstr ""
106
+
107
+ msgid "Lock imported templates"
108
+ msgstr ""
109
+
110
+ msgid "Lock templates"
111
+ msgstr ""
112
+
113
+ msgid "Metadata export mode"
114
+ msgstr ""
115
+
116
+ msgid "Negate"
117
+ msgstr ""
118
+
119
+ msgid "Negate the filter for import/export"
120
+ msgstr ""
121
+
122
+ msgid "Negate the prefix (for purging)."
123
+ msgstr ""
124
+
125
+ msgid "Never"
126
+ msgstr ""
127
+
128
+ msgid "New"
129
+ msgstr "Ny"
130
+
131
+ msgid "Override the default repo from settings."
132
+ msgstr ""
133
+
134
+ msgid "Page Not Found"
135
+ msgstr ""
136
+
137
+ msgid "Permission Denied"
138
+ msgstr ""
139
+
140
+ msgid "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'."
141
+ msgstr ""
142
+
143
+ msgid "Please request one of the required permissions listed below from a Foreman administrator:"
144
+ msgstr ""
145
+
146
+ msgid "Prefix"
147
+ msgstr ""
148
+
149
+ msgid "Refresh"
150
+ msgstr ""
151
+
152
+ msgid "Remote action:"
153
+ msgstr ""
154
+
155
+ msgid "Remove"
156
+ msgstr ""
157
+
158
+ msgid "Repo"
159
+ msgstr ""
160
+
161
+ msgid "Should importing overwrite locked templates?"
162
+ msgstr ""
163
+
164
+ msgid "Show template diff in response"
165
+ msgstr ""
166
+
167
+ msgid "Specify how to handle metadata"
168
+ msgstr ""
169
+
170
+ msgid "Sync Templates"
171
+ msgstr ""
172
+
173
+ msgid "Target path to import/export. Different protocols can be used, for example /tmp/dir, git://example.com, https://example.com, ssh://example.com. When exporting to /tmp, note that production deployments may be configured to use private tmp."
174
+ msgstr ""
175
+
176
+ msgid "Template Sync"
177
+ msgstr ""
178
+
179
+ msgid "The directory within Git repo containing the templates"
180
+ msgstr ""
181
+
182
+ msgid "The directory within the Git repo containing the templates"
183
+ msgstr ""
184
+
185
+ msgid "The page you are looking for does not exist"
186
+ msgstr ""
187
+
188
+ msgid "The string all imported templates should begin with."
189
+ msgstr ""
190
+
191
+ msgid "The string that will be added as prefix to imported templates"
192
+ msgstr ""
193
+
194
+ msgid "Unlock"
195
+ msgstr ""
196
+
197
+ msgid "Update templates that are locked"
198
+ msgstr ""
199
+
200
+ msgid "Use default value from settings"
201
+ msgstr ""
202
+
203
+ msgid "Using file-based synchronization, but couldn't access %s. "
204
+ msgstr ""
205
+
206
+ msgid "Verbosity"
207
+ msgstr ""
208
+
209
+ msgid "You are not authorized to perform this action."
210
+ msgstr ""
@@ -0,0 +1,212 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_templates package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Martin Liu <liuzh66@gmail.com>, 2019
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
10
+ #
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: foreman_templates 9.3.0\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "PO-Revision-Date: 2019-10-14 12:27+0000\n"
16
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
17
+ "Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
18
+ "_CN/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: zh_CN\n"
23
+ "Plural-Forms: nplurals=1; plural=0;\n"
24
+
25
+ msgid "Action with sub plans"
26
+ msgstr "有子计划的操作"
27
+
28
+ msgid "Always"
29
+ msgstr "总是"
30
+
31
+ msgid "Associate"
32
+ msgstr "关联"
33
+
34
+ msgid "Associate templates to OS, organization and location"
35
+ msgstr "将模板与操作系统,机构和位置相关联"
36
+
37
+ msgid "Associate to OS's, Locations & Organizations. Options are: always, new or never."
38
+ msgstr "与操作系统,位置和机构相关。选项为:总是,新的或永不。"
39
+
40
+ msgid "Back to sync form"
41
+ msgstr "返回到同步表单"
42
+
43
+ msgid "Branch"
44
+ msgstr "分支"
45
+
46
+ msgid "Branch in Git repo."
47
+ msgstr "Git 仓库中的分支。"
48
+
49
+ msgid "Choose verbosity for Rake task importing templates"
50
+ msgstr "为 Rake 任务导入模板选择详细程度"
51
+
52
+ msgid "Commit message"
53
+ msgstr "提交消息"
54
+
55
+ msgid "Custom commit message for templates export"
56
+ msgstr "模板导出的自定义提交消息"
57
+
58
+ msgid "Default branch in Git repo"
59
+ msgstr "Git 仓库中的默认分支"
60
+
61
+ msgid "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata"
62
+ msgstr "默认元数据导出模式,刷新后重新渲染元数据,保留将保留现有元数据,删除不包含元数据的导出模板"
63
+
64
+ msgid "Dirname"
65
+ msgstr "Dirname"
66
+
67
+ msgid "Export templates with names matching this regex (case-insensitive; snippets are not filtered)."
68
+ msgstr "导出名称与此正则表达式匹配的模板(不区分大小写;不过滤代码段)。"
69
+
70
+ msgid "Filter"
71
+ msgstr "过滤器"
72
+
73
+ msgid "Force import"
74
+ msgstr "强制导入"
75
+
76
+ msgid "How to handle lock for imported templates?"
77
+ msgstr "如何处理导入的模板锁定?"
78
+
79
+ msgid "Import Puppet classes"
80
+ msgstr "导入 Puppet 类"
81
+
82
+ msgid "Import facts"
83
+ msgstr "导入事实"
84
+
85
+ msgid "Import or Export Templates"
86
+ msgstr "导入或导出模板"
87
+
88
+ msgid "Import/export names matching this regex (case-insensitive; snippets are not filtered)"
89
+ msgstr "导入/导出与该正则表达式匹配的名称(不区分大小写;不过滤代码段)"
90
+
91
+ msgid "Initiate Export"
92
+ msgstr "启动导出"
93
+
94
+ msgid "Initiate Import"
95
+ msgstr "启动导入"
96
+
97
+ msgid "Keep"
98
+ msgstr "保持"
99
+
100
+ msgid "Keep, do not lock new"
101
+ msgstr "keep,不锁定新的"
102
+
103
+ msgid "Keep, lock new"
104
+ msgstr "keep, 锁定新的"
105
+
106
+ msgid "Lock"
107
+ msgstr "锁定"
108
+
109
+ msgid "Lock imported templates"
110
+ msgstr "锁定导入的模板"
111
+
112
+ msgid "Lock templates"
113
+ msgstr "锁定模板"
114
+
115
+ msgid "Metadata export mode"
116
+ msgstr "元数据导出模式"
117
+
118
+ msgid "Negate"
119
+ msgstr "否定"
120
+
121
+ msgid "Negate the filter for import/export"
122
+ msgstr "导入/导出的负过滤器"
123
+
124
+ msgid "Negate the prefix (for purging)."
125
+ msgstr "否定前缀(用于清除)。"
126
+
127
+ msgid "Never"
128
+ msgstr "决不"
129
+
130
+ msgid "New"
131
+ msgstr "新"
132
+
133
+ msgid "Override the default repo from settings."
134
+ msgstr "覆盖设置中的默认仓库。"
135
+
136
+ msgid "Page Not Found"
137
+ msgstr "页没有找到"
138
+
139
+ msgid "Permission Denied"
140
+ msgstr "没有足够权限"
141
+
142
+ msgid "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'."
143
+ msgstr "请检查访问权限/ SELinux,确保 Web 应用程序用户帐户(通常为 '%s')可读写。"
144
+
145
+ msgid "Please request one of the required permissions listed below from a Foreman administrator:"
146
+ msgstr "请向 Foreman 管理员请求下列所需权限之一:"
147
+
148
+ msgid "Prefix"
149
+ msgstr "前缀"
150
+
151
+ msgid "Refresh"
152
+ msgstr "刷新"
153
+
154
+ msgid "Remote action:"
155
+ msgstr "远程操作:"
156
+
157
+ msgid "Remove"
158
+ msgstr "移除"
159
+
160
+ msgid "Repo"
161
+ msgstr "仓库"
162
+
163
+ msgid "Should importing overwrite locked templates?"
164
+ msgstr "是否应该导入覆盖锁定的模板?"
165
+
166
+ msgid "Show template diff in response"
167
+ msgstr "显示模板差异作为响应"
168
+
169
+ msgid "Specify how to handle metadata"
170
+ msgstr "指定如何处理元数据"
171
+
172
+ msgid "Sync Templates"
173
+ msgstr "同步模板"
174
+
175
+ msgid "Target path to import/export. Different protocols can be used, for example /tmp/dir, git://example.com, https://example.com, ssh://example.com. When exporting to /tmp, note that production deployments may be configured to use private tmp."
176
+ msgstr "要导入/导出的目标路径。可以使用不同的协议,如 /tmp/dir、git://example.com、https://example.com、ssh://example.com. 当导出至 /tmp 时,请注意,生产部署可能被配置为使用私有 tmp。"
177
+
178
+ msgid "Template Sync"
179
+ msgstr "模板同步"
180
+
181
+ msgid "The directory within Git repo containing the templates"
182
+ msgstr "Git 仓库中包含模板的目录"
183
+
184
+ msgid "The directory within the Git repo containing the templates"
185
+ msgstr "Git 仓库中包含模板的目录"
186
+
187
+ msgid "The page you are looking for does not exist"
188
+ msgstr "您查找的页面不存在"
189
+
190
+ msgid "The string all imported templates should begin with."
191
+ msgstr "所有导入的模板应以字符串开头。"
192
+
193
+ msgid "The string that will be added as prefix to imported templates"
194
+ msgstr "将作为前缀添加到导入模板的字符串"
195
+
196
+ msgid "Unlock"
197
+ msgstr "开锁"
198
+
199
+ msgid "Update templates that are locked"
200
+ msgstr "更新锁定的模板"
201
+
202
+ msgid "Use default value from settings"
203
+ msgstr "使用设置中的默认值"
204
+
205
+ msgid "Using file-based synchronization, but couldn't access %s. "
206
+ msgstr "使用基于文件的同步,但无法访问 %s。 "
207
+
208
+ msgid "Verbosity"
209
+ msgstr "详细度"
210
+
211
+ msgid "You are not authorized to perform this action."
212
+ msgstr "您没有执行这个操作的授权。"
@@ -0,0 +1,211 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_templates package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2019
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: foreman_templates 9.3.0\n"
13
+ "Report-Msgid-Bugs-To: \n"
14
+ "PO-Revision-Date: 2019-10-14 12:27+0000\n"
15
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2022\n"
16
+ "Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
17
+ "h_TW/)\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Language: zh_TW\n"
22
+ "Plural-Forms: nplurals=1; plural=0;\n"
23
+
24
+ msgid "Action with sub plans"
25
+ msgstr "有子計畫的動作"
26
+
27
+ msgid "Always"
28
+ msgstr ""
29
+
30
+ msgid "Associate"
31
+ msgstr ""
32
+
33
+ msgid "Associate templates to OS, organization and location"
34
+ msgstr ""
35
+
36
+ msgid "Associate to OS's, Locations & Organizations. Options are: always, new or never."
37
+ msgstr ""
38
+
39
+ msgid "Back to sync form"
40
+ msgstr ""
41
+
42
+ msgid "Branch"
43
+ msgstr ""
44
+
45
+ msgid "Branch in Git repo."
46
+ msgstr ""
47
+
48
+ msgid "Choose verbosity for Rake task importing templates"
49
+ msgstr ""
50
+
51
+ msgid "Commit message"
52
+ msgstr ""
53
+
54
+ msgid "Custom commit message for templates export"
55
+ msgstr ""
56
+
57
+ msgid "Default branch in Git repo"
58
+ msgstr ""
59
+
60
+ msgid "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata"
61
+ msgstr ""
62
+
63
+ msgid "Dirname"
64
+ msgstr ""
65
+
66
+ msgid "Export templates with names matching this regex (case-insensitive; snippets are not filtered)."
67
+ msgstr ""
68
+
69
+ msgid "Filter"
70
+ msgstr "篩選器"
71
+
72
+ msgid "Force import"
73
+ msgstr ""
74
+
75
+ msgid "How to handle lock for imported templates?"
76
+ msgstr ""
77
+
78
+ msgid "Import Puppet classes"
79
+ msgstr "匯入 Puppet 類別"
80
+
81
+ msgid "Import facts"
82
+ msgstr "匯入詳情"
83
+
84
+ msgid "Import or Export Templates"
85
+ msgstr ""
86
+
87
+ msgid "Import/export names matching this regex (case-insensitive; snippets are not filtered)"
88
+ msgstr ""
89
+
90
+ msgid "Initiate Export"
91
+ msgstr ""
92
+
93
+ msgid "Initiate Import"
94
+ msgstr ""
95
+
96
+ msgid "Keep"
97
+ msgstr ""
98
+
99
+ msgid "Keep, do not lock new"
100
+ msgstr ""
101
+
102
+ msgid "Keep, lock new"
103
+ msgstr ""
104
+
105
+ msgid "Lock"
106
+ msgstr "鎖定"
107
+
108
+ msgid "Lock imported templates"
109
+ msgstr ""
110
+
111
+ msgid "Lock templates"
112
+ msgstr ""
113
+
114
+ msgid "Metadata export mode"
115
+ msgstr ""
116
+
117
+ msgid "Negate"
118
+ msgstr ""
119
+
120
+ msgid "Negate the filter for import/export"
121
+ msgstr ""
122
+
123
+ msgid "Negate the prefix (for purging)."
124
+ msgstr ""
125
+
126
+ msgid "Never"
127
+ msgstr "永不"
128
+
129
+ msgid "New"
130
+ msgstr "新增"
131
+
132
+ msgid "Override the default repo from settings."
133
+ msgstr ""
134
+
135
+ msgid "Page Not Found"
136
+ msgstr ""
137
+
138
+ msgid "Permission Denied"
139
+ msgstr ""
140
+
141
+ msgid "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'."
142
+ msgstr ""
143
+
144
+ msgid "Please request one of the required permissions listed below from a Foreman administrator:"
145
+ msgstr "請從 Foreman 管理者處,要求下列所需權限之一:"
146
+
147
+ msgid "Prefix"
148
+ msgstr ""
149
+
150
+ msgid "Refresh"
151
+ msgstr "重新整理"
152
+
153
+ msgid "Remote action:"
154
+ msgstr "遠端動作:"
155
+
156
+ msgid "Remove"
157
+ msgstr "移除"
158
+
159
+ msgid "Repo"
160
+ msgstr "軟體庫"
161
+
162
+ msgid "Should importing overwrite locked templates?"
163
+ msgstr ""
164
+
165
+ msgid "Show template diff in response"
166
+ msgstr ""
167
+
168
+ msgid "Specify how to handle metadata"
169
+ msgstr ""
170
+
171
+ msgid "Sync Templates"
172
+ msgstr ""
173
+
174
+ msgid "Target path to import/export. Different protocols can be used, for example /tmp/dir, git://example.com, https://example.com, ssh://example.com. When exporting to /tmp, note that production deployments may be configured to use private tmp."
175
+ msgstr ""
176
+
177
+ msgid "Template Sync"
178
+ msgstr ""
179
+
180
+ msgid "The directory within Git repo containing the templates"
181
+ msgstr ""
182
+
183
+ msgid "The directory within the Git repo containing the templates"
184
+ msgstr ""
185
+
186
+ msgid "The page you are looking for does not exist"
187
+ msgstr ""
188
+
189
+ msgid "The string all imported templates should begin with."
190
+ msgstr ""
191
+
192
+ msgid "The string that will be added as prefix to imported templates"
193
+ msgstr ""
194
+
195
+ msgid "Unlock"
196
+ msgstr "解鎖"
197
+
198
+ msgid "Update templates that are locked"
199
+ msgstr ""
200
+
201
+ msgid "Use default value from settings"
202
+ msgstr ""
203
+
204
+ msgid "Using file-based synchronization, but couldn't access %s. "
205
+ msgstr ""
206
+
207
+ msgid "Verbosity"
208
+ msgstr ""
209
+
210
+ msgid "You are not authorized to perform this action."
211
+ msgstr "您未經許可執行這項動作。"
data/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "test": "test"
8
8
  },
9
9
  "scripts": {
10
- "test": "node node_modules/.bin/jest webpack",
11
- "lint": "./node_modules/.bin/eslint -c .eslintrc webpack/"
10
+ "test": "tfm-test --plugin",
11
+ "lint": "tfm-lint --plugin -d /webpack"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
@@ -21,45 +21,19 @@
21
21
  },
22
22
  "homepage": "https://github.com/theforeman/foreman_templates",
23
23
  "peerDependencies": {
24
- "@theforeman/vendor": ">= 3.3.2"
24
+ "@theforeman/vendor": "^10.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@babel/core": "^7.7.0",
28
- "@theforeman/env": "^3.3.2",
29
- "@theforeman/builder": "^4.0.2",
30
- "@theforeman/vendor-dev": "^3.3.2",
28
+ "@theforeman/builder": ">= 12.0.1",
29
+ "@theforeman/eslint-plugin-foreman": ">= 12.0.1",
30
+ "@theforeman/vendor-dev": ">= 12.0.1",
31
+ "@theforeman/test": ">= 12.0.1",
32
+ "@theforeman/stories": ">= 12.0.1",
31
33
  "babel-eslint": "^10.0.0",
32
- "babel-jest": "^24.9.0",
33
- "enzyme": "^3.7.0",
34
- "enzyme-adapter-react-16": "^1.7.0",
35
- "enzyme-to-json": "^3.3.5",
36
34
  "eslint": "^6.8.0",
37
- "eslint-plugin-patternfly-react": "^0.3.0",
35
+ "eslint-plugin-patternfly-react": "0.2.0",
38
36
  "identity-obj-proxy": "^3.0.0",
39
- "jest": "^24.9.0",
40
- "prettier": "^1.19.1",
41
- "react-redux-test-utils": "^0.1.1"
42
- },
43
- "jest": {
44
- "verbose": true,
45
- "moduleDirectories": [
46
- "node_modules/@theforeman/vendor-core/node_modules",
47
- "node_modules",
48
- "webpack"
49
- ],
50
- "transform": {
51
- "^.+\\.js$": "babel-jest"
52
- },
53
- "setupFiles": [
54
- "raf/polyfill",
55
- "./webpack/testSetup.js"
56
- ],
57
- "testPathIgnorePatterns": [
58
- "/node_modules/",
59
- "<rootDir>/foreman/"
60
- ],
61
- "moduleNameMapper": {
62
- "^.+\\.(css|scss)$": "identity-obj-proxy"
63
- }
37
+ "prettier": "^1.19.1"
64
38
  }
65
39
  }
@@ -0,0 +1 @@
1
+ export const translate = s => s;