描述
在您的项目中生成翻译状态的 SVG 徽章。该插件需要安装 GlotPress。
徽章:
项目徽章:
translation_sets
sub_projects
翻译集徽章:
all_count
untranslated_count
percent_translated
waiting_count
warnings_count
fuzzy_count
例子:
- https://example.com/glotpress/badge/path/of/the/project/percent_translated-zh-CN.svg
对于基本的URLs方案,使用此种格式:
- https://example.com/?gp_badge=true&project_path=the/project/path/&locale=zh-CN&info=percent_translated
安装
- 上传至
/wp-content/plugins/
目录 - 通过 WordPress 管理区中的“插件”菜单启用该插件
常见问题
-
它是否支持美化的固定链接
-
yes, just use
/glotpress/badge/{project_path}/{info}-{locale}.svg
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.1
- Green color only if 100% translated
- Add plugin dependency:
glotpress
1.0.0
- Plugin creation