Improve translation handling
评估
这个 Issue 还没有评估数据。
描述
Currently, strings are translated as follows:
esc_html( apply_filters( 'hidden_posts_checkbox_text', 'Hide Post' ) )
This implementation forces users to translate strings via filter. While this works for tech-savvy users, it does not work for the average user. Instead of handling the translations via filter, I'd create a *.po file, so that the plugin strings can easily be translated via the WordPress translation interface, similar to https://translate.wordpress.org/projects/wp-plugins/jetpack/.
- 主要语言
- PHP
- 星标
- 11
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Automattic/hidden-posts 的其他 Issue
-
Prevent duplicate GitHub Actions runs可能重新可做 关联的 PR 已关闭且未合并。 未关闭maintenance
难度 2/5 1-3 小时 新手友好度 55/100
Automattic/hidden-posts#38 ·
-
Add e2e tests未关闭testing
难度 4/5 3-5 天 新手友好度 38/100
Automattic/hidden-posts#19 ·
-
Add unit tests未关闭testing
难度 4/5 3-5 天 新手友好度 25/100
Automattic/hidden-posts#18 ·
-
难度 4/5 3-5 天 新手友好度 30/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 35/100
Automattic/hidden-posts#4 · 1 条评论 ·
查看 Automattic/hidden-posts 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
EasyCorp/EasyAdminBundle#7875 ·
维护者通常 2 天内回复
-
[Sync EN] PDOException::getCode(): document the int|string return type可能已有人在做 @lacatoire 今天认领。 未关闭sync-en
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
sync-en
难度 1/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
coollabsio/coolify#12299 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复