diff --git a/php/class-plugin.php b/php/class-plugin.php index 202ae777c..e4045e330 100644 --- a/php/class-plugin.php +++ b/php/class-plugin.php @@ -576,7 +576,7 @@ public function force_visit_plugin_site_link( $plugin_meta, $plugin_file, $plugi $plugin_site_link = sprintf( '%s', esc_url( $plugin_data['PluginURI'] ), - __( 'Visit plugin site' ) + __( 'Visit plugin site', 'cloudinary' ) ); if ( ! in_array( $plugin_site_link, $plugin_meta, true ) ) { $plugin_meta[] = $plugin_site_link; diff --git a/php/class-settings-page.php b/php/class-settings-page.php index 9978c9af7..786650c02 100644 --- a/php/class-settings-page.php +++ b/php/class-settings-page.php @@ -653,7 +653,7 @@ public function footer() { */ public function get_ui() { $defaults = array( - 'save_button_label' => __( 'Save Changes' ), + 'save_button_label' => __( 'Save Changes', 'cloudinary' ), 'capability' => 'manage_options', 'tabs' => array(), ); diff --git a/phpcs.xml.dist b/phpcs.xml.dist index c0f1e618b..2194c075a 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,5 +1,8 @@ + + + . @@ -12,6 +15,12 @@ + + + + + + diff --git a/ui-definitions/tabs/dashboard-content.php b/ui-definitions/tabs/dashboard-content.php index 9f44d8094..f27afb8e5 100644 --- a/ui-definitions/tabs/dashboard-content.php +++ b/ui-definitions/tabs/dashboard-content.php @@ -98,7 +98,7 @@

-

+

diff --git a/ui-definitions/tabs/settings-global-transformations.php b/ui-definitions/tabs/settings-global-transformations.php index 1c9782537..041e27bb3 100644 --- a/ui-definitions/tabs/settings-global-transformations.php +++ b/ui-definitions/tabs/settings-global-transformations.php @@ -37,7 +37,7 @@ 'enable_breakpoints' => true, ), // translators: Placeholders are numerical ranges or min and max. - 'suffix' => sprintf( __( 'Valid values: %1$d – %2$d.' ), 3, 200 ), + 'suffix' => sprintf( __( 'Valid values: %1$d – %2$d.', 'cloudinary' ), 3, 200 ), ), 'bytes_step' => array( 'label' => __( 'Byte step', 'cloudinary' ), @@ -144,7 +144,7 @@ 'contextual' => true, // Flags the field to be used in a contextual basis. i.e. taxonomies. 'context' => 'image', 'sanitize_callback' => 'trim', - 'error_notice' => __( 'Format and Quality cannot be used in free form.' ), + 'error_notice' => __( 'Format and Quality cannot be used in free form.', 'cloudinary' ), 'type' => 'textarea', ), 'image_preview' => array( diff --git a/ui-definitions/tabs/settings-global-video-transformations.php b/ui-definitions/tabs/settings-global-video-transformations.php index e3bd4def4..8a512ea8f 100644 --- a/ui-definitions/tabs/settings-global-video-transformations.php +++ b/ui-definitions/tabs/settings-global-video-transformations.php @@ -111,7 +111,7 @@ 'contextual' => true, // Flags the field to be used in a contextual basis. i.e. taxonomies. 'context' => 'video', 'sanitize_callback' => 'trim', - 'error_notice' => __( 'Format and Quality cannot be used in free form.' ), + 'error_notice' => __( 'Format and Quality cannot be used in free form.', 'cloudinary' ), ), 'video_preview' => array( 'label' => __( 'Preview', 'cloudinary' ),