foreman_discovery 16.0.0 → 16.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +10 -3
  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 +39 -17
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/services/foreman_discovery/host_converter.rb +15 -7
  10. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  11. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  12. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  13. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  14. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  15. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  16. data/extra/discover-host +14 -8
  17. data/lib/foreman_discovery/engine.rb +2 -2
  18. data/lib/foreman_discovery/version.rb +1 -1
  19. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/ca/foreman_discovery.edit.po +215 -263
  21. data/locale/ca/foreman_discovery.po +16 -8
  22. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/de/foreman_discovery.edit.po +217 -266
  24. data/locale/de/foreman_discovery.po +22 -14
  25. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/en/foreman_discovery.edit.po +175 -133
  27. data/locale/en/foreman_discovery.po +12 -4
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +221 -269
  30. data/locale/en_GB/foreman_discovery.po +18 -10
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +240 -286
  33. data/locale/es/foreman_discovery.po +22 -14
  34. data/locale/foreman_discovery.pot +34 -24
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +242 -291
  37. data/locale/fr/foreman_discovery.po +20 -12
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +213 -261
  40. data/locale/gl/foreman_discovery.po +14 -6
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +216 -264
  43. data/locale/it/foreman_discovery.po +17 -9
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +246 -294
  46. data/locale/ja/foreman_discovery.po +20 -12
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +216 -263
  49. data/locale/ko/foreman_discovery.po +20 -12
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +237 -282
  52. data/locale/pt_BR/foreman_discovery.po +20 -12
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +219 -265
  55. data/locale/ru/foreman_discovery.po +20 -12
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +213 -261
  58. data/locale/sv_SE/foreman_discovery.po +14 -6
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +283 -332
  61. data/locale/zh_CN/foreman_discovery.po +20 -12
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +216 -262
  64. data/locale/zh_TW/foreman_discovery.po +18 -10
  65. data/test/facts/vmware-facter4-nolegacy.json +402 -0
  66. data/test/functional/discovered_hosts_controller_test.rb +15 -6
  67. data/test/unit/discovered_extensions_test.rb +6 -1
  68. data/test/unit/managed_extensions_test.rb +1 -0
  69. metadata +36 -32
@@ -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.1.3\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
 
@@ -367,10 +372,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
367
372
  msgstr "镜像 API 返回 HTTP/%{code} 与 '%{body}"
368
373
 
369
374
  msgid "Import Puppet classes"
370
- msgstr "导入 Puppet 类"
375
+ msgstr ""
371
376
 
372
377
  msgid "Import facts"
373
- msgstr "导入 fact"
378
+ msgstr ""
374
379
 
375
380
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
376
381
  msgstr "除了 @host 属性函数之外,还提供随机整数 rand。"
@@ -589,7 +594,7 @@ msgid "Reloading kernel on %s"
589
594
  msgstr "正在 %s 上重新加载内核"
590
595
 
591
596
  msgid "Remote action:"
592
- msgstr "远程操作:"
597
+ msgstr ""
593
598
 
594
599
  msgid "Reported in the last 7 days"
595
600
  msgstr "最近 7 天内报告"
@@ -690,15 +695,18 @@ msgstr "无法找到发现规则,未提供主机(检查许可)"
690
695
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
691
696
  msgstr "无法找到带有 '%{fact}' 指定的 %{mac} 的主 NIC。NIC 过滤:%{filter}"
692
697
 
693
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
694
- msgstr "无法通过 %{url} 在 %{name} 上执行 kexec:%{msg}"
698
+ msgid "Unable to perform %{action} on %{ips}"
699
+ msgstr ""
700
+
701
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
702
+ msgstr ""
703
+
704
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
705
+ msgstr ""
695
706
 
696
707
  msgid "Unable to provision %{host}: %{errors}"
697
708
  msgstr "无法置备 %{host}:%{errors}"
698
709
 
699
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
700
- msgstr "无法通过 %{url} 重启 %{name} :%{msg}"
701
-
702
710
  msgid "Update a rule"
703
711
  msgstr "更新规则"
704
712
 
@@ -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.3.4\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"
10
+ "PO-Revision-Date: 2020-10-29 17:16+0000\n"
12
11
  "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
- "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\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,51 +289,51 @@ 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
 
318
- #: ../app/controllers/discovery_rules_controller.rb:68
332
+ #: ../app/controllers/discovery_rules_controller.rb:72
319
333
  msgid "Rule enabled"
320
334
  msgstr ""
321
335
 
322
- #: ../app/controllers/discovery_rules_controller.rb:68
336
+ #: ../app/controllers/discovery_rules_controller.rb:72
323
337
  msgid "Rule disabled"
324
338
  msgstr ""
325
339
 
@@ -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:40
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:41
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:42
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:43
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}"
503
498
  msgstr ""
504
499
 
505
- #: ../app/models/host/discovered.rb:166
506
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
500
+ #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
501
+ msgid "Unable to perform %{action} on %{ips}"
507
502
  msgstr ""
508
503
 
509
- #: ../app/models/host/discovered.rb:185
504
+ #: ../app/models/host/discovered.rb:179
505
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
506
+ msgstr ""
507
+
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,97 +751,79 @@ 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:7 ../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:9 ../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:10 ../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
 
789
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
774
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
790
775
  msgid "Select all items in this page"
791
776
  msgstr "選擇這頁中的所有項目"
792
777
 
793
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
778
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
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:6 ../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:8 ../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
 
810
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
790
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
811
791
  msgid "Disk Count"
812
792
  msgstr ""
813
793
 
814
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
794
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
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:16 ../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:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
825
803
  msgid "Organization"
826
804
  msgstr "組織"
827
805
 
828
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
806
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
829
807
  msgid "Subnet"
830
808
  msgstr "子網路"
831
809
 
832
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
810
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
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:20 ../app/views/discovery_rules/index.html.erb:12
838
815
  msgid "Actions"
839
816
  msgstr "動作"
840
817
 
841
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
818
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
842
819
  msgid "Please Confirm"
843
820
  msgstr "請確認"
844
821
 
845
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
822
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
846
823
  msgid "Cancel"
847
824
  msgstr "取消"
848
825
 
849
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
826
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
850
827
  msgid "Submit"
851
828
  msgstr "提交"
852
829
 
@@ -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,45 +940,34 @@ 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
 
1024
- #: ../app/views/discovery_rules/index.html.erb:2
970
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
1025
971
  msgid "Create Rule"
1026
972
  msgstr ""
1027
973
 
@@ -1053,6 +999,10 @@ msgstr ""
1053
999
  msgid "New Discovery Rule"
1054
1000
  msgstr ""
1055
1001
 
1002
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1003
+ msgid "Discovered Rules"
1004
+ msgstr ""
1005
+
1056
1006
  #: ../db/seeds.d/50_discovery_templates.rb:5
1057
1007
  msgid "Command line options for kexec during PXE-less provisioning."
1058
1008
  msgstr ""
@@ -1073,37 +1023,41 @@ msgstr ""
1073
1023
  msgid "Details"
1074
1024
  msgstr "詳細資料"
1075
1025
 
1076
- #: ../lib/foreman_discovery/engine.rb:179
1026
+ #: ../lib/foreman_discovery/engine.rb:180
1077
1027
  msgid "Discovery Kexec template"
1078
1028
  msgstr ""
1079
1029
 
1080
- #: ../lib/foreman_discovery/engine.rb:188
1030
+ #: ../lib/foreman_discovery/engine.rb:189
1081
1031
  msgid "Discovery Proxy"
1082
1032
  msgstr ""
1083
1033
 
1084
- #: ../lib/foreman_discovery/engine.rb:189
1085
- msgid ""
1086
- "Discovery Proxy to use within this subnet for managing connection to "
1087
- "discovered hosts"
1034
+ #: ../lib/foreman_discovery/engine.rb:190
1035
+ msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1088
1036
  msgstr ""
1089
1037
 
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"
1038
+ #: ../lib/foreman_discovery/engine.rb:191
1039
+ msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1040
+ msgstr ""
1041
+
1042
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1043
+ msgid "For more information please see "
1044
+ msgstr ""
1045
+
1046
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1047
+ msgid "documentation"
1094
1048
  msgstr ""
1095
1049
 
1096
1050
  #: action_names.rb:2
1097
- msgid "Import Puppet classes"
1098
- msgstr "匯入 Puppet 類別"
1051
+ msgid "Action with sub plans"
1052
+ msgstr "有子計畫的動作"
1099
1053
 
1100
1054
  #: action_names.rb:3
1101
1055
  msgid "Import facts"
1102
1056
  msgstr "匯入詳情"
1103
1057
 
1104
1058
  #: action_names.rb:4
1105
- msgid "Action with sub plans"
1106
- msgstr "有子計畫的動作"
1059
+ msgid "Import Puppet classes"
1060
+ msgstr "匯入 Puppet 類別"
1107
1061
 
1108
1062
  #: action_names.rb:5
1109
1063
  msgid "Remote action:"