hammer_cli 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +22 -1
  3. data/config/cli_config.template.yml +20 -0
  4. data/doc/release_notes.md +7 -0
  5. data/lib/hammer_cli/abstract.rb +12 -15
  6. data/lib/hammer_cli/apipie/api_connection.rb +3 -1
  7. data/lib/hammer_cli/ca_cert_fetcher.rb +67 -0
  8. data/lib/hammer_cli/defaults.rb +18 -10
  9. data/lib/hammer_cli/exception_handler.rb +44 -5
  10. data/lib/hammer_cli/main.rb +8 -0
  11. data/lib/hammer_cli/options/option_collector.rb +22 -0
  12. data/lib/hammer_cli/options/sources/command_line.rb +18 -0
  13. data/lib/hammer_cli/options/sources/saved_defaults.rb +31 -0
  14. data/lib/hammer_cli/output/adapter/table.rb +66 -87
  15. data/lib/hammer_cli/output/fields.rb +1 -1
  16. data/lib/hammer_cli/ssloptions.rb +65 -0
  17. data/lib/hammer_cli/version.rb +1 -1
  18. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  19. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  22. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  23. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  24. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  26. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  29. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/man/hammer.1.gz +0 -0
  32. data/test/unit/abstract_test.rb +34 -0
  33. data/test/unit/apipie/api_connection_test.rb +3 -2
  34. data/test/unit/defaults_test.rb +15 -5
  35. data/test/unit/fixtures/defaults/defaults.yml +2 -0
  36. data/test/unit/options/option_collector_test.rb +29 -0
  37. data/test/unit/options/sources/command_line_test.rb +36 -0
  38. data/test/unit/options/sources/saved_defaults_test.rb +59 -0
  39. data/test/unit/output/adapter/table_test.rb +0 -27
  40. data/test/unit/{options → output}/field_filter_test.rb +0 -0
  41. data/test/unit/output/fields_test.rb +9 -6
  42. data/test/unit/validator_test.rb +0 -6
  43. metadata +60 -382
  44. data/lib/hammer_cli/table_print/column.rb +0 -19
  45. data/lib/hammer_cli/table_print/formatter.rb +0 -18
  46. data/locale/Makefile +0 -57
  47. data/locale/README.md +0 -18
  48. data/locale/ca/hammer-cli.edit.po +0 -445
  49. data/locale/ca/hammer-cli.po +0 -361
  50. data/locale/ca/hammer-cli.po.time_stamp +0 -0
  51. data/locale/de/hammer-cli.edit.po +0 -451
  52. data/locale/de/hammer-cli.po +0 -379
  53. data/locale/de/hammer-cli.po.time_stamp +0 -0
  54. data/locale/en/hammer-cli.edit.po +0 -443
  55. data/locale/en/hammer-cli.po +0 -355
  56. data/locale/en/hammer-cli.po.time_stamp +0 -0
  57. data/locale/en_GB/hammer-cli.edit.po +0 -445
  58. data/locale/en_GB/hammer-cli.po +0 -371
  59. data/locale/en_GB/hammer-cli.po.time_stamp +0 -0
  60. data/locale/es/hammer-cli.edit.po +0 -448
  61. data/locale/es/hammer-cli.po +0 -377
  62. data/locale/es/hammer-cli.po.time_stamp +0 -0
  63. data/locale/fr/hammer-cli.edit.po +0 -447
  64. data/locale/fr/hammer-cli.po +0 -374
  65. data/locale/fr/hammer-cli.po.time_stamp +0 -0
  66. data/locale/hammer-cli.pot +0 -461
  67. data/locale/it/hammer-cli.edit.po +0 -446
  68. data/locale/it/hammer-cli.po +0 -377
  69. data/locale/it/hammer-cli.po.time_stamp +0 -0
  70. data/locale/ja/hammer-cli.edit.po +0 -445
  71. data/locale/ja/hammer-cli.po +0 -363
  72. data/locale/ja/hammer-cli.po.time_stamp +0 -0
  73. data/locale/ko/hammer-cli.edit.po +0 -445
  74. data/locale/ko/hammer-cli.po +0 -364
  75. data/locale/ko/hammer-cli.po.time_stamp +0 -0
  76. data/locale/pt_BR/hammer-cli.edit.po +0 -449
  77. data/locale/pt_BR/hammer-cli.po +0 -374
  78. data/locale/pt_BR/hammer-cli.po.time_stamp +0 -0
  79. data/locale/ru/hammer-cli.edit.po +0 -448
  80. data/locale/ru/hammer-cli.po +0 -374
  81. data/locale/ru/hammer-cli.po.time_stamp +0 -0
  82. data/locale/zanata.xml +0 -28
  83. data/locale/zh_CN/hammer-cli.edit.po +0 -445
  84. data/locale/zh_CN/hammer-cli.po +0 -367
  85. data/locale/zh_CN/hammer-cli.po.time_stamp +0 -0
  86. data/locale/zh_TW/hammer-cli.edit.po +0 -445
  87. data/locale/zh_TW/hammer-cli.po +0 -364
  88. data/locale/zh_TW/hammer-cli.po.time_stamp +0 -0
  89. data/test/reports/TEST-Fields-ContainerField-display-.xml +0 -7
  90. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +0 -15
  91. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +0 -15
  92. data/test/reports/TEST-Fields-ContainerField.xml +0 -7
  93. data/test/reports/TEST-Fields-Field-display-.xml +0 -7
  94. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +0 -11
  95. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +0 -11
  96. data/test/reports/TEST-Fields-Field-hide-blank-.xml +0 -11
  97. data/test/reports/TEST-Fields-Field-parameters.xml +0 -9
  98. data/test/reports/TEST-Fields-Field.xml +0 -13
  99. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +0 -15
  100. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +0 -13
  101. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +0 -21
  102. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +0 -11
  103. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +0 -11
  104. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +0 -19
  105. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +0 -11
  106. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +0 -13
  107. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +0 -11
  108. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +0 -7
  109. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +0 -11
  110. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +0 -11
  111. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +0 -9
  112. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +0 -19
  113. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +0 -9
  114. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +0 -13
  115. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +0 -15
  116. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +0 -11
  117. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +0 -9
  118. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +0 -11
  119. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +0 -15
  120. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +0 -7
  121. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +0 -29
  122. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +0 -17
  123. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +0 -19
  124. data/test/reports/TEST-HammerCLI-Completer.xml +0 -7
  125. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +0 -25
  126. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +0 -29
  127. data/test/reports/TEST-HammerCLI-CompleterLine.xml +0 -7
  128. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +0 -23
  129. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +0 -15
  130. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +0 -13
  131. data/test/reports/TEST-HammerCLI-CompleterWord.xml +0 -7
  132. data/test/reports/TEST-HammerCLI-Connection.xml +0 -21
  133. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +0 -21
  134. data/test/reports/TEST-HammerCLI-I18n.xml +0 -11
  135. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +0 -11
  136. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +0 -11
  137. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +0 -9
  138. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +0 -7
  139. data/test/reports/TEST-HammerCLI-MainCommand.xml +0 -7
  140. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +0 -13
  141. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +0 -13
  142. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +0 -13
  143. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +0 -15
  144. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +0 -7
  145. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +0 -9
  146. data/test/reports/TEST-HammerCLI-Modules-names.xml +0 -13
  147. data/test/reports/TEST-HammerCLI-Modules.xml +0 -7
  148. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +0 -7
  149. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +0 -11
  150. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +0 -9
  151. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +0 -31
  152. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +0 -17
  153. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +0 -15
  154. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +0 -21
  155. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +0 -15
  156. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +0 -17
  157. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +0 -15
  158. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +0 -7
  159. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +0 -9
  160. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +0 -11
  161. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +0 -7
  162. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +0 -15
  163. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +0 -11
  164. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +0 -15
  165. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +0 -17
  166. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +0 -9
  167. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +0 -27
  168. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +0 -7
  169. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +0 -11
  170. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +0 -13
  171. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +0 -11
  172. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +0 -11
  173. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +0 -11
  174. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +0 -11
  175. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +0 -7
  176. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +0 -15
  177. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +0 -11
  178. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +0 -11
  179. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +0 -9
  180. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +0 -11
  181. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +0 -7
  182. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +0 -11
  183. data/test/reports/TEST-HammerCLI-Output-Definition.xml +0 -11
  184. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +0 -13
  185. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +0 -11
  186. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +0 -15
  187. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +0 -13
  188. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +0 -13
  189. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +0 -9
  190. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +0 -13
  191. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +0 -11
  192. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +0 -9
  193. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +0 -11
  194. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +0 -13
  195. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +0 -13
  196. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +0 -11
  197. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +0 -13
  198. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +0 -13
  199. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +0 -13
  200. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +0 -17
  201. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +0 -15
  202. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +0 -9
  203. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +0 -19
  204. data/test/reports/TEST-HammerCLI-Output-Output.xml +0 -7
  205. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +0 -13
  206. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +0 -15
  207. data/test/reports/TEST-HammerCLI-Settings.xml +0 -25
  208. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +0 -11
  209. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +0 -15
  210. data/test/reports/TEST-HammerCLI-ShellHistory.xml +0 -7
  211. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
  212. data/test/reports/TEST-String-camelize.xml +0 -11
  213. data/test/reports/TEST-String-formatting.xml +0 -17
  214. data/test/reports/TEST-String-indent.xml +0 -11
  215. data/test/reports/TEST-String-interactive-.xml +0 -13
  216. data/test/reports/TEST-String.xml +0 -7
  217. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +0 -13
  218. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +0 -7
  219. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +0 -13
  220. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +0 -7
  221. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +0 -9
  222. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +0 -13
  223. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +0 -13
  224. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +0 -7
  225. data/test/reports/TEST-constraints.xml +0 -7
@@ -1,448 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer-cli package.
4
- #
5
- # Translators:
6
- # Automatically generated, 2014
7
- # Dominic Cleal <dominic@cleal.org>, 2014
8
- # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
9
- # Yulia <yulia.poyarkova@redhat.com>, 2016
10
- msgid ""
11
- msgstr ""
12
- "Project-Id-Version: Foreman\n"
13
- "Report-Msgid-Bugs-To: \n"
14
- "POT-Creation-Date: 2016-09-01 12:28+0200\n"
15
- "PO-Revision-Date: 2016-09-02 10:08+0000\n"
16
- "Last-Translator: Lukáš Zapletal\n"
17
- "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
18
- "MIME-Version: 1.0\n"
19
- "Content-Type: text/plain; charset=UTF-8\n"
20
- "Content-Transfer-Encoding: 8bit\n"
21
- "Language: ru\n"
22
- "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
23
-
24
- #: ../lib/hammer_cli/clamp.rb:5
25
- msgid "too many arguments"
26
- msgstr "слишком много аргументов"
27
-
28
- #: ../lib/hammer_cli/clamp.rb:6
29
- msgid "option '%<option>s' is required"
30
- msgstr "параметр «%<option>s» является обязательным"
31
-
32
- #: ../lib/hammer_cli/clamp.rb:7
33
- msgid "option '%<option>s' (or env %<env>s) is required"
34
- msgstr "параметр «%<option>s» (или env %<env>s) является обязательным"
35
-
36
- #: ../lib/hammer_cli/clamp.rb:8
37
- msgid "option '%<switch>s': %<message>s"
38
- msgstr "параметр «%<switch>s»: %<message>s"
39
-
40
- #: ../lib/hammer_cli/clamp.rb:9
41
- msgid "parameter '%<param>s': %<message>s"
42
- msgstr "параметр «%<param>s»: %<message>s"
43
-
44
- #: ../lib/hammer_cli/clamp.rb:10
45
- msgid "%<env>s: %<message>s"
46
- msgstr "%<env>s: %<message>s"
47
-
48
- #: ../lib/hammer_cli/clamp.rb:11
49
- msgid "Unrecognised option '%<switch>s'"
50
- msgstr "Неопознанный параметр «%<switch>s»"
51
-
52
- #: ../lib/hammer_cli/clamp.rb:12
53
- msgid "No such sub-command '%<name>s'"
54
- msgstr "Подкоманда «%<name>s» не существует"
55
-
56
- #: ../lib/hammer_cli/clamp.rb:13
57
- msgid "no value provided"
58
- msgstr "значение не определено"
59
-
60
- #: ../lib/hammer_cli/defaults.rb:77
61
- msgid ""
62
- "Couldn't create %s. Please create the directory before setting defaults."
63
- msgstr ""
64
-
65
- #: ../lib/hammer_cli/defaults.rb:101
66
- msgid "Defaults management"
67
- msgstr "Управление стандартными параметрами"
68
-
69
- #: ../lib/hammer_cli/defaults_commands.rb:25
70
- msgid "List all the providers"
71
- msgstr "Список всех поставщиков"
72
-
73
- #: ../lib/hammer_cli/defaults_commands.rb:37
74
- msgid "Provider"
75
- msgstr "Поставщик"
76
-
77
- #: ../lib/hammer_cli/defaults_commands.rb:38
78
- msgid "Supported defaults"
79
- msgstr "По умолчанию поддерживаются параметры"
80
-
81
- #: ../lib/hammer_cli/defaults_commands.rb:39
82
- msgid "Description"
83
- msgstr "Описание"
84
-
85
- #: ../lib/hammer_cli/defaults_commands.rb:56
86
- msgid "List all the default parameters"
87
- msgstr "Список всех стандартных параметров"
88
-
89
- #: ../lib/hammer_cli/defaults_commands.rb:67
90
- msgid "Parameter"
91
- msgstr "Параметр"
92
-
93
- #: ../lib/hammer_cli/defaults_commands.rb:68
94
- msgid "Value"
95
- msgstr "Значение"
96
-
97
- #: ../lib/hammer_cli/defaults_commands.rb:86
98
- msgid "Delete a default param"
99
- msgstr "Удалить стандартный параметр"
100
-
101
- #: ../lib/hammer_cli/defaults_commands.rb:87
102
- msgid "The name of the default option"
103
- msgstr "Имя стандартного параметра"
104
-
105
- #: ../lib/hammer_cli/defaults_commands.rb:103
106
- msgid "Add a default parameter to config"
107
- msgstr "Добавить стандартный параметр в конфигурацию"
108
-
109
- #: ../lib/hammer_cli/defaults_commands.rb:104
110
- msgid "The name of the default option (e.g. organization_id)."
111
- msgstr "Имя стандартного параметра (например, organization_id)."
112
-
113
- #: ../lib/hammer_cli/defaults_commands.rb:105
114
- msgid "The value for the default option"
115
- msgstr "Значение параметра"
116
-
117
- #: ../lib/hammer_cli/defaults_commands.rb:106
118
- msgid ""
119
- "The name of the provider providing the value. For list available providers "
120
- "see `hammer defaults providers`."
121
- msgstr "Название поставщика значения. Для просмотра списка поставщиков выполните команду `hammer defaults providers`."
122
-
123
- #: ../lib/hammer_cli/defaults_commands.rb:134
124
- msgid ""
125
- "Added %{key_val} default-option with value that will be generated from the "
126
- "server."
127
- msgstr "Стандартный параметр %{key_val} добавлен. Его значение будет генерироваться сервером."
128
-
129
- #: ../lib/hammer_cli/defaults_commands.rb:135
130
- msgid "Added %{key_val} default-option with value %{val_val}."
131
- msgstr "Добавлен стандартный параметр %{key_val} со значением %{val_val}."
132
-
133
- #: ../lib/hammer_cli/defaults_commands.rb:139
134
- msgid ""
135
- "Provider %{name} was not found. See `hammer defaults providers` for "
136
- "available providers."
137
- msgstr ""
138
-
139
- #: ../lib/hammer_cli/defaults_commands.rb:143
140
- msgid ""
141
- "The param name is not supported by provider. See `hammer defaults providers`"
142
- " for supported params."
143
- msgstr "Поставщик не поддерживает параметр с таким именем. Для просмотра списка доступных параметров выполните `hammer defaults providers`."
144
-
145
- #: ../lib/hammer_cli/defaults_commands.rb:147
146
- msgid "%{param} was deleted successfully."
147
- msgstr "%{param} успешно удален."
148
-
149
- #: ../lib/hammer_cli/defaults_commands.rb:151
150
- msgid "You must specify value or a provider name, can't specify both."
151
- msgstr ""
152
-
153
- #: ../lib/hammer_cli/defaults_commands.rb:155
154
- msgid "Couldn't find the requested param in %s."
155
- msgstr "Не удалось обнаружить запрашиваемый параметр в %s."
156
-
157
- #: ../lib/hammer_cli/exception_handler.rb:62
158
- msgid "Error: %s"
159
- msgstr "Ошибка: %s"
160
-
161
- #: ../lib/hammer_cli/exception_handler.rb:68
162
- msgid "Error: %{message}"
163
- msgstr "Ошибка: %{message}"
164
-
165
- #: ../lib/hammer_cli/exception_handler.rb:69
166
- msgid "See: '%{path} --help'"
167
- msgstr "См. '%{path} --help'"
168
-
169
- #: ../lib/hammer_cli/exception_handler.rb:86
170
- msgid "Invalid username or password"
171
- msgstr "Неверное имя пользователя или пароль"
172
-
173
- #: ../lib/hammer_cli/exception_handler.rb:93
174
- msgid "Could not load the API description from the server"
175
- msgstr "Не удалось загрузить описание API с сервера"
176
-
177
- #: ../lib/hammer_cli/exception_handler.rb:94
178
- msgid "is the server down?"
179
- msgstr "сервер отключен?"
180
-
181
- #: ../lib/hammer_cli/exception_handler.rb:95
182
- msgid ""
183
- "was '%s' run on the server when using apipie cache? (typical production "
184
- "settings)"
185
- msgstr "возможно, «%s» выполнялся на сервере, использующем кэш apipe (стандартные настройки)"
186
-
187
- #: ../lib/hammer_cli/exception_handler.rb:101
188
- msgid "Missing arguments for %s"
189
- msgstr "Недостаточно аргументов для %s"
190
-
191
- #: ../lib/hammer_cli/logger.rb:57
192
- msgid "No permissions to create log dir %s"
193
- msgstr "Недостаточно разрешений для создания каталога %s"
194
-
195
- #: ../lib/hammer_cli/logger.rb:72
196
- msgid "File %s not writeable, won't log anything to the file!"
197
- msgstr "Запись в файл %s не разрешена."
198
-
199
- #: ../lib/hammer_cli/main.rb:7
200
- msgid "be verbose"
201
- msgstr "подробный вывод"
202
-
203
- #: ../lib/hammer_cli/main.rb:8
204
- msgid "show debugging output "
205
- msgstr "показать сообщения отладки"
206
-
207
- #: ../lib/hammer_cli/main.rb:9
208
- msgid "force reload of Apipie cache"
209
- msgstr "принудительно перезагрузить кэш Apipie"
210
-
211
- #: ../lib/hammer_cli/main.rb:11
212
- msgid "path to custom config file"
213
- msgstr "путь к файлу конфигурации"
214
-
215
- #: ../lib/hammer_cli/main.rb:13
216
- msgid "username to access the remote system"
217
- msgstr "имя пользователя для доступа к удаленной системе"
218
-
219
- #: ../lib/hammer_cli/main.rb:15
220
- msgid "password to access the remote system"
221
- msgstr "пароль доступа к удаленной системе"
222
-
223
- #: ../lib/hammer_cli/main.rb:17
224
- msgid "remote system address"
225
- msgstr "адрес удаленной системы"
226
-
227
- #: ../lib/hammer_cli/main.rb:20
228
- msgid "show version"
229
- msgstr "показать версию"
230
-
231
- #: ../lib/hammer_cli/main.rb:23
232
- msgid "unknown version"
233
- msgstr "неизвестная версия"
234
-
235
- #: ../lib/hammer_cli/main.rb:29
236
- msgid "Show ids of associated resources"
237
- msgstr "Показать идентификаторы связанных ресурсов"
238
-
239
- #: ../lib/hammer_cli/main.rb:31
240
- msgid "Explicitly turn interactive mode on/off"
241
- msgstr "Напрямую включить/выключить интерактивный режим"
242
-
243
- #: ../lib/hammer_cli/main.rb:35
244
- msgid "Output as CSV (same as --output=csv)"
245
- msgstr "Вывод в CSV (аналогично --output=csv)"
246
-
247
- #: ../lib/hammer_cli/main.rb:36
248
- msgid "Set output format. One of [%s]"
249
- msgstr "Выберите формат вывода: [%s]"
250
-
251
- #: ../lib/hammer_cli/main.rb:39
252
- msgid "Character to separate the values"
253
- msgstr "Разделительный символ"
254
-
255
- #: ../lib/hammer_cli/main.rb:43
256
- msgid "Get list of possible endings"
257
- msgstr "Получить список возможных окончаний"
258
-
259
- #: ../lib/hammer_cli/modules.rb:12
260
- msgid ""
261
- "Legacy configuration of modules detected. Check section about configuration "
262
- "in user manual"
263
- msgstr "Обнаружена устаревшая конфигурация модулей. Обратитесь к секции описания конфигурации в руководстве пользователя."
264
-
265
- #: ../lib/hammer_cli/modules.rb:60
266
- msgid "Warning: An error occured while loading module %s"
267
- msgstr "Произошла ошибка при загрузке модуля %s"
268
-
269
- #: ../lib/hammer_cli/modules.rb:87
270
- msgid "Error: Some of the required modules are disabled in configuration: %s "
271
- msgstr "Ошибка. Некоторые модули были отключены: %s"
272
-
273
- #: ../lib/hammer_cli/options/normalizers.rb:29
274
- msgid "Comma-separated list of key=value."
275
- msgstr "Список пар «ключ=значение» через запятую."
276
-
277
- #: ../lib/hammer_cli/options/normalizers.rb:43
278
- msgid ""
279
- "value must be defined as a comma-separated list of key=value or valid JSON"
280
- msgstr "значение должно содержать список пар «ключ=значение», разделенных запятыми, или фрагмент в формате JSON"
281
-
282
- #: ../lib/hammer_cli/options/normalizers.rb:85
283
- msgid "Comma separated list of values."
284
- msgstr "Список значений через запятую"
285
-
286
- #: ../lib/hammer_cli/options/normalizers.rb:100
287
- msgid "numeric value is required"
288
- msgstr "необходимо указать числовое значение"
289
-
290
- #: ../lib/hammer_cli/options/normalizers.rb:114
291
- msgid "One of true/false, yes/no, 1/0."
292
- msgstr "Может принимать значения: true/false, yes/no, 1/0."
293
-
294
- #: ../lib/hammer_cli/options/normalizers.rb:124
295
- msgid "value must be one of true/false, yes/no, 1/0"
296
- msgstr "значение может быть равно true/false, yes/no, 1/0"
297
-
298
- #: ../lib/hammer_cli/options/normalizers.rb:163
299
- msgid "Unable to parse JSON input"
300
- msgstr "Не удалось обработать ввод JSON"
301
-
302
- #: ../lib/hammer_cli/options/normalizers.rb:177
303
- msgid "Possible value(s): %s"
304
- msgstr "Возможные значения: %s"
305
-
306
- #: ../lib/hammer_cli/options/normalizers.rb:185
307
- msgid "value must be %s"
308
- msgstr "должно принимать значение «%s»"
309
-
310
- #: ../lib/hammer_cli/options/normalizers.rb:187
311
- msgid "value must be one of %s"
312
- msgstr "может принимать значения «%s»"
313
-
314
- #: ../lib/hammer_cli/options/normalizers.rb:208
315
- msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
316
- msgstr "Дата и время в виде ГГГГ-ММ-ДД:ЧЧ:СС или в формате ISO 8601"
317
-
318
- #: ../lib/hammer_cli/options/normalizers.rb:215
319
- msgid "'%s' is not a valid date"
320
- msgstr "Недействительная дата: «%s»"
321
-
322
- #: ../lib/hammer_cli/options/normalizers.rb:226
323
- msgid "Any combination (comma separated list) of '%s'"
324
- msgstr "Любые комбинации «%s» через запятую"
325
-
326
- #: ../lib/hammer_cli/options/normalizers.rb:246
327
- msgid "value must be a combination of '%s'"
328
- msgstr "значение должно содержать комбинацию «%s»"
329
-
330
- #: ../lib/hammer_cli/options/option_definition.rb:56
331
- msgid "Warning: Option %{option} is deprecated. %{message}"
332
- msgstr "Параметр %{option} является устаревшим. %{message}"
333
-
334
- #: ../lib/hammer_cli/options/option_definition.rb:75
335
- msgid "Deprecated: %{deprecated_msg}"
336
- msgstr ""
337
-
338
- #: ../lib/hammer_cli/options/option_definition.rb:78
339
- msgid "%{flag} is deprecated: %{deprecated_msg}"
340
- msgstr ""
341
-
342
- #: ../lib/hammer_cli/options/option_definition.rb:101
343
- msgid "Can be specified multiple times. "
344
- msgstr "Может быть указан повторно."
345
-
346
- #: ../lib/hammer_cli/options/option_definition.rb:102
347
- msgid "Default: "
348
- msgstr "По умолчанию:"
349
-
350
- #: ../lib/hammer_cli/options/option_definition.rb:102
351
- msgid ", or "
352
- msgstr ", или "
353
-
354
- #: ../lib/hammer_cli/output/adapter/csv.rb:179
355
- msgid "Message"
356
- msgstr "Сообщение"
357
-
358
- #: ../lib/hammer_cli/output/adapter/csv.rb:183
359
- msgid "Id"
360
- msgstr "ID"
361
-
362
- #: ../lib/hammer_cli/output/adapter/csv.rb:188
363
- msgid "Name"
364
- msgstr "Имя"
365
-
366
- #: ../lib/hammer_cli/output/adapter/table.rb:63
367
- msgid "Page %{page} of %{total} (use --page and --per-page for navigation)"
368
- msgstr ""
369
-
370
- #: ../lib/hammer_cli/output/formatters.rb:160
371
- msgid "no"
372
- msgstr "нет"
373
-
374
- #: ../lib/hammer_cli/output/formatters.rb:160
375
- msgid "yes"
376
- msgstr "да"
377
-
378
- #: ../lib/hammer_cli/settings.rb:27
379
- msgid ""
380
- "Warning: location hammer.modules.d is deprecated, move your module "
381
- "configurations to cli.modules.d"
382
- msgstr "Предупреждение. hammer.modules.d устарел. Скопируйте конфигурацию модулей в cli.modules.d"
383
-
384
- #: ../lib/hammer_cli/settings.rb:44
385
- msgid "Warning: Couldn't load configuration file %{path}: %{message}"
386
- msgstr ""
387
-
388
- #: ../lib/hammer_cli/shell.rb:10
389
- msgid "Print help for commands"
390
- msgstr "Справка по командам"
391
-
392
- #: ../lib/hammer_cli/shell.rb:22
393
- msgid "Exit interactive shell"
394
- msgstr "Выход из интерактивной оболочки"
395
-
396
- #: ../lib/hammer_cli/shell.rb:116
397
- msgid "Welcome to the hammer interactive shell"
398
- msgstr "Вас приветствует интерактивная оболочка Hammer"
399
-
400
- #: ../lib/hammer_cli/shell.rb:117
401
- msgid "Type 'help' for usage information"
402
- msgstr "Для получения инструкций введите «help»"
403
-
404
- #: ../lib/hammer_cli/shell.rb:133
405
- msgid "Interactive shell"
406
- msgstr "Интерактивная оболочка"
407
-
408
- #: ../lib/hammer_cli/subcommand.rb:56
409
- msgid ""
410
- "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
411
- "(%<new_class>s)"
412
- msgstr "не удалось изменить подкоманду %<name>s (%<existing_class>s) на %<name>s (%<new_class>s)"
413
-
414
- #: ../lib/hammer_cli/validator.rb:41
415
- msgid "Unknown option name '%s'"
416
- msgstr "Неизвестный параметр: «%s»"
417
-
418
- #: ../lib/hammer_cli/validator.rb:62
419
- msgid "You can't set all options %s at one time"
420
- msgstr "Вы не можете одновременно настроить все параметры %s"
421
-
422
- #: ../lib/hammer_cli/validator.rb:63
423
- msgid "Options %s are required"
424
- msgstr "Параметры %s являются обязательными"
425
-
426
- #: ../lib/hammer_cli/validator.rb:77
427
- msgid "You can't set option %s"
428
- msgstr ""
429
-
430
- #: ../lib/hammer_cli/validator.rb:78
431
- msgid "Option %s is required"
432
- msgstr ""
433
-
434
- #: ../lib/hammer_cli/validator.rb:90
435
- msgid "You can't set any of options %s"
436
- msgstr "Вы не можете настроить параметры %s"
437
-
438
- #: ../lib/hammer_cli/validator.rb:91
439
- msgid "At least one of options %s is required"
440
- msgstr "Необходимо определить параметр %s"
441
-
442
- #: ../lib/hammer_cli/validator.rb:116
443
- msgid "One of options %s is required"
444
- msgstr ""
445
-
446
- #: ../lib/hammer_cli/validator.rb:120
447
- msgid "Only one of options %s can be set"
448
- msgstr ""