10up/actions-wordpress

Add auto-i18n action for writing strings in .pot file

开放

#27 创建于 2020年1月24日

 (3 条评论) (0 个反应) (0 位负责人)Shell (41 个派生)user submission
help wantedtype:enhancement

仓库指标

星标
 (463 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Consider adding a way to automatically update the plugin's .pot file. If you decide to pursue this, of possible help are these Grunt tasks that scan a plugin's files for translation functions, then write their locations, internationalized strings, and accompanying messages (if any) in the .pot: https://www.npmjs.com/package/grunt-wp-i18n https://www.npmjs.com/package/grunt-pot

And here's a GitHub Action that may do the same: WP Pot Generator https://github.com/marketplace/actions/wp-pot-generator

Thanks.

贡献者指南