File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# WordPress scanner for Gettext
22
3+ ![ Packagist Version] ( https://img.shields.io/packagist/v/10quality/gettext-wp-scanner )
4+ ![ GitHub Workflow Status (with branch)] ( https://img.shields.io/github/actions/workflow/status/10quality/gettext-wp-scanner/test.yml )
5+ ![ GitHub] ( https://img.shields.io/github/license/10quality/gettext-wp-scanner )
6+
37WordPress code scanner to use with [ gettext/gettext] ( https://github.com/php-gettext/Gettext ) .
48
59The scanner is a PHP based same as the ** gettext** package.
610
7- ** Coverage**
8-
9- - [x] PHP translations.
10- - [ ] JavaScript translations.
11-
1211## Installation
1312
1413``` bash
@@ -40,6 +39,29 @@ foreach ($phpScanner->getTranslations() as $domain => $translations) {
4039}
4140```
4241
42+ ## Coverage
43+
44+ ** Languages**
45+
46+ - [x] PHP translations.
47+ - [ ] JavaScript translations.
48+
49+ ** PHP functions**
50+
51+ - [x] ` __() `
52+ - [x] ` _e() `
53+ - [x] ` _n() `
54+ - [x] ` _n_noop() `
55+ - [x] ` _x() `
56+ - [x] ` _nx() `
57+ - [x] ` _nx_noop() `
58+ - [x] ` esc_attr__() `
59+ - [x] ` esc_attr_e() `
60+ - [x] ` esc_attr_x() `
61+ - [x] ` esc_html__() `
62+ - [x] ` esc_html_e() `
63+ - [x] ` esc_html_x() `
64+
4365## Requirements
4466
4567* [ gettext/gettext] ( https://github.com/php-gettext/Gettext )
You can’t perform that action at this time.
0 commit comments