From 05909dc35b64dab66c095b9a28cfe53ac8bc9d05 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Wed, 19 Jul 2023 22:46:58 +0200
Subject: [PATCH] CS: add missing translators comment
---
src/wp-admin/includes/class-wp-upgrader.php | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php
index a2cea37917..69ba518328 100644
|
a
|
b
|
class WP_Upgrader { |
| 185 | 185 | * @since 2.8.0 |
| 186 | 186 | */ |
| 187 | 187 | public function generic_strings() { |
| 188 | | $this->strings['bad_request'] = __( 'Invalid data provided.' ); |
| 189 | | $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' ); |
| 190 | | $this->strings['fs_error'] = __( 'Filesystem error.' ); |
| 191 | | $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' ); |
| | 188 | $this->strings['bad_request'] = __( 'Invalid data provided.' ); |
| | 189 | $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' ); |
| | 190 | $this->strings['fs_error'] = __( 'Filesystem error.' ); |
| | 191 | $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' ); |
| | 192 | /* translators: %s: Directory name. */ |
| 192 | 193 | $this->strings['fs_no_content_dir'] = sprintf( __( 'Unable to locate WordPress content directory (%s).' ), 'wp-content' ); |
| 193 | 194 | $this->strings['fs_no_plugins_dir'] = __( 'Unable to locate WordPress plugin directory.' ); |
| 194 | 195 | $this->strings['fs_no_themes_dir'] = __( 'Unable to locate WordPress theme directory.' ); |