foreman_discovery 16.1.3 → 16.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +14 -8
  3. data/app/controllers/discovered_hosts_controller.rb +5 -3
  4. data/app/helpers/discovered_hosts_helper.rb +5 -0
  5. data/app/models/host/discovered.rb +11 -15
  6. data/app/models/setting/discovered.rb +3 -1
  7. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  8. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  9. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  10. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  11. data/app/views/discovered_hosts/welcome.html.erb +14 -9
  12. data/app/views/discovery_rules/index.html.erb +1 -1
  13. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  14. data/app/views/foreman_discovery/redhat_kexec.erb +3 -2
  15. data/extra/discover-host +14 -8
  16. data/lib/foreman_discovery/engine.rb +3 -2
  17. data/lib/foreman_discovery/version.rb +1 -1
  18. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  19. data/locale/ca/foreman_discovery.edit.po +46 -37
  20. data/locale/ca/foreman_discovery.po +28 -10
  21. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  22. data/locale/de/foreman_discovery.edit.po +54 -47
  23. data/locale/de/foreman_discovery.po +28 -10
  24. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  25. data/locale/en/foreman_discovery.edit.po +40 -28
  26. data/locale/en/foreman_discovery.po +28 -10
  27. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  28. data/locale/en_GB/foreman_discovery.edit.po +45 -44
  29. data/locale/en_GB/foreman_discovery.po +28 -10
  30. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/es/foreman_discovery.edit.po +79 -76
  32. data/locale/es/foreman_discovery.po +28 -10
  33. data/locale/foreman_discovery.pot +142 -115
  34. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/fr/foreman_discovery.edit.po +85 -82
  36. data/locale/fr/foreman_discovery.po +28 -10
  37. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/gl/foreman_discovery.edit.po +41 -29
  39. data/locale/gl/foreman_discovery.po +28 -10
  40. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/it/foreman_discovery.edit.po +54 -42
  42. data/locale/it/foreman_discovery.po +28 -10
  43. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/ja/foreman_discovery.edit.po +88 -87
  45. data/locale/ja/foreman_discovery.po +28 -10
  46. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/ko/foreman_discovery.edit.po +53 -41
  48. data/locale/ko/foreman_discovery.po +28 -10
  49. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/pt_BR/foreman_discovery.edit.po +78 -72
  51. data/locale/pt_BR/foreman_discovery.po +28 -10
  52. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/ru/foreman_discovery.edit.po +53 -41
  54. data/locale/ru/foreman_discovery.po +28 -10
  55. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/sv_SE/foreman_discovery.edit.po +44 -32
  57. data/locale/sv_SE/foreman_discovery.po +28 -10
  58. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/zh_CN/foreman_discovery.edit.po +123 -123
  60. data/locale/zh_CN/foreman_discovery.po +28 -10
  61. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/zh_TW/foreman_discovery.edit.po +53 -41
  63. data/locale/zh_TW/foreman_discovery.po +28 -10
  64. data/package.json +39 -0
  65. data/test/facts/only-ipv6.json +205 -0
  66. data/test/facts/skylake-ipv6.json +223 -0
  67. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  68. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  69. data/test/functional/discovery_rules_controller_test.rb +1 -1
  70. data/test/unit/host_discovered_test.rb +0 -16
  71. data/webpack/index.js +18 -0
  72. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  73. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  74. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  75. data/webpack/src/reducers.js +7 -0
  76. metadata +24 -12
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 16.0.1\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
11
  "Last-Translator: Transifex Bot <>\n"
@@ -323,6 +323,12 @@ msgstr[1] ""
323
323
  msgid "Host of type %s can not be rebooted"
324
324
  msgstr "%s 类型的主机不能重启"
325
325
 
326
+ msgid "Host's owner type"
327
+ msgstr ""
328
+
329
+ msgid "Host's parameters (array or indexed hash)"
330
+ msgstr ""
331
+
326
332
  msgid "Hostname facts"
327
333
  msgstr "主机名详情"
328
334
 
@@ -410,9 +416,6 @@ msgstr "Kexec 模板未与操作系统关联"
410
416
  msgid "Last Facts Upload"
411
417
  msgstr "最后详情上传"
412
418
 
413
- msgid "Learn more about this in the documentation."
414
- msgstr "在本文档中了解更多这方面的内容。"
415
-
416
419
  msgid "List all discovered hosts"
417
420
  msgstr "列出所有发现主机"
418
421
 
@@ -467,6 +470,9 @@ msgstr "N/A"
467
470
  msgid "Name"
468
471
  msgstr "名称"
469
472
 
473
+ msgid "Name of the parameter"
474
+ msgstr ""
475
+
470
476
  msgid "Network"
471
477
  msgstr "网络"
472
478
 
@@ -485,9 +491,6 @@ msgstr "没有可用的发现主机"
485
491
  msgid "No discovered hosts for the selected period"
486
492
  msgstr "选定时间段内没有发现主机"
487
493
 
488
- msgid "No discovered hosts found in this context."
489
- msgstr "在此上下文中未找到发现主机。"
490
-
491
494
  msgid "No discovered hosts to provision"
492
495
  msgstr "没有要置备的发现主机"
493
496
 
@@ -530,6 +533,9 @@ msgstr "将主机固定至发现时使用的 PXEGrub2 模板"
530
533
  msgid "PXELinux template to be used when pinning a host to discovery"
531
534
  msgstr "将主机固定至发现时使用的 PXELinux 模板"
532
535
 
536
+ msgid "Parameter value"
537
+ msgstr ""
538
+
533
539
  msgid "Please Confirm"
534
540
  msgstr "请确认"
535
541
 
@@ -677,15 +683,15 @@ msgstr "未删除以下主机:%s"
677
683
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
678
684
  msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
679
685
 
680
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
681
- msgstr "此页显示了等待置备的发现裸机或虚拟节点。"
682
-
683
686
  msgid "Type"
684
687
  msgstr "类型"
685
688
 
686
689
  msgid "Type of name generator"
687
690
  msgstr "名称生成器类型"
688
691
 
692
+ msgid "Type of value"
693
+ msgstr ""
694
+
689
695
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
690
696
  msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
691
697
 
@@ -695,6 +701,9 @@ msgstr "无法找到发现规则,未提供主机(检查许可)"
695
701
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
696
702
  msgstr "无法找到带有 '%{fact}' 指定的 %{mac} 的主 NIC。NIC 过滤:%{filter}"
697
703
 
704
+ msgid "Unable to perform %{action} on %{ips}"
705
+ msgstr ""
706
+
698
707
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
699
708
  msgstr ""
700
709
 
@@ -767,6 +776,15 @@ msgstr "与特定规则的发现主机匹配的查询"
767
776
  msgid "represents rule name shown to the users"
768
777
  msgstr "代表显示给用户的规则名称"
769
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
+
770
788
  msgid "required if value is not inherited from host group or default password in settings"
771
789
  msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
772
790
 
@@ -7,8 +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-05-26 17:21+0000\n"
11
- "Last-Translator: Transifex Bot <>\n"
10
+ "PO-Revision-Date: 2020-10-29 17:16+0000\n"
11
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
12
12
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
13
13
  "uage/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -55,7 +55,7 @@ msgstr ""
55
55
 
56
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
57
  msgid "required if host is managed and value is not inherited from host group"
58
- msgstr ""
58
+ msgstr "若主機是個受管理的主機,並且值不是由主機群組所繼承的話便需要"
59
59
 
60
60
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
61
61
  msgid "not required if using a subnet with DHCP proxy"
@@ -67,27 +67,27 @@ msgstr ""
67
67
 
68
68
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
69
69
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
70
- msgstr ""
70
+ msgstr "若不是基於映像檔的佈建,而主機受管理並且值並非由主機群組所繼承的話便需要"
71
71
 
72
72
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
73
73
  msgid "required if host is managed and custom partition has not been defined"
74
- msgstr ""
74
+ msgstr "若主機是個受管理的主機,並且尚未定義自訂分割區的話便需要"
75
75
 
76
76
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
77
77
  msgid "Host's owner type"
78
- msgstr ""
78
+ msgstr "主機的擁有者類型"
79
79
 
80
80
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
81
81
  msgid "Host's parameters (array or indexed hash)"
82
- msgstr ""
82
+ msgstr "主機參數(陣列或索引過的雜湊)"
83
83
 
84
84
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
85
85
  msgid "Name of the parameter"
86
- msgstr ""
86
+ msgstr "參數名稱"
87
87
 
88
88
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
89
89
  msgid "Parameter value"
90
- msgstr ""
90
+ msgstr "參數值"
91
91
 
92
92
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
93
93
  msgid "Type of value"
@@ -329,11 +329,11 @@ msgstr "未選擇主機"
329
329
  msgid "Something went wrong while selecting hosts - %s"
330
330
  msgstr "選擇主機時發生了錯誤 - %s"
331
331
 
332
- #: ../app/controllers/discovery_rules_controller.rb:68
332
+ #: ../app/controllers/discovery_rules_controller.rb:72
333
333
  msgid "Rule enabled"
334
334
  msgstr ""
335
335
 
336
- #: ../app/controllers/discovery_rules_controller.rb:68
336
+ #: ../app/controllers/discovery_rules_controller.rb:72
337
337
  msgid "Rule disabled"
338
338
  msgstr ""
339
339
 
@@ -341,15 +341,15 @@ msgstr ""
341
341
  msgid "%s ago"
342
342
  msgstr "%s 之前"
343
343
 
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
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
345
345
  msgid "Auto Provision"
346
346
  msgstr ""
347
347
 
348
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../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
349
349
  msgid "Refresh facts"
350
350
  msgstr "刷新詳情"
351
351
 
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
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
353
353
  msgid "Reboot"
354
354
  msgstr "重新開機"
355
355
 
@@ -361,7 +361,7 @@ msgstr "上一步"
361
361
  msgid "Select Action"
362
362
  msgstr "選擇動作"
363
363
 
364
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../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
365
365
  msgid "Delete %s?"
366
366
  msgstr "刪除 %s?"
367
367
 
@@ -751,15 +751,15 @@ msgstr ""
751
751
  msgid "Host"
752
752
  msgstr "主機"
753
753
 
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
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
755
755
  msgid "Model"
756
756
  msgstr "型號"
757
757
 
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
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
759
759
  msgid "CPUs"
760
760
  msgstr "CPU"
761
761
 
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
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
763
763
  msgid "Memory"
764
764
  msgstr "記憶體"
765
765
 
@@ -771,59 +771,59 @@ msgstr ""
771
771
  msgid "Create Host"
772
772
  msgstr ""
773
773
 
774
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
774
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
775
775
  msgid "Select all items in this page"
776
776
  msgstr "選擇這頁中的所有項目"
777
777
 
778
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
778
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
779
779
  msgid "items selected. Uncheck to Clear"
780
780
  msgstr "已選取項目。反選以清除"
781
781
 
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
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
783
783
  msgid "Name"
784
784
  msgstr "名稱"
785
785
 
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
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
787
787
  msgid "IP Address"
788
788
  msgstr "IP 位址"
789
789
 
790
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
790
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
791
791
  msgid "Disk Count"
792
792
  msgstr ""
793
793
 
794
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
794
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
795
795
  msgid "Disks Size"
796
796
  msgstr ""
797
797
 
798
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../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
799
799
  msgid "Location"
800
800
  msgstr "位置"
801
801
 
802
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../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
803
803
  msgid "Organization"
804
804
  msgstr "組織"
805
805
 
806
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
806
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
807
807
  msgid "Subnet"
808
808
  msgstr "子網路"
809
809
 
810
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
810
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
811
811
  msgid "Last Facts Upload"
812
812
  msgstr ""
813
813
 
814
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../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
815
815
  msgid "Actions"
816
816
  msgstr "動作"
817
817
 
818
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
818
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
819
819
  msgid "Please Confirm"
820
820
  msgstr "請確認"
821
821
 
822
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
822
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
823
823
  msgid "Cancel"
824
824
  msgstr "取消"
825
825
 
826
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
826
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
827
827
  msgid "Submit"
828
828
  msgstr "提交"
829
829
 
@@ -967,7 +967,7 @@ msgstr "編輯 %s"
967
967
  msgid "Discovery Rules"
968
968
  msgstr ""
969
969
 
970
- #: ../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
971
971
  msgid "Create Rule"
972
972
  msgstr ""
973
973
 
@@ -999,6 +999,10 @@ msgstr ""
999
999
  msgid "New Discovery Rule"
1000
1000
  msgstr ""
1001
1001
 
1002
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1003
+ msgid "Discovered Rules"
1004
+ msgstr ""
1005
+
1002
1006
  #: ../db/seeds.d/50_discovery_templates.rb:5
1003
1007
  msgid "Command line options for kexec during PXE-less provisioning."
1004
1008
  msgstr ""
@@ -1035,18 +1039,26 @@ msgstr ""
1035
1039
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1036
1040
  msgstr ""
1037
1041
 
1038
- #: action_names.rb:2
1039
- msgid "Remote action:"
1042
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1043
+ msgid "For more information please see "
1040
1044
  msgstr ""
1041
1045
 
1042
- #: action_names.rb:3
1043
- msgid "Import Puppet classes"
1046
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1047
+ msgid "documentation"
1044
1048
  msgstr ""
1045
1049
 
1046
- #: action_names.rb:4
1050
+ #: action_names.rb:2
1051
+ msgid "Action with sub plans"
1052
+ msgstr "有子計畫的動作"
1053
+
1054
+ #: action_names.rb:3
1047
1055
  msgid "Import facts"
1048
- msgstr ""
1056
+ msgstr "匯入詳情"
1057
+
1058
+ #: action_names.rb:4
1059
+ msgid "Import Puppet classes"
1060
+ msgstr "匯入 Puppet 類別"
1049
1061
 
1050
1062
  #: action_names.rb:5
1051
- msgid "Action with sub plans"
1052
- msgstr ""
1063
+ msgid "Remote action:"
1064
+ msgstr "遠端動作:"
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 16.0.1\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
11
  "Last-Translator: Transifex Bot <>\n"
@@ -323,6 +323,12 @@ msgstr[1] ""
323
323
  msgid "Host of type %s can not be rebooted"
324
324
  msgstr ""
325
325
 
326
+ msgid "Host's owner type"
327
+ msgstr ""
328
+
329
+ msgid "Host's parameters (array or indexed hash)"
330
+ msgstr ""
331
+
326
332
  msgid "Hostname facts"
327
333
  msgstr ""
328
334
 
@@ -410,9 +416,6 @@ msgstr ""
410
416
  msgid "Last Facts Upload"
411
417
  msgstr ""
412
418
 
413
- msgid "Learn more about this in the documentation."
414
- msgstr ""
415
-
416
419
  msgid "List all discovered hosts"
417
420
  msgstr ""
418
421
 
@@ -467,6 +470,9 @@ msgstr "N/A"
467
470
  msgid "Name"
468
471
  msgstr "名稱"
469
472
 
473
+ msgid "Name of the parameter"
474
+ msgstr ""
475
+
470
476
  msgid "Network"
471
477
  msgstr "網路"
472
478
 
@@ -485,9 +491,6 @@ msgstr ""
485
491
  msgid "No discovered hosts for the selected period"
486
492
  msgstr ""
487
493
 
488
- msgid "No discovered hosts found in this context."
489
- msgstr ""
490
-
491
494
  msgid "No discovered hosts to provision"
492
495
  msgstr ""
493
496
 
@@ -530,6 +533,9 @@ msgstr ""
530
533
  msgid "PXELinux template to be used when pinning a host to discovery"
531
534
  msgstr ""
532
535
 
536
+ msgid "Parameter value"
537
+ msgstr ""
538
+
533
539
  msgid "Please Confirm"
534
540
  msgstr "請確認"
535
541
 
@@ -677,15 +683,15 @@ msgstr "下列主機尚未刪除:%s"
677
683
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
678
684
  msgstr "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
679
685
 
680
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
681
- msgstr ""
682
-
683
686
  msgid "Type"
684
687
  msgstr "種類"
685
688
 
686
689
  msgid "Type of name generator"
687
690
  msgstr ""
688
691
 
692
+ msgid "Type of value"
693
+ msgstr ""
694
+
689
695
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
690
696
  msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
691
697
 
@@ -695,6 +701,9 @@ msgstr ""
695
701
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
696
702
  msgstr ""
697
703
 
704
+ msgid "Unable to perform %{action} on %{ips}"
705
+ msgstr ""
706
+
698
707
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
699
708
  msgstr ""
700
709
 
@@ -767,6 +776,15 @@ msgstr ""
767
776
  msgid "represents rule name shown to the users"
768
777
  msgstr ""
769
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
+
770
788
  msgid "required if value is not inherited from host group or default password in settings"
771
789
  msgstr ""
772
790
 
data/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "foreman_discovery",
3
+ "version": "16.3.4",
4
+ "description": "This plugin enables Foreman to do automatic bare-metal discovery of unknown nodes on the provisioning network.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "lint": "tfm-lint --plugin -d /webpack",
8
+ "test": "tfm-test --plugin",
9
+ "test:watch": "tfm-test --plugin --watchAll",
10
+ "test:current": "tfm-test --plugin --watch",
11
+ "publish-coverage": "tfm-publish-coverage",
12
+ "stories": "tfm-stories --plugin",
13
+ "stories:build": "tfm-build-stories --plugin",
14
+ "create-react-component": "yo react-domain"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/theforeman/foreman_discovery.git"
19
+ },
20
+ "bugs": {
21
+ "url": "http://projects.theforeman.org/projects/foreman_discovery/issues"
22
+ },
23
+ "peerDependencies": {
24
+ "@theforeman/vendor": ">= 4.14.0"
25
+ },
26
+ "devDependencies": {
27
+ "@babel/core": "^7.7.0",
28
+ "@theforeman/builder": "^4.14.0",
29
+ "@theforeman/eslint-plugin-foreman": "4.14.0",
30
+ "@theforeman/stories": "^4.14.0",
31
+ "@theforeman/test": "^4.14.0",
32
+ "@theforeman/vendor-dev": "^4.14.0",
33
+ "babel-eslint": "^10.0.3",
34
+ "eslint": "^6.7.2",
35
+ "prettier": "^1.19.1",
36
+ "stylelint": "^9.3.0",
37
+ "stylelint-config-standard": "^18.0.0"
38
+ }
39
+ }