foreman_discovery 16.3.5 → 16.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,9 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: foreman_discovery 16.3.4\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "PO-Revision-Date: 2020-10-29 17:16+0000\n"
14
- "Last-Translator: Robin Friberg <robin.friberg@gmail.com>\n"
13
+ "POT-Creation-Date: 2021-05-03 08:46+0200\n"
14
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
15
+ "Last-Translator: Transifex Bot <>\n"
15
16
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
16
17
  "uage/sv_SE/)\n"
17
18
  "MIME-Version: 1.0\n"
@@ -116,51 +117,51 @@ msgstr ""
116
117
  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)"
117
118
  msgstr ""
118
119
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
120
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
120
121
  msgid "Execute rules against a discovered host"
121
122
  msgstr ""
122
123
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
124
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
124
125
  msgid "Host %{host} was provisioned with rule %{rule}"
125
126
  msgstr ""
126
127
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
128
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
128
129
  msgid "Unable to provision %{host}: %{errors}"
129
130
  msgstr ""
130
131
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
132
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
132
133
  msgid "No rule found for host %s"
133
134
  msgstr ""
134
135
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
136
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
136
137
  msgid "Execute rules against all currently discovered hosts"
137
138
  msgstr ""
138
139
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
140
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
140
141
  msgid "Errors during auto provisioning: %s"
141
142
  msgstr ""
142
143
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
144
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
144
145
  msgid "No discovered hosts to provision"
145
146
  msgstr ""
146
147
 
147
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
148
149
  msgid "%s discovered hosts were provisioned"
149
150
  msgstr ""
150
151
 
151
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
152
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
152
153
  msgid "Refreshing the facts of a discovered host"
153
154
  msgstr ""
154
155
 
155
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
156
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
156
157
  msgid "Rebooting a discovered host"
157
158
  msgstr ""
158
159
 
159
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
160
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
160
161
  msgid "Rebooting all discovered hosts"
161
162
  msgstr ""
162
163
 
163
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
164
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
164
165
  msgid "Discovered hosts are rebooting now"
165
166
  msgstr ""
166
167
 
@@ -240,110 +241,86 @@ msgstr ""
240
241
  msgid "No discovered hosts to reboot"
241
242
  msgstr ""
242
243
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:63
244
+ #: ../app/controllers/discovered_hosts_controller.rb:60
244
245
  msgid "Successfully provisioned %s"
245
246
  msgstr ""
246
247
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:97
248
+ #: ../app/controllers/discovered_hosts_controller.rb:94
248
249
  msgid "Facts refreshed for %s"
249
250
  msgstr "Fakta uppdaterade för %s"
250
251
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:99
252
+ #: ../app/controllers/discovered_hosts_controller.rb:96
252
253
  msgid "Failed to refresh facts for %s"
253
254
  msgstr "Misslyckades med att uppdatera fakta för %s"
254
255
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:102
256
+ #: ../app/controllers/discovered_hosts_controller.rb:99
256
257
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
257
258
  msgstr ""
258
259
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:109
260
+ #: ../app/controllers/discovered_hosts_controller.rb:106
260
261
  msgid "Host of type %s can not be rebooted"
261
262
  msgstr ""
262
263
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:113
264
+ #: ../app/controllers/discovered_hosts_controller.rb:110
264
265
  msgid "Rebooting host %s"
265
266
  msgstr ""
266
267
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:115
268
+ #: ../app/controllers/discovered_hosts_controller.rb:112
268
269
  msgid "Failed to reboot host %s"
269
270
  msgstr ""
270
271
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:118
272
+ #: ../app/controllers/discovered_hosts_controller.rb:115
272
273
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
273
274
  msgstr ""
274
275
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:132
276
+ #: ../app/controllers/discovered_hosts_controller.rb:129
276
277
  msgid "Failed to reboot hosts with error %s"
277
278
  msgstr ""
278
279
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:150
280
+ #: ../app/controllers/discovered_hosts_controller.rb:147
280
281
  msgid "Destroyed selected hosts"
281
282
  msgstr "Förstör markerade värdar"
282
283
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:152
284
+ #: ../app/controllers/discovered_hosts_controller.rb:149
284
285
  msgid "The following hosts were not deleted: %s"
285
286
  msgstr "Följande värdar raderades inte: %s"
286
287
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:164
288
+ #: ../app/controllers/discovered_hosts_controller.rb:161
288
289
  msgid "Failed to auto provision host %s: %s"
289
290
  msgstr ""
290
291
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:192
292
+ #: ../app/controllers/discovered_hosts_controller.rb:189
292
293
  msgid "Discovered hosts are provisioning now"
293
294
  msgstr ""
294
295
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:226
296
- msgid "Highlights"
296
+ #: ../app/controllers/discovered_hosts_controller.rb:270
297
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
297
298
  msgstr ""
298
299
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:226
300
- msgid "Storage"
301
- msgstr ""
302
-
303
- #: ../app/controllers/discovered_hosts_controller.rb:226
304
- msgid "Hardware"
300
+ #: ../app/controllers/discovered_hosts_controller.rb:275
301
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
305
302
  msgstr ""
306
303
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:226
308
- msgid "Network"
309
- msgstr ""
310
-
311
- #: ../app/controllers/discovered_hosts_controller.rb:226
312
- msgid "Software"
313
- msgstr ""
314
-
315
- #: ../app/controllers/discovered_hosts_controller.rb:226
316
- msgid "IPMI"
317
- msgstr ""
318
-
319
- #: ../app/controllers/discovered_hosts_controller.rb:226
320
- msgid "Miscellaneous"
321
- msgstr ""
322
-
323
- #: ../app/controllers/discovered_hosts_controller.rb:304
304
+ #: ../app/controllers/discovered_hosts_controller.rb:289
324
305
  msgid "No hosts were found with that id or name"
325
306
  msgstr "Inga värdar med det idt eller namnet hittades"
326
307
 
327
- #: ../app/controllers/discovered_hosts_controller.rb:308
308
+ #: ../app/controllers/discovered_hosts_controller.rb:293
328
309
  msgid "No hosts selected"
329
310
  msgstr "Inga värdar markerade"
330
311
 
331
- #: ../app/controllers/discovered_hosts_controller.rb:314
312
+ #: ../app/controllers/discovered_hosts_controller.rb:299
332
313
  msgid "Something went wrong while selecting hosts - %s"
333
314
  msgstr "Något blev fel vid markering av värdar - %s"
334
315
 
335
- #: ../app/controllers/discovery_rules_controller.rb:72
316
+ #: ../app/controllers/discovery_rules_controller.rb:79
336
317
  msgid "Rule enabled"
337
318
  msgstr ""
338
319
 
339
- #: ../app/controllers/discovery_rules_controller.rb:72
320
+ #: ../app/controllers/discovery_rules_controller.rb:79
340
321
  msgid "Rule disabled"
341
322
  msgstr ""
342
323
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:10
344
- msgid "%s ago"
345
- msgstr "%s sedan"
346
-
347
324
  #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
348
325
  msgid "Auto Provision"
349
326
  msgstr ""
@@ -429,6 +406,10 @@ msgid "Enable rule '%s'?"
429
406
  msgstr ""
430
407
 
431
408
  #: ../app/helpers/discovery_rules_helper.rb:33
409
+ msgid "Clone"
410
+ msgstr ""
411
+
412
+ #: ../app/helpers/discovery_rules_helper.rb:34
432
413
  msgid "Delete rule '%s'?"
433
414
  msgstr ""
434
415
 
@@ -452,13 +433,13 @@ msgstr ""
452
433
  msgid "must be present."
453
434
  msgstr ""
454
435
 
455
- #: ../app/models/discovery_rule.rb:52
436
+ #: ../app/models/discovery_rule.rb:57
456
437
  msgid "Host group organization %s must also be associated to the discovery rule"
457
438
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
458
439
  msgstr[0] ""
459
440
  msgstr[1] ""
460
441
 
461
- #: ../app/models/discovery_rule.rb:56
442
+ #: ../app/models/discovery_rule.rb:61
462
443
  msgid "Host group location %s must also be associated to the discovery rule"
463
444
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
464
445
  msgstr[0] ""
@@ -728,6 +709,34 @@ msgstr ""
728
709
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
729
710
  msgstr ""
730
711
 
712
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
713
+ msgid "Highlights"
714
+ msgstr ""
715
+
716
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
717
+ msgid "Storage"
718
+ msgstr ""
719
+
720
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
721
+ msgid "Hardware"
722
+ msgstr ""
723
+
724
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
725
+ msgid "Network"
726
+ msgstr ""
727
+
728
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
729
+ msgid "Software"
730
+ msgstr ""
731
+
732
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
733
+ msgid "IPMI"
734
+ msgstr ""
735
+
736
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
737
+ msgid "Miscellaneous"
738
+ msgstr ""
739
+
731
740
  #: ../app/services/foreman_discovery/host_converter.rb:47
732
741
  msgid "IPAM must be configured for subnet '%s'"
733
742
  msgstr ""
@@ -740,6 +749,10 @@ msgstr ""
740
749
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
741
750
  msgstr ""
742
751
 
752
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
753
+ msgid "Host %s has been dicovered"
754
+ msgstr ""
755
+
743
756
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
744
757
  msgid "Discovered Host"
745
758
  msgid_plural "Discovered Hosts"
@@ -798,11 +811,11 @@ msgstr ""
798
811
  msgid "Disks Size"
799
812
  msgstr ""
800
813
 
801
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
814
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9 ../app/views/discovery_rules/index.html.erb:11
802
815
  msgid "Location"
803
816
  msgstr "Lokation"
804
817
 
805
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
818
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10 ../app/views/discovery_rules/index.html.erb:12
806
819
  msgid "Organization"
807
820
  msgstr "Organisation"
808
821
 
@@ -814,7 +827,7 @@ msgstr "Subnät"
814
827
  msgid "Last Facts Upload"
815
828
  msgstr ""
816
829
 
817
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:12
830
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
818
831
  msgid "Actions"
819
832
  msgstr "Åtgärder"
820
833
 
@@ -962,6 +975,10 @@ msgstr ""
962
975
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
963
976
  msgstr ""
964
977
 
978
+ #: ../app/views/discovery_rules/clone.erb:1
979
+ msgid "Clone %s"
980
+ msgstr ""
981
+
965
982
  #: ../app/views/discovery_rules/edit.html.erb:1
966
983
  msgid "Edit %s"
967
984
  msgstr "Redigera %s"
@@ -994,7 +1011,7 @@ msgstr ""
994
1011
  msgid "Hosts/Limit"
995
1012
  msgstr ""
996
1013
 
997
- #: ../app/views/discovery_rules/index.html.erb:11
1014
+ #: ../app/views/discovery_rules/index.html.erb:13
998
1015
  msgid "DiscoveryRule|Enabled"
999
1016
  msgstr ""
1000
1017
 
@@ -1015,7 +1032,7 @@ msgid "A summary of discovered hosts"
1015
1032
  msgstr ""
1016
1033
 
1017
1034
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1018
- msgid "Hosts"
1035
+ msgid "New hosts"
1019
1036
  msgstr ""
1020
1037
 
1021
1038
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
@@ -1026,19 +1043,27 @@ msgstr ""
1026
1043
  msgid "Details"
1027
1044
  msgstr ""
1028
1045
 
1029
- #: ../lib/foreman_discovery/engine.rb:180
1046
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1047
+ msgid "Hosts"
1048
+ msgstr ""
1049
+
1050
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1051
+ msgid "Error message goes here"
1052
+ msgstr ""
1053
+
1054
+ #: ../lib/foreman_discovery/engine.rb:176
1030
1055
  msgid "Discovery Kexec template"
1031
1056
  msgstr ""
1032
1057
 
1033
- #: ../lib/foreman_discovery/engine.rb:189
1058
+ #: ../lib/foreman_discovery/engine.rb:185
1034
1059
  msgid "Discovery Proxy"
1035
1060
  msgstr ""
1036
1061
 
1037
- #: ../lib/foreman_discovery/engine.rb:190
1062
+ #: ../lib/foreman_discovery/engine.rb:186
1038
1063
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1039
1064
  msgstr ""
1040
1065
 
1041
- #: ../lib/foreman_discovery/engine.rb:191
1066
+ #: ../lib/foreman_discovery/engine.rb:187
1042
1067
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1043
1068
  msgstr ""
1044
1069
 
@@ -1051,17 +1076,21 @@ msgid "documentation"
1051
1076
  msgstr ""
1052
1077
 
1053
1078
  #: action_names.rb:2
1054
- msgid "Action with sub plans"
1079
+ msgid "Remote action:"
1055
1080
  msgstr ""
1056
1081
 
1057
1082
  #: action_names.rb:3
1058
- msgid "Import facts"
1083
+ msgid "Import Puppet classes"
1059
1084
  msgstr ""
1060
1085
 
1061
1086
  #: action_names.rb:4
1062
- msgid "Import Puppet classes"
1087
+ msgid "Import facts"
1063
1088
  msgstr ""
1064
1089
 
1065
1090
  #: action_names.rb:5
1066
- msgid "Remote action:"
1091
+ msgid "Action with sub plans"
1067
1092
  msgstr ""
1093
+
1094
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1095
+ #~ msgid "%s ago"
1096
+ #~ msgstr "%s sedan"
@@ -7,7 +7,8 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 16.3.4\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2020-12-01 08:28+0000\n"
10
+ "POT-Creation-Date: 2021-05-03 08:46+0200\n"
11
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
11
12
  "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
12
13
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
13
14
  "age/zh_CN/)\n"
@@ -113,51 +114,51 @@ msgstr "上傳主機的詳情,並視需求建立主機"
113
114
  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)"
114
115
  msgstr "hash 包含具备最小详情集合的主机的详情:discovery_bootif、macaddress_eth0、ipaddress、ipaddress_eth0、interfaces: eth0(主接口名为 eth0 的示例)"
115
116
 
116
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
117
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
117
118
  msgid "Execute rules against a discovered host"
118
119
  msgstr "对发现主机执行规则"
119
120
 
120
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
121
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
121
122
  msgid "Host %{host} was provisioned with rule %{rule}"
122
123
  msgstr "主机 %{host} 被置备,带有规则 %{rule}"
123
124
 
124
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
125
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
125
126
  msgid "Unable to provision %{host}: %{errors}"
126
127
  msgstr "无法置备 %{host}:%{errors}"
127
128
 
128
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
129
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
129
130
  msgid "No rule found for host %s"
130
131
  msgstr "没有为主机 %s 找到规则"
131
132
 
132
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
133
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
133
134
  msgid "Execute rules against all currently discovered hosts"
134
135
  msgstr "对当前所有发现主机执行规则"
135
136
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
137
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
137
138
  msgid "Errors during auto provisioning: %s"
138
139
  msgstr "自动置备期间出错:%s"
139
140
 
140
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
141
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
141
142
  msgid "No discovered hosts to provision"
142
143
  msgstr "没有要置备的发现主机"
143
144
 
144
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
145
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
145
146
  msgid "%s discovered hosts were provisioned"
146
147
  msgstr "%s 发现的主机被置备"
147
148
 
148
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
149
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
149
150
  msgid "Refreshing the facts of a discovered host"
150
151
  msgstr "刷新发现主机的详情"
151
152
 
152
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
153
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
153
154
  msgid "Rebooting a discovered host"
154
155
  msgstr "重启发现主机"
155
156
 
156
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
157
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
157
158
  msgid "Rebooting all discovered hosts"
158
159
  msgstr "重启所有发现主机"
159
160
 
160
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
161
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
161
162
  msgid "Discovered hosts are rebooting now"
162
163
  msgstr "现在正在重启发现主机"
163
164
 
@@ -237,110 +238,86 @@ msgstr "重启时出错:%s"
237
238
  msgid "No discovered hosts to reboot"
238
239
  msgstr "没有要重启的发现主机"
239
240
 
240
- #: ../app/controllers/discovered_hosts_controller.rb:63
241
+ #: ../app/controllers/discovered_hosts_controller.rb:60
241
242
  msgid "Successfully provisioned %s"
242
243
  msgstr "已成功置备 %s"
243
244
 
244
- #: ../app/controllers/discovered_hosts_controller.rb:97
245
+ #: ../app/controllers/discovered_hosts_controller.rb:94
245
246
  msgid "Facts refreshed for %s"
246
247
  msgstr "%s 的事实已刷新"
247
248
 
248
- #: ../app/controllers/discovered_hosts_controller.rb:99
249
+ #: ../app/controllers/discovered_hosts_controller.rb:96
249
250
  msgid "Failed to refresh facts for %s"
250
251
  msgstr "%s 的事实刷新失败"
251
252
 
252
- #: ../app/controllers/discovered_hosts_controller.rb:102
253
+ #: ../app/controllers/discovered_hosts_controller.rb:99
253
254
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
254
255
  msgstr "为 %{hostname} 刷新事实失败,错误为 %{error_message}"
255
256
 
256
- #: ../app/controllers/discovered_hosts_controller.rb:109
257
+ #: ../app/controllers/discovered_hosts_controller.rb:106
257
258
  msgid "Host of type %s can not be rebooted"
258
259
  msgstr "%s 类型的主机不能重启"
259
260
 
260
- #: ../app/controllers/discovered_hosts_controller.rb:113
261
+ #: ../app/controllers/discovered_hosts_controller.rb:110
261
262
  msgid "Rebooting host %s"
262
263
  msgstr "正在重启主机 %s"
263
264
 
264
- #: ../app/controllers/discovered_hosts_controller.rb:115
265
+ #: ../app/controllers/discovered_hosts_controller.rb:112
265
266
  msgid "Failed to reboot host %s"
266
267
  msgstr "重启主机 %s 失败"
267
268
 
268
- #: ../app/controllers/discovered_hosts_controller.rb:118
269
+ #: ../app/controllers/discovered_hosts_controller.rb:115
269
270
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
270
271
  msgstr "重启主机 %{hostname} 失败,错误为 %{error_message}"
271
272
 
272
- #: ../app/controllers/discovered_hosts_controller.rb:132
273
+ #: ../app/controllers/discovered_hosts_controller.rb:129
273
274
  msgid "Failed to reboot hosts with error %s"
274
275
  msgstr "无法重启主机,错误 %s"
275
276
 
276
- #: ../app/controllers/discovered_hosts_controller.rb:150
277
+ #: ../app/controllers/discovered_hosts_controller.rb:147
277
278
  msgid "Destroyed selected hosts"
278
279
  msgstr "刪除選擇的主機"
279
280
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:152
281
+ #: ../app/controllers/discovered_hosts_controller.rb:149
281
282
  msgid "The following hosts were not deleted: %s"
282
283
  msgstr "以下主机没有删除:%s"
283
284
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:164
285
+ #: ../app/controllers/discovered_hosts_controller.rb:161
285
286
  msgid "Failed to auto provision host %s: %s"
286
287
  msgstr "无法自动置备主机 %s:%s"
287
288
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:192
289
+ #: ../app/controllers/discovered_hosts_controller.rb:189
289
290
  msgid "Discovered hosts are provisioning now"
290
291
  msgstr "现在发现主机正在置备"
291
292
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:226
293
- msgid "Highlights"
294
- msgstr "亮点"
295
-
296
- #: ../app/controllers/discovered_hosts_controller.rb:226
297
- msgid "Storage"
298
- msgstr "存储"
299
-
300
- #: ../app/controllers/discovered_hosts_controller.rb:226
301
- msgid "Hardware"
302
- msgstr "硬件"
303
-
304
- #: ../app/controllers/discovered_hosts_controller.rb:226
305
- msgid "Network"
306
- msgstr "网络"
307
-
308
- #: ../app/controllers/discovered_hosts_controller.rb:226
309
- msgid "Software"
310
- msgstr "软件"
311
-
312
- #: ../app/controllers/discovered_hosts_controller.rb:226
313
- msgid "IPMI"
314
- msgstr "IPMI"
293
+ #: ../app/controllers/discovered_hosts_controller.rb:270
294
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
295
+ msgstr ""
315
296
 
316
- #: ../app/controllers/discovered_hosts_controller.rb:226
317
- msgid "Miscellaneous"
318
- msgstr "杂项"
297
+ #: ../app/controllers/discovered_hosts_controller.rb:275
298
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
299
+ msgstr ""
319
300
 
320
- #: ../app/controllers/discovered_hosts_controller.rb:304
301
+ #: ../app/controllers/discovered_hosts_controller.rb:289
321
302
  msgid "No hosts were found with that id or name"
322
303
  msgstr "沒有找到擁有此 ID 或名稱的主機"
323
304
 
324
- #: ../app/controllers/discovered_hosts_controller.rb:308
305
+ #: ../app/controllers/discovered_hosts_controller.rb:293
325
306
  msgid "No hosts selected"
326
307
  msgstr "未選擇主機"
327
308
 
328
- #: ../app/controllers/discovered_hosts_controller.rb:314
309
+ #: ../app/controllers/discovered_hosts_controller.rb:299
329
310
  msgid "Something went wrong while selecting hosts - %s"
330
311
  msgstr "选择主机时出错 - %s"
331
312
 
332
- #: ../app/controllers/discovery_rules_controller.rb:72
313
+ #: ../app/controllers/discovery_rules_controller.rb:79
333
314
  msgid "Rule enabled"
334
315
  msgstr "已启用规则"
335
316
 
336
- #: ../app/controllers/discovery_rules_controller.rb:72
317
+ #: ../app/controllers/discovery_rules_controller.rb:79
337
318
  msgid "Rule disabled"
338
319
  msgstr "已禁用规则"
339
320
 
340
- #: ../app/helpers/discovered_hosts_helper.rb:10
341
- msgid "%s ago"
342
- msgstr "%s 前"
343
-
344
321
  #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
345
322
  msgid "Auto Provision"
346
323
  msgstr "自动置备"
@@ -426,6 +403,10 @@ msgid "Enable rule '%s'?"
426
403
  msgstr "启用规则 '%s'?"
427
404
 
428
405
  #: ../app/helpers/discovery_rules_helper.rb:33
406
+ msgid "Clone"
407
+ msgstr ""
408
+
409
+ #: ../app/helpers/discovery_rules_helper.rb:34
429
410
  msgid "Delete rule '%s'?"
430
411
  msgstr "删除规则 '%s'?"
431
412
 
@@ -449,12 +430,12 @@ msgstr "必须以字母或 ERB 开始。"
449
430
  msgid "must be present."
450
431
  msgstr "必须存在。"
451
432
 
452
- #: ../app/models/discovery_rule.rb:52
433
+ #: ../app/models/discovery_rule.rb:57
453
434
  msgid "Host group organization %s must also be associated to the discovery rule"
454
435
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
455
436
  msgstr[0] "主机组机构 %s 也必须与发现规则关联"
456
437
 
457
- #: ../app/models/discovery_rule.rb:56
438
+ #: ../app/models/discovery_rule.rb:61
458
439
  msgid "Host group location %s must also be associated to the discovery rule"
459
440
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
460
441
  msgstr[0] "主机组位置 %s 也必须与发现规则关联"
@@ -723,6 +704,34 @@ msgstr "发现的主机 '%{host}' 的所有 NIC 都被过滤掉,过滤:%{fil
723
704
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
724
705
  msgstr "无法找到带有通过 '%{fact}' 指定的 '%{mac}' 的主 NIC。NIC 过滤:%{filter}"
725
706
 
707
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
708
+ msgid "Highlights"
709
+ msgstr "亮点"
710
+
711
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
712
+ msgid "Storage"
713
+ msgstr "存储"
714
+
715
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
716
+ msgid "Hardware"
717
+ msgstr "硬件"
718
+
719
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
720
+ msgid "Network"
721
+ msgstr "网络"
722
+
723
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
724
+ msgid "Software"
725
+ msgstr "软件"
726
+
727
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
728
+ msgid "IPMI"
729
+ msgstr "IPMI"
730
+
731
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
732
+ msgid "Miscellaneous"
733
+ msgstr "杂项"
734
+
726
735
  #: ../app/services/foreman_discovery/host_converter.rb:47
727
736
  msgid "IPAM must be configured for subnet '%s'"
728
737
  msgstr "必须为子网 '%s' 配置 IPAM"
@@ -735,6 +744,10 @@ msgstr "镜像 API 返回 HTTP/%{code},带有 '%{body}"
735
744
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
736
745
  msgstr "图片 API 处理错误:%{msg} (HTTP /%{code} , 内容:%{body} )"
737
746
 
747
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
748
+ msgid "Host %s has been dicovered"
749
+ msgstr ""
750
+
738
751
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
739
752
  msgid "Discovered Host"
740
753
  msgid_plural "Discovered Hosts"
@@ -792,11 +805,11 @@ msgstr "磁盘计数"
792
805
  msgid "Disks Size"
793
806
  msgstr "磁盘大小"
794
807
 
795
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
808
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9 ../app/views/discovery_rules/index.html.erb:11
796
809
  msgid "Location"
797
810
  msgstr "位置"
798
811
 
799
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
812
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10 ../app/views/discovery_rules/index.html.erb:12
800
813
  msgid "Organization"
801
814
  msgstr "机构"
802
815
 
@@ -808,7 +821,7 @@ msgstr "子网"
808
821
  msgid "Last Facts Upload"
809
822
  msgstr "最后详情上传"
810
823
 
811
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:12
824
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
812
825
  msgid "Actions"
813
826
  msgstr "操作"
814
827
 
@@ -956,6 +969,10 @@ msgstr "创建主机名模式时,确保生成的主机名是唯一的。"
956
969
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
957
970
  msgstr "主机名不得以数字开始。一种好方法是使用 facter 提供的独特信息(MAC 地址、BIOS 或序列 ID)。"
958
971
 
972
+ #: ../app/views/discovery_rules/clone.erb:1
973
+ msgid "Clone %s"
974
+ msgstr ""
975
+
959
976
  #: ../app/views/discovery_rules/edit.html.erb:1
960
977
  msgid "Edit %s"
961
978
  msgstr "编辑 %s"
@@ -988,7 +1005,7 @@ msgstr "主機群組"
988
1005
  msgid "Hosts/Limit"
989
1006
  msgstr "主机/限制"
990
1007
 
991
- #: ../app/views/discovery_rules/index.html.erb:11
1008
+ #: ../app/views/discovery_rules/index.html.erb:13
992
1009
  msgid "DiscoveryRule|Enabled"
993
1010
  msgstr "发现规则|已启用"
994
1011
 
@@ -1009,8 +1026,8 @@ msgid "A summary of discovered hosts"
1009
1026
  msgstr "发现主机概述"
1010
1027
 
1011
1028
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1012
- msgid "Hosts"
1013
- msgstr "主机"
1029
+ msgid "New hosts"
1030
+ msgstr ""
1014
1031
 
1015
1032
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
1016
1033
  msgid "One or more hosts have been discovered"
@@ -1020,42 +1037,54 @@ msgstr "已发现一个或多个主机"
1020
1037
  msgid "Details"
1021
1038
  msgstr "细节"
1022
1039
 
1023
- #: ../lib/foreman_discovery/engine.rb:180
1040
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1041
+ msgid "Hosts"
1042
+ msgstr "主机"
1043
+
1044
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1045
+ msgid "Error message goes here"
1046
+ msgstr ""
1047
+
1048
+ #: ../lib/foreman_discovery/engine.rb:176
1024
1049
  msgid "Discovery Kexec template"
1025
1050
  msgstr "发现 Kexec 模板"
1026
1051
 
1027
- #: ../lib/foreman_discovery/engine.rb:189
1052
+ #: ../lib/foreman_discovery/engine.rb:185
1028
1053
  msgid "Discovery Proxy"
1029
1054
  msgstr "发现代理服务器"
1030
1055
 
1031
- #: ../lib/foreman_discovery/engine.rb:190
1056
+ #: ../lib/foreman_discovery/engine.rb:186
1032
1057
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1033
1058
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器"
1034
1059
 
1035
- #: ../lib/foreman_discovery/engine.rb:191
1060
+ #: ../lib/foreman_discovery/engine.rb:187
1036
1061
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1037
1062
  msgstr "本子网内用于管理到发现主机的连接的发现代理服务器 ID"
1038
1063
 
1039
1064
  #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1040
1065
  msgid "For more information please see "
1041
- msgstr ""
1066
+ msgstr "查看详情 "
1042
1067
 
1043
1068
  #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1044
1069
  msgid "documentation"
1045
- msgstr ""
1070
+ msgstr "文档"
1046
1071
 
1047
1072
  #: action_names.rb:2
1048
- msgid "Action with sub plans"
1049
- msgstr "有子計畫的動作"
1073
+ msgid "Remote action:"
1074
+ msgstr "远程操作:"
1050
1075
 
1051
1076
  #: action_names.rb:3
1052
- msgid "Import facts"
1053
- msgstr "匯入詳情"
1054
-
1055
- #: action_names.rb:4
1056
1077
  msgid "Import Puppet classes"
1057
1078
  msgstr "导入 Puppet 类"
1058
1079
 
1080
+ #: action_names.rb:4
1081
+ msgid "Import facts"
1082
+ msgstr "匯入詳情"
1083
+
1059
1084
  #: action_names.rb:5
1060
- msgid "Remote action:"
1061
- msgstr "远程操作:"
1085
+ msgid "Action with sub plans"
1086
+ msgstr "有子計畫的動作"
1087
+
1088
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1089
+ #~ msgid "%s ago"
1090
+ #~ msgstr "%s 前"