GlotPress 徽章

描述

在您的项目中生成翻译状态的 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

屏幕截图

  • Example badges

安装

  1. 上传至/wp-content/plugins/目录
  2. 通过 WordPress 管理区中的“插件”菜单启用该插件

常见问题

它是否支持美化的固定链接

yes, just use /glotpress/badge/{project_path}/{info}-{locale}.svg

评价

此插件暂无评价。

贡献者及开发者

「GlotPress 徽章」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「GlotPress 徽章」插件已被翻译至 8 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「GlotPress 徽章」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Green color only if 100% translated
  • Add plugin dependency: glotpress

1.0.0

  • Plugin creation