foreman_discovery 2.0.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -182
  3. data/app/controllers/api/v2/discovered_hosts_controller.rb +2 -2
  4. data/app/controllers/api/v2/discovery_rules_controller.rb +16 -8
  5. data/app/controllers/discovered_hosts_controller.rb +8 -1
  6. data/app/helpers/discovered_hosts_helper.rb +1 -1
  7. data/app/models/discovery_rule.rb +0 -7
  8. data/app/models/host/discovered.rb +14 -4
  9. data/app/services/host_converter.rb +2 -2
  10. data/app/views/api/v2/discovery_rules/main.json.rabl +1 -6
  11. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -1
  12. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -2
  13. data/app/views/discovery_rules/index.html.erb +3 -3
  14. data/lib/foreman_discovery/engine.rb +5 -8
  15. data/lib/foreman_discovery/version.rb +1 -1
  16. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  17. data/locale/de/foreman_discovery.po +211 -20
  18. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  19. data/locale/en_GB/foreman_discovery.po +208 -17
  20. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/es/foreman_discovery.po +212 -19
  22. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/fr/foreman_discovery.po +209 -18
  24. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  25. data/locale/gl/foreman_discovery.po +203 -12
  26. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/it/foreman_discovery.po +209 -18
  28. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/ja/foreman_discovery.po +209 -18
  30. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/ko/foreman_discovery.po +209 -18
  32. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/pt_BR/foreman_discovery.po +209 -18
  34. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/ru/foreman_discovery.po +209 -18
  36. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/sv_SE/foreman_discovery.po +209 -18
  38. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/zh_CN/foreman_discovery.po +209 -18
  40. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/zh_TW/foreman_discovery.po +209 -18
  42. data/test/factories/discovery_rule_related.rb +1 -0
  43. data/test/functional/api/v2/discovered_hosts_controller_test.rb +19 -4
  44. data/test/functional/discovered_hosts_controller_test.rb +4 -3
  45. data/test/unit/discovered_extensions_test.rb +9 -7
  46. data/test/unit/facts.json +3 -1
  47. data/test/unit/host_discovered_test.rb +7 -8
  48. metadata +2 -5
  49. data/db/migrate/20150310153859_remove_discovery_attribute_sets_from_managed_hosts.rb +0 -8
  50. data/test/unit/discovery_rule_test.rb +0 -20
@@ -1,18 +1,17 @@
1
- # Template file for strings which can be localized in the Foreman Application.
2
- #
3
- # This file is distributed under the same license as the Foreman.
4
- #
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 package.
5
4
  #
6
5
  # Translators:
7
6
  # Dominic Cleal <dcleal@redhat.com>, 2014
8
7
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
8
  msgid ""
10
9
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 1.4.0.rc2\n"
10
+ "Project-Id-Version: foreman_discovery 2.0.0.rc1\n"
12
11
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2014-08-20 08:33+0100\n"
14
- "PO-Revision-Date: 2014-09-16 13:30+0000\n"
15
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
12
+ "POT-Creation-Date: 2015-01-28 17:53+0100\n"
13
+ "PO-Revision-Date: 2015-01-30 11:12+0000\n"
14
+ "Last-Translator: Lukáš Zapletal\n"
16
15
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/projects/p/foreman/language/sv_SE/)\n"
17
16
  "MIME-Version: 1.0\n"
18
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -35,15 +34,32 @@ msgstr "Tilldela Plats"
35
34
  msgid "Assign Organization"
36
35
  msgstr "Tilldela Organisation"
37
36
 
37
+ msgid "Auto Provision"
38
+ msgstr ""
39
+
40
+ msgid "Auto Provision All"
41
+ msgstr ""
42
+
43
+ msgid ""
44
+ "Automatically provision newly discovered hosts, according to the "
45
+ "provisioning rules"
46
+ msgstr ""
47
+
48
+ msgid "CPUs"
49
+ msgstr "CPUer"
50
+
38
51
  msgid "Cancel"
39
52
  msgstr "Avbryt"
40
53
 
41
- msgid "Could not get facts from proxy: %s"
42
- msgstr "Kunde inte hämta fakta från proxy: %s"
54
+ msgid "Could not get facts from proxy %{url}: %{error}"
55
+ msgstr ""
43
56
 
44
57
  msgid "Create a discovered host"
45
58
  msgstr ""
46
59
 
60
+ msgid "Create a discovery rule"
61
+ msgstr ""
62
+
47
63
  msgid "Delete"
48
64
  msgstr "Radera"
49
65
 
@@ -53,12 +69,21 @@ msgstr "Radera %s?"
53
69
  msgid "Delete a discovered host"
54
70
  msgstr ""
55
71
 
72
+ msgid "Delete a rule"
73
+ msgstr ""
74
+
56
75
  msgid "Delete hosts"
57
76
  msgstr "Radera värdar"
58
77
 
59
78
  msgid "Destroyed selected hosts"
60
79
  msgstr "Förstör markerade värdar"
61
80
 
81
+ msgid "Disable"
82
+ msgstr ""
83
+
84
+ msgid "Disable rule?"
85
+ msgstr ""
86
+
62
87
  msgid "Discovered Host Pool"
63
88
  msgstr ""
64
89
 
@@ -68,9 +93,60 @@ msgstr "Hittade värdar: %s"
68
93
  msgid "Discovered hosts"
69
94
  msgstr "Hittade värdar"
70
95
 
96
+ msgid "Discovered hosts are provisioning now"
97
+ msgstr ""
98
+
99
+ msgid "Discovery Rules"
100
+ msgstr ""
101
+
102
+ msgid "Discovery rules"
103
+ msgstr ""
104
+
71
105
  msgid "Discovery widget"
72
106
  msgstr ""
73
107
 
108
+ msgid "DiscoveryRule|Enabled"
109
+ msgstr ""
110
+
111
+ msgid "DiscoveryRule|Name"
112
+ msgstr ""
113
+
114
+ msgid "DiscoveryRule|Priority"
115
+ msgstr ""
116
+
117
+ msgid "DiscoveryRule|Query"
118
+ msgstr ""
119
+
120
+ msgid "Disk count"
121
+ msgstr ""
122
+
123
+ msgid "Disks size"
124
+ msgstr ""
125
+
126
+ msgid ""
127
+ "Domain will be appended automatically. A hostname based on MAC address will "
128
+ "be used when left blank. In addition to @host attribute function rand for "
129
+ "random integers is available. Examples:"
130
+ msgstr ""
131
+
132
+ msgid "Edit Discovery Rule"
133
+ msgstr ""
134
+
135
+ msgid "Enable"
136
+ msgstr ""
137
+
138
+ msgid "Enable rule?"
139
+ msgstr ""
140
+
141
+ msgid "Errors during auto provisioning: %s"
142
+ msgstr ""
143
+
144
+ msgid "Execute rules against a discovered host"
145
+ msgstr ""
146
+
147
+ msgid "Execute rules against all currently discovered hosts"
148
+ msgstr ""
149
+
74
150
  msgid "Fact"
75
151
  msgstr "Fakta"
76
152
 
@@ -80,20 +156,50 @@ msgstr "Fakta hittade för denna värd"
80
156
  msgid "Facts refreshed for %s"
81
157
  msgstr "Fakta uppdaterade för %s"
82
158
 
83
- msgid "Failed to import facts for Host::Discovered"
84
- msgstr "Misslyckades att importera fakta för Host::Discovered"
159
+ msgid "Failed to auto provision host %s: %s"
160
+ msgstr ""
85
161
 
86
- msgid "Failed to import facts for Host::Discovered: %s"
87
- msgstr "Misslyckades att importera fakta för Host::Discovered: %s"
162
+ msgid "Failed to import facts for discovered host"
163
+ msgstr ""
88
164
 
89
- msgid "Failed to reboot: %s"
90
- msgstr "Misslyckades att starta om: %s"
165
+ msgid "Failed to import facts for discovered host: %s"
166
+ msgstr ""
167
+
168
+ msgid "Failed to reboot host %s"
169
+ msgstr ""
170
+
171
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
172
+ msgstr ""
91
173
 
92
174
  msgid "Failed to refresh facts for %s"
93
175
  msgstr "Misslyckades med att uppdatera fakta för %s"
94
176
 
95
- msgid "Imported Host::Discovered"
96
- msgstr "Importerade Host::Discovered"
177
+ msgid "Host"
178
+ msgstr "Värd"
179
+
180
+ msgid "Host %{host} was provisioned with rule %{rule}"
181
+ msgstr ""
182
+
183
+ msgid "Host group"
184
+ msgstr "Värdgrupp"
185
+
186
+ msgid "Host of type %s can not be rebooted"
187
+ msgstr ""
188
+
189
+ msgid "Hostname for provisioned hosts"
190
+ msgstr ""
191
+
192
+ msgid "Hosts limit"
193
+ msgstr ""
194
+
195
+ msgid "Hosts/limit"
196
+ msgstr ""
197
+
198
+ msgid "IP Address"
199
+ msgstr "IPadress"
200
+
201
+ msgid "Imported discovered host"
202
+ msgstr ""
97
203
 
98
204
  msgid "Invalid facts, must be a Hash"
99
205
  msgstr ""
@@ -110,24 +216,48 @@ msgstr "Sista faktauppladdning"
110
216
  msgid "List all discovered hosts"
111
217
  msgstr ""
112
218
 
219
+ msgid "List all discovery rules"
220
+ msgstr ""
221
+
113
222
  msgid "Location"
114
223
  msgstr "Lokation"
115
224
 
225
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
226
+ msgstr ""
227
+
228
+ msgid "Memory"
229
+ msgstr "Minne"
230
+
116
231
  msgid "Model"
117
232
  msgstr "Modell"
118
233
 
234
+ msgid "N/A"
235
+ msgstr "N/A"
236
+
119
237
  msgid "Name"
120
238
  msgstr "Namn"
121
239
 
240
+ msgid "New Discovery Rule"
241
+ msgstr ""
242
+
243
+ msgid "New Rule"
244
+ msgstr ""
245
+
122
246
  msgid "No discovered hosts available"
123
247
  msgstr ""
124
248
 
249
+ msgid "No discovered hosts to provision"
250
+ msgstr ""
251
+
125
252
  msgid "No hosts selected"
126
253
  msgstr "Inga värdar markerade"
127
254
 
128
255
  msgid "No hosts were found with that id or name"
129
256
  msgstr "Inga värdar med det idt eller namnet hittades"
130
257
 
258
+ msgid "No rule found for host %s"
259
+ msgstr ""
260
+
131
261
  msgid "Organization"
132
262
  msgstr "Organisation"
133
263
 
@@ -140,12 +270,33 @@ msgstr "Provisionera"
140
270
  msgid "Provision a discovered host"
141
271
  msgstr ""
142
272
 
273
+ msgid "Reboot"
274
+ msgstr ""
275
+
143
276
  msgid "Rebooting %s"
144
277
  msgstr "Startar om %s"
145
278
 
279
+ msgid "Rebooting a discovered host"
280
+ msgstr ""
281
+
282
+ msgid "Rebooting host %s"
283
+ msgstr ""
284
+
146
285
  msgid "Refresh facts"
147
286
  msgstr "Uppdatera fakta"
148
287
 
288
+ msgid "Refreshing the facts of a discovered host"
289
+ msgstr ""
290
+
291
+ msgid "Rule disabled"
292
+ msgstr ""
293
+
294
+ msgid "Rule enabled"
295
+ msgstr ""
296
+
297
+ msgid "Rule priority (lower integer means higher priority)"
298
+ msgstr ""
299
+
149
300
  msgid "Select Action"
150
301
  msgstr "Välj Åtgärd"
151
302
 
@@ -161,15 +312,32 @@ msgstr "Välj organisation"
161
312
  msgid "Show a discovered host"
162
313
  msgstr ""
163
314
 
315
+ msgid "Show a discovery rule"
316
+ msgstr ""
317
+
318
+ msgid "Show fact as an extra column in the discovered hosts list"
319
+ msgstr ""
320
+
164
321
  msgid "Something went wrong while selecting hosts - %s"
165
322
  msgstr "Något blev fel vid markering av värdar - %s"
166
323
 
324
+ msgid ""
325
+ "Specify target hostname template pattern in the same syntax as in "
326
+ "Provisioning Templates (ERB)."
327
+ msgstr ""
328
+
167
329
  msgid "Submit"
168
330
  msgstr "Sänd"
169
331
 
170
332
  msgid "Subnet"
171
333
  msgstr "Subnät"
172
334
 
335
+ msgid "Target host group for this rule with all properties set"
336
+ msgstr ""
337
+
338
+ msgid "Template"
339
+ msgstr "Mall"
340
+
173
341
  msgid "The default fact name to use for the MAC of the system"
174
342
  msgstr "Fördefinierat faktanamn att använda för MAC för systemet"
175
343
 
@@ -179,6 +347,9 @@ msgstr "Standardplatsen att placera värdar i"
179
347
  msgid "The default organization to place discovered hosts in"
180
348
  msgstr "Standardorganisationen att placera hittade värdar i"
181
349
 
350
+ msgid "The default prefix to use for the host name, must start with a letter"
351
+ msgstr ""
352
+
182
353
  msgid "The following hosts were not deleted: %s"
183
354
  msgstr "Följande värdar raderades inte: %s"
184
355
 
@@ -196,6 +367,9 @@ msgid ""
196
367
  "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
197
368
  msgstr ""
198
369
 
370
+ msgid "Update a rule"
371
+ msgstr ""
372
+
199
373
  msgid "Upload facts for a host, creating the host if required"
200
374
  msgstr ""
201
375
 
@@ -205,6 +379,15 @@ msgstr "Värde"
205
379
  msgid "Warning"
206
380
  msgstr "Varning"
207
381
 
382
+ msgid ""
383
+ "When creating hostname patterns, make sure the resulting host names are "
384
+ "unique. Hostnames must not start with numbers. A good approach is to use "
385
+ "unique information provided by facter (MAC address, BIOS or serial ID)."
386
+ msgstr ""
387
+
388
+ msgid "can't contain white spaces."
389
+ msgstr ""
390
+
208
391
  msgid "filter results"
209
392
  msgstr ""
210
393
 
@@ -214,6 +397,9 @@ msgstr ""
214
397
  msgid "items selected. Uncheck to Clear"
215
398
  msgstr "poster markerade. Avmarkera för att rensa"
216
399
 
400
+ msgid "must start with a letter or ERB."
401
+ msgstr ""
402
+
217
403
  msgid "not required if it's a virtual machine"
218
404
  msgstr ""
219
405
 
@@ -226,5 +412,10 @@ msgstr ""
226
412
  msgid "paginate results"
227
413
  msgstr ""
228
414
 
415
+ msgid ""
416
+ "required if value is not inherited from host group or default password in "
417
+ "settings"
418
+ msgstr ""
419
+
229
420
  msgid "sort results"
230
421
  msgstr ""
@@ -1,16 +1,15 @@
1
- # Template file for strings which can be localized in the Foreman Application.
2
- #
3
- # This file is distributed under the same license as the Foreman.
4
- #
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 package.
5
4
  #
6
5
  # Translators:
7
6
  msgid ""
8
7
  msgstr ""
9
- "Project-Id-Version: foreman_discovery 1.4.0.rc2\n"
8
+ "Project-Id-Version: foreman_discovery 2.0.0.rc1\n"
10
9
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-08-20 08:33+0100\n"
12
- "PO-Revision-Date: 2014-09-16 13:21+0000\n"
13
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
10
+ "POT-Creation-Date: 2015-01-28 17:53+0100\n"
11
+ "PO-Revision-Date: 2015-01-30 11:12+0000\n"
12
+ "Last-Translator: Lukáš Zapletal\n"
14
13
  "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/foreman/language/zh_CN/)\n"
15
14
  "MIME-Version: 1.0\n"
16
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -33,15 +32,32 @@ msgstr "指定位置"
33
32
  msgid "Assign Organization"
34
33
  msgstr "指定机构"
35
34
 
35
+ msgid "Auto Provision"
36
+ msgstr ""
37
+
38
+ msgid "Auto Provision All"
39
+ msgstr ""
40
+
41
+ msgid ""
42
+ "Automatically provision newly discovered hosts, according to the "
43
+ "provisioning rules"
44
+ msgstr ""
45
+
46
+ msgid "CPUs"
47
+ msgstr "处理器"
48
+
36
49
  msgid "Cancel"
37
50
  msgstr "取消"
38
51
 
39
- msgid "Could not get facts from proxy: %s"
40
- msgstr "无法从代理服务器获取详情:%s"
52
+ msgid "Could not get facts from proxy %{url}: %{error}"
53
+ msgstr ""
41
54
 
42
55
  msgid "Create a discovered host"
43
56
  msgstr ""
44
57
 
58
+ msgid "Create a discovery rule"
59
+ msgstr ""
60
+
45
61
  msgid "Delete"
46
62
  msgstr "删除"
47
63
 
@@ -51,12 +67,21 @@ msgstr "删除 %s"
51
67
  msgid "Delete a discovered host"
52
68
  msgstr ""
53
69
 
70
+ msgid "Delete a rule"
71
+ msgstr ""
72
+
54
73
  msgid "Delete hosts"
55
74
  msgstr "删除主机"
56
75
 
57
76
  msgid "Destroyed selected hosts"
58
77
  msgstr "消除所选主机"
59
78
 
79
+ msgid "Disable"
80
+ msgstr ""
81
+
82
+ msgid "Disable rule?"
83
+ msgstr ""
84
+
60
85
  msgid "Discovered Host Pool"
61
86
  msgstr ""
62
87
 
@@ -66,9 +91,60 @@ msgstr "找到的主机:%s"
66
91
  msgid "Discovered hosts"
67
92
  msgstr "找到的主机"
68
93
 
94
+ msgid "Discovered hosts are provisioning now"
95
+ msgstr ""
96
+
97
+ msgid "Discovery Rules"
98
+ msgstr ""
99
+
100
+ msgid "Discovery rules"
101
+ msgstr ""
102
+
69
103
  msgid "Discovery widget"
70
104
  msgstr ""
71
105
 
106
+ msgid "DiscoveryRule|Enabled"
107
+ msgstr ""
108
+
109
+ msgid "DiscoveryRule|Name"
110
+ msgstr ""
111
+
112
+ msgid "DiscoveryRule|Priority"
113
+ msgstr ""
114
+
115
+ msgid "DiscoveryRule|Query"
116
+ msgstr ""
117
+
118
+ msgid "Disk count"
119
+ msgstr ""
120
+
121
+ msgid "Disks size"
122
+ msgstr ""
123
+
124
+ msgid ""
125
+ "Domain will be appended automatically. A hostname based on MAC address will "
126
+ "be used when left blank. In addition to @host attribute function rand for "
127
+ "random integers is available. Examples:"
128
+ msgstr ""
129
+
130
+ msgid "Edit Discovery Rule"
131
+ msgstr ""
132
+
133
+ msgid "Enable"
134
+ msgstr ""
135
+
136
+ msgid "Enable rule?"
137
+ msgstr ""
138
+
139
+ msgid "Errors during auto provisioning: %s"
140
+ msgstr ""
141
+
142
+ msgid "Execute rules against a discovered host"
143
+ msgstr ""
144
+
145
+ msgid "Execute rules against all currently discovered hosts"
146
+ msgstr ""
147
+
72
148
  msgid "Fact"
73
149
  msgstr "详情"
74
150
 
@@ -78,20 +154,50 @@ msgstr "在这台主机中找到的详情"
78
154
  msgid "Facts refreshed for %s"
79
155
  msgstr "为 %s 刷新详情"
80
156
 
81
- msgid "Failed to import facts for Host::Discovered"
82
- msgstr "为 Host::Discovered 导入详情失败"
157
+ msgid "Failed to auto provision host %s: %s"
158
+ msgstr ""
83
159
 
84
- msgid "Failed to import facts for Host::Discovered: %s"
85
- msgstr "为 Host::Discovered 导入详情失败:%s"
160
+ msgid "Failed to import facts for discovered host"
161
+ msgstr ""
86
162
 
87
- msgid "Failed to reboot: %s"
88
- msgstr "重启失败:%s"
163
+ msgid "Failed to import facts for discovered host: %s"
164
+ msgstr ""
165
+
166
+ msgid "Failed to reboot host %s"
167
+ msgstr ""
168
+
169
+ msgid "Failed to reboot host %{hostname} with error %{error_message}"
170
+ msgstr ""
89
171
 
90
172
  msgid "Failed to refresh facts for %s"
91
173
  msgstr "为 %s 刷新详情失败"
92
174
 
93
- msgid "Imported Host::Discovered"
94
- msgstr "已导入 Host::Discovered"
175
+ msgid "Host"
176
+ msgstr "主机"
177
+
178
+ msgid "Host %{host} was provisioned with rule %{rule}"
179
+ msgstr ""
180
+
181
+ msgid "Host group"
182
+ msgstr "主机组"
183
+
184
+ msgid "Host of type %s can not be rebooted"
185
+ msgstr ""
186
+
187
+ msgid "Hostname for provisioned hosts"
188
+ msgstr ""
189
+
190
+ msgid "Hosts limit"
191
+ msgstr ""
192
+
193
+ msgid "Hosts/limit"
194
+ msgstr ""
195
+
196
+ msgid "IP Address"
197
+ msgstr "IP地址"
198
+
199
+ msgid "Imported discovered host"
200
+ msgstr ""
95
201
 
96
202
  msgid "Invalid facts, must be a Hash"
97
203
  msgstr "无效详情,必须是 hash"
@@ -108,24 +214,48 @@ msgstr "最后一个上传的详情"
108
214
  msgid "List all discovered hosts"
109
215
  msgstr ""
110
216
 
217
+ msgid "List all discovery rules"
218
+ msgstr ""
219
+
111
220
  msgid "Location"
112
221
  msgstr "位置"
113
222
 
223
+ msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
224
+ msgstr ""
225
+
226
+ msgid "Memory"
227
+ msgstr "内存"
228
+
114
229
  msgid "Model"
115
230
  msgstr "型号"
116
231
 
232
+ msgid "N/A"
233
+ msgstr "无"
234
+
117
235
  msgid "Name"
118
236
  msgstr "名称"
119
237
 
238
+ msgid "New Discovery Rule"
239
+ msgstr ""
240
+
241
+ msgid "New Rule"
242
+ msgstr ""
243
+
120
244
  msgid "No discovered hosts available"
121
245
  msgstr ""
122
246
 
247
+ msgid "No discovered hosts to provision"
248
+ msgstr ""
249
+
123
250
  msgid "No hosts selected"
124
251
  msgstr "未选择任何主机"
125
252
 
126
253
  msgid "No hosts were found with that id or name"
127
254
  msgstr "未找到符合此 id 或者名称的主机"
128
255
 
256
+ msgid "No rule found for host %s"
257
+ msgstr ""
258
+
129
259
  msgid "Organization"
130
260
  msgstr "机构"
131
261
 
@@ -138,12 +268,33 @@ msgstr "供应"
138
268
  msgid "Provision a discovered host"
139
269
  msgstr ""
140
270
 
271
+ msgid "Reboot"
272
+ msgstr ""
273
+
141
274
  msgid "Rebooting %s"
142
275
  msgstr "正在重启 %s"
143
276
 
277
+ msgid "Rebooting a discovered host"
278
+ msgstr ""
279
+
280
+ msgid "Rebooting host %s"
281
+ msgstr ""
282
+
144
283
  msgid "Refresh facts"
145
284
  msgstr "刷新详情"
146
285
 
286
+ msgid "Refreshing the facts of a discovered host"
287
+ msgstr ""
288
+
289
+ msgid "Rule disabled"
290
+ msgstr ""
291
+
292
+ msgid "Rule enabled"
293
+ msgstr ""
294
+
295
+ msgid "Rule priority (lower integer means higher priority)"
296
+ msgstr ""
297
+
147
298
  msgid "Select Action"
148
299
  msgstr "选择动作"
149
300
 
@@ -159,15 +310,32 @@ msgstr "选择机构"
159
310
  msgid "Show a discovered host"
160
311
  msgstr ""
161
312
 
313
+ msgid "Show a discovery rule"
314
+ msgstr ""
315
+
316
+ msgid "Show fact as an extra column in the discovered hosts list"
317
+ msgstr ""
318
+
162
319
  msgid "Something went wrong while selecting hosts - %s"
163
320
  msgstr "选择主机时出错 - %s"
164
321
 
322
+ msgid ""
323
+ "Specify target hostname template pattern in the same syntax as in "
324
+ "Provisioning Templates (ERB)."
325
+ msgstr ""
326
+
165
327
  msgid "Submit"
166
328
  msgstr "提交"
167
329
 
168
330
  msgid "Subnet"
169
331
  msgstr "子网"
170
332
 
333
+ msgid "Target host group for this rule with all properties set"
334
+ msgstr ""
335
+
336
+ msgid "Template"
337
+ msgstr "模板"
338
+
171
339
  msgid "The default fact name to use for the MAC of the system"
172
340
  msgstr "该系统 MAC 的默认详情名称"
173
341
 
@@ -177,6 +345,9 @@ msgstr "找到主机的默认位置"
177
345
  msgid "The default organization to place discovered hosts in"
178
346
  msgstr "找到主机的默认机构"
179
347
 
348
+ msgid "The default prefix to use for the host name, must start with a letter"
349
+ msgstr ""
350
+
180
351
  msgid "The following hosts were not deleted: %s"
181
352
  msgstr "未删除以下主机:%s"
182
353
 
@@ -193,6 +364,9 @@ msgid ""
193
364
  "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
194
365
  msgstr ""
195
366
 
367
+ msgid "Update a rule"
368
+ msgstr ""
369
+
196
370
  msgid "Upload facts for a host, creating the host if required"
197
371
  msgstr ""
198
372
 
@@ -202,6 +376,15 @@ msgstr "值"
202
376
  msgid "Warning"
203
377
  msgstr "警告"
204
378
 
379
+ msgid ""
380
+ "When creating hostname patterns, make sure the resulting host names are "
381
+ "unique. Hostnames must not start with numbers. A good approach is to use "
382
+ "unique information provided by facter (MAC address, BIOS or serial ID)."
383
+ msgstr ""
384
+
385
+ msgid "can't contain white spaces."
386
+ msgstr ""
387
+
205
388
  msgid "filter results"
206
389
  msgstr ""
207
390
 
@@ -211,6 +394,9 @@ msgstr ""
211
394
  msgid "items selected. Uncheck to Clear"
212
395
  msgstr "已选择项目。取消选择清除。"
213
396
 
397
+ msgid "must start with a letter or ERB."
398
+ msgstr ""
399
+
214
400
  msgid "not required if it's a virtual machine"
215
401
  msgstr ""
216
402
 
@@ -223,5 +409,10 @@ msgstr ""
223
409
  msgid "paginate results"
224
410
  msgstr ""
225
411
 
412
+ msgid ""
413
+ "required if value is not inherited from host group or default password in "
414
+ "settings"
415
+ msgstr ""
416
+
226
417
  msgid "sort results"
227
418
  msgstr ""