选择要翻译的上下文或标签
Context/Label 视图列出了要翻译的字符串所在的上下文 (Text based) 或标签 (ID based)。基于文本的翻译按上下文分组,而基于 ID 的翻译按标签分组(请参阅基于 ID 的翻译分组)。Context/Label 会根据所选选项卡列出组(即上下文或标签):
- 切换到Text-Based 选项卡后,Context 按字母顺序列出上下文名称。每个上下文都是一个 QML 类型或QObject 子类的名称。
- 切换到ID-Based 标签时,Label 会按字母顺序列出标签名称。有关标签的更多信息,请参阅基于 ID 的分组翻译。
以下图标表示每个组的当前翻译状态:
状态 | 图标 | 说明 |
---|---|---|
已接受/正确 | ![]() | 组中的所有字符串都已翻译,且所有翻译都通过了验证测试。 |
接受/警告 | ![]() | 该组中的所有字符串都已翻译或标记为已翻译,但至少有一个翻译未通过验证测试。在Strings 视图中,您可以看到哪个字符串未通过测试。 |
未接受 | ![]() | 组中至少有一个字符串未翻译或未标记为已翻译。 |
过时 | ![]() | 组中不再出现任何已翻译的字符串。这通常意味着上下文或标签已不存在于应用程序中。 |
Items 列显示组中可翻译字符串的总数和已翻译字符串的数量,中间用斜线 (/) 分隔。如果数字相等,则表示该组中的所有可翻译字符串都有翻译。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.