foreman_templates 9.4.0 → 9.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_templates/locale/cs_CZ/foreman_templates.js +95 -98
  3. data/app/assets/javascripts/foreman_templates/locale/de/foreman_templates.js +108 -111
  4. data/app/assets/javascripts/foreman_templates/locale/en_GB/foreman_templates.js +64 -67
  5. data/app/assets/javascripts/foreman_templates/locale/es/foreman_templates.js +108 -111
  6. data/app/assets/javascripts/foreman_templates/locale/fr/foreman_templates.js +108 -111
  7. data/app/assets/javascripts/foreman_templates/locale/gl/foreman_templates.js +63 -66
  8. data/app/assets/javascripts/foreman_templates/locale/it/foreman_templates.js +78 -81
  9. data/app/assets/javascripts/foreman_templates/locale/ja/foreman_templates.js +116 -119
  10. data/app/assets/javascripts/foreman_templates/locale/ka/foreman_templates.js +116 -119
  11. data/app/assets/javascripts/foreman_templates/locale/ko/foreman_templates.js +79 -82
  12. data/app/assets/javascripts/foreman_templates/locale/pt_BR/foreman_templates.js +108 -111
  13. data/app/assets/javascripts/foreman_templates/locale/ru/foreman_templates.js +79 -82
  14. data/app/assets/javascripts/foreman_templates/locale/sv_SE/foreman_templates.js +63 -66
  15. data/app/assets/javascripts/foreman_templates/locale/zh_CN/foreman_templates.js +116 -119
  16. data/app/assets/javascripts/foreman_templates/locale/zh_TW/foreman_templates.js +79 -82
  17. data/app/models/concerns/foreman_templates/template_extensions.rb +1 -1
  18. data/app/services/foreman_templates/parse_result.rb +2 -2
  19. data/app/services/foreman_templates/template_exporter.rb +4 -2
  20. data/app/services/foreman_templates/template_importer.rb +2 -2
  21. data/lib/foreman_templates/version.rb +1 -1
  22. data/locale/cs_CZ/LC_MESSAGES/foreman_templates.mo +0 -0
  23. data/locale/cs_CZ/foreman_templates.po +7 -10
  24. data/locale/de/LC_MESSAGES/foreman_templates.mo +0 -0
  25. data/locale/de/foreman_templates.po +7 -10
  26. data/locale/en_GB/LC_MESSAGES/foreman_templates.mo +0 -0
  27. data/locale/en_GB/foreman_templates.po +7 -10
  28. data/locale/es/LC_MESSAGES/foreman_templates.mo +0 -0
  29. data/locale/es/foreman_templates.po +7 -10
  30. data/locale/fr/LC_MESSAGES/foreman_templates.mo +0 -0
  31. data/locale/fr/foreman_templates.po +7 -10
  32. data/locale/gl/foreman_templates.po +5 -8
  33. data/locale/it/LC_MESSAGES/foreman_templates.mo +0 -0
  34. data/locale/it/foreman_templates.po +6 -9
  35. data/locale/ja/LC_MESSAGES/foreman_templates.mo +0 -0
  36. data/locale/ja/foreman_templates.po +7 -10
  37. data/locale/ka/LC_MESSAGES/foreman_templates.mo +0 -0
  38. data/locale/ka/foreman_templates.po +7 -10
  39. data/locale/ko/LC_MESSAGES/foreman_templates.mo +0 -0
  40. data/locale/ko/foreman_templates.po +7 -10
  41. data/locale/pt_BR/LC_MESSAGES/foreman_templates.mo +0 -0
  42. data/locale/pt_BR/foreman_templates.po +7 -10
  43. data/locale/ru/LC_MESSAGES/foreman_templates.mo +0 -0
  44. data/locale/ru/foreman_templates.po +7 -10
  45. data/locale/sv_SE/foreman_templates.po +5 -8
  46. data/locale/zh_CN/LC_MESSAGES/foreman_templates.mo +0 -0
  47. data/locale/zh_CN/foreman_templates.po +7 -10
  48. data/locale/zh_TW/LC_MESSAGES/foreman_templates.mo +0 -0
  49. data/locale/zh_TW/foreman_templates.po +7 -10
  50. data/package.json +0 -1
  51. metadata +3 -3
@@ -17,193 +17,190 @@
17
17
  "domain": "foreman_templates",
18
18
  "plural_forms": "nplurals=2; plural=(n != 1);"
19
19
  },
20
- "Branch in Git repo.": [
21
- ""
22
- ],
23
- "Override the default repo from settings.": [
20
+ "Action type": [
24
21
  ""
25
22
  ],
26
- "Export templates with names matching this regex (case-insensitive; snippets are not filtered).": [
23
+ "Always": [
27
24
  ""
28
25
  ],
29
- "Negate the prefix (for purging).": [
26
+ "Associate": [
30
27
  ""
31
28
  ],
32
- "The directory within Git repo containing the templates": [
29
+ "Associate templates to OS, organization and location": [
33
30
  ""
34
31
  ],
35
- "Initiate Import": [
32
+ "Associate to OS's, Locations & Organizations. Options are: always, new or never.": [
36
33
  ""
37
34
  ],
38
- "The string all imported templates should begin with.": [
35
+ "Back to sync form": [
39
36
  ""
40
37
  ],
41
- "Associate to OS's, Locations & Organizations. Options are: always, new or never.": [
38
+ "Branch": [
42
39
  ""
43
40
  ],
44
- "Update templates that are locked": [
41
+ "Branch in Git repo.": [
45
42
  ""
46
43
  ],
47
- "Lock imported templates": [
44
+ "Choose verbosity for Rake task importing templates": [
48
45
  ""
49
46
  ],
50
- "Show template diff in response": [
47
+ "Commit message": [
51
48
  ""
52
49
  ],
53
- "Initiate Export": [
50
+ "Custom commit message for templates export": [
54
51
  ""
55
52
  ],
56
- "Specify how to handle metadata": [
53
+ "Default branch in Git repo": [
57
54
  ""
58
55
  ],
59
- "Custom commit message for templates export": [
56
+ "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata": [
60
57
  ""
61
58
  ],
62
- "Using file-based synchronization, but couldn't access %s. ": [
59
+ "Dirname": [
63
60
  ""
64
61
  ],
65
- "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'.": [
62
+ "Export": [
66
63
  ""
67
64
  ],
68
- "Always": [
65
+ "Export templates with names matching this regex (case-insensitive; snippets are not filtered).": [
69
66
  ""
70
67
  ],
71
- "New": [
72
- "Ny"
68
+ "Filter": [
69
+ "Filter"
73
70
  ],
74
- "Never": [
71
+ "Force import": [
75
72
  ""
76
73
  ],
77
- "Lock": [
74
+ "How to handle lock for imported templates?": [
78
75
  ""
79
76
  ],
80
- "Keep, lock new": [
77
+ "Import": [
81
78
  ""
82
79
  ],
83
- "Keep, do not lock new": [
80
+ "Import or Export Templates": [
84
81
  ""
85
82
  ],
86
- "Unlock": [
83
+ "Import/export names matching this regex (case-insensitive; snippets are not filtered)": [
87
84
  ""
88
85
  ],
89
- "Refresh": [
86
+ "Initiate Export": [
90
87
  ""
91
88
  ],
92
- "Keep": [
89
+ "Initiate Import": [
93
90
  ""
94
91
  ],
95
- "Remove": [
92
+ "Keep": [
96
93
  ""
97
94
  ],
98
- "Template Sync": [
95
+ "Keep, do not lock new": [
99
96
  ""
100
97
  ],
101
- "Choose verbosity for Rake task importing templates": [
98
+ "Keep, lock new": [
102
99
  ""
103
100
  ],
104
- "Verbosity": [
101
+ "Lock": [
105
102
  ""
106
103
  ],
107
- "Associate templates to OS, organization and location": [
104
+ "Lock imported templates": [
108
105
  ""
109
106
  ],
110
- "Associate": [
107
+ "Lock templates": [
111
108
  ""
112
109
  ],
113
- "The string that will be added as prefix to imported templates": [
110
+ "Metadata export mode": [
114
111
  ""
115
112
  ],
116
- "Prefix": [
113
+ "Negate": [
117
114
  ""
118
115
  ],
119
- "The directory within the Git repo containing the templates": [
116
+ "Negate the filter for import/export": [
120
117
  ""
121
118
  ],
122
- "Dirname": [
119
+ "Negate the prefix (for purging).": [
123
120
  ""
124
121
  ],
125
- "Import/export names matching this regex (case-insensitive; snippets are not filtered)": [
122
+ "Never": [
126
123
  ""
127
124
  ],
128
- "Filter": [
129
- "Filter"
125
+ "New": [
126
+ "Ny"
130
127
  ],
131
- "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.": [
128
+ "Override the default repo from settings.": [
132
129
  ""
133
130
  ],
134
- "Repo": [
131
+ "Page Not Found": [
135
132
  ""
136
133
  ],
137
- "Negate the filter for import/export": [
134
+ "Permission Denied": [
138
135
  ""
139
136
  ],
140
- "Negate": [
137
+ "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'.": [
141
138
  ""
142
139
  ],
143
- "Default branch in Git repo": [
140
+ "Please request one of the required permissions listed below from a Foreman administrator:": [
144
141
  ""
145
142
  ],
146
- "Branch": [
143
+ "Prefix": [
147
144
  ""
148
145
  ],
149
- "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata": [
146
+ "Refresh": [
150
147
  ""
151
148
  ],
152
- "Metadata export mode": [
149
+ "Remove": [
153
150
  ""
154
151
  ],
155
- "Should importing overwrite locked templates?": [
152
+ "Repo": [
156
153
  ""
157
154
  ],
158
- "Force import": [
155
+ "Should importing overwrite locked templates?": [
159
156
  ""
160
157
  ],
161
- "How to handle lock for imported templates?": [
158
+ "Show template diff in response": [
162
159
  ""
163
160
  ],
164
- "Lock templates": [
161
+ "Specify how to handle metadata": [
165
162
  ""
166
163
  ],
167
- "Commit message": [
164
+ "Sync Templates": [
168
165
  ""
169
166
  ],
170
- "Sync Templates": [
167
+ "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.": [
171
168
  ""
172
169
  ],
173
- "Import or Export Templates": [
170
+ "Template Sync": [
174
171
  ""
175
172
  ],
176
- "Use default value from settings": [
173
+ "The directory within Git repo containing the templates": [
177
174
  ""
178
175
  ],
179
- "Page Not Found": [
176
+ "The directory within the Git repo containing the templates": [
180
177
  ""
181
178
  ],
182
179
  "The page you are looking for does not exist": [
183
180
  ""
184
181
  ],
185
- "You are not authorized to perform this action.": [
182
+ "The string all imported templates should begin with.": [
186
183
  ""
187
184
  ],
188
- "Please request one of the required permissions listed below from a Foreman administrator:": [
185
+ "The string that will be added as prefix to imported templates": [
189
186
  ""
190
187
  ],
191
- "Permission Denied": [
188
+ "Unlock": [
192
189
  ""
193
190
  ],
194
- "Back to sync form": [
191
+ "Update templates that are locked": [
195
192
  ""
196
193
  ],
197
- "Remote action:": [
194
+ "Use default value from settings": [
198
195
  ""
199
196
  ],
200
- "Import facts": [
197
+ "Using file-based synchronization, but couldn't access %s. ": [
201
198
  ""
202
199
  ],
203
- "Action with sub plans": [
200
+ "Verbosity": [
204
201
  ""
205
202
  ],
206
- "Import Puppet classes": [
203
+ "You are not authorized to perform this action.": [
207
204
  ""
208
205
  ]
209
206
  }
@@ -17,194 +17,191 @@
17
17
  "domain": "foreman_templates",
18
18
  "plural_forms": "nplurals=1; plural=0;"
19
19
  },
20
- "Branch in Git repo.": [
21
- "Git 仓库中的分支。"
22
- ],
23
- "Override the default repo from settings.": [
24
- "覆盖设置中的默认仓库。"
25
- ],
26
- "Export templates with names matching this regex (case-insensitive; snippets are not filtered).": [
27
- "导出名称与此正则表达式匹配的模板(不区分大小写;不过滤代码段)。"
28
- ],
29
- "Negate the prefix (for purging).": [
30
- "否定前缀(用于清除)。"
20
+ "Action type": [
21
+ ""
31
22
  ],
32
- "The directory within Git repo containing the templates": [
33
- "Git 仓库中包含模板的目录"
23
+ "Always": [
24
+ "总是"
34
25
  ],
35
- "Initiate Import": [
36
- "启动导入"
26
+ "Associate": [
27
+ "关联"
37
28
  ],
38
- "The string all imported templates should begin with.": [
39
- "所有导入的模板应以字符串开头。"
29
+ "Associate templates to OS, organization and location": [
30
+ "将模板与操作系统,机构和位置相关联"
40
31
  ],
41
32
  "Associate to OS's, Locations & Organizations. Options are: always, new or never.": [
42
33
  "与操作系统,位置和机构相关。选项为:总是,新的或永不。"
43
34
  ],
44
- "Update templates that are locked": [
45
- "更新锁定的模板"
35
+ "Back to sync form": [
36
+ "返回到同步表单"
46
37
  ],
47
- "Lock imported templates": [
48
- "锁定导入的模板"
38
+ "Branch": [
39
+ "分支"
49
40
  ],
50
- "Show template diff in response": [
51
- "显示模板差异作为响应"
41
+ "Branch in Git repo.": [
42
+ "Git 仓库中的分支。"
52
43
  ],
53
- "Initiate Export": [
54
- "启动导出"
44
+ "Choose verbosity for Rake task importing templates": [
45
+ "为 Rake 任务导入模板选择详细程度"
55
46
  ],
56
- "Specify how to handle metadata": [
57
- "指定如何处理元数据"
47
+ "Commit message": [
48
+ "提交消息"
58
49
  ],
59
50
  "Custom commit message for templates export": [
60
51
  "模板导出的自定义提交消息"
61
52
  ],
62
- "Using file-based synchronization, but couldn't access %s. ": [
63
- "使用基于文件的同步,但无法访问 %s。 "
53
+ "Default branch in Git repo": [
54
+ "Git 仓库中的默认分支"
64
55
  ],
65
- "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'.": [
66
- "请检查访问权限/ SELinux,确保 Web 应用程序用户帐户(通常为 '%s')可读写。"
56
+ "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata": [
57
+ "默认元数据导出模式,刷新后重新渲染元数据,保留将保留现有元数据,删除不包含元数据的导出模板"
67
58
  ],
68
- "Always": [
69
- "总是"
59
+ "Dirname": [
60
+ "Dirname"
70
61
  ],
71
- "New": [
72
- ""
62
+ "Export": [
63
+ ""
73
64
  ],
74
- "Never": [
75
- "决不"
65
+ "Export templates with names matching this regex (case-insensitive; snippets are not filtered).": [
66
+ "导出名称与此正则表达式匹配的模板(不区分大小写;不过滤代码段)。"
76
67
  ],
77
- "Lock": [
78
- "锁定"
68
+ "Filter": [
69
+ "过滤器"
79
70
  ],
80
- "Keep, lock new": [
81
- "keep, 锁定新的"
71
+ "Force import": [
72
+ "强制导入"
82
73
  ],
83
- "Keep, do not lock new": [
84
- "keep,不锁定新的"
74
+ "How to handle lock for imported templates?": [
75
+ "如何处理导入的模板锁定?"
85
76
  ],
86
- "Unlock": [
87
- "开锁"
77
+ "Import": [
78
+ ""
88
79
  ],
89
- "Refresh": [
90
- "刷新"
80
+ "Import or Export Templates": [
81
+ "导入或导出模板"
82
+ ],
83
+ "Import/export names matching this regex (case-insensitive; snippets are not filtered)": [
84
+ "导入/导出与该正则表达式匹配的名称(不区分大小写;不过滤代码段)"
85
+ ],
86
+ "Initiate Export": [
87
+ "启动导出"
88
+ ],
89
+ "Initiate Import": [
90
+ "启动导入"
91
91
  ],
92
92
  "Keep": [
93
93
  "保持"
94
94
  ],
95
- "Remove": [
96
- "移除"
95
+ "Keep, do not lock new": [
96
+ "keep,不锁定新的"
97
97
  ],
98
- "Template Sync": [
99
- "模板同步"
98
+ "Keep, lock new": [
99
+ "keep, 锁定新的"
100
100
  ],
101
- "Choose verbosity for Rake task importing templates": [
102
- "为 Rake 任务导入模板选择详细程度"
101
+ "Lock": [
102
+ "锁定"
103
103
  ],
104
- "Verbosity": [
105
- "详细度"
104
+ "Lock imported templates": [
105
+ "锁定导入的模板"
106
106
  ],
107
- "Associate templates to OS, organization and location": [
108
- "将模板与操作系统,机构和位置相关联"
107
+ "Lock templates": [
108
+ "锁定模板"
109
109
  ],
110
- "Associate": [
111
- "关联"
110
+ "Metadata export mode": [
111
+ "元数据导出模式"
112
112
  ],
113
- "The string that will be added as prefix to imported templates": [
114
- "将作为前缀添加到导入模板的字符串"
113
+ "Negate": [
114
+ "否定"
115
115
  ],
116
- "Prefix": [
117
- "前缀"
116
+ "Negate the filter for import/export": [
117
+ "导入/导出的负过滤器"
118
118
  ],
119
- "The directory within the Git repo containing the templates": [
120
- "Git 仓库中包含模板的目录"
119
+ "Negate the prefix (for purging).": [
120
+ "否定前缀(用于清除)。"
121
121
  ],
122
- "Dirname": [
123
- "Dirname"
122
+ "Never": [
123
+ "决不"
124
124
  ],
125
- "Import/export names matching this regex (case-insensitive; snippets are not filtered)": [
126
- "导入/导出与该正则表达式匹配的名称(不区分大小写;不过滤代码段)"
125
+ "New": [
126
+ ""
127
127
  ],
128
- "Filter": [
129
- "过滤器"
128
+ "Override the default repo from settings.": [
129
+ "覆盖设置中的默认仓库。"
130
130
  ],
131
- "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.": [
132
- "要导入/导出的目标路径。可以使用不同的协议,如 /tmp/dir、git://example.com、https://example.com、ssh://example.com. 当导出至 /tmp 时,请注意,生产部署可能被配置为使用私有 tmp。"
131
+ "Page Not Found": [
132
+ "页没有找到"
133
133
  ],
134
- "Repo": [
135
- "仓库"
134
+ "Permission Denied": [
135
+ "没有足够权限"
136
136
  ],
137
- "Negate the filter for import/export": [
138
- "导入/导出的负过滤器"
137
+ "Please check the access permissions/SELinux and make sure it is readable/writable for the web application user account, typically '%s'.": [
138
+ "请检查访问权限/ SELinux,确保 Web 应用程序用户帐户(通常为 '%s')可读写。"
139
139
  ],
140
- "Negate": [
141
- "否定"
140
+ "Please request one of the required permissions listed below from a Foreman administrator:": [
141
+ "请向 Foreman 管理员请求下列所需权限之一:"
142
142
  ],
143
- "Default branch in Git repo": [
144
- "Git 仓库中的默认分支"
143
+ "Prefix": [
144
+ "前缀"
145
145
  ],
146
- "Branch": [
147
- "分支"
146
+ "Refresh": [
147
+ "刷新"
148
148
  ],
149
- "Default metadata export mode, refresh re-renders metadata, keep will keep existing metadata, remove exports template without metadata": [
150
- "默认元数据导出模式,刷新后重新渲染元数据,保留将保留现有元数据,删除不包含元数据的导出模板"
149
+ "Remove": [
150
+ "移除"
151
151
  ],
152
- "Metadata export mode": [
153
- "元数据导出模式"
152
+ "Repo": [
153
+ "仓库"
154
154
  ],
155
155
  "Should importing overwrite locked templates?": [
156
156
  "是否应该导入覆盖锁定的模板?"
157
157
  ],
158
- "Force import": [
159
- "强制导入"
160
- ],
161
- "How to handle lock for imported templates?": [
162
- "如何处理导入的模板锁定?"
163
- ],
164
- "Lock templates": [
165
- "锁定模板"
158
+ "Show template diff in response": [
159
+ "显示模板差异作为响应"
166
160
  ],
167
- "Commit message": [
168
- "提交消息"
161
+ "Specify how to handle metadata": [
162
+ "指定如何处理元数据"
169
163
  ],
170
164
  "Sync Templates": [
171
165
  "同步模板"
172
166
  ],
173
- "Import or Export Templates": [
174
- "导入或导出模板"
167
+ "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.": [
168
+ "要导入/导出的目标路径。可以使用不同的协议,如 /tmp/dir、git://example.com、https://example.com、ssh://example.com. 当导出至 /tmp 时,请注意,生产部署可能被配置为使用私有 tmp。"
175
169
  ],
176
- "Use default value from settings": [
177
- "使用设置中的默认值"
170
+ "Template Sync": [
171
+ "模板同步"
178
172
  ],
179
- "Page Not Found": [
180
- "页没有找到"
173
+ "The directory within Git repo containing the templates": [
174
+ "Git 仓库中包含模板的目录"
175
+ ],
176
+ "The directory within the Git repo containing the templates": [
177
+ "Git 仓库中包含模板的目录"
181
178
  ],
182
179
  "The page you are looking for does not exist": [
183
180
  "您查找的页面不存在"
184
181
  ],
185
- "You are not authorized to perform this action.": [
186
- "您没有执行这个操作的授权。"
182
+ "The string all imported templates should begin with.": [
183
+ "所有导入的模板应以字符串开头。"
187
184
  ],
188
- "Please request one of the required permissions listed below from a Foreman administrator:": [
189
- "请向 Foreman 管理员请求下列所需权限之一:"
185
+ "The string that will be added as prefix to imported templates": [
186
+ "将作为前缀添加到导入模板的字符串"
190
187
  ],
191
- "Permission Denied": [
192
- "没有足够权限"
188
+ "Unlock": [
189
+ "开锁"
193
190
  ],
194
- "Back to sync form": [
195
- "返回到同步表单"
191
+ "Update templates that are locked": [
192
+ "更新锁定的模板"
196
193
  ],
197
- "Remote action:": [
198
- "远程操作:"
194
+ "Use default value from settings": [
195
+ "使用设置中的默认值"
199
196
  ],
200
- "Import facts": [
201
- "导入事实"
197
+ "Using file-based synchronization, but couldn't access %s. ": [
198
+ "使用基于文件的同步,但无法访问 %s。 "
202
199
  ],
203
- "Action with sub plans": [
204
- "有子计划的操作"
200
+ "Verbosity": [
201
+ "详细度"
205
202
  ],
206
- "Import Puppet classes": [
207
- "导入 Puppet 类"
203
+ "You are not authorized to perform this action.": [
204
+ "您没有执行这个操作的授权。"
208
205
  ]
209
206
  }
210
207
  }