foreman_discovery 16.0.0 → 16.3.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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +5 -3
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +52 -34
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/models/setting/discovered.rb +3 -1
  10. data/app/services/foreman_discovery/host_converter.rb +15 -7
  11. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  12. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  13. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  14. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  15. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  16. data/app/views/discovered_hosts/welcome.html.erb +15 -9
  17. data/app/views/discovery_rules/index.html.erb +1 -1
  18. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  19. data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
  20. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  21. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  22. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  23. data/extra/discover-host +14 -8
  24. data/lib/foreman_discovery/engine.rb +5 -4
  25. data/lib/foreman_discovery/version.rb +1 -1
  26. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/ca/foreman_discovery.edit.po +195 -252
  28. data/locale/ca/foreman_discovery.po +40 -17
  29. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/de/foreman_discovery.edit.po +201 -257
  31. data/locale/de/foreman_discovery.po +46 -23
  32. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/en/foreman_discovery.edit.po +141 -111
  34. data/locale/en/foreman_discovery.po +36 -13
  35. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/en_GB/foreman_discovery.edit.po +205 -254
  37. data/locale/en_GB/foreman_discovery.po +42 -19
  38. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/es/foreman_discovery.edit.po +209 -258
  40. data/locale/es/foreman_discovery.po +46 -23
  41. data/locale/foreman_discovery.pot +150 -117
  42. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/fr/foreman_discovery.edit.po +203 -255
  44. data/locale/fr/foreman_discovery.po +44 -21
  45. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/gl/foreman_discovery.edit.po +190 -250
  47. data/locale/gl/foreman_discovery.po +38 -15
  48. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/it/foreman_discovery.edit.po +193 -253
  50. data/locale/it/foreman_discovery.po +41 -18
  51. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/ja/foreman_discovery.edit.po +207 -256
  53. data/locale/ja/foreman_discovery.po +44 -21
  54. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ko/foreman_discovery.edit.po +196 -255
  56. data/locale/ko/foreman_discovery.po +44 -21
  57. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/pt_BR/foreman_discovery.edit.po +205 -256
  59. data/locale/pt_BR/foreman_discovery.po +44 -21
  60. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/ru/foreman_discovery.edit.po +199 -257
  62. data/locale/ru/foreman_discovery.po +44 -21
  63. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/sv_SE/foreman_discovery.edit.po +190 -250
  65. data/locale/sv_SE/foreman_discovery.po +38 -15
  66. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/zh_CN/foreman_discovery.edit.po +207 -256
  68. data/locale/zh_CN/foreman_discovery.po +44 -21
  69. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/zh_TW/foreman_discovery.edit.po +196 -254
  71. data/locale/zh_TW/foreman_discovery.po +42 -19
  72. data/package.json +39 -0
  73. data/test/facts/only-ipv6.json +205 -0
  74. data/test/facts/skylake-ipv6.json +223 -0
  75. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  76. data/test/functional/discovered_hosts_controller_test.rb +16 -7
  77. data/test/functional/discovery_rules_controller_test.rb +1 -1
  78. data/test/unit/discovered_extensions_test.rb +6 -1
  79. data/test/unit/host_discovered_test.rb +0 -16
  80. data/test/unit/managed_extensions_test.rb +1 -0
  81. data/webpack/index.js +18 -0
  82. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  85. data/webpack/src/reducers.js +7 -0
  86. metadata +42 -28
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 15.1.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
11
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
10
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
+ "Last-Translator: Transifex Bot <>\n"
12
12
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
13
13
  "age/zh_CN/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -33,7 +33,7 @@ msgid "A summary of discovered hosts"
33
33
  msgstr "发现主机概述"
34
34
 
35
35
  msgid "Action with sub plans"
36
- msgstr "带有子计划的操作"
36
+ msgstr ""
37
37
 
38
38
  msgid "Actions"
39
39
  msgstr "操作"
@@ -137,6 +137,11 @@ msgstr "禁用"
137
137
  msgid "Disable rule '%s'?"
138
138
  msgstr "禁用规则 '%s'?"
139
139
 
140
+ msgid "Discovered Host"
141
+ msgid_plural "Discovered Hosts"
142
+ msgstr[0] ""
143
+ msgstr[1] ""
144
+
140
145
  msgid "Discovered Hosts"
141
146
  msgstr "发现主机"
142
147
 
@@ -318,6 +323,12 @@ msgstr[1] ""
318
323
  msgid "Host of type %s can not be rebooted"
319
324
  msgstr "%s 类型的主机不能重启"
320
325
 
326
+ msgid "Host's owner type"
327
+ msgstr ""
328
+
329
+ msgid "Host's parameters (array or indexed hash)"
330
+ msgstr ""
331
+
321
332
  msgid "Hostname facts"
322
333
  msgstr "主机名详情"
323
334
 
@@ -367,10 +378,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
367
378
  msgstr "镜像 API 返回 HTTP/%{code} 与 '%{body}"
368
379
 
369
380
  msgid "Import Puppet classes"
370
- msgstr "导入 Puppet 类"
381
+ msgstr ""
371
382
 
372
383
  msgid "Import facts"
373
- msgstr "导入 fact"
384
+ msgstr ""
374
385
 
375
386
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
376
387
  msgstr "除了 @host 属性函数之外,还提供随机整数 rand。"
@@ -405,9 +416,6 @@ msgstr "Kexec 模板未与操作系统关联"
405
416
  msgid "Last Facts Upload"
406
417
  msgstr "最后详情上传"
407
418
 
408
- msgid "Learn more about this in the documentation."
409
- msgstr "在本文档中了解更多这方面的内容。"
410
-
411
419
  msgid "List all discovered hosts"
412
420
  msgstr "列出所有发现主机"
413
421
 
@@ -462,6 +470,9 @@ msgstr "N/A"
462
470
  msgid "Name"
463
471
  msgstr "名称"
464
472
 
473
+ msgid "Name of the parameter"
474
+ msgstr ""
475
+
465
476
  msgid "Network"
466
477
  msgstr "网络"
467
478
 
@@ -480,9 +491,6 @@ msgstr "没有可用的发现主机"
480
491
  msgid "No discovered hosts for the selected period"
481
492
  msgstr "选定时间段内没有发现主机"
482
493
 
483
- msgid "No discovered hosts found in this context."
484
- msgstr "在此上下文中未找到发现主机。"
485
-
486
494
  msgid "No discovered hosts to provision"
487
495
  msgstr "没有要置备的发现主机"
488
496
 
@@ -525,6 +533,9 @@ msgstr "将主机固定至发现时使用的 PXEGrub2 模板"
525
533
  msgid "PXELinux template to be used when pinning a host to discovery"
526
534
  msgstr "将主机固定至发现时使用的 PXELinux 模板"
527
535
 
536
+ msgid "Parameter value"
537
+ msgstr ""
538
+
528
539
  msgid "Please Confirm"
529
540
  msgstr "请确认"
530
541
 
@@ -589,7 +600,7 @@ msgid "Reloading kernel on %s"
589
600
  msgstr "正在 %s 上重新加载内核"
590
601
 
591
602
  msgid "Remote action:"
592
- msgstr "远程操作:"
603
+ msgstr ""
593
604
 
594
605
  msgid "Reported in the last 7 days"
595
606
  msgstr "最近 7 天内报告"
@@ -672,15 +683,15 @@ msgstr "未删除以下主机:%s"
672
683
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
673
684
  msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
674
685
 
675
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
676
- msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
677
-
678
686
  msgid "Type"
679
687
  msgstr "类型"
680
688
 
681
689
  msgid "Type of name generator"
682
690
  msgstr "名称生成器类型"
683
691
 
692
+ msgid "Type of value"
693
+ msgstr ""
694
+
684
695
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
685
696
  msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
686
697
 
@@ -690,15 +701,18 @@ msgstr "无法找到发现规则,未提供主机(检查许可)"
690
701
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
691
702
  msgstr "无法找到带有 '%{fact}' 指定的 %{mac} 的主 NIC。NIC 过滤:%{filter}"
692
703
 
693
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
694
- msgstr "无法通过 %{url} 在 %{name} 上执行 kexec:%{msg}"
704
+ msgid "Unable to perform %{action} on %{ips}"
705
+ msgstr ""
706
+
707
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
708
+ msgstr ""
709
+
710
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
711
+ msgstr ""
695
712
 
696
713
  msgid "Unable to provision %{host}: %{errors}"
697
714
  msgstr "无法置备 %{host}:%{errors}"
698
715
 
699
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
700
- msgstr "无法通过 %{url} 重启 %{name} :%{msg}"
701
-
702
716
  msgid "Update a rule"
703
717
  msgstr "更新规则"
704
718
 
@@ -762,6 +776,15 @@ msgstr "与特定规则的发现主机匹配的查询"
762
776
  msgid "represents rule name shown to the users"
763
777
  msgstr "代表显示给用户的规则名称"
764
778
 
779
+ msgid "required if host is managed and custom partition has not been defined"
780
+ msgstr ""
781
+
782
+ msgid "required if host is managed and value is not inherited from host group"
783
+ msgstr ""
784
+
785
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
786
+ msgstr ""
787
+
765
788
  msgid "required if value is not inherited from host group or default password in settings"
766
789
  msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
767
790
 
@@ -1,16 +1,16 @@
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 15.1.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2019-10-22 11:55+0200\n"
11
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
12
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
- "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
10
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
+ "Last-Translator: Transifex Bot <>\n"
12
+ "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
13
+ "uage/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
16
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,23 +21,19 @@ msgstr ""
21
21
  msgid "List all discovered hosts"
22
22
  msgstr ""
23
23
 
24
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
25
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:15
24
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
26
25
  msgid "filter results"
27
26
  msgstr "篩選結果"
28
27
 
29
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
30
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:16
28
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
31
29
  msgid "sort results"
32
30
  msgstr "排序結果"
33
31
 
34
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
35
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:17
32
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
36
33
  msgid "paginate results"
37
34
  msgstr "編頁結果"
38
35
 
39
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
40
- #: ../app/controllers/api/v2/discovery_rules_controller.rb:18
36
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
41
37
  msgid "number of entries per request"
42
38
  msgstr "每個請求的項目數量"
43
39
 
@@ -45,8 +41,7 @@ msgstr "每個請求的項目數量"
45
41
  msgid "Show a discovered host"
46
42
  msgstr ""
47
43
 
48
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
49
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
44
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:85
50
45
  msgid "DHCP filename option (Grub2 or PXELinux by default)"
51
46
  msgstr ""
52
47
 
@@ -58,6 +53,10 @@ msgstr ""
58
53
  msgid "Provision a discovered host"
59
54
  msgstr ""
60
55
 
56
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
57
+ msgid "required if host is managed and value is not inherited from host group"
58
+ msgstr ""
59
+
61
60
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
62
61
  msgid "not required if using a subnet with DHCP proxy"
63
62
  msgstr "若是使用一個含有 DHCP 協定的子網路則不需要"
@@ -66,82 +65,99 @@ msgstr "若是使用一個含有 DHCP 協定的子網路則不需要"
66
65
  msgid "not required if it's a virtual machine"
67
66
  msgstr ""
68
67
 
69
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
70
- msgid ""
71
- "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
68
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
69
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
70
+ msgstr ""
71
+
72
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
73
+ msgid "required if host is managed and custom partition has not been defined"
74
+ msgstr ""
75
+
76
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
77
+ msgid "Host's owner type"
78
+ msgstr ""
79
+
80
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
81
+ msgid "Host's parameters (array or indexed hash)"
82
+ msgstr ""
83
+
84
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
85
+ msgid "Name of the parameter"
86
+ msgstr ""
87
+
88
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
89
+ msgid "Parameter value"
90
+ msgstr ""
91
+
92
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
93
+ msgid "Type of value"
94
+ msgstr ""
95
+
96
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
97
+ msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
72
98
  msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
73
99
 
74
- #: ../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"
100
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:84
101
+ msgid "required if value is not inherited from host group or default password in settings"
78
102
  msgstr ""
79
103
 
80
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
104
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:95
81
105
  msgid "Delete a discovered host"
82
106
  msgstr ""
83
107
 
84
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:96
108
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:102
85
109
  msgid "Upload facts for a host, creating the host if required"
86
110
  msgstr "上傳主機的詳情,並視需求建立主機"
87
111
 
88
- #: ../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)"
112
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:103
113
+ 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
114
  msgstr ""
94
115
 
95
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
116
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
96
117
  msgid "Execute rules against a discovered host"
97
118
  msgstr ""
98
119
 
99
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:122
100
- #: ../app/controllers/discovered_hosts_controller.rb:160
120
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
101
121
  msgid "Host %{host} was provisioned with rule %{rule}"
102
122
  msgstr ""
103
123
 
104
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
124
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
105
125
  msgid "Unable to provision %{host}: %{errors}"
106
126
  msgstr ""
107
127
 
108
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:131
109
- #: ../app/controllers/discovered_hosts_controller.rb:167
128
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
110
129
  msgid "No rule found for host %s"
111
130
  msgstr ""
112
131
 
113
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
132
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
114
133
  msgid "Execute rules against all currently discovered hosts"
115
134
  msgstr ""
116
135
 
117
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:142
118
- #: ../app/controllers/discovered_hosts_controller.rb:173
136
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
119
137
  msgid "Errors during auto provisioning: %s"
120
138
  msgstr ""
121
139
 
122
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
123
- #: ../app/controllers/discovered_hosts_controller.rb:176
140
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
124
141
  msgid "No discovered hosts to provision"
125
142
  msgstr ""
126
143
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
144
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
128
145
  msgid "%s discovered hosts were provisioned"
129
146
  msgstr ""
130
147
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
132
149
  msgid "Refreshing the facts of a discovered host"
133
150
  msgstr ""
134
151
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
152
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
136
153
  msgid "Rebooting a discovered host"
137
154
  msgstr ""
138
155
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
156
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
140
157
  msgid "Rebooting all discovered hosts"
141
158
  msgstr ""
142
159
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:207
144
- #: ../app/controllers/discovered_hosts_controller.rb:129
160
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
145
161
  msgid "Discovered hosts are rebooting now"
146
162
  msgstr ""
147
163
 
@@ -166,8 +182,7 @@ msgid "the hostgroup that is used to auto provision a host"
166
182
  msgstr ""
167
183
 
168
184
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:35
169
- msgid ""
170
- "defines a pattern to assign human-readable hostnames to the matching hosts"
185
+ msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
171
186
  msgstr ""
172
187
 
173
188
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:36
@@ -175,8 +190,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
175
190
  msgstr ""
176
191
 
177
192
  #: ../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"
193
+ msgid "puts the rules in order, low numbers go first. Must be greater then zero"
180
194
  msgstr ""
181
195
 
182
196
  #: ../app/controllers/api/v2/discovery_rules_controller.rb:38
@@ -275,43 +289,43 @@ msgstr ""
275
289
  msgid "Discovered hosts are provisioning now"
276
290
  msgstr ""
277
291
 
278
- #: ../app/controllers/discovered_hosts_controller.rb:224
292
+ #: ../app/controllers/discovered_hosts_controller.rb:226
279
293
  msgid "Highlights"
280
294
  msgstr ""
281
295
 
282
- #: ../app/controllers/discovered_hosts_controller.rb:224
296
+ #: ../app/controllers/discovered_hosts_controller.rb:226
283
297
  msgid "Storage"
284
298
  msgstr "儲存裝置"
285
299
 
286
- #: ../app/controllers/discovered_hosts_controller.rb:224
300
+ #: ../app/controllers/discovered_hosts_controller.rb:226
287
301
  msgid "Hardware"
288
302
  msgstr "硬體"
289
303
 
290
- #: ../app/controllers/discovered_hosts_controller.rb:224
304
+ #: ../app/controllers/discovered_hosts_controller.rb:226
291
305
  msgid "Network"
292
306
  msgstr "網路"
293
307
 
294
- #: ../app/controllers/discovered_hosts_controller.rb:224
308
+ #: ../app/controllers/discovered_hosts_controller.rb:226
295
309
  msgid "Software"
296
310
  msgstr "軟體"
297
311
 
298
- #: ../app/controllers/discovered_hosts_controller.rb:224
312
+ #: ../app/controllers/discovered_hosts_controller.rb:226
299
313
  msgid "IPMI"
300
314
  msgstr "IPMI"
301
315
 
302
- #: ../app/controllers/discovered_hosts_controller.rb:224
316
+ #: ../app/controllers/discovered_hosts_controller.rb:226
303
317
  msgid "Miscellaneous"
304
318
  msgstr "雜項"
305
319
 
306
- #: ../app/controllers/discovered_hosts_controller.rb:302
320
+ #: ../app/controllers/discovered_hosts_controller.rb:304
307
321
  msgid "No hosts were found with that id or name"
308
322
  msgstr "沒有找到擁有此 ID 或名稱的主機"
309
323
 
310
- #: ../app/controllers/discovered_hosts_controller.rb:306
324
+ #: ../app/controllers/discovered_hosts_controller.rb:308
311
325
  msgid "No hosts selected"
312
326
  msgstr "未選擇主機"
313
327
 
314
- #: ../app/controllers/discovered_hosts_controller.rb:312
328
+ #: ../app/controllers/discovered_hosts_controller.rb:314
315
329
  msgid "Something went wrong while selecting hosts - %s"
316
330
  msgstr "選擇主機時發生了錯誤 - %s"
317
331
 
@@ -327,21 +341,15 @@ msgstr ""
327
341
  msgid "%s ago"
328
342
  msgstr "%s 之前"
329
343
 
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:37
344
+ #: ../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
345
  msgid "Auto Provision"
334
346
  msgstr ""
335
347
 
336
- #: ../app/helpers/discovered_hosts_helper.rb:15
337
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
348
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
338
349
  msgid "Refresh facts"
339
350
  msgstr "刷新詳情"
340
351
 
341
- #: ../app/helpers/discovered_hosts_helper.rb:16
342
- #: ../app/helpers/discovered_hosts_helper.rb:30
343
- #: ../app/models/setting/discovered.rb:22
344
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
352
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
345
353
  msgid "Reboot"
346
354
  msgstr "重新開機"
347
355
 
@@ -349,13 +357,11 @@ msgstr "重新開機"
349
357
  msgid "Back"
350
358
  msgstr "上一步"
351
359
 
352
- #: ../app/helpers/discovered_hosts_helper.rb:21
353
- #: ../app/helpers/discovered_hosts_helper.rb:35
360
+ #: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
354
361
  msgid "Select Action"
355
362
  msgstr "選擇動作"
356
363
 
357
- #: ../app/helpers/discovered_hosts_helper.rb:23
358
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
364
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
359
365
  msgid "Delete %s?"
360
366
  msgstr "刪除 %s?"
361
367
 
@@ -375,8 +381,7 @@ msgstr "刪除"
375
381
  msgid "%s - The following hosts are about to be changed"
376
382
  msgstr "%s - 以下主機即將受到更改"
377
383
 
378
- #: ../app/helpers/discovered_hosts_helper.rb:46
379
- #: ../app/views/dashboard/_discovery_widget_host.html.erb:2
384
+ #: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
380
385
  msgid "N/A"
381
386
  msgstr "N/A"
382
387
 
@@ -396,12 +401,7 @@ msgstr ""
396
401
  msgid "Provision"
397
402
  msgstr "佈建"
398
403
 
399
- #: ../app/helpers/discovery_rules_helper.rb:26
400
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1
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
404
+ #: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:8 ../lib/foreman_discovery/engine.rb:159 ../lib/foreman_discovery/engine.rb:174
405
405
  msgid "Discovered Hosts"
406
406
  msgstr ""
407
407
 
@@ -450,17 +450,16 @@ msgid "must be present."
450
450
  msgstr ""
451
451
 
452
452
  #: ../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"
453
+ msgid "Host group organization %s must also be associated to the discovery rule"
454
+ msgid_plural "Host group organizations %s must also be associated to the discovery rule"
457
455
  msgstr[0] ""
456
+ msgstr[1] ""
458
457
 
459
458
  #: ../app/models/discovery_rule.rb:56
460
459
  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"
460
+ msgid_plural "Host group locations %s must also be associated to the discovery rule"
463
461
  msgstr[0] ""
462
+ msgstr[1] ""
464
463
 
465
464
  #: ../app/models/host/discovered.rb:40
466
465
  msgid "Fact + prefix"
@@ -474,39 +473,39 @@ msgstr ""
474
473
  msgid "MAC-based name"
475
474
  msgstr ""
476
475
 
477
- #: ../app/models/host/discovered.rb:51
476
+ #: ../app/models/host/discovered.rb:55
478
477
  msgid "Invalid facts, must be a Hash"
479
478
  msgstr ""
480
479
 
481
- #: ../app/models/host/discovered.rb:56
482
- msgid ""
483
- "Expected discovery_fact '%s' is missing, unable to detect primary interface "
484
- "and set hostname"
480
+ #: ../app/models/host/discovered.rb:60
481
+ msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
485
482
  msgstr ""
486
483
 
487
- #: ../app/models/host/discovered.rb:69
488
- msgid ""
489
- "Invalid facts: hash does not contain a valid value for any of the facts in "
490
- "the discovery_hostname setting: %s"
484
+ #: ../app/models/host/discovered.rb:73
485
+ msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
491
486
  msgstr ""
492
487
 
493
- #: ../app/models/host/discovered.rb:95
488
+ #: ../app/models/host/discovered.rb:100
494
489
  msgid "Facts could not be imported"
495
490
  msgstr ""
496
491
 
497
- #: ../app/models/host/discovered.rb:150
492
+ #: ../app/models/host/discovered.rb:146
498
493
  msgid "Could not get facts from proxy %{url}: %{error}"
499
494
  msgstr ""
500
495
 
501
- #: ../app/models/host/discovered.rb:158
502
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
496
+ #: ../app/models/host/discovered.rb:160
497
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
498
+ msgstr ""
499
+
500
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
501
+ msgid "Unable to perform %{action} on %{ips}"
503
502
  msgstr ""
504
503
 
505
- #: ../app/models/host/discovered.rb:166
506
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
504
+ #: ../app/models/host/discovered.rb:179
505
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
507
506
  msgstr ""
508
507
 
509
- #: ../app/models/host/discovered.rb:185
508
+ #: ../app/models/host/discovered.rb:203
510
509
  msgid "Invalid hostname: Could not normalize the hostname"
511
510
  msgstr ""
512
511
 
@@ -534,191 +533,183 @@ msgstr ""
534
533
  msgid "Rebuild DNS for %s"
535
534
  msgstr ""
536
535
 
537
- #: ../app/models/setting/discovered.rb:15
536
+ #: ../app/models/setting/discovered.rb:17
538
537
  msgid "The default location to place discovered hosts in"
539
538
  msgstr "放置已發現之主機的預設位置"
540
539
 
541
- #: ../app/models/setting/discovered.rb:15
540
+ #: ../app/models/setting/discovered.rb:17
542
541
  msgid "Discovery location"
543
542
  msgstr ""
544
543
 
545
- #: ../app/models/setting/discovered.rb:16
544
+ #: ../app/models/setting/discovered.rb:18
546
545
  msgid "The default organization to place discovered hosts in"
547
546
  msgstr "放置已發現之主機的預設組織"
548
547
 
549
- #: ../app/models/setting/discovered.rb:16
548
+ #: ../app/models/setting/discovered.rb:18
550
549
  msgid "Discovery organization"
551
550
  msgstr ""
552
551
 
553
- #: ../app/models/setting/discovered.rb:17
552
+ #: ../app/models/setting/discovered.rb:19
554
553
  msgid "Fact name to use for primary interface detection"
555
554
  msgstr ""
556
555
 
557
- #: ../app/models/setting/discovered.rb:17
556
+ #: ../app/models/setting/discovered.rb:19
558
557
  msgid "Interface fact"
559
558
  msgstr ""
560
559
 
561
- #: ../app/models/setting/discovered.rb:18
562
- msgid ""
563
- "Automatic bond interface (if another interface is detected on the same VLAN "
564
- "via LLDP)"
560
+ #: ../app/models/setting/discovered.rb:20
561
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
565
562
  msgstr ""
566
563
 
567
- #: ../app/models/setting/discovered.rb:18
564
+ #: ../app/models/setting/discovered.rb:20
568
565
  msgid "Create bond interfaces"
569
566
  msgstr ""
570
567
 
571
- #: ../app/models/setting/discovered.rb:19
568
+ #: ../app/models/setting/discovered.rb:21
572
569
  msgid "Clean all reported facts during provisioning (except discovery facts)"
573
570
  msgstr ""
574
571
 
575
- #: ../app/models/setting/discovered.rb:19
572
+ #: ../app/models/setting/discovered.rb:21
576
573
  msgid "Clean all facts"
577
574
  msgstr ""
578
575
 
579
- #: ../app/models/setting/discovered.rb:20
576
+ #: ../app/models/setting/discovered.rb:22
580
577
  msgid "List of facts to use for the hostname (separated by comma, first wins)"
581
578
  msgstr ""
582
579
 
583
- #: ../app/models/setting/discovered.rb:20
580
+ #: ../app/models/setting/discovered.rb:22
584
581
  msgid "Hostname facts"
585
582
  msgstr ""
586
583
 
587
- #: ../app/models/setting/discovered.rb:21
588
- msgid ""
589
- "Automatically provision newly discovered hosts, according to the "
590
- "provisioning rules"
584
+ #: ../app/models/setting/discovered.rb:23
585
+ msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
591
586
  msgstr ""
592
587
 
593
- #: ../app/models/setting/discovered.rb:21
588
+ #: ../app/models/setting/discovered.rb:23
594
589
  msgid "Auto provisioning"
595
590
  msgstr ""
596
591
 
597
- #: ../app/models/setting/discovered.rb:22
592
+ #: ../app/models/setting/discovered.rb:24
598
593
  msgid "Automatically reboot or kexec discovered host during provisioning"
599
594
  msgstr ""
600
595
 
601
- #: ../app/models/setting/discovered.rb:23
596
+ #: ../app/models/setting/discovered.rb:25
602
597
  msgid "The default prefix to use for the host name, must start with a letter"
603
598
  msgstr ""
604
599
 
605
- #: ../app/models/setting/discovered.rb:23
600
+ #: ../app/models/setting/discovered.rb:25
606
601
  msgid "Hostname prefix"
607
602
  msgstr ""
608
603
 
609
- #: ../app/models/setting/discovered.rb:24
604
+ #: ../app/models/setting/discovered.rb:26
610
605
  msgid "Extra facter columns to show in host lists (separate by comma)"
611
606
  msgstr ""
612
607
 
613
- #: ../app/models/setting/discovered.rb:24
608
+ #: ../app/models/setting/discovered.rb:26
614
609
  msgid "Fact columns"
615
610
  msgstr ""
616
611
 
617
- #: ../app/models/setting/discovered.rb:25
612
+ #: ../app/models/setting/discovered.rb:27
618
613
  msgid "Regex to organize facts for highlights section - e.g. ^(abc|cde)$"
619
614
  msgstr ""
620
615
 
621
- #: ../app/models/setting/discovered.rb:25
616
+ #: ../app/models/setting/discovered.rb:27
622
617
  msgid "Highlighted facts"
623
618
  msgstr ""
624
619
 
625
- #: ../app/models/setting/discovered.rb:26
620
+ #: ../app/models/setting/discovered.rb:28
626
621
  msgid "Regex to organize facts for storage section"
627
622
  msgstr ""
628
623
 
629
- #: ../app/models/setting/discovered.rb:26
624
+ #: ../app/models/setting/discovered.rb:28
630
625
  msgid "Storage facts"
631
626
  msgstr ""
632
627
 
633
- #: ../app/models/setting/discovered.rb:27
628
+ #: ../app/models/setting/discovered.rb:29
634
629
  msgid "Regex to organize facts for software section"
635
630
  msgstr ""
636
631
 
637
- #: ../app/models/setting/discovered.rb:27
632
+ #: ../app/models/setting/discovered.rb:29
638
633
  msgid "Software facts"
639
634
  msgstr ""
640
635
 
641
- #: ../app/models/setting/discovered.rb:28
636
+ #: ../app/models/setting/discovered.rb:30
642
637
  msgid "Regex to organize facts for hardware section"
643
638
  msgstr ""
644
639
 
645
- #: ../app/models/setting/discovered.rb:28
640
+ #: ../app/models/setting/discovered.rb:30
646
641
  msgid "Hardware facts"
647
642
  msgstr ""
648
643
 
649
- #: ../app/models/setting/discovered.rb:29
644
+ #: ../app/models/setting/discovered.rb:31
650
645
  msgid "Regex to organize facts for network section"
651
646
  msgstr ""
652
647
 
653
- #: ../app/models/setting/discovered.rb:29
648
+ #: ../app/models/setting/discovered.rb:31
654
649
  msgid "Network facts"
655
650
  msgstr ""
656
651
 
657
- #: ../app/models/setting/discovered.rb:30
652
+ #: ../app/models/setting/discovered.rb:32
658
653
  msgid "Regex to organize facts for ipmi section"
659
654
  msgstr ""
660
655
 
661
- #: ../app/models/setting/discovered.rb:30
656
+ #: ../app/models/setting/discovered.rb:32
662
657
  msgid "IPMI facts"
663
658
  msgstr ""
664
659
 
665
- #: ../app/models/setting/discovered.rb:31
666
- msgid ""
667
- "Automatically generate PXE configuration to pin a newly discovered host to "
668
- "discovery"
660
+ #: ../app/models/setting/discovered.rb:33
661
+ msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
669
662
  msgstr ""
670
663
 
671
- #: ../app/models/setting/discovered.rb:31
664
+ #: ../app/models/setting/discovered.rb:33
672
665
  msgid "Lock PXE"
673
666
  msgstr ""
674
667
 
675
- #: ../app/models/setting/discovered.rb:32
668
+ #: ../app/models/setting/discovered.rb:34
676
669
  msgid "PXELinux template to be used when pinning a host to discovery"
677
670
  msgstr ""
678
671
 
679
- #: ../app/models/setting/discovered.rb:32
672
+ #: ../app/models/setting/discovered.rb:34
680
673
  msgid "Locked PXELinux template name"
681
674
  msgstr ""
682
675
 
683
- #: ../app/models/setting/discovered.rb:33
676
+ #: ../app/models/setting/discovered.rb:35
684
677
  msgid "PXEGrub template to be used when pinning a host to discovery"
685
678
  msgstr ""
686
679
 
687
- #: ../app/models/setting/discovered.rb:33
680
+ #: ../app/models/setting/discovered.rb:35
688
681
  msgid "Locked PXEGrub template name"
689
682
  msgstr ""
690
683
 
691
- #: ../app/models/setting/discovered.rb:34
684
+ #: ../app/models/setting/discovered.rb:36
692
685
  msgid "PXEGrub2 template to be used when pinning a host to discovery"
693
686
  msgstr ""
694
687
 
695
- #: ../app/models/setting/discovered.rb:34
688
+ #: ../app/models/setting/discovered.rb:36
696
689
  msgid "Locked PXEGrub2 template name"
697
690
  msgstr ""
698
691
 
699
- #: ../app/models/setting/discovered.rb:35
692
+ #: ../app/models/setting/discovered.rb:37
700
693
  msgid "Force DNS entries creation when provisioning discovered host"
701
694
  msgstr ""
702
695
 
703
- #: ../app/models/setting/discovered.rb:35
696
+ #: ../app/models/setting/discovered.rb:37
704
697
  msgid "Force DNS"
705
698
  msgstr ""
706
699
 
707
- #: ../app/models/setting/discovered.rb:36
708
- msgid ""
709
- "Do not allow to discover existing managed host matching MAC of a "
710
- "provisioning NIC (errors out early)"
700
+ #: ../app/models/setting/discovered.rb:38
701
+ msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
711
702
  msgstr ""
712
703
 
713
- #: ../app/models/setting/discovered.rb:36
704
+ #: ../app/models/setting/discovered.rb:38
714
705
  msgid "Error on existing NIC"
715
706
  msgstr ""
716
707
 
717
- #: ../app/models/setting/discovered.rb:37
708
+ #: ../app/models/setting/discovered.rb:39
718
709
  msgid "Discovery hostname naming pattern"
719
710
  msgstr ""
720
711
 
721
- #: ../app/models/setting/discovered.rb:37
712
+ #: ../app/models/setting/discovered.rb:39
722
713
  msgid "Type of name generator"
723
714
  msgstr ""
724
715
 
@@ -731,23 +722,27 @@ msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
731
722
  msgstr ""
732
723
 
733
724
  #: ../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}"
725
+ msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
737
726
  msgstr ""
738
727
 
739
- #: ../app/services/foreman_discovery/host_converter.rb:39
728
+ #: ../app/services/foreman_discovery/host_converter.rb:47
740
729
  msgid "IPAM must be configured for subnet '%s'"
741
730
  msgstr ""
742
731
 
743
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:75
732
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
744
733
  msgid "Image API returned HTTP/%{code} with '%{body}"
745
734
  msgstr ""
746
735
 
747
- #: ../app/services/foreman_discovery/node_api/node_resource.rb:78
736
+ #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
748
737
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
749
738
  msgstr ""
750
739
 
740
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
741
+ msgid "Discovered Host"
742
+ msgid_plural "Discovered Hosts"
743
+ msgstr[0] ""
744
+ msgstr[1] ""
745
+
751
746
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
752
747
  msgid "No discovered hosts available"
753
748
  msgstr ""
@@ -756,33 +751,23 @@ msgstr ""
756
751
  msgid "Host"
757
752
  msgstr "主機"
758
753
 
759
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
760
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
761
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
762
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:18
763
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:10
754
+ #: ../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
764
755
  msgid "Model"
765
756
  msgstr "型號"
766
757
 
767
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
768
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
769
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:20
770
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:12
758
+ #: ../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
771
759
  msgid "CPUs"
772
760
  msgstr "CPU"
773
761
 
774
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
775
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
776
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:21
777
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:13
762
+ #: ../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
778
763
  msgid "Memory"
779
764
  msgstr "記憶體"
780
765
 
781
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:25
766
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:23
782
767
  msgid "Customize Host"
783
768
  msgstr ""
784
769
 
785
- #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:26
770
+ #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
786
771
  msgid "Create Host"
787
772
  msgstr ""
788
773
 
@@ -794,16 +779,11 @@ msgstr "選擇這頁中的所有項目"
794
779
  msgid "items selected. Uncheck to Clear"
795
780
  msgstr "已選取項目。反選以清除"
796
781
 
797
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
798
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
799
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:17
800
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:9
782
+ #: ../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
801
783
  msgid "Name"
802
784
  msgstr "名稱"
803
785
 
804
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
805
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:19
806
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:11
786
+ #: ../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
807
787
  msgid "IP Address"
808
788
  msgstr "IP 位址"
809
789
 
@@ -815,13 +795,11 @@ msgstr ""
815
795
  msgid "Disks Size"
816
796
  msgstr ""
817
797
 
818
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15
819
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:9
798
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
820
799
  msgid "Location"
821
800
  msgstr "位置"
822
801
 
823
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16
824
- #: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
802
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
825
803
  msgid "Organization"
826
804
  msgstr "組織"
827
805
 
@@ -833,8 +811,7 @@ msgstr "子網路"
833
811
  msgid "Last Facts Upload"
834
812
  msgstr ""
835
813
 
836
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
837
- #: ../app/views/discovery_rules/index.html.erb:12
814
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
838
815
  msgid "Actions"
839
816
  msgstr "動作"
840
817
 
@@ -855,9 +832,7 @@ msgid "Provision %s"
855
832
  msgstr ""
856
833
 
857
834
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
858
- msgid ""
859
- "This might take a while, as all hosts, facts and reports will be destroyed "
860
- "as well"
835
+ msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
861
836
  msgstr "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
862
837
 
863
838
  #: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
@@ -896,20 +871,6 @@ msgstr "IP 位址"
896
871
  msgid "Collapse All"
897
872
  msgstr "全部收回"
898
873
 
899
- #: ../app/views/discovered_hosts/welcome.html.erb:7
900
- msgid "No discovered hosts found in this context."
901
- msgstr ""
902
-
903
- #: ../app/views/discovered_hosts/welcome.html.erb:8
904
- msgid ""
905
- "This page shows discovered bare-metal or virtual nodes waiting to be "
906
- "provisioned."
907
- msgstr ""
908
-
909
- #: ../app/views/discovered_hosts/welcome.html.erb:9
910
- msgid "Learn more about this in the documentation."
911
- msgstr ""
912
-
913
874
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:6
914
875
  msgid "Summary report for discovered hosts from Foreman"
915
876
  msgstr ""
@@ -918,23 +879,19 @@ msgstr ""
918
879
  msgid "<b>Foreman</b> Discovered hosts summary"
919
880
  msgstr ""
920
881
 
921
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:10
922
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:5
882
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
923
883
  msgid "Summary from %{time} ago to %{now}"
924
884
  msgstr ""
925
885
 
926
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:11
927
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:3
886
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
928
887
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
929
888
  msgstr ""
930
889
 
931
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:22
932
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:14
890
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
933
891
  msgid "Disk count"
934
892
  msgstr "磁碟計數"
935
893
 
936
- #: ../app/views/discovered_mailer/discovered_summary.html.erb:23
937
- #: ../app/views/discovered_mailer/discovered_summary.text.erb:15
894
+ #: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
938
895
  msgid "Disks size"
939
896
  msgstr "磁碟大小"
940
897
 
@@ -983,41 +940,30 @@ msgid "Rule priority (lower integer means higher priority)"
983
940
  msgstr ""
984
941
 
985
942
  #: ../app/views/discovery_rules/_template_inline.erb:2
986
- msgid ""
987
- "Specify target hostname template pattern in the same syntax as in "
988
- "Provisioning Templates (ERB)."
943
+ msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
989
944
  msgstr ""
990
945
 
991
946
  #: ../app/views/discovery_rules/_template_inline.erb:4
992
- msgid ""
993
- "Domain will be appended automatically. A hostname based on MAC address will "
994
- "be used when left blank."
947
+ msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
995
948
  msgstr ""
996
949
 
997
950
  #: ../app/views/discovery_rules/_template_inline.erb:5
998
- msgid ""
999
- "In addition to @host attribute function rand for random integers is "
1000
- "available. Examples:"
951
+ msgid "In addition to @host attribute function rand for random integers is available. Examples:"
1001
952
  msgstr ""
1002
953
 
1003
954
  #: ../app/views/discovery_rules/_template_inline.erb:8
1004
- msgid ""
1005
- "When creating hostname patterns, make sure the resulting host names are "
1006
- "unique."
955
+ msgid "When creating hostname patterns, make sure the resulting host names are unique."
1007
956
  msgstr ""
1008
957
 
1009
958
  #: ../app/views/discovery_rules/_template_inline.erb:9
1010
- msgid ""
1011
- "Hostnames must not start with numbers. A good approach is to use unique "
1012
- "information provided by facter (MAC address, BIOS or serial ID)."
959
+ msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
1013
960
  msgstr ""
1014
961
 
1015
962
  #: ../app/views/discovery_rules/edit.html.erb:1
1016
963
  msgid "Edit %s"
1017
964
  msgstr "編輯 %s"
1018
965
 
1019
- #: ../app/views/discovery_rules/index.html.erb:1
1020
- #: ../lib/foreman_discovery/engine.rb:163
966
+ #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
1021
967
  msgid "Discovery Rules"
1022
968
  msgstr ""
1023
969
 
@@ -1073,38 +1019,34 @@ msgstr ""
1073
1019
  msgid "Details"
1074
1020
  msgstr "詳細資料"
1075
1021
 
1076
- #: ../lib/foreman_discovery/engine.rb:179
1022
+ #: ../lib/foreman_discovery/engine.rb:180
1077
1023
  msgid "Discovery Kexec template"
1078
1024
  msgstr ""
1079
1025
 
1080
- #: ../lib/foreman_discovery/engine.rb:188
1026
+ #: ../lib/foreman_discovery/engine.rb:189
1081
1027
  msgid "Discovery Proxy"
1082
1028
  msgstr ""
1083
1029
 
1084
- #: ../lib/foreman_discovery/engine.rb:189
1085
- msgid ""
1086
- "Discovery Proxy to use within this subnet for managing connection to "
1087
- "discovered hosts"
1030
+ #: ../lib/foreman_discovery/engine.rb:190
1031
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1088
1032
  msgstr ""
1089
1033
 
1090
- #: ../lib/foreman_discovery/engine.rb:190
1091
- msgid ""
1092
- "ID of Discovery Proxy to use within this subnet for managing connection to "
1093
- "discovered hosts"
1034
+ #: ../lib/foreman_discovery/engine.rb:191
1035
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1094
1036
  msgstr ""
1095
1037
 
1096
1038
  #: action_names.rb:2
1097
- msgid "Import Puppet classes"
1098
- msgstr "匯入 Puppet 類別"
1039
+ msgid "Remote action:"
1040
+ msgstr ""
1099
1041
 
1100
1042
  #: action_names.rb:3
1101
- msgid "Import facts"
1102
- msgstr "匯入詳情"
1043
+ msgid "Import Puppet classes"
1044
+ msgstr ""
1103
1045
 
1104
1046
  #: action_names.rb:4
1105
1047
  msgid "Action with sub plans"
1106
- msgstr "有子計畫的動作"
1048
+ msgstr ""
1107
1049
 
1108
1050
  #: action_names.rb:5
1109
- msgid "Remote action:"
1110
- msgstr "遠端動作:"
1051
+ msgid "Import facts"
1052
+ msgstr ""