foreman_discovery 15.0.0 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/discovery_attribute_set.rb +0 -1
  3. data/app/models/host/discovered.rb +1 -2
  4. data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +9 -2
  5. data/lib/foreman_discovery/version.rb +1 -1
  6. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  7. data/locale/ca/foreman_discovery.edit.po +81 -170
  8. data/locale/ca/foreman_discovery.po +1 -1
  9. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  10. data/locale/de/foreman_discovery.edit.po +79 -169
  11. data/locale/de/foreman_discovery.po +1 -1
  12. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  13. data/locale/en/foreman_discovery.edit.po +12 -12
  14. data/locale/en/foreman_discovery.po +1 -1
  15. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  16. data/locale/en_GB/foreman_discovery.edit.po +81 -170
  17. data/locale/en_GB/foreman_discovery.po +1 -1
  18. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  19. data/locale/es/foreman_discovery.edit.po +81 -170
  20. data/locale/es/foreman_discovery.po +1 -1
  21. data/locale/foreman_discovery.pot +13 -13
  22. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/fr/foreman_discovery.edit.po +79 -169
  24. data/locale/fr/foreman_discovery.po +1 -1
  25. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/gl/foreman_discovery.edit.po +81 -170
  27. data/locale/gl/foreman_discovery.po +1 -1
  28. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/it/foreman_discovery.edit.po +81 -170
  30. data/locale/it/foreman_discovery.po +1 -1
  31. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/ja/foreman_discovery.edit.po +83 -170
  33. data/locale/ja/foreman_discovery.po +1 -1
  34. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/ko/foreman_discovery.edit.po +81 -169
  36. data/locale/ko/foreman_discovery.po +1 -1
  37. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/pt_BR/foreman_discovery.edit.po +81 -170
  39. data/locale/pt_BR/foreman_discovery.po +1 -1
  40. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/ru/foreman_discovery.edit.po +84 -171
  42. data/locale/ru/foreman_discovery.po +1 -1
  43. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/sv_SE/foreman_discovery.edit.po +81 -170
  45. data/locale/sv_SE/foreman_discovery.po +1 -1
  46. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/zh_CN/foreman_discovery.edit.po +83 -170
  48. data/locale/zh_CN/foreman_discovery.po +1 -1
  49. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/zh_TW/foreman_discovery.edit.po +83 -170
  51. data/locale/zh_TW/foreman_discovery.po +1 -1
  52. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  53. data/test/unit/discovery_attribute_set_test.rb +12 -8
  54. data/test/unit/managed_extensions_test.rb +2 -2
  55. metadata +29 -34
  56. data/test/facts/asswweb061.json +0 -2967
  57. data/test/facts/qemu_noip.json +0 -2
@@ -8,7 +8,7 @@
8
8
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 14.0.0\n"
11
+ "Project-Id-Version: foreman_discovery 15.0.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2019-04-18 19:36+0000\n"
14
14
  "Last-Translator: Lukáš Zapletal\n"
@@ -1,16 +1,17 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the foreman_discovery package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 14.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 15.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2019-04-18 13:34+0200\n"
10
+ "POT-Creation-Date: 2019-07-23 17:13+0200\n"
11
11
  "PO-Revision-Date: 2019-04-18 19:36+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
- "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
13
+ "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
14
+ "age/zh_CN/)\n"
14
15
  "MIME-Version: 1.0\n"
15
16
  "Content-Type: text/plain; charset=UTF-8\n"
16
17
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,23 +22,19 @@ msgstr ""
21
22
  msgid "List all discovered hosts"
22
23
  msgstr "列出所有发现主机"
23
24
 
24
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
25
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
25
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../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:18
30
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
29
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
31
30
  msgid "sort results"
32
31
  msgstr "结果排序"
33
32
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
35
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
33
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
36
34
  msgid "paginate results"
37
35
  msgstr "编页结果"
38
36
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
40
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
37
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
41
38
  msgid "number of entries per request"
42
39
  msgstr "每个请求中的条目数"
43
40
 
@@ -45,8 +42,7 @@ msgstr "每个请求中的条目数"
45
42
  msgid "Show a discovered host"
46
43
  msgstr "显示一个发现主机"
47
44
 
48
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
49
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
45
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
50
46
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
51
47
  msgstr "DHCP 文件名选项(默认为 Grub2 或 PXELinux)"
52
48
 
@@ -67,14 +63,11 @@ msgid "not required if it's a virtual machine"
67
63
  msgstr "如果是虚拟机,则不需要"
68
64
 
69
65
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
70
- msgid ""
71
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
66
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
72
67
  msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
73
68
 
74
69
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
75
- msgid ""
76
- "required if value is not inherited from host group or default password in "
77
- "settings"
70
+ msgid "required if value is not inherited from host group or default password in settings"
78
71
  msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
79
72
 
80
73
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
@@ -86,18 +79,14 @@ msgid "Upload facts for a host, creating the host if required"
86
79
  msgstr "上传主机的系统详情,如需要,请创建主机。"
87
80
 
88
81
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
89
- msgid ""
90
- "hash containing facts for the host with minimum set of facts: "
91
- "discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
92
- "eth0 (example in case primary interface is named eth0)"
82
+ msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
93
83
  msgstr "hash 包含具备最小详情集合的主机的详情:discovery_bootif、macaddress_eth0、ipaddress、ipaddress_eth0、interfaces: eth0(主接口名为 eth0 的示例)"
94
84
 
95
85
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
96
86
  msgid "Execute rules against a discovered host"
97
87
  msgstr "对发现主机执行规则"
98
88
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
100
- #: ../app/controllers/discovered_hosts_controller.rb:159
89
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
101
90
  msgid "Host %{host} was provisioned with rule %{rule}"
102
91
  msgstr "主机 %{host} 置备了规则 %{rule}"
103
92
 
@@ -105,8 +94,7 @@ msgstr "主机 %{host} 置备了规则 %{rule}"
105
94
  msgid "Unable to provision %{host}: %{errors}"
106
95
  msgstr "无法置备 %{host}:%{errors}"
107
96
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
109
- #: ../app/controllers/discovered_hosts_controller.rb:166
97
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
110
98
  msgid "No rule found for host %s"
111
99
  msgstr "没有为主机 %s 找到规则"
112
100
 
@@ -114,13 +102,11 @@ msgstr "没有为主机 %s 找到规则"
114
102
  msgid "Execute rules against all currently discovered hosts"
115
103
  msgstr "对当前所有发现主机执行规则"
116
104
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
118
- #: ../app/controllers/discovered_hosts_controller.rb:172
105
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
119
106
  msgid "Errors during auto provisioning: %s"
120
107
  msgstr "自动置备期间出错:%s"
121
108
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
123
- #: ../app/controllers/discovered_hosts_controller.rb:175
109
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
124
110
  msgid "No discovered hosts to provision"
125
111
  msgstr "没有要置备的发现主机"
126
112
 
@@ -140,8 +126,7 @@ msgstr "重启发现主机"
140
126
  msgid "Rebooting all discovered hosts"
141
127
  msgstr "重启所有发现主机"
142
128
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
144
- #: ../app/controllers/discovered_hosts_controller.rb:128
129
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
145
130
  msgid "Discovered hosts are rebooting now"
146
131
  msgstr "现在正在重启发现主机"
147
132
 
@@ -166,8 +151,7 @@ msgid "the hostgroup that is used to auto provision a host"
166
151
  msgstr "用于自动置备主机的主机组"
167
152
 
168
153
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
169
- msgid ""
170
- "defines a pattern to assign human-readable hostnames to the matching hosts"
154
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
171
155
  msgstr "定义向匹配主机分配人类可读的主机名称的模式"
172
156
 
173
157
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -175,8 +159,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
175
159
  msgstr "支持根据规则限制置备主机的最大数量"
176
160
 
177
161
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:37
178
- msgid ""
179
- "puts the rules in order, low numbers go first. Must be greater then zero"
162
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
180
163
  msgstr "按顺序排列规则,低数值优先。必须大于 0"
181
164
 
182
165
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -327,21 +310,15 @@ msgstr "已禁用规则"
327
310
  msgid "%s ago"
328
311
  msgstr "%s 前"
329
312
 
330
- #: ../app/helpers/discovered_hosts_helper.rb:14
331
- #: ../app/helpers/discovered_hosts_helper.rb:29
332
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
313
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
333
314
  msgid "Auto Provision"
334
315
  msgstr "自动置备"
335
316
 
336
- #: ../app/helpers/discovered_hosts_helper.rb:15
337
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
317
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
338
318
  msgid "Refresh facts"
339
319
  msgstr "刷新详情"
340
320
 
341
- #: ../app/helpers/discovered_hosts_helper.rb:16
342
- #: ../app/helpers/discovered_hosts_helper.rb:30
343
- #: ../app/models/setting/discovered.rb:26
344
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
321
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
345
322
  msgid "Reboot"
346
323
  msgstr "重启"
347
324
 
@@ -349,13 +326,11 @@ msgstr "重启"
349
326
  msgid "Back"
350
327
  msgstr "后退"
351
328
 
352
- #: ../app/helpers/discovered_hosts_helper.rb:21
353
- #: ../app/helpers/discovered_hosts_helper.rb:35
329
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
354
330
  msgid "Select Action"
355
331
  msgstr "选择动作"
356
332
 
357
- #: ../app/helpers/discovered_hosts_helper.rb:23
358
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
333
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
359
334
  msgid "Delete %s?"
360
335
  msgstr "删除 %s"
361
336
 
@@ -375,8 +350,7 @@ msgstr "删除"
375
350
  msgid "%s - The following hosts are about to be changed"
376
351
  msgstr "%s - 要更改以下主机"
377
352
 
378
- #: ../app/helpers/discovered_hosts_helper.rb:46
379
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
353
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
380
354
  msgid "N/A"
381
355
  msgstr "N/A"
382
356
 
@@ -396,12 +370,7 @@ msgstr "最近 7 天内报告"
396
370
  msgid "Provision"
397
371
  msgstr "供应"
398
372
 
399
- #: ../app/helpers/discovery_rules_helper.rb:26
400
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
401
- #: ../app/views/discovered_hosts/welcome.html.erb:1
402
- #: ../app/views/discovered_hosts/welcome.html.erb:6
403
- #: ../lib/foreman_discovery/engine.rb:158
404
- #: ../lib/foreman_discovery/engine.rb:173
373
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:158 ../lib/foreman_discovery/engine.rb:173
405
374
  msgid "Discovered Hosts"
406
375
  msgstr "发现主机"
407
376
 
@@ -450,63 +419,58 @@ msgid "must be present."
450
419
  msgstr "必须存在。"
451
420
 
452
421
  #: ../app/models/discovery_rule.rb:52
453
- msgid ""
454
- "Host group organization %s must also be associated to the discovery rule"
455
- msgid_plural ""
456
- "Host group organizations %s must also be associated to the discovery rule"
422
+ msgid "Host group organization %s must also be associated to the discovery rule"
423
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
457
424
  msgstr[0] ""
425
+ msgstr[1] ""
458
426
 
459
427
  #: ../app/models/discovery_rule.rb:56
460
428
  msgid "Host group location %s must also be associated to the discovery rule"
461
- msgid_plural ""
462
- "Host group locations %s must also be associated to the discovery rule"
429
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
463
430
  msgstr[0] ""
431
+ msgstr[1] ""
464
432
 
465
- #: ../app/models/host/discovered.rb:41
433
+ #: ../app/models/host/discovered.rb:40
466
434
  msgid "Fact + prefix"
467
435
  msgstr "Fact + 前缀"
468
436
 
469
- #: ../app/models/host/discovered.rb:42
437
+ #: ../app/models/host/discovered.rb:41
470
438
  msgid "Random name"
471
439
  msgstr "随机名"
472
440
 
473
- #: ../app/models/host/discovered.rb:43
441
+ #: ../app/models/host/discovered.rb:42
474
442
  msgid "MAC-based name"
475
443
  msgstr "基于 MAC 的名称"
476
444
 
477
- #: ../app/models/host/discovered.rb:52
445
+ #: ../app/models/host/discovered.rb:51
478
446
  msgid "Invalid facts, must be a Hash"
479
447
  msgstr "无效详情,必须是 Hash"
480
448
 
481
- #: ../app/models/host/discovered.rb:57
482
- msgid ""
483
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
484
- "and set hostname"
449
+ #: ../app/models/host/discovered.rb:56
450
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
485
451
  msgstr "期望的 discovery_fact '%s' 缺失,无法检测主接口和设置主机名称"
486
452
 
487
- #: ../app/models/host/discovered.rb:70
488
- msgid ""
489
- "Invalid facts: hash does not contain a valid value for any of the facts in "
490
- "the discovery_hostname setting: %s"
453
+ #: ../app/models/host/discovered.rb:69
454
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
491
455
  msgstr "无效详情:hash 不包含 discovery_hostname 设置中任何详情的有效值:%s"
492
456
 
493
- #: ../app/models/host/discovered.rb:96
457
+ #: ../app/models/host/discovered.rb:95
494
458
  msgid "Facts could not be imported"
495
459
  msgstr "无法导入详情"
496
460
 
497
- #: ../app/models/host/discovered.rb:151
461
+ #: ../app/models/host/discovered.rb:150
498
462
  msgid "Could not get facts from proxy %{url}: %{error}"
499
463
  msgstr "无法从代理 %{url} 获得详情:%{error}"
500
464
 
501
- #: ../app/models/host/discovered.rb:159
465
+ #: ../app/models/host/discovered.rb:158
502
466
  msgid "Unable to reboot %{name} via %{url}: %{msg}"
503
467
  msgstr "无法通过 %{url} 重启 %{name} :%{msg}"
504
468
 
505
- #: ../app/models/host/discovered.rb:167
469
+ #: ../app/models/host/discovered.rb:166
506
470
  msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
507
471
  msgstr "无法通过 %{url} 在 %{name} 上执行 kexec:%{msg}"
508
472
 
509
- #: ../app/models/host/discovered.rb:186
473
+ #: ../app/models/host/discovered.rb:185
510
474
  msgid "Invalid hostname: Could not normalize the hostname"
511
475
  msgstr "无效的主机名:无法标准化主机名"
512
476
 
@@ -522,11 +486,11 @@ msgstr "正在重启 %s"
522
486
  msgid "Kexec template not associated with operating system"
523
487
  msgstr "Kexec 模板未与操作系统关联"
524
488
 
525
- #: ../app/models/host/managed_extensions.rb:51
489
+ #: ../app/models/host/managed_extensions.rb:49
526
490
  msgid "Kernel kexec URL is invalid: '%s'"
527
491
  msgstr "内核 kexec URL 无效:'%s'"
528
492
 
529
- #: ../app/models/host/managed_extensions.rb:52
493
+ #: ../app/models/host/managed_extensions.rb:50
530
494
  msgid "Init RAM kexec URL is invalid: '%s'"
531
495
  msgstr "Init RAM kexec URL 无效:'%s'"
532
496
 
@@ -559,9 +523,7 @@ msgid "Interface fact"
559
523
  msgstr "接口详情"
560
524
 
561
525
  #: ../app/models/setting/discovered.rb:22
562
- msgid ""
563
- "Automatic bond interface (if another interface is detected on the same VLAN "
564
- "via LLDP)"
526
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
565
527
  msgstr "自动绑定接口(如果通过 LLDP 在同一个 VLAN 中发现另外一个接口)"
566
528
 
567
529
  #: ../app/models/setting/discovered.rb:22
@@ -585,9 +547,7 @@ msgid "Hostname facts"
585
547
  msgstr "主机名详情"
586
548
 
587
549
  #: ../app/models/setting/discovered.rb:25
588
- msgid ""
589
- "Automatically provision newly discovered hosts, according to the "
590
- "provisioning rules"
550
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
591
551
  msgstr "根据置备规则,自动置备新发现主机"
592
552
 
593
553
  #: ../app/models/setting/discovered.rb:25
@@ -663,9 +623,7 @@ msgid "IPMI facts"
663
623
  msgstr "IPMI 详情"
664
624
 
665
625
  #: ../app/models/setting/discovered.rb:35
666
- msgid ""
667
- "Automatically generate PXE configuration to pin a newly discovered host to "
668
- "discovery"
626
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
669
627
  msgstr "自动生成 PXE 配置,以将新发现主机固定至发现"
670
628
 
671
629
  #: ../app/models/setting/discovered.rb:35
@@ -705,9 +663,7 @@ msgid "Force DNS"
705
663
  msgstr "强制 DNS"
706
664
 
707
665
  #: ../app/models/setting/discovered.rb:40
708
- msgid ""
709
- "Do not allow to discover existing managed host matching MAC of a "
710
- "provisioning NIC (errors out early)"
666
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
711
667
  msgstr "不允许发现匹配一个置备 NIC 的 MAC 的已存在的管理的主机(早期出现错误)"
712
668
 
713
669
  #: ../app/models/setting/discovered.rb:40
@@ -731,9 +687,7 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
731
687
  msgstr "发现的主机 '%{host}' 的所有 NIC 都被过滤掉,过滤:%{filter}"
732
688
 
733
689
  #: ../app/services/foreman_discovery/fact_parser.rb:12
734
- msgid ""
735
- "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: "
736
- "%{filter}"
690
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
737
691
  msgstr "无法找到带有 '%{fact}' 指定的 %{mac} 的主 NIC。NIC 过滤:%{filter}"
738
692
 
739
693
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
@@ -752,25 +706,15 @@ msgstr "没有可用的发现主机"
752
706
  msgid "Host"
753
707
  msgstr "主机"
754
708
 
755
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
756
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
757
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
758
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
759
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
709
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
760
710
  msgid "Model"
761
711
  msgstr "型号"
762
712
 
763
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
764
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
765
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
766
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
713
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
767
714
  msgid "CPUs"
768
715
  msgstr "CPU"
769
716
 
770
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
771
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
772
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
773
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
717
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
774
718
  msgid "Memory"
775
719
  msgstr "内存"
776
720
 
@@ -782,67 +726,59 @@ msgstr "自定义主机"
782
726
  msgid "Create Host"
783
727
  msgstr "创建主机"
784
728
 
785
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
729
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
786
730
  msgid "Select all items in this page"
787
731
  msgstr "选择本页中的所有项目"
788
732
 
789
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
733
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
790
734
  msgid "items selected. Uncheck to Clear"
791
735
  msgstr "已选择项目。取消选择清除。"
792
736
 
793
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
794
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
795
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
796
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
737
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
797
738
  msgid "Name"
798
739
  msgstr "名称"
799
740
 
800
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
801
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
802
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
741
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
803
742
  msgid "IP Address"
804
743
  msgstr "IP 地址"
805
744
 
806
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
745
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
807
746
  msgid "Disk Count"
808
747
  msgstr "磁盘计数"
809
748
 
810
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
749
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
811
750
  msgid "Disks Size"
812
751
  msgstr "磁盘大小"
813
752
 
814
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
815
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
753
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
816
754
  msgid "Location"
817
755
  msgstr "位置"
818
756
 
819
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
820
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
757
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
821
758
  msgid "Organization"
822
759
  msgstr "机构"
823
760
 
824
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
761
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
825
762
  msgid "Subnet"
826
763
  msgstr "子网"
827
764
 
828
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
765
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
829
766
  msgid "Last Facts Upload"
830
767
  msgstr "最后详情上传"
831
768
 
832
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
833
- #: ../app/views/discovery_rules/index.html.erb:12
769
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
834
770
  msgid "Actions"
835
771
  msgstr "操作"
836
772
 
837
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:52
773
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
838
774
  msgid "Please Confirm"
839
775
  msgstr "请确认"
840
776
 
841
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
777
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
842
778
  msgid "Cancel"
843
779
  msgstr "取消"
844
780
 
845
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:59
781
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
846
782
  msgid "Submit"
847
783
  msgstr "提交"
848
784
 
@@ -851,9 +787,7 @@ msgid "Provision %s"
851
787
  msgstr "置备 %s"
852
788
 
853
789
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
854
- msgid ""
855
- "This might take a while, as all hosts, facts and reports will be destroyed "
856
- "as well"
790
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
857
791
  msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
858
792
 
859
793
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -897,9 +831,7 @@ msgid "No discovered hosts found in this context."
897
831
  msgstr "在此上下文中未找到发现主机。"
898
832
 
899
833
  #: ../app/views/discovered_hosts/welcome.html.erb:8
900
- msgid ""
901
- "This page shows discovered bare-metal or virtual nodes waiting to be "
902
- "provisioned."
834
+ msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
903
835
  msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
904
836
 
905
837
  #: ../app/views/discovered_hosts/welcome.html.erb:9
@@ -914,23 +846,19 @@ msgstr "来自 Foreman 的 发现主机概述报告"
914
846
  msgid "<b>Foreman</b> Discovered hosts summary"
915
847
  msgstr "<b>Foreman</b> 发现主机概述"
916
848
 
917
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
918
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
849
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
919
850
  msgid "Summary from %{time} ago to %{now}"
920
851
  msgstr "从 %{time} 前到 %{now} 的概述"
921
852
 
922
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
923
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
853
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
924
854
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
925
855
  msgstr "来自 %{foreman_url} Foreman 服务器的发现主机"
926
856
 
927
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
928
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
857
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
929
858
  msgid "Disk count"
930
859
  msgstr "磁盘计数"
931
860
 
932
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
933
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
861
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
934
862
  msgid "Disks size"
935
863
  msgstr "磁盘大小"
936
864
 
@@ -979,41 +907,30 @@ msgid "Rule priority (lower integer means higher priority)"
979
907
  msgstr "规则优先级(整数越小,优先级越高)"
980
908
 
981
909
  #: ../app/views/discovery_rules/_template_inline.erb:2
982
- msgid ""
983
- "Specify target hostname template pattern in the same syntax as in "
984
- "Provisioning Templates (ERB)."
910
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
985
911
  msgstr "以与置备模板 (ERB) 中相同的语法指定目标主机名模板模式。"
986
912
 
987
913
  #: ../app/views/discovery_rules/_template_inline.erb:4
988
- msgid ""
989
- "Domain will be appended automatically. A hostname based on MAC address will "
990
- "be used when left blank."
914
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
991
915
  msgstr "域将自动附加。留空时将使用基于 MAC 地址的主机名。"
992
916
 
993
917
  #: ../app/views/discovery_rules/_template_inline.erb:5
994
- msgid ""
995
- "In addition to @host attribute function rand for random integers is "
996
- "available. Examples:"
918
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
997
919
  msgstr "除了 @host 属性函数之外,还提供随机整数 rand。"
998
920
 
999
921
  #: ../app/views/discovery_rules/_template_inline.erb:8
1000
- msgid ""
1001
- "When creating hostname patterns, make sure the resulting host names are "
1002
- "unique."
922
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
1003
923
  msgstr "创建主机名模式时,确保生成的主机名是唯一的。"
1004
924
 
1005
925
  #: ../app/views/discovery_rules/_template_inline.erb:9
1006
- msgid ""
1007
- "Hostnames must not start with numbers. A good approach is to use unique "
1008
- "information provided by facter (MAC address, BIOS or serial ID)."
926
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
1009
927
  msgstr "主机名不得以数字开始。一种好方法是使用 facter 提供的独特信息(MAC 地址、BIOS 或序列 ID)。"
1010
928
 
1011
929
  #: ../app/views/discovery_rules/edit.html.erb:1
1012
930
  msgid "Edit %s"
1013
931
  msgstr "编辑 %s"
1014
932
 
1015
- #: ../app/views/discovery_rules/index.html.erb:1
1016
- #: ../lib/foreman_discovery/engine.rb:163
933
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:163
1017
934
  msgid "Discovery Rules"
1018
935
  msgstr "发现规则"
1019
936
 
@@ -1078,13 +995,9 @@ msgid "Discovery Proxy"
1078
995
  msgstr "发现代理服务器"
1079
996
 
1080
997
  #: ../lib/foreman_discovery/engine.rb:189
1081
- msgid ""
1082
- "Discovery Proxy to use within this subnet for managing connection to "
1083
- "discovered hosts"
998
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1084
999
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器"
1085
1000
 
1086
1001
  #: ../lib/foreman_discovery/engine.rb:190
1087
- msgid ""
1088
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1089
- "discovered hosts"
1002
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1090
1003
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器 ID"