hammer_cli_katello 1.12.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/capsule.rb +20 -0
  3. data/lib/hammer_cli_katello/content_view.rb +16 -1
  4. data/lib/hammer_cli_katello/content_view_version.rb +13 -0
  5. data/lib/hammer_cli_katello/erratum.rb +13 -2
  6. data/lib/hammer_cli_katello/id_resolver.rb +15 -0
  7. data/lib/hammer_cli_katello/organization.rb +0 -23
  8. data/lib/hammer_cli_katello/product.rb +17 -0
  9. data/lib/hammer_cli_katello/repository.rb +40 -2
  10. data/lib/hammer_cli_katello/version.rb +1 -1
  11. data/lib/hammer_cli_katello.rb +0 -6
  12. data/locale/bn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  13. data/locale/bn/hammer-cli-katello.po +85 -69
  14. data/locale/bn_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  15. data/locale/bn_IN/hammer-cli-katello.po +90 -74
  16. data/locale/bqi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  17. data/locale/bqi/hammer-cli-katello.po +2133 -0
  18. data/locale/ca/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  19. data/locale/ca/hammer-cli-katello.po +90 -74
  20. data/locale/cs_CZ/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  21. data/locale/cs_CZ/hammer-cli-katello.po +106 -90
  22. data/locale/de/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  23. data/locale/de/hammer-cli-katello.po +189 -155
  24. data/locale/de_AT/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  25. data/locale/de_AT/hammer-cli-katello.po +87 -71
  26. data/locale/de_DE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  27. data/locale/de_DE/hammer-cli-katello.po +90 -74
  28. data/locale/el/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  29. data/locale/el/hammer-cli-katello.po +96 -80
  30. data/locale/en/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  31. data/locale/en/hammer-cli-katello.po +85 -70
  32. data/locale/en_GB/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  33. data/locale/en_GB/hammer-cli-katello.po +88 -72
  34. data/locale/en_US/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  35. data/locale/en_US/hammer-cli-katello.po +87 -71
  36. data/locale/es/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  37. data/locale/es/hammer-cli-katello.po +176 -150
  38. data/locale/et_EE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  39. data/locale/et_EE/hammer-cli-katello.po +87 -71
  40. data/locale/fr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  41. data/locale/fr/hammer-cli-katello.po +235 -204
  42. data/locale/gl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  43. data/locale/gl/hammer-cli-katello.po +88 -72
  44. data/locale/gu/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  45. data/locale/gu/hammer-cli-katello.po +88 -72
  46. data/locale/he_IL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  47. data/locale/he_IL/hammer-cli-katello.po +92 -76
  48. data/locale/hi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  49. data/locale/hi/hammer-cli-katello.po +88 -72
  50. data/locale/id/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  51. data/locale/id/hammer-cli-katello.po +97 -77
  52. data/locale/it/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  53. data/locale/it/hammer-cli-katello.po +102 -86
  54. data/locale/ja/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  55. data/locale/ja/hammer-cli-katello.po +179 -139
  56. data/locale/ka/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  57. data/locale/ka/hammer-cli-katello.po +357 -287
  58. data/locale/kn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  59. data/locale/kn/hammer-cli-katello.po +88 -72
  60. data/locale/ko/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  61. data/locale/ko/hammer-cli-katello.po +115 -99
  62. data/locale/ml_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  63. data/locale/ml_IN/hammer-cli-katello.po +87 -71
  64. data/locale/mr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  65. data/locale/mr/hammer-cli-katello.po +88 -72
  66. data/locale/nl_NL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  67. data/locale/nl_NL/hammer-cli-katello.po +92 -77
  68. data/locale/or/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  69. data/locale/or/hammer-cli-katello.po +88 -72
  70. data/locale/pa/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  71. data/locale/pa/hammer-cli-katello.po +90 -74
  72. data/locale/pl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  73. data/locale/pl/hammer-cli-katello.po +91 -75
  74. data/locale/pl_PL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  75. data/locale/pl_PL/hammer-cli-katello.po +90 -74
  76. data/locale/pt/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  77. data/locale/pt/hammer-cli-katello.po +87 -71
  78. data/locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  79. data/locale/pt_BR/hammer-cli-katello.po +172 -142
  80. data/locale/ro/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  81. data/locale/ro/hammer-cli-katello.po +87 -71
  82. data/locale/ro_RO/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  83. data/locale/ro_RO/hammer-cli-katello.po +89 -73
  84. data/locale/ru/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  85. data/locale/ru/hammer-cli-katello.po +104 -88
  86. data/locale/sl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  87. data/locale/sl/hammer-cli-katello.po +91 -75
  88. data/locale/sv_SE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  89. data/locale/sv_SE/hammer-cli-katello.po +90 -74
  90. data/locale/ta/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  91. data/locale/ta/hammer-cli-katello.po +85 -69
  92. data/locale/ta_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  93. data/locale/ta_IN/hammer-cli-katello.po +90 -74
  94. data/locale/te/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  95. data/locale/te/hammer-cli-katello.po +88 -72
  96. data/locale/tr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  97. data/locale/tr/hammer-cli-katello.po +88 -72
  98. data/locale/vi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  99. data/locale/vi/hammer-cli-katello.po +85 -69
  100. data/locale/vi_VN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  101. data/locale/vi_VN/hammer-cli-katello.po +87 -71
  102. data/locale/zh/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  103. data/locale/zh/hammer-cli-katello.po +85 -69
  104. data/locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  105. data/locale/zh_CN/hammer-cli-katello.po +143 -119
  106. data/locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo +0 -0
  107. data/locale/zh_TW/hammer-cli-katello.po +103 -87
  108. data/test/functional/acs/create_test.rb +3 -3
  109. data/test/functional/content_credentials/create_test.rb +2 -2
  110. data/test/functional/content_export/complete/repository_test.rb +7 -7
  111. data/test/functional/content_export/incremental/repository_test.rb +6 -6
  112. data/test/functional/content_import/library_test.rb +5 -3
  113. data/test/functional/content_import/version_test.rb +5 -3
  114. data/test/functional/content_view/component/add_test.rb +5 -5
  115. data/test/functional/content_view/component/remove_test.rb +9 -9
  116. data/test/functional/content_view/component/update_test.rb +9 -9
  117. data/test/functional/content_view/create_test.rb +3 -3
  118. data/test/functional/organization/info_test.rb +0 -14
  119. data/test/functional/product/{update_proxy.rb → update_proxy_test.rb} +8 -14
  120. data/test/functional/product/verify_checksum_test.rb +31 -0
  121. data/test/functional/repository/create_test.rb +3 -3
  122. data/test/functional/repository/verify_checksum_test.rb +105 -0
  123. data/test/functional/sync_plan/create_test.rb +9 -9
  124. data/test/functional/sync_plan/delete_test.rb +3 -3
  125. data/test/functional/sync_plan/update_test.rb +5 -5
  126. data/test/test_helper.rb +1 -0
  127. metadata +24 -135
  128. data/lib/hammer_cli_katello/simple_content_access.rb +0 -59
  129. data/test/functional/simple_content_access/disable_test.rb +0 -48
  130. data/test/functional/simple_content_access/enable_test.rb +0 -46
  131. data/test/functional/simple_content_access/status_test.rb +0 -29
@@ -6,16 +6,18 @@
6
6
  # Translators:
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2017
8
8
  # mbacovsky <martin.bacovsky@gmail.com>, 2022
9
- # Bryan Kearney <bryan.kearney@gmail.com>, 2022
9
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2023
10
10
  #
11
+ #, fuzzy
11
12
  msgid ""
12
13
  msgstr ""
13
- "Project-Id-Version: hammer-cli-katello 1.10.0.pre.master\n"
14
+ "Project-Id-Version: hammer-cli-katello 1.13.0.pre.master\n"
14
15
  "Report-Msgid-Bugs-To: \n"
16
+ "POT-Creation-Date: 2023-07-12 17:04+0000\n"
15
17
  "PO-Revision-Date: 2017-09-11 13:28+0000\n"
16
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2022\n"
17
- "Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/z"
18
- "h_TW/)\n"
18
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2023\n"
19
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/"
20
+ "zh_TW/)\n"
19
21
  "MIME-Version: 1.0\n"
20
22
  "Content-Type: text/plain; charset=UTF-8\n"
21
23
  "Content-Transfer-Encoding: 8bit\n"
@@ -131,7 +133,7 @@ msgid "Upstream username"
131
133
  msgstr ""
132
134
 
133
135
  msgid "Verify SSL"
134
- msgstr ""
136
+ msgstr "驗證 SSL"
135
137
 
136
138
  msgid "SSL CA Cert"
137
139
  msgstr ""
@@ -143,7 +145,7 @@ msgid "SSL Client Cert"
143
145
  msgstr ""
144
146
 
145
147
  msgid "SSL Client Key"
146
- msgstr ""
148
+ msgstr "SSL 客戶端金鑰"
147
149
 
148
150
  msgid "Subpaths"
149
151
  msgstr ""
@@ -215,7 +217,7 @@ msgid "Content Label"
215
217
  msgstr ""
216
218
 
217
219
  msgid "Value"
218
- msgstr ""
220
+ msgstr ""
219
221
 
220
222
  msgid "System Purpose"
221
223
  msgstr ""
@@ -455,8 +457,8 @@ msgid "Please provide --content-view-id"
455
457
  msgstr ""
456
458
 
457
459
  msgid ""
458
- "No such repository with name %{name}, in lifecycle environment %{environment_i"
459
- "d} and content view %{content_view_id}"
460
+ "No such repository with name %{name}, in lifecycle environment "
461
+ "%{environment_id} and content view %{content_view_id}"
460
462
  msgstr ""
461
463
 
462
464
  msgid "Use %s instead"
@@ -502,9 +504,9 @@ msgid "Could not delete the Content Credential"
502
504
  msgstr ""
503
505
 
504
506
  msgid ""
505
- "Writes export metadata to disk for use by the importing Katello. This command "
506
- "only needs to be used if the export was performed asynchronously or if the met"
507
- "adata was lost"
507
+ "Writes export metadata to disk for use by the importing Katello. This "
508
+ "command only needs to be used if the export was performed asynchronously or "
509
+ "if the metadata was lost"
508
510
  msgstr ""
509
511
 
510
512
  msgid "Generate metadata based on output of the specified export task"
@@ -513,14 +515,15 @@ msgstr ""
513
515
  msgid "Generate metadata based on specified export history"
514
516
  msgstr ""
515
517
 
516
- msgid "No export history was found. Verify the value given for --task-id or --id"
518
+ msgid ""
519
+ "No export history was found. Verify the value given for --task-id or --id"
517
520
  msgstr ""
518
521
 
519
522
  msgid ""
520
- "Generates listing file on each directory of a syncable export. This command on"
521
- "ly needs to be used if the export was performed asynchronously or if the listi"
522
- "ng files were lost. Assumes the syncable export directory is accessible on dis"
523
- "k"
523
+ "Generates listing file on each directory of a syncable export. This command "
524
+ "only needs to be used if the export was performed asynchronously or if the "
525
+ "listing files were lost. Assumes the syncable export directory is accessible "
526
+ "on disk"
524
527
  msgstr ""
525
528
 
526
529
  msgid "Generate listing files for a syncable export task"
@@ -536,7 +539,7 @@ msgid "Path"
536
539
  msgstr "路徑"
537
540
 
538
541
  msgid "Content View Version"
539
- msgstr ""
542
+ msgstr "內容視域版本"
540
543
 
541
544
  msgid "Content View Version ID"
542
545
  msgstr "內容視域"
@@ -559,47 +562,50 @@ msgstr ""
559
562
  msgid "Could not fetch the export history"
560
563
  msgstr ""
561
564
 
562
- msgid "Once the task completes the listing files may be generated with the command:"
565
+ msgid ""
566
+ "Once the task completes the listing files may be generated with the command:"
563
567
  msgstr ""
564
568
 
565
569
  msgid ""
566
- "Once the task completes the export metadata must be generated with the command"
567
- ":"
570
+ "Once the task completes the export metadata must be generated with the "
571
+ "command:"
568
572
  msgstr ""
569
573
 
570
574
  msgid "Can not fetch export history from an unfinished task"
571
575
  msgstr ""
572
576
 
573
577
  msgid ""
574
- "Cannot generate listing files for this export since it is not syncable. It was"
575
- " not generated with --format=syncable."
578
+ "Cannot generate listing files for this export since it is not syncable. It "
579
+ "was not generated with --format=syncable."
576
580
  msgstr ""
577
581
 
578
582
  msgid ""
579
- "Export History does not have the path specified. The task may have errored out"
580
- "."
583
+ "Export History does not have the path specified. The task may have errored "
584
+ "out."
581
585
  msgstr ""
582
586
 
583
587
  msgid ""
584
- "NOTE: Unable to fully export this version because it contains repositories wit"
585
- "hout the 'immediate' download policy. Update the download policy and sync affe"
586
- "cted repositories. Once synced republish the content view and export the gener"
587
- "ated version."
588
+ "NOTE: Unable to fully export this version because it contains repositories "
589
+ "without the 'immediate' download policy. Update the download policy and sync "
590
+ "affected repositories. Once synced republish the content view and export the "
591
+ "generated version."
588
592
  msgstr ""
589
593
 
590
594
  msgid ""
591
- "NOTE: Unable to fully export this repository because it does not have the 'imm"
592
- "ediate' download policy. Update the download policy, sync the repository and e"
593
- "xport."
595
+ "NOTE: Unable to fully export this repository because it does not have the "
596
+ "'immediate' download policy. Update the download policy, sync the repository "
597
+ "and export."
594
598
  msgstr ""
595
599
 
596
600
  msgid ""
597
- "NOTE: Unable to fully export this organization's library because it contains r"
598
- "epositories without the 'immediate' download policy. Update the download polic"
599
- "y and sync affected repositories to include them in the export."
601
+ "NOTE: Unable to fully export this organization's library because it contains "
602
+ "repositories without the 'immediate' download policy. Update the download "
603
+ "policy and sync affected repositories to include them in the export."
600
604
  msgstr ""
601
605
 
602
- msgid "Use the following command to update the download policy of these repositories."
606
+ msgid ""
607
+ "Use the following command to update the download policy of these "
608
+ "repositories."
603
609
  msgstr ""
604
610
 
605
611
  msgid "Repository is being exported in task %{id}."
@@ -618,8 +624,8 @@ msgid "Could not export the library"
618
624
  msgstr ""
619
625
 
620
626
  msgid ""
621
- "Fails if any of the repositories belonging to this organization are unexportab"
622
- "le."
627
+ "Fails if any of the repositories belonging to this organization are "
628
+ "unexportable."
623
629
  msgstr ""
624
630
 
625
631
  msgid "Content view version is being exported in task %{id}."
@@ -628,7 +634,8 @@ msgstr ""
628
634
  msgid "Could not export the content view version"
629
635
  msgstr ""
630
636
 
631
- msgid "Fails if any of the repositories belonging to this version are unexportable."
637
+ msgid ""
638
+ "Fails if any of the repositories belonging to this version are unexportable."
632
639
  msgstr ""
633
640
 
634
641
  msgid "Filter versions by version number."
@@ -637,15 +644,16 @@ msgstr ""
637
644
  msgid "Performs an incremental export of a content view version"
638
645
  msgstr ""
639
646
 
640
- msgid "Performs an incremental export of the organization's library environment"
647
+ msgid ""
648
+ "Performs an incremental export of the organization's library environment"
641
649
  msgstr ""
642
650
 
643
651
  msgid "Performs an incremental export of a repository"
644
652
  msgstr ""
645
653
 
646
654
  msgid ""
647
- "Location of the metadata.json file. This is not required if the metadata.json "
648
- "file is already in the archive directory."
655
+ "Location of the metadata.json file. This is not required if the metadata."
656
+ "json file is already in the archive directory."
649
657
  msgstr ""
650
658
 
651
659
  msgid "Archive is being imported in task %{id}."
@@ -657,7 +665,8 @@ msgstr ""
657
665
  msgid "Imports a content archive to a content view version"
658
666
  msgstr ""
659
667
 
660
- msgid "Imports a content archive to an organization's library lifecycle environment"
668
+ msgid ""
669
+ "Imports a content archive to an organization's library lifecycle environment"
661
670
  msgstr ""
662
671
 
663
672
  msgid "Imports a repository"
@@ -807,7 +816,8 @@ msgstr "元件版本已移除"
807
816
  msgid "Could not remove version"
808
817
  msgstr "無法移除版本"
809
818
 
810
- msgid "Content View identifier of the component who's latest version is desired"
819
+ msgid ""
820
+ "Content View identifier of the component who's latest version is desired"
811
821
  msgstr "內容視域"
812
822
 
813
823
  msgid "Content View name of the component who's latest version is desired"
@@ -817,8 +827,8 @@ msgid "Content View Version identifier of the component"
817
827
  msgstr "內容視域"
818
828
 
819
829
  msgid ""
820
- "Content View Version number of the component. Either use this or --component-c"
821
- "ontent-view-version-id option"
830
+ "Content View Version number of the component. Either use this or --component-"
831
+ "content-view-version-id option"
822
832
  msgstr "內容視域"
823
833
 
824
834
  msgid "Select the latest version of the components content view is desired"
@@ -828,8 +838,8 @@ msgid "Please provide --component-content-view-id"
828
838
  msgstr ""
829
839
 
830
840
  msgid ""
831
- "Please provide --component-content-view-version-id or --component-content-view"
832
- "-version or --latest for the latest version"
841
+ "Please provide --component-content-view-version-id or --component-content-"
842
+ "view-version or --latest for the latest version"
833
843
  msgstr ""
834
844
 
835
845
  msgid "Content View Id"
@@ -863,13 +873,13 @@ msgid "Could not update the content view component"
863
873
  msgstr "無法更新內容視域"
864
874
 
865
875
  msgid ""
866
- "Array of component content view names to remove. Comma separated list of value"
867
- "s"
876
+ "Array of component content view names to remove. Comma separated list of "
877
+ "values"
868
878
  msgstr ""
869
879
 
870
880
  msgid ""
871
- "Array of component content view identfiers to remove. Comma separated list of "
872
- "values"
881
+ "Array of component content view identfiers to remove. Comma separated list "
882
+ "of values"
873
883
  msgstr ""
874
884
 
875
885
  msgid "Components removed from content view."
@@ -894,8 +904,8 @@ msgid "No versions to delete."
894
904
  msgstr ""
895
905
 
896
906
  msgid ""
897
- "Version '%{version}' of content view '%{view}' scheduled for deletion in task "
898
- "'%{task_id}'."
907
+ "Version '%{version}' of content view '%{view}' scheduled for deletion in "
908
+ "task '%{task_id}'."
899
909
  msgstr "版本"
900
910
 
901
911
  msgid "Version '%{version}' of content view '%{view}' deleted."
@@ -931,7 +941,8 @@ msgstr "內容視域正被推送(任務 %{id})"
931
941
  msgid "Could not promote the content view"
932
942
  msgstr "無法推送內容視域"
933
943
 
934
- msgid "force content view promotion and bypass lifecycle environment restriction"
944
+ msgid ""
945
+ "force content view promotion and bypass lifecycle environment restriction"
935
946
  msgstr "強制進行內容視域推送,而跳過生命週期環境限制"
936
947
 
937
948
  msgid "Name of the target environment"
@@ -941,8 +952,8 @@ msgid "Id of the target environment"
941
952
  msgstr "ID"
942
953
 
943
954
  msgid ""
944
- "Environment name from where to promote its version from (if version is unknown"
945
- ")"
955
+ "Environment name from where to promote its version from (if version is "
956
+ "unknown)"
946
957
  msgstr "否"
947
958
 
948
959
  msgid "Id of the environment from where to promote its version "
@@ -963,7 +974,8 @@ msgstr ""
963
974
  msgid "list of lifecycle environment IDs to update the content view version in"
964
975
  msgstr "ID"
965
976
 
966
- msgid "list of lifecycle environment names to update the content view version in"
977
+ msgid ""
978
+ "list of lifecycle environment names to update the content view version in"
967
979
  msgstr ""
968
980
 
969
981
  msgid "Organization name for resolving lifecycle environment names"
@@ -973,8 +985,8 @@ msgid "Organization id for resolving lifecycle environment names"
973
985
  msgstr "組織"
974
986
 
975
987
  msgid ""
976
- "Update all editable and applicable hosts within the specified Content View and"
977
- " \\\n"
988
+ "Update all editable and applicable hosts within the specified Content View "
989
+ "and \\\n"
978
990
  " Lifecycle Environments"
979
991
  msgstr ""
980
992
 
@@ -1012,7 +1024,7 @@ msgid "Schema Version"
1012
1024
  msgstr ""
1013
1025
 
1014
1026
  msgid "Digest"
1015
- msgstr ""
1027
+ msgstr "消化"
1016
1028
 
1017
1029
  msgid "Downloaded"
1018
1030
  msgstr ""
@@ -1153,7 +1165,7 @@ msgid "Security"
1153
1165
  msgstr "安全性"
1154
1166
 
1155
1167
  msgid "Bugfix"
1156
- msgstr ""
1168
+ msgstr "錯誤修正"
1157
1169
 
1158
1170
  msgid "Enhancement"
1159
1171
  msgstr "增強"
@@ -1248,7 +1260,8 @@ msgstr ""
1248
1260
  msgid "comma-separated list of package-groups to install"
1249
1261
  msgstr ""
1250
1262
 
1251
- msgid "Install package-groups on content hosts contained within a host collection"
1263
+ msgid ""
1264
+ "Install package-groups on content hosts contained within a host collection"
1252
1265
  msgstr ""
1253
1266
 
1254
1267
  msgid "Successfully scheduled installation of package-group(s)."
@@ -1257,7 +1270,8 @@ msgstr "成功"
1257
1270
  msgid "Could not schedule installation of package-group(s)"
1258
1271
  msgstr "否"
1259
1272
 
1260
- msgid "Update package-groups on content hosts contained within a host collection"
1273
+ msgid ""
1274
+ "Update package-groups on content hosts contained within a host collection"
1261
1275
  msgstr ""
1262
1276
 
1263
1277
  msgid "Successfully scheduled update of package-groups(s)."
@@ -1266,7 +1280,8 @@ msgstr "成功"
1266
1280
  msgid "Could not schedule update of package-group(s)"
1267
1281
  msgstr "否"
1268
1282
 
1269
- msgid "Remove package-groups on content hosts contained within a host collection"
1283
+ msgid ""
1284
+ "Remove package-groups on content hosts contained within a host collection"
1270
1285
  msgstr ""
1271
1286
 
1272
1287
  msgid "Successfully scheduled removal of package-groups(s)."
@@ -1380,7 +1395,8 @@ msgstr ""
1380
1395
  msgid "Failed to remove subscriptions from the host"
1381
1396
  msgstr "失敗"
1382
1397
 
1383
- msgid "Remove the first instance of a subscription with matching id and quantity"
1398
+ msgid ""
1399
+ "Remove the first instance of a subscription with matching id and quantity"
1384
1400
  msgstr ""
1385
1401
 
1386
1402
  msgid "Content View id"
@@ -1393,13 +1409,13 @@ msgid "Environment name"
1393
1409
  msgstr ""
1394
1410
 
1395
1411
  msgid "Product name"
1396
- msgstr ""
1412
+ msgstr "產品名稱"
1397
1413
 
1398
1414
  msgid "Trace ID"
1399
1415
  msgstr ""
1400
1416
 
1401
1417
  msgid "Application"
1402
- msgstr ""
1418
+ msgstr "應用程式"
1403
1419
 
1404
1420
  msgid "Helper"
1405
1421
  msgstr ""
@@ -1615,19 +1631,19 @@ msgid "Summary"
1615
1631
  msgstr "摘要"
1616
1632
 
1617
1633
  msgid "Url"
1618
- msgstr ""
1634
+ msgstr "網址"
1619
1635
 
1620
1636
  msgid "Build Time"
1621
- msgstr ""
1637
+ msgstr "組建時間"
1622
1638
 
1623
1639
  msgid "Group"
1624
- msgstr ""
1640
+ msgstr "群組"
1625
1641
 
1626
1642
  msgid "Requires"
1627
- msgstr ""
1643
+ msgstr "需要"
1628
1644
 
1629
1645
  msgid "Provides"
1630
- msgstr ""
1646
+ msgstr "供應方"
1631
1647
 
1632
1648
  msgid "Files"
1633
1649
  msgstr "檔案"
@@ -1759,8 +1775,8 @@ msgid "Location of the ansible collections requirements.yml file. "
1759
1775
  msgstr ""
1760
1776
 
1761
1777
  msgid ""
1762
- "Limit the repository type to return. View available types with \"hammer reposit"
1763
- "ory types\""
1778
+ "Limit the repository type to return. View available types with \"hammer "
1779
+ "repository types\""
1764
1780
  msgstr ""
1765
1781
 
1766
1782
  msgid "Red Hat Repository"
@@ -1881,8 +1897,8 @@ msgid "Could not create the repository"
1881
1897
  msgstr "無法建立軟體庫"
1882
1898
 
1883
1899
  msgid ""
1884
- "Type of repository to create. View available types with \"hammer repository typ"
1885
- "es\""
1900
+ "Type of repository to create. View available types with \"hammer repository "
1901
+ "types\""
1886
1902
  msgstr ""
1887
1903
 
1888
1904
  msgid "Repository updated."
@@ -1931,8 +1947,8 @@ msgid "Indexed?"
1931
1947
  msgstr ""
1932
1948
 
1933
1949
  msgid ""
1934
- "The type of content unit to upload (srpm, file, etc.). View uploadable types w"
1935
- "ith \"hammer repository types\""
1950
+ "The type of content unit to upload (srpm, file, etc.). View uploadable types "
1951
+ "with \"hammer repository types\""
1936
1952
  msgstr ""
1937
1953
 
1938
1954
  msgid "Could not find any files matching PATH"
@@ -1954,8 +1970,8 @@ msgid "Name of OSTree repository in archive."
1954
1970
  msgstr ""
1955
1971
 
1956
1972
  msgid ""
1957
- "Upload file, directory of files, or glob of files as content for a repository."
1958
- "\n"
1973
+ "Upload file, directory of files, or glob of files as content for a "
1974
+ "repository.\n"
1959
1975
  "Globs must be escaped by single or double quotes"
1960
1976
  msgstr ""
1961
1977
 
@@ -1978,8 +1994,8 @@ msgid "Could not remove content"
1978
1994
  msgstr "無法移除內容主機"
1979
1995
 
1980
1996
  msgid ""
1981
- "The type of content unit to remove (srpm, docker_manifest, etc.). View removab"
1982
- "le types with \"hammer repository types\""
1997
+ "The type of content unit to remove (srpm, docker_manifest, etc.). View "
1998
+ "removable types with \"hammer repository types\""
1983
1999
  msgstr ""
1984
2000
 
1985
2001
  msgid "Forces a republish of the specified repository."
@@ -2088,7 +2104,7 @@ msgid "Recurring Logic ID"
2088
2104
  msgstr "ID"
2089
2105
 
2090
2106
  msgid "Next Sync"
2091
- msgstr ""
2107
+ msgstr "下個同步"
2092
2108
 
2093
2109
  msgid "how often synchronization should run"
2094
2110
  msgstr "同步化程序執行的頻率"
@@ -2097,8 +2113,8 @@ msgid "set this when interval is custom cron"
2097
2113
  msgstr ""
2098
2114
 
2099
2115
  msgid ""
2100
- "Start date and time for the sync plan.Time is optional, if kept blank current "
2101
- "system time will be considered"
2116
+ "Start date and time for the sync plan.Time is optional, if kept blank "
2117
+ "current system time will be considered"
2102
2118
  msgstr "時間"
2103
2119
 
2104
2120
  msgid "Sync plan created."
@@ -1,11 +1,11 @@
1
1
  require File.join(File.dirname(__FILE__), '../test_helper')
2
2
 
3
- describe 'create content-credentials' do
3
+ describe 'create alternate content source' do
4
4
  before do
5
5
  @cmd = %w(alternate-content-source create)
6
6
  end
7
7
 
8
- let(:name) { 'pizza' }
8
+ let(:acs_name) { 'pizza' }
9
9
  let(:url) { 'http://proxy.example.com' }
10
10
  let(:acs_type) { 'custom' }
11
11
  let(:acs_content) { 'yum' }
@@ -14,7 +14,7 @@ describe 'create content-credentials' do
14
14
  let(:subpaths) { ['test/repo1/'] }
15
15
 
16
16
  it 'Creates an ACS' do
17
- params = ["--name=#{name}", "--alternate-content-source-type=#{acs_type}",
17
+ params = ["--name=#{acs_name}", "--alternate-content-source-type=#{acs_type}",
18
18
  "--base-url=#{url}", "--content-type=#{acs_content}", "--verify-ssl=#{verify_ssl}",
19
19
  "--smart-proxy-ids=#{proxy_id}", "--subpaths=#{subpaths}"]
20
20
 
@@ -3,11 +3,11 @@ require File.join(File.dirname(__FILE__), '../test_helper')
3
3
  describe 'create content-credentials' do
4
4
  before do
5
5
  @cmd = %w(content-credentials create)
6
- @base_params = ["--organization-id=#{org_id}", "--name=#{name}"]
6
+ @base_params = ["--organization-id=#{org_id}", "--name=#{cred_name}"]
7
7
  end
8
8
 
9
9
  let(:org_id) { 1 }
10
- let(:name) { 'sslcert' }
10
+ let(:cred_name) { 'sslcert' }
11
11
  let(:cert) { File.join(File.dirname(__FILE__), 'data', 'test_cert.json') }
12
12
 
13
13
  it 'Creates a SSL Content Credential' do
@@ -40,7 +40,7 @@ describe 'content-export complete repository' do
40
40
  let(:product_id) { '77' }
41
41
  let(:repository_id) { '1001' }
42
42
 
43
- let(:name) { 'repo' }
43
+ let(:repo_name) { 'repo' }
44
44
 
45
45
  it "performs export with required options and async" do
46
46
  params = [
@@ -111,7 +111,7 @@ describe 'content-export complete repository' do
111
111
  end
112
112
 
113
113
  it 'fails on missing product missing org' do
114
- params = ["--product=lol", "--name=#{name}"]
114
+ params = ["--product=lol", "--name=#{repo_name}"]
115
115
  result = run_cmd(@cmd + params)
116
116
  expected_error = "At least one of options --organization-id,"\
117
117
  " --organization, --organization-label is required"
@@ -122,13 +122,13 @@ describe 'content-export complete repository' do
122
122
 
123
123
  it 'correctly resolves product_id and repository name' do
124
124
  params = ["--product-id=#{product_id}",
125
- "--name=#{name}",
125
+ "--name=#{repo_name}",
126
126
  "--async"]
127
127
  expects_repository(repository_id, default_repository_options)
128
128
 
129
129
  cvv_expect = api_expects(:repositories, :index) do |p|
130
130
  assert_equal p['product_id'].to_s, product_id.to_s
131
- assert_equal p["name"], name
131
+ assert_equal p["name"], repo_name
132
132
  end
133
133
 
134
134
  cvv_expect.at_least_once.
@@ -203,11 +203,11 @@ describe 'content-export complete repository' do
203
203
 
204
204
  it 'should accept product and get the right repository' do
205
205
  params = ["--product-id=#{product_id}",
206
- "--name=#{name}"]
207
- expect_repository_search(product_id.to_i, name, repository_id).at_least_once
206
+ "--name=#{repo_name}"]
207
+ expect_repository_search(product_id.to_i, repo_name, repository_id).at_least_once
208
208
  repo_search = api_expects(:repositories, :index, 'Find a repository') do |p|
209
209
  assert_equal p["product_id"].to_s, product_id.to_s
210
- assert_equal p["name"], name
210
+ assert_equal p["name"], repo_name
211
211
  end
212
212
  repo_search.returns(index_response([{'id' => repository_id}]))
213
213
 
@@ -42,7 +42,7 @@ describe 'content-export incremental version' do
42
42
  let(:product_id) { '77' }
43
43
  let(:repository_id) { 100 }
44
44
 
45
- let(:name) { 'great' }
45
+ let(:repo_name) { 'great' }
46
46
 
47
47
  it "performs export with required options and async" do
48
48
  params = [
@@ -120,13 +120,13 @@ describe 'content-export incremental version' do
120
120
 
121
121
  it 'correctly resolves product_id and repository name' do
122
122
  params = ["--product-id=#{product_id}",
123
- "--name=#{name}",
123
+ "--name=#{repo_name}",
124
124
  "--async"]
125
125
  expects_repository(repository_id, default_repository_options)
126
126
 
127
127
  cvv_expect = api_expects(:repositories, :index) do |p|
128
128
  assert_equal p['product_id'].to_s, product_id.to_s
129
- assert_equal p["name"], name
129
+ assert_equal p["name"], repo_name
130
130
  end
131
131
 
132
132
  cvv_expect.at_least_once.
@@ -157,7 +157,7 @@ describe 'content-export incremental version' do
157
157
  end
158
158
 
159
159
  it 'fails on missing product missing org' do
160
- params = ["--product=lol", "--name=#{name}"]
160
+ params = ["--product=lol", "--name=#{repo_name}"]
161
161
  result = run_cmd(@cmd + params)
162
162
  expected_error = "At least one of options --organization-id,"\
163
163
  " --organization, --organization-label is required"
@@ -168,13 +168,13 @@ describe 'content-export incremental version' do
168
168
 
169
169
  it 'correctly resolves product_id and repository name' do
170
170
  params = ["--product-id=#{product_id}",
171
- "--name=#{name}",
171
+ "--name=#{repo_name}",
172
172
  "--async"]
173
173
  expects_repository(repository_id, default_repository_options)
174
174
 
175
175
  cvv_expect = api_expects(:repositories, :index) do |p|
176
176
  assert_equal p['product_id'].to_s, product_id.to_s
177
- assert_equal p["name"], name
177
+ assert_equal p["name"], repo_name
178
178
  end
179
179
 
180
180
  cvv_expect.at_least_once.
@@ -21,7 +21,7 @@ describe 'content-import library' do
21
21
  File.dirname(__FILE__)
22
22
  end
23
23
 
24
- let(:metadata) do
24
+ let(:metadata_json) do
25
25
  JSON.parse(File.read("#{path}/metadata.json"))
26
26
  end
27
27
 
@@ -34,7 +34,8 @@ describe 'content-import library' do
34
34
  '--async'
35
35
  ]
36
36
  api_expects(:content_imports, :library)
37
- .with_params('organization_id' => organization_id, 'path' => path, 'metadata' => metadata)
37
+ .with_params('organization_id' => organization_id, 'path' => path,
38
+ 'metadata' => metadata_json)
38
39
  .returns(response)
39
40
 
40
41
  result = run_cmd(@cmd + params)
@@ -50,7 +51,8 @@ describe 'content-import library' do
50
51
  ]
51
52
 
52
53
  api_expects(:content_imports, :library)
53
- .with_params('organization_id' => organization_id, 'path' => path, 'metadata' => metadata)
54
+ .with_params('organization_id' => organization_id, 'path' => path,
55
+ 'metadata' => metadata_json)
54
56
  .returns(response)
55
57
 
56
58
  expect_foreman_task(task_id)