支持文件类型 (Strings)

.PLIST - Objective-C/Cocoa 属性列表 (Strings)

文本由 Phrase Language AI 从英语机器翻译而得。

文件扩展名

.plist

API扩展

plist

导入

可以

导出

可以

复数形式支持

没有

描述支持

没有

代码示例

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-// Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>boolean_key</key>
    <string>--- true
</string>
  </dict>
  <dict>
    <key>empty_string_translation</key>
    <string/>
  </dict>
  <dict>
    <key>key_with_description</key>
    字符串>该字键有说明!(至少在某些格式)</字符串>
  </dict>
  <dict>
    <key>key_with_line-break</key>
    <字符串>译文包含
一次换行。</字符串>
  </dict>
  <dict>
    <key>nested.deeply.key</key>
    字符串>我是一个深度嵌套的字键。<字符串符串>
  </dict>
  <dict>
    <key>nested.key</key>
    字符串>该字键嵌套在名称空间内。<字符串>
  </dict>
  <dict>
    <key>null_translation</key>
    <string/>
  </dict>
  <dict>
    <key>pluralized_key.one</key>
    <字符串>只找到一个小猫。</字符串>
  </dict>
  <dict>
    <key>pluralized_key.other</key>
    <字符串>嘿,您有 %s 只小猫!</字符串>
  </dict>
  <dict>
    <key>pluralized_key.zero</key>
    <字符串>您没有小猫。</字符串>
  </dict>
  <dict>
    <key>sample_collection</key>
    <string>---
— 第一项
- 第二项
- 第三个项目
</string>
  </dict>
  <dict>
    <key>simple_key</key>
    字符串>只是一个带有简单信息的简单字键。<字符串>
  </dict>
  <dict>
    <key>unverified_key</key>
    <字字符串>译文尚未已验证,请等待。(某些格式我们也会导出这种状态)<字符串>
  </dict>
</plist>
这篇文章有帮助吗?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.