← All changes
|
includes/modules/CacheCoverage/CacheCoverageModule.php
+3
-2
1.1.6
→
1.3.2
View file →
| @@ -32,11 +32,11 @@ | ||
| 32 | 32 | public const VERSION = '1.0.0'; |
| 33 | 33 | |
| 34 | 34 | public function ui_metadata(): array { |
| 35 | 35 | return array( |
| 36 | - 'label' => 'Advanced Cache', | |
| 36 | + 'label' => __( 'Advanced Cache', 'xspeed' ), | |
| 37 | 37 | 'icon' => 'Layers', |
| 38 | - 'description' => 'Cache 404s, search, feeds, and the REST API, plus custom rules and maintenance bypass.', | |
| 38 | + 'description' => __( 'Cache 404s, search, feeds, and the REST API, plus custom rules and maintenance bypass.', 'xspeed' ), | |
| 39 | 39 | 'custom_panel' => 'CacheCoveragePanel', |
| 40 | 40 | ); |
| 41 | 41 | } |
| 42 | 42 | |
| @@ -50,8 +50,9 @@ | ||
| 50 | 50 | array( |
| 51 | 51 | 'name' => 'xspeed cache-coverage', |
| 52 | 52 | 'callback' => array( $this, 'cli_handler' ), |
| 53 | 53 | 'shortdesc' => 'Show which cache-coverage features are available (404 / search / feed / REST / rules / maintenance).', |
| 54 | + 'ai_hint' => 'Which page types beyond normal posts/pages can be cached here (404s, search, feeds, REST, maintenance)? Use when asked why a particular kind of URL is never cached.', | |
| 54 | 55 | 'synopsis' => array(), |
| 55 | 56 | ), |
| 56 | 57 | ); |
| 57 | 58 | } |