名称
Locale::Po4a::Yaml - 将 YAML
文件从/转换为 PO 文件
描述
Locale::Po4a::Yaml
是一个帮助将 Yaml
文件翻译成其他 [人类]
语言的模块。
该模块提取 YAML
散列和数组的值。不提取散列键。
注意:此模块使用
YAML::Tiny 解析 YAML 文件。
此模块接受的选项
以下是此模块的特定选项:
- keys
- Space-separated list of hash keys to process for extraction, all other
keys are skipped. Keys are matched with a case-sensitive match. If
paths and keys are used together, values are included if
they are matched by at least one of the options. Arrays values are always
returned unless the skip_array option is provided.
- paths
- Comma-separated list of hash paths to process for extraction, all other
paths are skipped. Paths are matched with a case-sensitive match. If
paths and keys are used together, values are included if
they are matched by at least one of the options. Arrays values are always
returned unless the skip_array option is provided.
- skip_array
- 不转换数组值。
参见
Locale::Po4a::TransTractor(3pm), po4a(7)
作者
Brian Exelbierd <bex@pobox.com>
版权和许可
Copyright © 2017 Brian Exelbierd. Copyright © 2022
Martin Quinson <mquinson#debian.org>.
此程序是自由软件;您可以根据
GPL
条款重新分发和/或修改它(请参阅复制文件)。