Make WordPress Core

Changeset 45095


Ignore:
Timestamp:
04/02/2019 10:07:36 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Site Health: Add missing i18n for Security and Performance badge labels.

Props iworks.
Fixes #46755. See #46683.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r45094 r45095  
    183183            'status'      => '',
    184184            'badge'       => array(
    185                 'label' => 'Security',
     185                'label' => __( 'Security' ),
    186186                'color' => 'red',
    187187            ),
     
    282282            'status'      => 'good',
    283283            'badge'       => array(
    284                 'label' => 'Security',
     284                'label' => __( 'Security' ),
    285285                'color' => 'red',
    286286            ),
     
    396396            'status'      => 'good',
    397397            'badge'       => array(
    398                 'label' => 'Security',
     398                'label' => __( 'Security' ),
    399399                'color' => 'red',
    400400            ),
     
    615615            'status'      => 'good',
    616616            'badge'       => array(
    617                 'label' => 'Security',
     617                'label' => __( 'Security' ),
    618618                'color' => 'red',
    619619            ),
     
    703703            'status'      => 'good',
    704704            'badge'       => array(
    705                 'label' => 'Performance',
     705                'label' => __( 'Performance' ),
    706706                'color' => 'orange',
    707707            ),
     
    902902            'status'      => 'good',
    903903            'badge'       => array(
    904                 'label' => 'Security',
     904                'label' => __( 'Security' ),
    905905                'color' => 'red',
    906906            ),
     
    980980            'status'      => 'good',
    981981            'badge'       => array(
    982                 'label' => 'Performance',
     982                'label' => __( 'Performance' ),
    983983                'color' => 'orange',
    984984            ),
     
    10951095            'status'      => '',
    10961096            'badge'       => array(
    1097                 'label' => 'Security',
     1097                'label' => __( 'Security' ),
    10981098                'color' => 'red',
    10991099            ),
     
    11551155            'status'      => 'good',
    11561156            'badge'       => array(
    1157                 'label' => 'Security',
     1157                'label' => __( 'Security' ),
    11581158                'color' => 'red',
    11591159            ),
     
    12081208            'status'      => 'good',
    12091209            'badge'       => array(
    1210                 'label' => 'Security',
     1210                'label' => __( 'Security' ),
    12111211                'color' => 'red',
    12121212            ),
     
    12711271            'status'      => '',
    12721272            'badge'       => array(
    1273                 'label' => 'Security',
     1273                'label' => __( 'Security' ),
    12741274                'color' => 'red',
    12751275            ),
     
    13171317            'status'      => 'good',
    13181318            'badge'       => array(
    1319                 'label' => 'Performance',
     1319                'label' => __( 'Performance' ),
    13201320                'color' => 'orange',
    13211321            ),
     
    13781378            'status'      => 'good',
    13791379            'badge'       => array(
    1380                 'label' => 'Security',
     1380                'label' => __( 'Security' ),
    13811381                'color' => 'red',
    13821382            ),
     
    14541454            'status'      => 'good',
    14551455            'badge'       => array(
    1456                 'label' => 'Performance',
     1456                'label' => __( 'Performance' ),
    14571457                'color' => 'orange',
    14581458            ),
     
    14961496            'status'      => 'good',
    14971497            'badge'       => array(
    1498                 'label' => 'Performance',
     1498                'label' => __( 'Performance' ),
    14991499                'color' => 'orange',
    15001500            ),
     
    15621562            'status'      => 'good',
    15631563            'badge'       => array(
    1564                 'label' => 'Performance',
     1564                'label' => __( 'Performance' ),
    15651565                'color' => 'orange',
    15661566            ),
Note: See TracChangeset for help on using the changeset viewer.