foreman_openscap 9.0.4 → 10.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +115 -127
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +12 -24
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +1 -13
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +3 -15
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +12 -24
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +83 -95
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +4 -16
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +10 -22
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +68 -80
  11. data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +28 -40
  12. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +12 -24
  13. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +9 -21
  14. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +8 -20
  15. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +6 -18
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +67 -79
  17. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +9 -21
  18. data/app/helpers/foreman_openscap_helper.rb +2 -18
  19. data/db/migrate/20201217161511_add_url_to_oval_content.rb +1 -1
  20. data/lib/foreman_openscap/engine.rb +148 -155
  21. data/lib/foreman_openscap/version.rb +1 -1
  22. data/locale/Makefile +12 -2
  23. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  24. data/locale/cs_CZ/foreman_openscap.edit.po +1442 -0
  25. data/locale/cs_CZ/foreman_openscap.po +120 -130
  26. data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
  27. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  28. data/locale/de/foreman_openscap.edit.po +1454 -0
  29. data/locale/de/foreman_openscap.po +13 -25
  30. data/locale/de/foreman_openscap.po.time_stamp +0 -0
  31. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/en/foreman_openscap.edit.po +1439 -0
  33. data/locale/en/foreman_openscap.po +1 -13
  34. data/locale/en/foreman_openscap.po.time_stamp +0 -0
  35. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  36. data/locale/en_GB/foreman_openscap.edit.po +1440 -0
  37. data/locale/en_GB/foreman_openscap.po +3 -15
  38. data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
  39. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  40. data/locale/es/foreman_openscap.edit.po +1449 -0
  41. data/locale/es/foreman_openscap.po +12 -24
  42. data/locale/es/foreman_openscap.po.time_stamp +0 -0
  43. data/locale/foreman_openscap.pot +47 -61
  44. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  45. data/locale/fr/foreman_openscap.edit.po +1455 -0
  46. data/locale/fr/foreman_openscap.po +83 -95
  47. data/locale/fr/foreman_openscap.po.time_stamp +0 -0
  48. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  49. data/locale/gl/foreman_openscap.edit.po +1440 -0
  50. data/locale/gl/foreman_openscap.po +4 -16
  51. data/locale/gl/foreman_openscap.po.time_stamp +0 -0
  52. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  53. data/locale/it/foreman_openscap.edit.po +1442 -0
  54. data/locale/it/foreman_openscap.po +10 -22
  55. data/locale/it/foreman_openscap.po.time_stamp +0 -0
  56. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  57. data/locale/ja/foreman_openscap.edit.po +1450 -0
  58. data/locale/ja/foreman_openscap.po +68 -80
  59. data/locale/ja/foreman_openscap.po.time_stamp +0 -0
  60. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  61. data/locale/ka/foreman_openscap.edit.po +1444 -0
  62. data/locale/ka/foreman_openscap.po +28 -40
  63. data/locale/ka/foreman_openscap.po.time_stamp +0 -0
  64. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  65. data/locale/ko/foreman_openscap.edit.po +1440 -0
  66. data/locale/ko/foreman_openscap.po +12 -24
  67. data/locale/ko/foreman_openscap.po.time_stamp +0 -0
  68. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  69. data/locale/pt_BR/foreman_openscap.edit.po +1454 -0
  70. data/locale/pt_BR/foreman_openscap.po +9 -21
  71. data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
  72. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  73. data/locale/ru/foreman_openscap.edit.po +1444 -0
  74. data/locale/ru/foreman_openscap.po +8 -20
  75. data/locale/ru/foreman_openscap.po.time_stamp +0 -0
  76. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  77. data/locale/sv_SE/foreman_openscap.edit.po +1440 -0
  78. data/locale/sv_SE/foreman_openscap.po +6 -18
  79. data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
  80. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  81. data/locale/zh_CN/foreman_openscap.edit.po +1449 -0
  82. data/locale/zh_CN/foreman_openscap.po +67 -79
  83. data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
  84. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  85. data/locale/zh_TW/foreman_openscap.edit.po +1441 -0
  86. data/locale/zh_TW/foreman_openscap.po +9 -21
  87. data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
  88. data/test/unit/message_cleaner_test.rb +1 -0
  89. metadata +35 -7
  90. data/locale/action_names.rb +0 -2
  91. data/webpack/components/EditableInput.js +0 -166
  92. data/webpack/components/EditableInput.scss +0 -3
  93. data/webpack/helpers/formFieldsHelper.js +0 -114
@@ -3,11 +3,11 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "Foreman",
6
+ "Project-Id-Version": "foreman_openscap 10.0.1",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
10
- "Language-Team": "Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)",
10
+ "Language-Team": "Chinese (China) (http://app.transifex.com/foreman/foreman/language/zh_CN/)",
11
11
  "MIME-Version": "1.0",
12
12
  "Content-Type": "text/plain; charset=UTF-8",
13
13
  "Content-Transfer-Encoding": "8bit",
@@ -30,13 +30,13 @@
30
30
  "根据策略的 %s 合规报告"
31
31
  ],
32
32
  "%s content": [
33
- ""
33
+ "%s 内容"
34
34
  ],
35
35
  "%s does not exist, skipping.": [
36
- ""
36
+ "%s 不存在,跳过。"
37
37
  ],
38
38
  "%s is a directory, expecting file.": [
39
- ""
39
+ "%s 是一个目录,预期为文件。"
40
40
  ],
41
41
  "%s latest report": [
42
42
  "%s 最新报告"
@@ -54,10 +54,10 @@
54
54
  "<b>Foreman</b> OpenSCAP 摘要"
55
55
  ],
56
56
  "A reboot is required after applying remediation.": [
57
- ""
57
+ "在应用补救后需要重启。"
58
58
  ],
59
59
  "A reboot might be required after applying remediation.": [
60
- ""
60
+ "在应用补救后可能需要重启。"
61
61
  ],
62
62
  "A summary of reports for OpenSCAP policies": [
63
63
  "OpenSCAP 策略报告摘要"
@@ -81,7 +81,7 @@
81
81
  "对主机应用策略"
82
82
  ],
83
83
  "Are you sure you want to delete %s?": [
84
- ""
84
+ "您确定要删除 %s 吗?"
85
85
  ],
86
86
  "Assign Compliance Policy": [
87
87
  "分配合规政策"
@@ -90,10 +90,10 @@
90
90
  "返回"
91
91
  ],
92
92
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
93
- ""
93
+ "默认情况下,补救会应用到当前主机。(可选)修复任何规则失败的额外主机。"
94
94
  ],
95
95
  "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
- ""
96
+ "无法找到 scap-security-guide RPM,您确定是否已安装在服务器上?"
97
97
  ],
98
98
  "Cancel": [
99
99
  "取消"
@@ -132,7 +132,7 @@
132
132
  "选择星期几"
133
133
  ],
134
134
  "Close": [
135
- ""
135
+ "关闭"
136
136
  ],
137
137
  "Compliance": [
138
138
  "合规"
@@ -162,13 +162,13 @@
162
162
  "与策略合规"
163
163
  ],
164
164
  "Confirm": [
165
- ""
165
+ "确认"
166
166
  ],
167
167
  "Content": [
168
- ""
168
+ "内容"
169
169
  ],
170
170
  "Copy to clipboard": [
171
- ""
171
+ "复制到剪贴板"
172
172
  ],
173
173
  "Could not find host identified by: %s": [
174
174
  "无法找到由 %s 标识的主机"
@@ -177,7 +177,7 @@
177
177
  "无法验证 %s。请确保您具备合适的代理服务器版本,以便使用此功能"
178
178
  ],
179
179
  "Could not validate %{file_type}. Error %{error}": [
180
- "无法验证%{file_type} 。错误 %{error}"
180
+ "无法验证%%{file_type} 。错误 %{error}"
181
181
  ],
182
182
  "Create SCAP content": [
183
183
  "建立 SCAP 內容"
@@ -189,7 +189,7 @@
189
189
  "创建定制文件"
190
190
  ],
191
191
  "Created at": [
192
- ""
192
+ "建立于"
193
193
  ],
194
194
  "Dashboard": [
195
195
  "仪表板"
@@ -249,13 +249,13 @@
249
249
  "当使用 “directory” 上载类型时要上传的目录"
250
250
  ],
251
251
  "Do not implement any of the recommended remedial actions or scripts without first testing them in a non-production environment.": [
252
- ""
252
+ "在非生产环境中测试之前,不要实施任何推荐的补救操作或脚本。"
253
253
  ],
254
254
  "Documentation": [
255
255
  "文档"
256
256
  ],
257
257
  "Done": [
258
- ""
258
+ "完成"
259
259
  ],
260
260
  "Download": [
261
261
  "下載"
@@ -288,10 +288,10 @@
288
288
  "错误!"
289
289
  ],
290
290
  "Every puppet run ensures the foreman_scap_client is configured according to the policy.": [
291
- ""
291
+ "每个 puppet 运行确保了 foreman_scap_client 会根据策略配置。"
292
292
  ],
293
293
  "Expected an array of files to upload, got: %s.": [
294
- ""
294
+ "预期上传一个文件数组,实际为:%s。"
295
295
  ],
296
296
  "Failed": [
297
297
  "失败"
@@ -303,13 +303,13 @@
303
303
  "只有失敗"
304
304
  ],
305
305
  "Failed saving %s:": [
306
- ""
306
+ "保存失败 %s:"
307
307
  ],
308
308
  "Failed to delete %s compliance reports": [
309
309
  "刪除 %s 合规报告失败"
310
310
  ],
311
311
  "Failed to delete ARF Report for host %{host_name} reported at %{reported_at}": [
312
- "无法删除主机 %{host_name} 在 %{reported_at} 报告的 ARF 报告"
312
+ "无法删除主机 %%{host_name} 在 %%{reported_at} 报告的 ARF 报告"
313
313
  ],
314
314
  "Failed to downloaded ARF report as bzip: %s": [
315
315
  "无法将 ARF 报告下载为 bzip:%s"
@@ -321,7 +321,7 @@
321
321
  "从代理获取 spool 状态失败"
322
322
  ],
323
323
  "Failed to save when overriding parameters for %{config_tool}, cause: %{errors}": [
324
- "覆盖%{config_tool} 的参数时无法保存,原因是:%{errors}"
324
+ "覆盖%%{config_tool} 的参数时无法保存,原因是:%{errors}"
325
325
  ],
326
326
  "Failed to upload Arf Report, OpenSCAP proxy name or url not found in params when uploading for %s and host is missing openscap_proxy": [
327
327
  "上传 Arf Report 失败,在为 %s 上传时没有在参数中找到 OpenSCAP 代理名或 url,主机缺少 openscap_proxy"
@@ -333,7 +333,7 @@
333
333
  "上传文件"
334
334
  ],
335
335
  "File name": [
336
- ""
336
+ "文件名"
337
337
  ],
338
338
  "File paths to upload when using \\\"files\\\" upload type": [
339
339
  "当使用 “files” 上传类型时要上传的文件路径"
@@ -423,7 +423,7 @@
423
423
  "有些可能需要根据您的具体需求调整安全策略。"
424
424
  ],
425
425
  "Job details": [
426
- ""
426
+ "作业详情"
427
427
  ],
428
428
  "Latest Compliance Reports": [
429
429
  "最新合规报告"
@@ -453,13 +453,13 @@
453
453
  "位置"
454
454
  ],
455
455
  "Manual": [
456
- ""
456
+ "手册"
457
457
  ],
458
458
  "Message": [
459
459
  "信息"
460
460
  ],
461
461
  "Method": [
462
- ""
462
+ "方法"
463
463
  ],
464
464
  "More details": [
465
465
  "更多细节"
@@ -516,7 +516,7 @@
516
516
  "未选择主机"
517
517
  ],
518
518
  "No hosts were found with that id, name or query filter": [
519
- ""
519
+ "未找到符合此 id、名称或者查询过滤器的主机"
520
520
  ],
521
521
  "No proxy found for %{name} or %{url}": [
522
522
  "找不到 %{name} 或 %{url} 的代理服务器"
@@ -537,7 +537,7 @@
537
537
  "无可用报告"
538
538
  ],
539
539
  "No such directory: %s. Please check the path you have provided.": [
540
- ""
540
+ "没有这个目录:%s。请检查您所提供的路径。"
541
541
  ],
542
542
  "No valid policy ID provided": [
543
543
  "未提供有效的策略 ID"
@@ -548,9 +548,6 @@
548
548
  "None found": [
549
549
  "未找到"
550
550
  ],
551
- "None provided": [
552
- ""
553
- ],
554
551
  "None!": [
555
552
  "无!"
556
553
  ],
@@ -570,7 +567,7 @@
570
567
  "月份中的日子,請注意並不是所有月份都有同樣的天數"
571
568
  ],
572
569
  "OS": [
573
- ""
570
+ "OS"
574
571
  ],
575
572
  "Once SCAP content is present, you can create a policy, assign select host groups and schedule to run.": [
576
573
  "存在 SCAP 内容时,您可以创建策略、分配选定主机组,并调度运行时间。"
@@ -594,7 +591,7 @@
594
591
  "其他"
595
592
  ],
596
593
  "Other hosts failing this rule": [
597
- ""
594
+ "其他这个规则失败的主机"
598
595
  ],
599
596
  "Othered": [
600
597
  "其它"
@@ -609,7 +606,7 @@
609
606
  "Passed|P"
610
607
  ],
611
608
  "Permission denied": [
612
- ""
609
+ "没有权限"
613
610
  ],
614
611
  "Please Confirm": [
615
612
  "请确认"
@@ -669,7 +666,7 @@
669
666
  "没有找到带有 id %s 的策略。"
670
667
  ],
671
668
  "Profile": [
672
- ""
669
+ "配置集"
673
670
  ],
674
671
  "Proxy failed to send a report from spool to Foreman. This indicates a corrupted report format. Report has been moved to directory for storing corrupted files on proxy for later inspection.": [
675
672
  "代理服务器未能从 spool 发送报告至 Foreman。这表示报告格式损坏。报告已被移动至目录,以便将破坏文件存储到代理服务器上供以后检查。"
@@ -681,25 +678,25 @@
681
678
  "理由"
682
679
  ],
683
680
  "Reboot the system(s)": [
684
- ""
681
+ "重启系统"
685
682
  ],
686
683
  "Red Hat %s default content": [
687
- ""
684
+ "Red Hat %s 默认内容"
688
685
  ],
689
686
  "References": [
690
687
  "参考"
691
688
  ],
692
689
  "Remediate %s rule": [
693
- ""
690
+ "补救 %s 规则"
694
691
  ],
695
692
  "Remediation": [
696
- ""
693
+ "补救"
697
694
  ],
698
695
  "Remediation might render the system non-functional.": [
699
- ""
696
+ "补救可能会导致系统无法正常工作。"
700
697
  ],
701
698
  "Remote job": [
702
- ""
699
+ "远程作业"
703
700
  ],
704
701
  "Report Metrics": [
705
702
  "报告指标"
@@ -717,19 +714,19 @@
717
714
  "报表"
718
715
  ],
719
716
  "Request the following permissions from administrator: %s.": [
720
- ""
717
+ "连续管理员来获得以下权限:%s。"
721
718
  ],
722
719
  "Request timed out. Please try increasing Settings -> proxy_request_timeout": [
723
720
  "请求超时。请尝试增加 Settings -> proxy_request_timeout"
724
721
  ],
725
722
  "Required %{msg_name} %{class} was not found, please ensure it is imported first.": [
726
- "没有找到所需的%{msg_name}%{class},请确认它已被导入。"
723
+ "没有找到所需的%%{msg_name}%%{class},请确认它已被导入。"
727
724
  ],
728
725
  "Requires %s Puppet class. This will assign the class to the hosts or selected hostgroups.": [
729
- ""
726
+ "需要 %s Puppet 类。这会将类分配给主机或所选主机组。"
730
727
  ],
731
728
  "Requires Ansible plugin, %s Ansible role and variables. This will assign the role to the hosts or selected hostgroups.": [
732
- ""
729
+ "需要 Ansible 插件,%s Ansible 角色和变量。这将为主机或选定的主机组分配角色。"
733
730
  ],
734
731
  "Resource": [
735
732
  "资源"
@@ -738,28 +735,28 @@
738
735
  "结果"
739
736
  ],
740
737
  "Review hosts": [
741
- ""
738
+ "审阅主机"
742
739
  ],
743
740
  "Review remediation": [
744
- ""
741
+ "审阅补救"
745
742
  ],
746
743
  "Review the remediation snippet and apply it to the host manually.": [
747
- ""
744
+ "检查补救片段,并手动应用到主机。"
748
745
  ],
749
746
  "Review the remediation snippet that will be applied to selected host(s).": [
750
- ""
747
+ "检查将应用到所选主机的补救片段。"
751
748
  ],
752
749
  "Rule Results": [
753
750
  "规则结果"
754
751
  ],
755
752
  "Run": [
756
- ""
753
+ "运行"
757
754
  ],
758
755
  "Run OpenSCAP remediation with Ansible": [
759
- ""
756
+ "使用 Ansible 运行 OpenSCAP 补救"
760
757
  ],
761
758
  "Run OpenSCAP remediation with Shell": [
762
- ""
759
+ "使用 Shell 运行 OpenSCAP 补救"
763
760
  ],
764
761
  "Run OpenSCAP scan": [
765
762
  "运行 OpenSCAP 扫描"
@@ -801,10 +798,10 @@
801
798
  "选择这个页中的所有项"
802
799
  ],
803
800
  "Select remediation method": [
804
- ""
801
+ "选择补救方法"
805
802
  ],
806
803
  "Select snippet": [
807
- ""
804
+ "选择片断"
808
805
  ],
809
806
  "Severity": [
810
807
  "严重性"
@@ -840,7 +837,7 @@
840
837
  "智能类参数"
841
838
  ],
842
839
  "Snippet": [
843
- ""
840
+ "程序代码片段"
844
841
  ],
845
842
  "Something went wrong while selecting compliance reports - %s": [
846
843
  "在选择合规报告时出错 - %s"
@@ -861,7 +858,7 @@
861
858
  "提交"
862
859
  ],
863
860
  "Successfully copied to clipboard!": [
864
- ""
861
+ "成功复制到剪贴板!"
865
862
  ],
866
863
  "Successfully deleted %s compliance reports": [
867
864
  "刪除 %s 合规报告成功"
@@ -894,52 +891,43 @@
894
891
  "定制文件配置文件 ID"
895
892
  ],
896
893
  "The %s proxy does not have Openscap feature enabled. Either set correct OpenSCAP Proxy or unset it.": [
897
- ""
894
+ "%s 代理没有启用 Openscap 功能。设置正确的 OpenSCAP 代理或取消设置它。"
898
895
  ],
899
896
  "The Security Content Automation Protocol (SCAP), combines a number of open standards that are used to enumerate software flaws and\\n configuration issues related to security. ": [
900
897
  "安全内容自动化协议(SCAP)是由一系列用来枚举与安全性有关的软件漏洞和\\n 配置问题的开源标准。"
901
898
  ],
902
899
  "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding.": [
903
- "{item_name} 缺少以下 {key_name}:%{key_names}。在继续操作之前,请确保已将其导入。"
904
- ],
905
- "The following Smart Proxies need to be updated to unlock the feature: %s. ": [
906
- "下列智能代理服务器需要更新,以便解锁功能:%s。 "
907
- ],
908
- "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions.": [
909
- "无法访问下列代理服务器:%s。请确保它们可用,以便 Foreman 检查其版本。"
900
+ "%%{item_name} 缺少以下 %%{key_name}:%%{key_names}。在继续操作之前,请确保已将其导入。"
910
901
  ],
911
902
  "The identifier of the host": [
912
903
  "主机 ID"
913
904
  ],
914
905
  "The job has started on selected host(s), you can check the status on the job details page.": [
915
- ""
906
+ "作业已在所选主机上启动,您可以在详情页中检查作业的状态。"
916
907
  ],
917
908
  "There are significant differences in deployment options.": [
918
909
  "部署选项之间存在重大差异。"
919
910
  ],
920
911
  "There is no job to remediate with. Please remediate manually.": [
921
- ""
912
+ "没有可以修复的作业。请手动修复。"
922
913
  ],
923
914
  "There was a following error when deleting %(name)s: %(error)s": [
924
- ""
915
+ "删除 %(name)s 时出现以下错误:%(error)s"
925
916
  ],
926
917
  "There's no available report for this host": [
927
- ""
928
- ],
929
- "This feature is temporarily disabled. ": [
930
- "此功能暂时被禁用。"
918
+ "此主机没有可用的报告"
931
919
  ],
932
920
  "This leaves the setup of the foreman_scap_client solely on the user. The policy still needs to be defined in order to link incoming ARF reports.": [
933
- ""
921
+ "这会使用户只保留 foreman_scap_client 的设置。策略仍然需要定义才能来链接传入的 ARF 报告。"
934
922
  ],
935
923
  "This profile will be used to override the one from scap content": [
936
924
  "这个配置文件将用于覆盖 scap 内容中的配置文件"
937
925
  ],
938
926
  "Title": [
939
- ""
927
+ "提示"
940
928
  ],
941
929
  "To deploy foreman_scap_client, ansible roles run needs to be triggered manually. Manual run is also required after any change to this policy.": [
942
- ""
930
+ "要部署 foreman_scap_client,需要手动触发 ansible 角色运行。在更改此策略后,还需要手动运行。"
943
931
  ],
944
932
  "Total": [
945
933
  "总计"
@@ -1011,7 +999,7 @@
1011
999
  "查看完整报告"
1012
1000
  ],
1013
1001
  "View selected hosts": [
1014
- ""
1002
+ "查看所选主机"
1015
1003
  ],
1016
1004
  "XCCDF Profile": [
1017
1005
  "XCCDF 配置集"
@@ -1029,10 +1017,10 @@
1029
1017
  "是"
1030
1018
  ],
1031
1019
  "You are not authorized to view the page. ": [
1032
- ""
1020
+ "您没有权利查看该页面。 "
1033
1021
  ],
1034
1022
  "You can remediate by running a remote job or you can display a snippet for manual remediation.": [
1035
- ""
1023
+ "您可以通过运行远程作业来修复,也可以显示用于手动修复的代码片段。"
1036
1024
  ],
1037
1025
  "You can specify custom cron line, e.g. \\\"0 3 * * *\\\", separate each of 5 values by space": [
1038
1026
  "您可以设置定制的 cron 行,如 \\\"0 3 * * *\\\",其中的 5 个值由空格分隔"
@@ -1041,7 +1029,7 @@
1041
1029
  "您似乎没有 ARF 报告。ARF 报告是针对给定的合规策略对特定主机执行单次扫描的摘要。"
1042
1030
  ],
1043
1031
  "cannot assign to %s, all assigned policies must be deployed in the same way, check 'deploy by' for each assigned policy": [
1044
- "无法分配给 %s,必须以相同的方式部署所有分配的策略,请为每个分配的策略选择 'deploy by'"
1032
+ "无法分配给 %s,必须以相同的方式部署所有分配的策略,请为每个分配的策略选择 'deploy by'"
1045
1033
  ],
1046
1034
  "documentation": [
1047
1035
  "文档"
@@ -3,11 +3,11 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "Foreman",
6
+ "Project-Id-Version": "foreman_openscap 10.0.1",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
10
- "Language-Team": "Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)",
10
+ "Language-Team": "Chinese (Taiwan) (http://app.transifex.com/foreman/foreman/language/zh_TW/)",
11
11
  "MIME-Version": "1.0",
12
12
  "Content-Type": "text/plain; charset=UTF-8",
13
13
  "Content-Transfer-Encoding": "8bit",
@@ -133,7 +133,7 @@
133
133
  "選擇星期幾"
134
134
  ],
135
135
  "Close": [
136
- ""
136
+ "關閉"
137
137
  ],
138
138
  "Compliance": [
139
139
  "合規"
@@ -190,7 +190,7 @@
190
190
  ""
191
191
  ],
192
192
  "Created at": [
193
- ""
193
+ "建立於"
194
194
  ],
195
195
  "Dashboard": [
196
196
  "控制面板"
@@ -454,7 +454,7 @@
454
454
  "位置"
455
455
  ],
456
456
  "Manual": [
457
- ""
457
+ "手動式"
458
458
  ],
459
459
  "Message": [
460
460
  "訊息"
@@ -549,9 +549,6 @@
549
549
  "None found": [
550
550
  "未找到"
551
551
  ],
552
- "None provided": [
553
- ""
554
- ],
555
552
  "None!": [
556
553
  "無!"
557
554
  ],
@@ -610,7 +607,7 @@
610
607
  "Passed|P"
611
608
  ],
612
609
  "Permission denied": [
613
- ""
610
+ "使用權限被拒"
614
611
  ],
615
612
  "Please Confirm": [
616
613
  "請確認"
@@ -754,7 +751,7 @@
754
751
  ""
755
752
  ],
756
753
  "Run": [
757
- ""
754
+ "執行"
758
755
  ],
759
756
  "Run OpenSCAP remediation with Ansible": [
760
757
  ""
@@ -841,7 +838,7 @@
841
838
  ""
842
839
  ],
843
840
  "Snippet": [
844
- ""
841
+ "程式碼片段"
845
842
  ],
846
843
  "Something went wrong while selecting compliance reports - %s": [
847
844
  "選擇合規報告時發生了錯誤 - %s"
@@ -903,12 +900,6 @@
903
900
  "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding.": [
904
901
  ""
905
902
  ],
906
- "The following Smart Proxies need to be updated to unlock the feature: %s. ": [
907
- ""
908
- ],
909
- "The following proxies could not be reached: %s. Please make sure they are available so Foreman can check their versions.": [
910
- ""
911
- ],
912
903
  "The identifier of the host": [
913
904
  ""
914
905
  ],
@@ -927,9 +918,6 @@
927
918
  "There's no available report for this host": [
928
919
  ""
929
920
  ],
930
- "This feature is temporarily disabled. ": [
931
- ""
932
- ],
933
921
  "This leaves the setup of the foreman_scap_client solely on the user. The policy still needs to be defined in order to link incoming ARF reports.": [
934
922
  ""
935
923
  ],
@@ -937,7 +925,7 @@
937
925
  ""
938
926
  ],
939
927
  "Title": [
940
- ""
928
+ "標題"
941
929
  ],
942
930
  "To deploy foreman_scap_client, ansible roles run needs to be triggered manually. Manual run is also required after any change to this policy.": [
943
931
  ""
@@ -2,26 +2,10 @@ require 'foreman_openscap/version'
2
2
 
3
3
  module ForemanOpenscapHelper
4
4
  def scap_doc_button(section)
5
- documentation_button(section, root_url: scap_doc_url)
5
+ documentation_button('Managing_Security_Compliance', type: 'docs', chapter: section)
6
6
  end
7
7
 
8
8
  def scap_doc_url(section = '')
9
- return scap_root_url if section.empty?
10
-
11
- documentation_url(section, root_url: scap_root_url)
12
- end
13
-
14
- private
15
-
16
- def doc_flavor
17
- ForemanOpenscap.with_katello? ? 'katello' : 'foreman-el'
18
- end
19
-
20
- def scap_root_url
21
- @scap_root_url ||= begin
22
- version = SETTINGS[:version]
23
- version = version.tag == 'develop' ? 'nightly' : version.short
24
- "https://docs.theforeman.org/#{version}/Managing_Security_Compliance/index-#{doc_flavor}.html#"
25
- end
9
+ documentation_url('Managing_Security_Compliance', type: 'docs', chapter: section)
26
10
  end
27
11
  end
@@ -1,4 +1,4 @@
1
- class AddUrlToOvalContent < ActiveRecord::Migration[6.0]
1
+ class AddURLToOvalContent < ActiveRecord::Migration[6.0]
2
2
  def change
3
3
  add_column :foreman_openscap_oval_contents, :url, :string
4
4
  end