foreman_rh_cloud 11.2.0 → 11.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_rh_cloud/locale/fr/foreman_rh_cloud.js +50 -50
  3. data/app/assets/javascripts/foreman_rh_cloud/locale/ja/foreman_rh_cloud.js +52 -52
  4. data/app/assets/javascripts/foreman_rh_cloud/locale/ko/foreman_rh_cloud.js +50 -50
  5. data/app/assets/javascripts/foreman_rh_cloud/locale/zh_CN/foreman_rh_cloud.js +50 -50
  6. data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +2 -0
  7. data/app/services/foreman_rh_cloud/cloud_request_forwarder.rb +1 -1
  8. data/lib/foreman_rh_cloud/engine.rb +1 -1
  9. data/lib/foreman_rh_cloud/version.rb +1 -1
  10. data/lib/insights_cloud/async/insights_full_sync.rb +14 -9
  11. data/lib/insights_cloud/async/insights_resolutions_sync.rb +5 -1
  12. data/locale/foreman_rh_cloud.pot +2 -2
  13. data/locale/fr/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  14. data/locale/fr/foreman_rh_cloud.po +53 -53
  15. data/locale/ja/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  16. data/locale/ja/foreman_rh_cloud.po +54 -53
  17. data/locale/ka/foreman_rh_cloud.po +1 -0
  18. data/locale/ko/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  19. data/locale/ko/foreman_rh_cloud.po +53 -52
  20. data/locale/zh_CN/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  21. data/locale/zh_CN/foreman_rh_cloud.po +53 -52
  22. data/package.json +1 -1
  23. data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +13 -0
  24. data/test/jobs/insights_full_sync_test.rb +28 -0
  25. data/test/jobs/insights_resolutions_sync_test.rb +22 -0
  26. metadata +2 -5
  27. data/app/assets/javascripts/foreman_rh_cloud/locale/en/foreman_rh_cloud.js +0 -589
  28. data/locale/en/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  29. data/locale/en/foreman_rh_cloud.po +0 -585
@@ -6,6 +6,7 @@
6
6
  # Translators:
7
7
  # Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2023
8
8
  #
9
+ #, fuzzy
9
10
  msgid ""
10
11
  msgstr ""
11
12
  "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
@@ -5,17 +5,18 @@
5
5
  #
6
6
  # Translators:
7
7
  # 진선재, 2023
8
- # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
9
8
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
10
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
9
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
10
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
11
11
  #
12
+ #, fuzzy
12
13
  msgid ""
13
14
  msgstr ""
14
- "Project-Id-Version: foreman_rh_cloud 1.0.0\n"
15
+ "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
15
16
  "Report-Msgid-Bugs-To: \n"
16
17
  "PO-Revision-Date: 2023-01-20 13:26+0000\n"
17
18
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
18
- "n.nl>, 2024\n"
19
+ "n.nl>, 2025\n"
19
20
  "Language-Team: Korean (https://app.transifex.com/foreman/teams/114/ko/)\n"
20
21
  "MIME-Version: 1.0\n"
21
22
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -24,7 +25,7 @@ msgstr ""
24
25
  "Plural-Forms: nplurals=1; plural=0;\n"
25
26
 
26
27
  msgid " Sync all inventory status"
27
- msgstr ""
28
+ msgstr "모든 인벤토리 상태 동기화"
28
29
 
29
30
  msgid "%s organizations"
30
31
  msgstr "%s 조직"
@@ -51,10 +52,10 @@ msgid "Automatic inventory upload"
51
52
  msgstr "자동 인벤토리 업로드"
52
53
 
53
54
  msgid "Automatic mismatch deletion"
54
- msgstr ""
55
+ msgstr "자동 불일치 삭제"
55
56
 
56
57
  msgid "Cancel"
57
- msgstr "취소"
58
+ msgstr "취소 "
58
59
 
59
60
  msgid "Clear"
60
61
  msgstr "삭제"
@@ -93,7 +94,7 @@ msgid "Configure Cloud Connector on given hosts"
93
94
  msgstr "지정된 호스트에서 Cloud Connector 구성"
94
95
 
95
96
  msgid "Configure cloud connector"
96
- msgstr ""
97
+ msgstr "클라우드 커넥터 구성"
97
98
 
98
99
  msgid "Connectivity test"
99
100
  msgstr "연결성 테스트"
@@ -120,7 +121,7 @@ msgid "Download latest report"
120
121
  msgstr "최신 보고서 다운로드"
121
122
 
122
123
  msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud"
123
- msgstr ""
124
+ msgstr "Red Hat 클라우드에서 일치하지 않는 호스트 기록의 자동 삭제를 활성화하십시오."
124
125
 
125
126
  msgid "Enable automatic synchronization of Insights recommendations from the Red Hat cloud"
126
127
  msgstr "Red Hat 클라우드에서 Insights 권장 사항의 자동 동기화를 활성화합니다."
@@ -156,7 +157,7 @@ msgid "Exit Code: %s"
156
157
  msgstr "종료 코드: %s"
157
158
 
158
159
  msgid "Fetch Insights-related host details"
159
- msgstr ""
160
+ msgstr "Insights 관련 호스트 세부 정보 가져오기"
160
161
 
161
162
  msgid "Fetching data about your accounts"
162
163
  msgstr "귀하의 계정에 대한 데이터를 가져오는 중"
@@ -171,10 +172,10 @@ msgid "For more info, please visit the"
171
172
  msgstr "자세한 내용은 다음에서 참조하세요"
172
173
 
173
174
  msgid "For more information about Insights and Cloud Connector, see:"
174
- msgstr ""
175
+ msgstr "Insights 및 Cloud Connector에 대한 자세한 내용은 다음을 참조하세요."
175
176
 
176
177
  msgid "For more information about the Subscriptions service, see:"
177
- msgstr ""
178
+ msgstr "서브스크립션 서비스에 대한 자세한 정보는 다음을 참조하십시오:"
178
179
 
179
180
  msgid "Foreman plugin that process & upload data to Red Hat Cloud"
180
181
  msgstr "Red Hat Cloud에 데이터를 처리하고 업로드하는 Foreman 플러그인"
@@ -183,16 +184,16 @@ msgid "Full Screen"
183
184
  msgstr "전체 화면"
184
185
 
185
186
  msgid "Generate and upload report"
186
- msgstr ""
187
+ msgstr "보고서 생성 및 업로드"
187
188
 
188
189
  msgid "Generate the report, but do not upload"
189
- msgstr ""
190
+ msgstr "보고서를 생성하되 업로드하지 마십시오."
190
191
 
191
192
  msgid "Generating"
192
193
  msgstr "생성 중"
193
194
 
194
195
  msgid "Go to Foreman Insights page"
195
- msgstr ""
196
+ msgstr "Foreman Insights 페이지로 이동"
196
197
 
197
198
  msgid "Go to first page"
198
199
  msgstr "첫 번째 페이지로 이동"
@@ -207,7 +208,7 @@ msgid "Go to previous page"
207
208
  msgstr "이전 페이지로 이동"
208
209
 
209
210
  msgid "Grab hosts that are missing in RH Cloud"
210
- msgstr ""
211
+ msgstr "RH Cloud에 없는 호스트를 가져오십시오."
211
212
 
212
213
  msgid "Host Insights recommendations"
213
214
  msgstr "호스트 Insights 추천"
@@ -255,7 +256,7 @@ msgid "Knowledgebase article"
255
256
  msgstr "지식베이스 문서"
256
257
 
257
258
  msgid "List of host UUIDs"
258
- msgstr ""
259
+ msgstr "호스트 UUID 목록"
259
260
 
260
261
  msgid "Loading"
261
262
  msgstr "로딩 중 "
@@ -360,7 +361,7 @@ msgid "Recommendations synced successfully"
360
361
  msgstr "추천사항이 성공적으로 동기화되었습니다."
361
362
 
362
363
  msgid "Reconfigure cloud connector"
363
- msgstr ""
364
+ msgstr "클라우드 커넥터 재구성"
364
365
 
365
366
  msgid "Red Hat Cloud Inventory"
366
367
  msgstr "Red Hat 클라우드 인벤토리"
@@ -402,7 +403,7 @@ msgid "Satellite server has %{hits_count} recommendations by Red Hat"
402
403
  msgstr "Satellite 서버에는 Red Hat의 권장 사항이 %{hits_count} 개 있습니다"
403
404
 
404
405
  msgid "Scoped search string for host removal"
405
- msgstr ""
406
+ msgstr "호스트 제거를 위한 범위 검색 문자열"
406
407
 
407
408
  msgid "Select recommendations from all pages"
408
409
  msgstr "모든 페이지에서 추천을 선택하세요"
@@ -420,7 +421,7 @@ msgid "Show Advanced Settings"
420
421
  msgstr "고급 설정 표시"
421
422
 
422
423
  msgid "Show if system is configured to use local iop-advisor-engine."
423
- msgstr ""
424
+ msgstr "시스템이 로컬 iop-advisor-engine을 사용하도록 구성되어 있는지 표시하십시오."
424
425
 
425
426
  msgid "Start inventory synchronization"
426
427
  msgstr "인벤토리 동기화 시작"
@@ -444,16 +445,16 @@ msgid "Synchronize recommendations Automatically"
444
445
  msgstr "추천 사항을 자동으로 동기화합니다"
445
446
 
446
447
  msgid "The Foreman inventory upload plugin automatically uploads Foreman host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
447
- msgstr ""
448
+ msgstr "Foreman 인벤토리 업로드 플러그인은 Foreman 호스트 인벤토리 데이터를 자동으로 Insights의 인벤토리 서비스에 업로드하며, 이 데이터는 서브스크립션 보고서를 위한 서브스크립션 서비스에서도 사용할 수 있습니다. 서브스크립션 서비스를 사용하는 경우, 인벤토리 업로드를 활성화하는 것이 필수입니다."
448
449
 
449
450
  msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Foreman instance."
450
- msgstr ""
451
+ msgstr "Red Hat 하이브리드 클라우드 콘솔은 이 Foreman 인스턴스를 위한 예측 분석, 문제 해결, 통합된 서브스크립션 보고서를 제공하는 Red Hat Insights와 서브스크립션을 포함한 클라우드 서비스 세트를 제공합니다."
451
452
 
452
453
  msgid "The report file %{filename} doesn't exist"
453
454
  msgstr "보고서 파일%{filename}이/가 존재하지 않습니다"
454
455
 
455
456
  msgid "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option."
456
- msgstr ""
457
+ msgstr "예약된 프로세스는 이 Foreman이 use_local_advisor_engine 옵션으로 구성되어 있기 때문에 비활성화되었습니다."
457
458
 
458
459
  msgid "The server returned the following error: %s"
459
460
  msgstr "서버에서 다음 오류가 반환되었습니다. %s"
@@ -462,16 +463,16 @@ msgid "The task failed with the following error:"
462
463
  msgstr "다음 오류로 인해 작업이 실패했습니다."
463
464
 
464
465
  msgid "There are no recommendations for your hosts"
465
- msgstr ""
466
+ msgstr "호스트에 대한 권장 사항이 없음"
466
467
 
467
468
  msgid "This action will also enable automatic reports upload"
468
469
  msgstr "이 작업을 수행하면 자동 보고서 업로드도 활성화됩니다."
469
470
 
470
471
  msgid "To enable this reporting for all Foreman organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
471
- msgstr ""
472
+ msgstr "이 보고서를 모든 Foreman 조직에 대해 활성화하려면 {uploadButtonName}를 켬으로 설정하십시오. 데이터는 하루에 한 번 자동으로 보고됩니다."
472
473
 
473
474
  msgid "To manually upload the data for a specific organization, select an organization and click {restartButtonName}."
474
- msgstr ""
475
+ msgstr "특정 조직에 대한 데이터를 수동으로 업로드하려면 조직을 선택하고 {restartButtonName}를 클릭하십시오."
475
476
 
476
477
  msgid "Total risk"
477
478
  msgstr "총 위험"
@@ -480,13 +481,13 @@ msgid "Total risks"
480
481
  msgstr "총 위험"
481
482
 
482
483
  msgid "Upload hits from iop-advisor-engine"
483
- msgstr ""
484
+ msgstr "iop-advisor-engine에서 히트 업로드"
484
485
 
485
486
  msgid "Upload hits information"
486
- msgstr ""
487
+ msgstr "히트 정보 업로드"
487
488
 
488
489
  msgid "Upload rules related to the hits"
489
- msgstr ""
490
+ msgstr "히트와 관련된 규칙 업로드"
490
491
 
491
492
  msgid "Uploading"
492
493
  msgstr "업로드 중"
@@ -504,31 +505,31 @@ msgid "Wait and %s"
504
505
  msgstr "대기 및 %s"
505
506
 
506
507
  msgid "Whether the resolution requires reboot"
507
- msgstr ""
508
+ msgstr "해결을 위해 재부팅이 필요한지 여부"
508
509
 
509
510
  msgid "category name"
510
- msgstr ""
511
+ msgstr "카테고리 이름"
511
512
 
512
513
  msgid "generic"
513
- msgstr ""
514
+ msgstr "일반"
514
515
 
515
516
  msgid "hosts page"
516
517
  msgstr "호스트 페이지"
517
518
 
518
519
  msgid "impact name"
519
- msgstr ""
520
+ msgstr "영향 이름"
520
521
 
521
522
  msgid "iop payload including resolutions, rules, hits"
522
- msgstr ""
523
+ msgstr "해결책, 규칙, 히트를 포함한 IOP 페이로드"
523
524
 
524
525
  msgid "items"
525
526
  msgstr "항목"
526
527
 
527
528
  msgid "likelihood number"
528
- msgstr ""
529
+ msgstr "가능성 점수"
529
530
 
530
531
  msgid "more info"
531
- msgstr ""
532
+ msgstr "상세 정보"
532
533
 
533
534
  msgid "page"
534
535
  msgstr "페이지"
@@ -537,52 +538,52 @@ msgid "per page"
537
538
  msgstr "페이지 당"
538
539
 
539
540
  msgid "publish date (YYYY-MM-DD)"
540
- msgstr ""
541
+ msgstr "게시 날짜 (YYYY-MM-DD)"
541
542
 
542
543
  msgid "rating"
543
- msgstr ""
544
+ msgstr "등급"
544
545
 
545
546
  msgid "reason"
546
- msgstr ""
547
+ msgstr "이유"
547
548
 
548
549
  msgid "reboot required"
549
- msgstr ""
550
+ msgstr "재부팅 필요"
550
551
 
551
552
  msgid "resolution description"
552
- msgstr ""
553
+ msgstr "해결 방법"
553
554
 
554
555
  msgid "resolution risk"
555
- msgstr ""
556
+ msgstr "해결책 리스크"
556
557
 
557
558
  msgid "result url"
558
- msgstr ""
559
+ msgstr "결과 URL"
559
560
 
560
561
  msgid "rule description"
561
- msgstr ""
562
+ msgstr "규칙 설명"
562
563
 
563
564
  msgid "rule id"
564
- msgstr ""
565
+ msgstr "규칙 ID"
565
566
 
566
567
  msgid "rule title"
567
- msgstr ""
568
+ msgstr "규칙 제목"
568
569
 
569
570
  msgid "solution url"
570
- msgstr ""
571
+ msgstr "솔루션 URL"
571
572
 
572
573
  msgid "summary"
573
- msgstr ""
574
+ msgstr "요약"
574
575
 
575
576
  msgid "total risk"
576
- msgstr ""
577
+ msgstr "전체 리스크"
577
578
 
578
579
  msgid "type"
579
- msgstr ""
580
+ msgstr "유형"
580
581
 
581
582
  msgid "upload hits details json"
582
- msgstr ""
583
+ msgstr "히트 상세정보 json 업로드"
583
584
 
584
585
  msgid "upload resolutions related to the hits"
585
- msgstr ""
586
+ msgstr "히트와 관련된 해결책 업로드"
586
587
 
587
588
  msgid "view the job in progress"
588
589
  msgstr "진행중인 작업 보기"
@@ -4,19 +4,20 @@
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
7
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2023
7
8
  # tim123, 2023
8
9
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
9
- # Bryan Kearney <bryan.kearney@gmail.com>, 2023
10
10
  # Amit Upadhye <aupadhye@redhat.com>, 2023
11
- # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2023
11
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
12
12
  #
13
+ #, fuzzy
13
14
  msgid ""
14
15
  msgstr ""
15
16
  "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
16
17
  "Report-Msgid-Bugs-To: \n"
17
18
  "PO-Revision-Date: 2023-01-20 13:26+0000\n"
18
19
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
19
- "n.nl>, 2023\n"
20
+ "n.nl>, 2025\n"
20
21
  "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
21
22
  "_CN/)\n"
22
23
  "MIME-Version: 1.0\n"
@@ -26,7 +27,7 @@ msgstr ""
26
27
  "Plural-Forms: nplurals=1; plural=0;\n"
27
28
 
28
29
  msgid " Sync all inventory status"
29
- msgstr ""
30
+ msgstr " 同步所有清单状态"
30
31
 
31
32
  msgid "%s organizations"
32
33
  msgstr "%s 机构"
@@ -53,7 +54,7 @@ msgid "Automatic inventory upload"
53
54
  msgstr "自动清单上传"
54
55
 
55
56
  msgid "Automatic mismatch deletion"
56
- msgstr ""
57
+ msgstr "自动清单删除"
57
58
 
58
59
  msgid "Cancel"
59
60
  msgstr "取消"
@@ -95,7 +96,7 @@ msgid "Configure Cloud Connector on given hosts"
95
96
  msgstr "在给定主机上配置 Cloud Connector"
96
97
 
97
98
  msgid "Configure cloud connector"
98
- msgstr ""
99
+ msgstr "配置云连接器"
99
100
 
100
101
  msgid "Connectivity test"
101
102
  msgstr "连接测试"
@@ -119,10 +120,10 @@ msgid "Download Report"
119
120
  msgstr "下载报告"
120
121
 
121
122
  msgid "Download latest report"
122
- msgstr "下载最新報告"
123
+ msgstr "下载最新的报告"
123
124
 
124
125
  msgid "Enable automatic deletion of mismatched host records from the Red Hat cloud"
125
- msgstr ""
126
+ msgstr "启用自动删除来自红帽云的主机记录"
126
127
 
127
128
  msgid "Enable automatic synchronization of Insights recommendations from the Red Hat cloud"
128
129
  msgstr "启用来自红帽云的 Insights 建议自动同步"
@@ -158,7 +159,7 @@ msgid "Exit Code: %s"
158
159
  msgstr "退出代码:%s"
159
160
 
160
161
  msgid "Fetch Insights-related host details"
161
- msgstr ""
162
+ msgstr "获取与 Insights 相关的主机详情"
162
163
 
163
164
  msgid "Fetching data about your accounts"
164
165
  msgstr "获取有关您的帐户的数据"
@@ -173,10 +174,10 @@ msgid "For more info, please visit the"
173
174
  msgstr "如需更多信息,请访问"
174
175
 
175
176
  msgid "For more information about Insights and Cloud Connector, see:"
176
- msgstr ""
177
+ msgstr "有关 Insights 和云连接器的更多信息,请参阅"
177
178
 
178
179
  msgid "For more information about the Subscriptions service, see:"
179
- msgstr ""
180
+ msgstr "有关订阅服务的更多信息,请参阅:"
180
181
 
181
182
  msgid "Foreman plugin that process & upload data to Red Hat Cloud"
182
183
  msgstr "处理数据并将其上传到红帽云的 Foreman 插件"
@@ -185,16 +186,16 @@ msgid "Full Screen"
185
186
  msgstr "全屏"
186
187
 
187
188
  msgid "Generate and upload report"
188
- msgstr ""
189
+ msgstr "生成并上传报告"
189
190
 
190
191
  msgid "Generate the report, but do not upload"
191
- msgstr ""
192
+ msgstr "生成报告,但不上传"
192
193
 
193
194
  msgid "Generating"
194
195
  msgstr "生成中"
195
196
 
196
197
  msgid "Go to Foreman Insights page"
197
- msgstr ""
198
+ msgstr "进入 Foreman Insights 页面"
198
199
 
199
200
  msgid "Go to first page"
200
201
  msgstr "前往第一页"
@@ -209,7 +210,7 @@ msgid "Go to previous page"
209
210
  msgstr "前往上一页"
210
211
 
211
212
  msgid "Grab hosts that are missing in RH Cloud"
212
- msgstr ""
213
+ msgstr "获取 RH Cloud 中缺少的主机"
213
214
 
214
215
  msgid "Host Insights recommendations"
215
216
  msgstr "主机 Insights 建议"
@@ -257,7 +258,7 @@ msgid "Knowledgebase article"
257
258
  msgstr "知识库文章"
258
259
 
259
260
  msgid "List of host UUIDs"
260
- msgstr ""
261
+ msgstr "主机 UUID 列表"
261
262
 
262
263
  msgid "Loading"
263
264
  msgstr "加载"
@@ -362,7 +363,7 @@ msgid "Recommendations synced successfully"
362
363
  msgstr "成功同步建议"
363
364
 
364
365
  msgid "Reconfigure cloud connector"
365
- msgstr ""
366
+ msgstr "重新配置云连接器"
366
367
 
367
368
  msgid "Red Hat Cloud Inventory"
368
369
  msgstr "红帽云清单"
@@ -404,7 +405,7 @@ msgid "Satellite server has %{hits_count} recommendations by Red Hat"
404
405
  msgstr "Satellite 服务器有 %{hits_count} 个红帽提供的建议"
405
406
 
406
407
  msgid "Scoped search string for host removal"
407
- msgstr ""
408
+ msgstr "用于删除主机的有范围的搜索字符串"
408
409
 
409
410
  msgid "Select recommendations from all pages"
410
411
  msgstr "在所有页面中选择建议"
@@ -422,7 +423,7 @@ msgid "Show Advanced Settings"
422
423
  msgstr "显示高级设置"
423
424
 
424
425
  msgid "Show if system is configured to use local iop-advisor-engine."
425
- msgstr ""
426
+ msgstr "显示系统是否被配置为使用本地 iop-advisor-engine。"
426
427
 
427
428
  msgid "Start inventory synchronization"
428
429
  msgstr "启动清单同步"
@@ -446,16 +447,16 @@ msgid "Synchronize recommendations Automatically"
446
447
  msgstr "自动同步建议"
447
448
 
448
449
  msgid "The Foreman inventory upload plugin automatically uploads Foreman host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
449
- msgstr ""
450
+ msgstr "Foreman 清单上传插件会自动将 Foreman 主机清单数据上传到 Insights 的 Inventory 服务,订阅服务使用这些信息来提供订阅报告。如果使用订阅服务,则需要启用清单上传。"
450
451
 
451
452
  msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Foreman instance."
452
- msgstr ""
453
+ msgstr "Red Hat Hybrid Cloud Console 提供了一组云服务,包括 Red Hat Insights 和订阅,提供预测分析、修复问题以及针对此 Foreman 实例的统一订阅报告。"
453
454
 
454
455
  msgid "The report file %{filename} doesn't exist"
455
456
  msgstr "报告文件 %{filename} 不存在"
456
457
 
457
458
  msgid "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option."
458
- msgstr ""
459
+ msgstr "调度的进程被禁用,因为此 Foreman 配置了 use_local_advisor_engine 选项。"
459
460
 
460
461
  msgid "The server returned the following error: %s"
461
462
  msgstr "服务器返回以下错误:%s"
@@ -464,16 +465,16 @@ msgid "The task failed with the following error:"
464
465
  msgstr "任务失败,错误为:"
465
466
 
466
467
  msgid "There are no recommendations for your hosts"
467
- msgstr ""
468
+ msgstr "没有适用于您的主机的建议"
468
469
 
469
470
  msgid "This action will also enable automatic reports upload"
470
471
  msgstr "此操作还会启用自动报告上传"
471
472
 
472
473
  msgid "To enable this reporting for all Foreman organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
473
- msgstr ""
474
+ msgstr "要为所有 Foreman 机构启用此报告,请将 {uploadButtonName} 设置为 on。数据将每天自动报告一次。"
474
475
 
475
476
  msgid "To manually upload the data for a specific organization, select an organization and click {restartButtonName}."
476
- msgstr ""
477
+ msgstr "要手动上传特定机构的数据,请选择机构并点 {restartButtonName}。"
477
478
 
478
479
  msgid "Total risk"
479
480
  msgstr "总风险"
@@ -482,13 +483,13 @@ msgid "Total risks"
482
483
  msgstr "总风险"
483
484
 
484
485
  msgid "Upload hits from iop-advisor-engine"
485
- msgstr ""
486
+ msgstr "从 iop-advisor-engine 上传 hits"
486
487
 
487
488
  msgid "Upload hits information"
488
- msgstr ""
489
+ msgstr "上传 hits 信息"
489
490
 
490
491
  msgid "Upload rules related to the hits"
491
- msgstr ""
492
+ msgstr "上传与 hits 相关的 rule"
492
493
 
493
494
  msgid "Uploading"
494
495
  msgstr "上载中"
@@ -506,85 +507,85 @@ msgid "Wait and %s"
506
507
  msgstr "等待和 %s"
507
508
 
508
509
  msgid "Whether the resolution requires reboot"
509
- msgstr ""
510
+ msgstr "resolution 是否需要重启"
510
511
 
511
512
  msgid "category name"
512
- msgstr ""
513
+ msgstr "类别名称"
513
514
 
514
515
  msgid "generic"
515
- msgstr ""
516
+ msgstr "通用"
516
517
 
517
518
  msgid "hosts page"
518
519
  msgstr "主机页"
519
520
 
520
521
  msgid "impact name"
521
- msgstr ""
522
+ msgstr "影响名称"
522
523
 
523
524
  msgid "iop payload including resolutions, rules, hits"
524
- msgstr ""
525
+ msgstr "IOP 有效负载,包括 resolutions, rules, hits"
525
526
 
526
527
  msgid "items"
527
528
  msgstr "项"
528
529
 
529
530
  msgid "likelihood number"
530
- msgstr ""
531
+ msgstr "可能性号"
531
532
 
532
533
  msgid "more info"
533
- msgstr ""
534
+ msgstr "更多信息"
534
535
 
535
536
  msgid "page"
536
- msgstr "page"
537
+ msgstr ""
537
538
 
538
539
  msgid "per page"
539
540
  msgstr "每页"
540
541
 
541
542
  msgid "publish date (YYYY-MM-DD)"
542
- msgstr ""
543
+ msgstr "发布日期 (YYYY-MM-DD)"
543
544
 
544
545
  msgid "rating"
545
- msgstr ""
546
+ msgstr "评级"
546
547
 
547
548
  msgid "reason"
548
- msgstr ""
549
+ msgstr "原因"
549
550
 
550
551
  msgid "reboot required"
551
- msgstr ""
552
+ msgstr "需要重启"
552
553
 
553
554
  msgid "resolution description"
554
- msgstr ""
555
+ msgstr "resolution 描述"
555
556
 
556
557
  msgid "resolution risk"
557
- msgstr ""
558
+ msgstr "resolution 风险"
558
559
 
559
560
  msgid "result url"
560
- msgstr ""
561
+ msgstr "结果 url"
561
562
 
562
563
  msgid "rule description"
563
- msgstr ""
564
+ msgstr "rule 描述"
564
565
 
565
566
  msgid "rule id"
566
- msgstr ""
567
+ msgstr "rule id"
567
568
 
568
569
  msgid "rule title"
569
- msgstr ""
570
+ msgstr "rule 标题"
570
571
 
571
572
  msgid "solution url"
572
- msgstr ""
573
+ msgstr "solution url"
573
574
 
574
575
  msgid "summary"
575
- msgstr ""
576
+ msgstr "摘要"
576
577
 
577
578
  msgid "total risk"
578
- msgstr ""
579
+ msgstr "总风险"
579
580
 
580
581
  msgid "type"
581
- msgstr ""
582
+ msgstr "类型"
582
583
 
583
584
  msgid "upload hits details json"
584
- msgstr ""
585
+ msgstr "上传 hits 详情 json"
585
586
 
586
587
  msgid "upload resolutions related to the hits"
587
- msgstr ""
588
+ msgstr "上传与 hits 相关的 resolutions"
588
589
 
589
590
  msgid "view the job in progress"
590
591
  msgstr "查看正在进行中的任务"
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,5 @@
1
1
  require 'test_plugin_helper'
2
+ require 'rest-client'
2
3
 
3
4
  module InsightsCloud::Api
4
5
  class MachineTelemetriesControllerTest < ActionController::TestCase
@@ -33,6 +34,18 @@ module InsightsCloud::Api
33
34
  assert_equal @body, @response.body
34
35
  end
35
36
 
37
+ test "should handle timeout from cloud" do
38
+ ::ForemanRhCloud::CloudRequestForwarder.any_instance.
39
+ stubs(:forward_request).
40
+ raises(RestClient::Exceptions::OpenTimeout.new("Timed out connecting to server"))
41
+
42
+ get :forward_request, params: { "path" => "platform/module-update-router/v1/channel" }
43
+ request_response = JSON.parse(@response.body)
44
+ # I can't get @response.status to take a nil value so I'm not asserting for that
45
+
46
+ assert_equal 'Timed out connecting to server', request_response['error']
47
+ end
48
+
36
49
  test "should respond with the same content type" do
37
50
  net_http_resp = Net::HTTPResponse.new(1.0, 200, "OK")
38
51
  net_http_resp.add_field 'Set-Cookie', 'Monster'