LOCALE::PO4A::YAML.3PM(1) | User Contributed Perl Documentation | LOCALE::PO4A::YAML.3PM(1) |
名称
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
- 不转换数组值。
参见
作者
Brian Exelbierd <bex@pobox.com>
翻译
taotieren <admin@taotieren.com>
版权和许可
Copyright © 2017 Brian Exelbierd. Copyright © 2022 Martin Quinson <mquinson#debian.org>.
This program is free software; you may redistribute it and/or modify it under the terms of GPL v2.0 or later (see the COPYING file).
2024-06-26 | perl v5.38.2 |