| @@ -31,12 +31,12 @@ | ||
| 31 | 31 | public const VERSION = '1.1.0'; |
| 32 | 32 | |
| 33 | 33 | public function ui_metadata(): array { |
| 34 | 34 | return array( |
| 35 | - 'label' => 'Compression', | |
| 36 | - 'tab_label' => 'GZIP', // its own tab on the Compression page | |
| 35 | + 'label' => __( 'Compression', 'xspeed' ), | |
| 36 | + 'tab_label' => __( 'GZIP', 'xspeed' ), // its own tab on the Compression page | |
| 37 | 37 | 'icon' => 'Layers', |
| 38 | - 'description' => 'Compress responses to reduce transfer size.', | |
| 38 | + 'description' => __( 'Compress responses to reduce transfer size.', 'xspeed' ), | |
| 39 | 39 | // Host panel merges GZIP (this module) + Brotli (Pro) into one |
| 40 | 40 | // page — they are one decision with a fallback chain, not two |
| 41 | 41 | // sidebar rows (FBS-83633). The panel renders this module's own |
| 42 | 42 | // schema form plus a Brotli Pro section. |
| @@ -48,9 +48,9 @@ | ||
| 48 | 48 | return array( |
| 49 | 49 | 'gzip_enabled' => array( |
| 50 | 50 | 'type' => 'bool', |
| 51 | 51 | 'default' => false, |
| 52 | - 'label' => 'Enable GZIP Compression', | |
| 52 | + 'label' => __( 'Enable GZIP Compression', 'xspeed' ), | |
| 53 | 53 | // Server-conditional. The old copy said "On nginx the snippet |
| 54 | 54 | // below must be added to your server config" — unconditionally, |
| 55 | 55 | // and there is no snippet below: the Compression page is a tab |
| 56 | 56 | // strip plus this toggle, and NginxServerBlock only mounts under |