foreman_discovery 7.0.0 → 7.0.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.
- checksums.yaml +4 -4
- data/app/controllers/concerns/foreman/controller/parameters/discovered_host.rb +0 -2
- data/app/controllers/foreman_discovery/concerns/hosts_controller_extensions.rb +18 -0
- data/app/models/nic/managed_extensions.rb +1 -1
- data/db/migrate/20160719124942_add_missing_view_permissions.rb +2 -11
- data/db/migrate/20160818091421_add_permissions_from_default_roles.rb +15 -0
- data/lib/foreman_discovery/engine.rb +2 -0
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/foreman_discovery.edit.po +152 -145
- data/locale/de/foreman_discovery.edit.po +154 -147
- data/locale/en_GB/foreman_discovery.edit.po +154 -147
- data/locale/es/foreman_discovery.edit.po +154 -147
- data/locale/fr/foreman_discovery.edit.po +154 -147
- data/locale/gl/foreman_discovery.edit.po +151 -144
- data/locale/it/foreman_discovery.edit.po +153 -146
- data/locale/ja/foreman_discovery.edit.po +154 -147
- data/locale/ko/foreman_discovery.edit.po +154 -147
- data/locale/pt_BR/foreman_discovery.edit.po +156 -149
- data/locale/ru/foreman_discovery.edit.po +154 -147
- data/locale/sv_SE/foreman_discovery.edit.po +152 -145
- data/locale/zh_CN/foreman_discovery.edit.po +154 -147
- data/locale/zh_TW/foreman_discovery.edit.po +154 -147
- data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +25 -0
- metadata +6 -2
@@ -7,9 +7,9 @@ msgid ""
|
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: foreman_discovery 7.0.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2016-
|
11
|
-
"PO-Revision-Date: 2016-08-
|
12
|
-
"Last-Translator:
|
10
|
+
"POT-Creation-Date: 2016-08-30 16:48+0200\n"
|
11
|
+
"PO-Revision-Date: 2016-08-31 08:17+0000\n"
|
12
|
+
"Last-Translator: Lukáš Zapletal\n"
|
13
13
|
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -17,176 +17,176 @@ msgstr ""
|
|
17
17
|
"Language: zh_CN\n"
|
18
18
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
19
19
|
|
20
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
20
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:16
|
21
21
|
msgid "List all discovered hosts"
|
22
22
|
msgstr "列出所有发现的主机"
|
23
23
|
|
24
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
25
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
24
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
|
25
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:15
|
26
26
|
msgid "filter results"
|
27
27
|
msgstr "过滤结果"
|
28
28
|
|
29
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
30
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
29
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
|
30
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:16
|
31
31
|
msgid "sort results"
|
32
32
|
msgstr "结果排序"
|
33
33
|
|
34
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
35
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
34
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
|
35
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:17
|
36
36
|
msgid "paginate results"
|
37
37
|
msgstr "页数"
|
38
38
|
|
39
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
40
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
39
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
|
40
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:18
|
41
41
|
msgid "number of entries per request"
|
42
42
|
msgstr "每个请求中的条目数"
|
43
43
|
|
44
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
44
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:26
|
45
45
|
msgid "Show a discovered host"
|
46
46
|
msgstr "显示已发现主机"
|
47
47
|
|
48
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
48
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:40
|
49
49
|
msgid "Create a discovered host for testing (use /facts to create new hosts)"
|
50
50
|
msgstr "创建发现的主机以进行测试(使用 /facts 创建新主机)"
|
51
51
|
|
52
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
52
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:48
|
53
53
|
msgid "Provision a discovered host"
|
54
54
|
msgstr "供应已发现主机"
|
55
55
|
|
56
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
56
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:53
|
57
57
|
msgid "not required if using a subnet with DHCP proxy"
|
58
58
|
msgstr "如果使用附带 DHCP 代理服务器的子网则不需要"
|
59
59
|
|
60
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
60
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:54
|
61
61
|
msgid "not required if it's a virtual machine"
|
62
62
|
msgstr "虚拟机不需要"
|
63
63
|
|
64
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
64
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
|
65
65
|
msgid ""
|
66
66
|
"UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
67
67
|
msgstr "用来跟踪复杂任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
|
68
68
|
|
69
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
69
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
|
70
70
|
msgid ""
|
71
71
|
"required if value is not inherited from host group or default password in "
|
72
72
|
"settings"
|
73
73
|
msgstr "如果不是从主机组中集成或使用设置中的默认密码则需要"
|
74
74
|
|
75
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
75
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:86
|
76
76
|
msgid "Delete a discovered host"
|
77
77
|
msgstr "删除已发现主机"
|
78
78
|
|
79
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
79
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:93
|
80
80
|
msgid "Upload facts for a host, creating the host if required"
|
81
81
|
msgstr "上传主机详情,如需要,请创建主机。"
|
82
82
|
|
83
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
83
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:94
|
84
84
|
msgid ""
|
85
85
|
"hash containing facts for the host with minimum set of facts: "
|
86
86
|
"discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
|
87
87
|
"eth0 (example in case primary interface is named eth0)"
|
88
88
|
msgstr "包含使用最小信息系统集主机的信息系统哈希:discovery_bootif、macaddress_eth0、ipaddress, ipaddress_eth0、interfaces: eth0(例如:主接口名称为 eth0)"
|
89
89
|
|
90
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
90
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:111
|
91
91
|
msgid "Execute rules against a discovered host"
|
92
92
|
msgstr "根据发现的主机执行规则"
|
93
93
|
|
94
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
95
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
94
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:117
|
95
|
+
#: ../app/controllers/discovered_hosts_controller.rb:165
|
96
96
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
97
97
|
msgstr "根据规则 %{rule} 供应主机 %{host}"
|
98
98
|
|
99
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
99
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:120
|
100
100
|
msgid "Unable to provision %{host}: %{errors}"
|
101
101
|
msgstr "无法预配 %{host}: %{errors}"
|
102
102
|
|
103
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
104
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
103
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:126
|
104
|
+
#: ../app/controllers/discovered_hosts_controller.rb:172
|
105
105
|
msgid "No rule found for host %s"
|
106
106
|
msgstr "未找到主机 %s 的规则"
|
107
107
|
|
108
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
108
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:133
|
109
109
|
msgid "Execute rules against all currently discovered hosts"
|
110
110
|
msgstr "根据所有目前已发现主机执行规则"
|
111
111
|
|
112
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
113
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
112
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:137
|
113
|
+
#: ../app/controllers/discovered_hosts_controller.rb:178
|
114
114
|
msgid "Errors during auto provisioning: %s"
|
115
115
|
msgstr "自动供应时出错:%s"
|
116
116
|
|
117
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
118
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
117
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:140
|
118
|
+
#: ../app/controllers/discovered_hosts_controller.rb:181
|
119
119
|
msgid "No discovered hosts to provision"
|
120
120
|
msgstr "没有发现的主机需要供应"
|
121
121
|
|
122
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
122
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:162
|
123
123
|
msgid "%s discovered hosts were provisioned"
|
124
124
|
msgstr "预配 %s 已发现的主机"
|
125
125
|
|
126
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
126
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:173
|
127
127
|
msgid "Refreshing the facts of a discovered host"
|
128
128
|
msgstr "刷新已发现主机的详情"
|
129
129
|
|
130
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
130
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:182
|
131
131
|
msgid "Rebooting a discovered host"
|
132
132
|
msgstr "重启已发现主机"
|
133
133
|
|
134
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
134
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
|
135
135
|
msgid "Rebooting all discovered hosts"
|
136
136
|
msgstr "重启已发现主机"
|
137
137
|
|
138
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
139
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
138
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:202
|
139
|
+
#: ../app/controllers/discovered_hosts_controller.rb:123
|
140
140
|
msgid "Discovered hosts are rebooting now"
|
141
141
|
msgstr "正在重启已发现主机"
|
142
142
|
|
143
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
143
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:14
|
144
144
|
msgid "List all discovery rules"
|
145
145
|
msgstr "列出所有发现规则"
|
146
146
|
|
147
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
147
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:24
|
148
148
|
msgid "Show a discovery rule"
|
149
149
|
msgstr "显示发现规则"
|
150
150
|
|
151
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
151
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:32
|
152
152
|
msgid "represents rule name shown to the users"
|
153
153
|
msgstr "代表显示给用户的规则名称"
|
154
154
|
|
155
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
155
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:33
|
156
156
|
msgid "query to match discovered hosts for the particular rule"
|
157
157
|
msgstr "查询以便将找到的主机与具体规则匹配"
|
158
158
|
|
159
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
159
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:34
|
160
160
|
msgid "the hostgroup that is used to auto provision a host"
|
161
161
|
msgstr "用来自动供应主机的主机组"
|
162
162
|
|
163
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
163
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:35
|
164
164
|
msgid ""
|
165
165
|
"defines a pattern to assign human-readable hostnames to the matching hosts"
|
166
166
|
msgstr "定义为匹配的主机分配可读主机名的模式"
|
167
167
|
|
168
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
168
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:36
|
169
169
|
msgid "enables to limit maximum amount of provisioned hosts per rule"
|
170
170
|
msgstr "启用以便限制每个规则可供应主机的最大数量"
|
171
171
|
|
172
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
172
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:37
|
173
173
|
msgid ""
|
174
174
|
"puts the rules in order, low numbers go first. Must be greater then zero"
|
175
175
|
msgstr "按顺序排列规则,从最小的数字开始。数字必须大于 0"
|
176
176
|
|
177
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
177
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:38
|
178
178
|
msgid "flag is used for temporary shutdown of rules"
|
179
179
|
msgstr "用于临时关闭规则的标签"
|
180
180
|
|
181
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
181
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:43
|
182
182
|
msgid "Create a discovery rule"
|
183
183
|
msgstr "常见发现规则"
|
184
184
|
|
185
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
185
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:51
|
186
186
|
msgid "Update a rule"
|
187
187
|
msgstr "更新规则"
|
188
188
|
|
189
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:
|
189
|
+
#: ../app/controllers/api/v2/discovery_rules_controller.rb:59
|
190
190
|
msgid "Delete a rule"
|
191
191
|
msgstr "删除规则"
|
192
192
|
|
@@ -210,103 +210,103 @@ msgstr "重启过程出错:%s"
|
|
210
210
|
msgid "No discovered hosts to reboot"
|
211
211
|
msgstr "没有要重启的已发现主机"
|
212
212
|
|
213
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
213
|
+
#: ../app/controllers/discovered_hosts_controller.rb:59
|
214
214
|
msgid "Successfully provisioned %s"
|
215
215
|
msgstr ""
|
216
216
|
|
217
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
217
|
+
#: ../app/controllers/discovered_hosts_controller.rb:91
|
218
218
|
msgid "Facts refreshed for %s"
|
219
219
|
msgstr "为 %s 刷新详情"
|
220
220
|
|
221
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
221
|
+
#: ../app/controllers/discovered_hosts_controller.rb:93
|
222
222
|
msgid "Failed to refresh facts for %s"
|
223
223
|
msgstr "为 %s 刷新详情失败"
|
224
224
|
|
225
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
225
|
+
#: ../app/controllers/discovered_hosts_controller.rb:96
|
226
226
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
227
227
|
msgstr "刷新 %{hostname} 系统信息失败,并给出出错信息 %{error_message}。"
|
228
228
|
|
229
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
229
|
+
#: ../app/controllers/discovered_hosts_controller.rb:103
|
230
230
|
msgid "Host of type %s can not be rebooted"
|
231
231
|
msgstr "无法重启主机类型 %s"
|
232
232
|
|
233
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
233
|
+
#: ../app/controllers/discovered_hosts_controller.rb:107
|
234
234
|
msgid "Rebooting host %s"
|
235
235
|
msgstr "正在重启主机 %s"
|
236
236
|
|
237
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
237
|
+
#: ../app/controllers/discovered_hosts_controller.rb:109
|
238
238
|
msgid "Failed to reboot host %s"
|
239
239
|
msgstr "重启主机 %s 失败"
|
240
240
|
|
241
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
241
|
+
#: ../app/controllers/discovered_hosts_controller.rb:112
|
242
242
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
243
243
|
msgstr "重启主机 %{hostname} 失败,并给出出错信息 %{error_message}"
|
244
244
|
|
245
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
245
|
+
#: ../app/controllers/discovered_hosts_controller.rb:126
|
246
246
|
msgid "Failed to reboot hosts with error %s"
|
247
247
|
msgstr "重启主机失败并给出出错信息 %s"
|
248
248
|
|
249
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
249
|
+
#: ../app/controllers/discovered_hosts_controller.rb:140
|
250
250
|
msgid "Destroyed selected hosts"
|
251
251
|
msgstr "消除所选主机"
|
252
252
|
|
253
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
253
|
+
#: ../app/controllers/discovered_hosts_controller.rb:142
|
254
254
|
msgid "The following hosts were not deleted: %s"
|
255
255
|
msgstr "未删除以下主机:%s"
|
256
256
|
|
257
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
257
|
+
#: ../app/controllers/discovered_hosts_controller.rb:169
|
258
258
|
msgid "Failed to auto provision host %s: %s"
|
259
259
|
msgstr "自动供应主机失败 %s:%s"
|
260
260
|
|
261
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
261
|
+
#: ../app/controllers/discovered_hosts_controller.rb:197
|
262
262
|
msgid "Discovered hosts are provisioning now"
|
263
263
|
msgstr "已发现主机限制正在供应"
|
264
264
|
|
265
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
265
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
266
266
|
msgid "Highlights"
|
267
267
|
msgstr ""
|
268
268
|
|
269
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
269
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
270
270
|
msgid "Storage"
|
271
271
|
msgstr ""
|
272
272
|
|
273
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
273
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
274
274
|
msgid "Hardware"
|
275
275
|
msgstr ""
|
276
276
|
|
277
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
277
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
278
278
|
msgid "Network"
|
279
279
|
msgstr ""
|
280
280
|
|
281
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
281
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
282
282
|
msgid "Software"
|
283
283
|
msgstr ""
|
284
284
|
|
285
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
285
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
286
286
|
msgid "IPMI"
|
287
287
|
msgstr ""
|
288
288
|
|
289
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
289
|
+
#: ../app/controllers/discovered_hosts_controller.rb:226
|
290
290
|
msgid "Miscellaneous"
|
291
291
|
msgstr ""
|
292
292
|
|
293
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
293
|
+
#: ../app/controllers/discovered_hosts_controller.rb:303
|
294
294
|
msgid "No hosts were found with that id or name"
|
295
295
|
msgstr "未找到符合此 id 或者名称的主机"
|
296
296
|
|
297
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
297
|
+
#: ../app/controllers/discovered_hosts_controller.rb:307
|
298
298
|
msgid "No hosts selected"
|
299
299
|
msgstr "未选择任何主机"
|
300
300
|
|
301
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
301
|
+
#: ../app/controllers/discovered_hosts_controller.rb:313
|
302
302
|
msgid "Something went wrong while selecting hosts - %s"
|
303
303
|
msgstr "选择主机时出错 - %s"
|
304
304
|
|
305
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
305
|
+
#: ../app/controllers/discovery_rules_controller.rb:68
|
306
306
|
msgid "Rule enabled"
|
307
307
|
msgstr "已启用规则"
|
308
308
|
|
309
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
309
|
+
#: ../app/controllers/discovery_rules_controller.rb:68
|
310
310
|
msgid "Rule disabled"
|
311
311
|
msgstr "已禁用规则"
|
312
312
|
|
@@ -315,76 +315,75 @@ msgid "%s ago"
|
|
315
315
|
msgstr "%s 前"
|
316
316
|
|
317
317
|
#: ../app/helpers/discovered_hosts_helper.rb:14
|
318
|
-
#: ../app/
|
319
|
-
msgid "Provision"
|
320
|
-
msgstr "供应"
|
321
|
-
|
322
|
-
#: ../app/helpers/discovered_hosts_helper.rb:15
|
323
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:74
|
318
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
|
324
319
|
msgid "Auto Provision"
|
325
320
|
msgstr "自动供应"
|
326
321
|
|
327
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
328
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
322
|
+
#: ../app/helpers/discovered_hosts_helper.rb:15
|
323
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
|
329
324
|
msgid "Refresh facts"
|
330
325
|
msgstr "刷新详情"
|
331
326
|
|
332
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
327
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16
|
333
328
|
#: ../app/models/setting/discovered.rb:23
|
334
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
329
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
|
335
330
|
msgid "Reboot"
|
336
331
|
msgstr "重启"
|
337
332
|
|
338
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
333
|
+
#: ../app/helpers/discovered_hosts_helper.rb:19
|
339
334
|
msgid "Back"
|
340
335
|
msgstr "后退"
|
341
336
|
|
342
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
343
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
337
|
+
#: ../app/helpers/discovered_hosts_helper.rb:21
|
338
|
+
#: ../app/helpers/discovered_hosts_helper.rb:38
|
344
339
|
msgid "Select Action"
|
345
340
|
msgstr "选择动作"
|
346
341
|
|
347
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
342
|
+
#: ../app/helpers/discovered_hosts_helper.rb:23
|
348
343
|
msgid "Expand All"
|
349
344
|
msgstr "展开全部"
|
350
345
|
|
351
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
352
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
346
|
+
#: ../app/helpers/discovered_hosts_helper.rb:28
|
347
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
|
353
348
|
msgid "Delete %s?"
|
354
349
|
msgstr "删除 %s"
|
355
350
|
|
356
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
351
|
+
#: ../app/helpers/discovered_hosts_helper.rb:34
|
357
352
|
msgid "Delete hosts"
|
358
353
|
msgstr "删除主机"
|
359
354
|
|
360
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
355
|
+
#: ../app/helpers/discovered_hosts_helper.rb:35
|
361
356
|
msgid "Assign Organization"
|
362
357
|
msgstr "指定机构"
|
363
358
|
|
364
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
359
|
+
#: ../app/helpers/discovered_hosts_helper.rb:36
|
365
360
|
msgid "Assign Location"
|
366
361
|
msgstr "指定位置"
|
367
362
|
|
368
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
363
|
+
#: ../app/helpers/discovered_hosts_helper.rb:40
|
369
364
|
msgid "%s - The following hosts are about to be changed"
|
370
365
|
msgstr "%s - 要更改以下主机"
|
371
366
|
|
372
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
367
|
+
#: ../app/helpers/discovered_hosts_helper.rb:49
|
373
368
|
msgid "N/A"
|
374
369
|
msgstr "无"
|
375
370
|
|
376
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
371
|
+
#: ../app/helpers/discovered_hosts_helper.rb:61
|
377
372
|
msgid "New in the last 24 hours"
|
378
373
|
msgstr "在过去 24 小时内新建"
|
379
374
|
|
380
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
375
|
+
#: ../app/helpers/discovered_hosts_helper.rb:65
|
381
376
|
msgid "Not reported in more than 7 days"
|
382
377
|
msgstr "超过 7 天没有报告的"
|
383
378
|
|
384
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
379
|
+
#: ../app/helpers/discovered_hosts_helper.rb:69
|
385
380
|
msgid "Reported in the last 7 days"
|
386
381
|
msgstr "过去 7 天内报告的"
|
387
382
|
|
383
|
+
#: ../app/helpers/discovered_hosts_helper.rb:93
|
384
|
+
msgid "Provision"
|
385
|
+
msgstr "供应"
|
386
|
+
|
388
387
|
#: ../app/helpers/discovery_rules_helper.rb:26
|
389
388
|
msgid "Discovered Hosts"
|
390
389
|
msgstr ""
|
@@ -421,87 +420,83 @@ msgstr "必须指定一个启用了电子邮件的用户"
|
|
421
420
|
msgid "Discovered hosts summary"
|
422
421
|
msgstr ""
|
423
422
|
|
424
|
-
#: ../app/models/discovery_rule.rb:
|
423
|
+
#: ../app/models/discovery_rule.rb:9
|
425
424
|
msgid "can't contain white spaces."
|
426
425
|
msgstr "不能包含空白字段。"
|
427
426
|
|
428
|
-
#: ../app/models/discovery_rule.rb:
|
427
|
+
#: ../app/models/discovery_rule.rb:11
|
429
428
|
msgid "must start with a letter or ERB."
|
430
429
|
msgstr "必须以字母或 ERB 开头。"
|
431
430
|
|
432
|
-
#: ../app/models/discovery_rule.rb:
|
431
|
+
#: ../app/models/discovery_rule.rb:45
|
433
432
|
msgid ""
|
434
433
|
"Host group organization %s must also be associated to the discovery rule"
|
435
434
|
msgid_plural ""
|
436
435
|
"Host group organizations %s must also be associated to the discovery rule"
|
437
436
|
msgstr[0] ""
|
438
437
|
|
439
|
-
#: ../app/models/discovery_rule.rb:
|
438
|
+
#: ../app/models/discovery_rule.rb:51
|
440
439
|
msgid "Host group location %s must also be associated to the discovery rule"
|
441
440
|
msgid_plural ""
|
442
441
|
"Host group locations %s must also be associated to the discovery rule"
|
443
442
|
msgstr[0] ""
|
444
443
|
|
445
|
-
#: ../app/models/host/discovered.rb:
|
444
|
+
#: ../app/models/host/discovered.rb:33
|
446
445
|
msgid "Invalid facts, must be a Hash"
|
447
446
|
msgstr "无效详情,必须是 Hash"
|
448
447
|
|
449
|
-
#: ../app/models/host/discovered.rb:
|
448
|
+
#: ../app/models/host/discovered.rb:38
|
450
449
|
msgid ""
|
451
450
|
"Expected discovery_fact '%s' is missing, unable to detect primary interface "
|
452
451
|
"and set hostname"
|
453
452
|
msgstr "缺少预期的 discovery_fact '%s',无法探测主接口及设置主机名。"
|
454
453
|
|
455
|
-
#: ../app/models/host/discovered.rb:
|
454
|
+
#: ../app/models/host/discovered.rb:45
|
456
455
|
msgid ""
|
457
456
|
"Invalid facts: hash does not contain a valid value for any of the facts in "
|
458
457
|
"the discovery_hostname setting: %s"
|
459
458
|
msgstr ""
|
460
459
|
|
461
|
-
#: ../app/models/host/discovered.rb:
|
460
|
+
#: ../app/models/host/discovered.rb:62
|
462
461
|
msgid "Facts could not be imported"
|
463
462
|
msgstr ""
|
464
463
|
|
465
|
-
#: ../app/models/host/discovered.rb:
|
464
|
+
#: ../app/models/host/discovered.rb:112
|
466
465
|
msgid "Unable to assign subnet, primary interface is missing IP address"
|
467
466
|
msgstr "无法分配子网,主接口缺少 IP 地址。"
|
468
467
|
|
469
|
-
#: ../app/models/host/discovered.rb:
|
468
|
+
#: ../app/models/host/discovered.rb:166
|
470
469
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
471
470
|
msgstr "无法从代理服务器 %{url} 获取详情: %{error}"
|
472
471
|
|
473
|
-
#: ../app/models/host/discovered.rb:
|
472
|
+
#: ../app/models/host/discovered.rb:182
|
474
473
|
msgid "Unable to reboot %{name} via %{url}: %{msg}"
|
475
474
|
msgstr "无法在 %{url} 重启 %{name}:%{msg}"
|
476
475
|
|
477
|
-
#: ../app/models/host/discovered.rb:
|
476
|
+
#: ../app/models/host/discovered.rb:190
|
478
477
|
msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
|
479
478
|
msgstr "无法通过 %{url} 在 %{name} 中执行 kexec:%{msg}"
|
480
479
|
|
481
|
-
#: ../app/models/host/discovered.rb:
|
480
|
+
#: ../app/models/host/discovered.rb:209
|
482
481
|
msgid "Invalid hostname: Could not normalize the hostname"
|
483
482
|
msgstr ""
|
484
483
|
|
485
|
-
#: ../app/models/host/managed_extensions.rb:
|
484
|
+
#: ../app/models/host/managed_extensions.rb:23
|
486
485
|
msgid "Reloading kernel on %s"
|
487
486
|
msgstr "在 %s 重新载入内核"
|
488
487
|
|
489
|
-
#: ../app/models/host/managed_extensions.rb:
|
488
|
+
#: ../app/models/host/managed_extensions.rb:25
|
490
489
|
msgid "Rebooting %s"
|
491
490
|
msgstr "正在重启 %s"
|
492
491
|
|
493
492
|
#: ../app/models/host/managed_extensions.rb:45
|
494
|
-
msgid "Operating system not set for host/hostgroup"
|
495
|
-
msgstr "没有为主机/主机组设置操作系统"
|
496
|
-
|
497
|
-
#: ../app/models/host/managed_extensions.rb:47
|
498
|
-
msgid "Medium not set for host/hostgroup"
|
499
|
-
msgstr "没有为主机/主机组设置媒体"
|
500
|
-
|
501
|
-
#: ../app/models/host/managed_extensions.rb:54
|
502
493
|
msgid "Kexec template not associated with operating system"
|
503
494
|
msgstr "Kexec 模板没有与操作系统关联"
|
504
495
|
|
496
|
+
#: ../app/models/nic/managed_extensions.rb:14
|
497
|
+
msgid "Rebuild DNS for %s"
|
498
|
+
msgstr ""
|
499
|
+
|
505
500
|
#: ../app/models/setting/discovered.rb:19
|
506
501
|
msgid "Fact name to use for primary interface detection"
|
507
502
|
msgstr ""
|
@@ -622,19 +617,27 @@ msgstr ""
|
|
622
617
|
msgid "Locked template name"
|
623
618
|
msgstr ""
|
624
619
|
|
625
|
-
#: ../app/models/setting/discovered.rb:
|
620
|
+
#: ../app/models/setting/discovered.rb:34
|
621
|
+
msgid "Force DNS entries creation when provisioning discovered host"
|
622
|
+
msgstr ""
|
623
|
+
|
624
|
+
#: ../app/models/setting/discovered.rb:34
|
625
|
+
msgid "Force DNS"
|
626
|
+
msgstr ""
|
627
|
+
|
628
|
+
#: ../app/models/setting/discovered.rb:41
|
626
629
|
msgid "The default location to place discovered hosts in"
|
627
630
|
msgstr "找到主机的默认位置"
|
628
631
|
|
629
|
-
#: ../app/models/setting/discovered.rb:
|
632
|
+
#: ../app/models/setting/discovered.rb:41
|
630
633
|
msgid "Discovery location"
|
631
634
|
msgstr ""
|
632
635
|
|
633
|
-
#: ../app/models/setting/discovered.rb:
|
636
|
+
#: ../app/models/setting/discovered.rb:49
|
634
637
|
msgid "The default organization to place discovered hosts in"
|
635
638
|
msgstr "找到主机的默认机构"
|
636
639
|
|
637
|
-
#: ../app/models/setting/discovered.rb:
|
640
|
+
#: ../app/models/setting/discovered.rb:49
|
638
641
|
msgid "Discovery organization"
|
639
642
|
msgstr ""
|
640
643
|
|
@@ -682,6 +685,18 @@ msgstr "处理器"
|
|
682
685
|
msgid "Memory"
|
683
686
|
msgstr "内存"
|
684
687
|
|
688
|
+
#: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:7
|
689
|
+
msgid "Select initial host properties"
|
690
|
+
msgstr ""
|
691
|
+
|
692
|
+
#: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
|
693
|
+
msgid "Quick create"
|
694
|
+
msgstr ""
|
695
|
+
|
696
|
+
#: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
|
697
|
+
msgid "Create host"
|
698
|
+
msgstr ""
|
699
|
+
|
685
700
|
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
|
686
701
|
#: ../lib/foreman_discovery/engine.rb:147
|
687
702
|
msgid "Discovered hosts"
|
@@ -738,27 +753,15 @@ msgstr "子网"
|
|
738
753
|
msgid "Last facts upload"
|
739
754
|
msgstr "最后一个上传的详情"
|
740
755
|
|
741
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
742
|
-
msgid "Select initial host properties"
|
743
|
-
msgstr ""
|
744
|
-
|
745
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:65
|
746
|
-
msgid "Quick create"
|
747
|
-
msgstr ""
|
748
|
-
|
749
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
|
750
|
-
msgid "Create host"
|
751
|
-
msgstr ""
|
752
|
-
|
753
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:88
|
756
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:60
|
754
757
|
msgid "Please Confirm"
|
755
758
|
msgstr "请确认"
|
756
759
|
|
757
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
760
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:66
|
758
761
|
msgid "Cancel"
|
759
762
|
msgstr "取消"
|
760
763
|
|
761
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
764
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:67
|
762
765
|
msgid "Submit"
|
763
766
|
msgstr "提交"
|
764
767
|
|
@@ -792,19 +795,23 @@ msgstr "选择机构"
|
|
792
795
|
msgid "Discovered host: %s"
|
793
796
|
msgstr "找到的主机:%s"
|
794
797
|
|
795
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
798
|
+
#: ../app/views/discovered_hosts/show.html.erb:34
|
796
799
|
msgid "Interfaces"
|
797
800
|
msgstr ""
|
798
801
|
|
799
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
802
|
+
#: ../app/views/discovered_hosts/show.html.erb:41
|
803
|
+
msgid "Type"
|
804
|
+
msgstr ""
|
805
|
+
|
806
|
+
#: ../app/views/discovered_hosts/show.html.erb:42
|
800
807
|
msgid "Identifier"
|
801
808
|
msgstr "标识符"
|
802
809
|
|
803
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
810
|
+
#: ../app/views/discovered_hosts/show.html.erb:43
|
804
811
|
msgid "MAC address"
|
805
812
|
msgstr "MAC 地址"
|
806
813
|
|
807
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
814
|
+
#: ../app/views/discovered_hosts/show.html.erb:44
|
808
815
|
msgid "IP address"
|
809
816
|
msgstr "IP 地址"
|
810
817
|
|
@@ -952,6 +959,6 @@ msgstr ""
|
|
952
959
|
msgid "Discovery rules"
|
953
960
|
msgstr "发现规则"
|
954
961
|
|
955
|
-
#: ../lib/foreman_discovery/engine.rb:
|
962
|
+
#: ../lib/foreman_discovery/engine.rb:162
|
956
963
|
msgid "Discovery widget"
|
957
964
|
msgstr "发现小程序"
|