Ticket #2993: 2993.patch
File 2993.patch, 1.3 KB (added by , 7 years ago) |
---|
-
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php
39 39 public static function get_status_button_label( $post_status ) { 40 40 switch ( $post_status ) { 41 41 case 'approved': 42 $label = __( 'Approve' );42 $label = __( 'Approve', 'wporg-plugins' ); 43 43 break; 44 44 case 'rejected': 45 $label = __( 'Reject' );45 $label = __( 'Reject', 'wporg-plugins' ); 46 46 break; 47 47 case 'pending': 48 $label = __( 'Mark as Pending' );48 $label = __( 'Mark as Pending', 'wporg-plugins' ); 49 49 break; 50 50 case 'publish': 51 $label = __( 'Open' );51 $label = __( 'Open', 'wporg-plugins' ); 52 52 break; 53 53 case 'disabled': 54 $label = __( 'Disable' );54 $label = __( 'Disable', 'wporg-plugins' ); 55 55 break; 56 56 case 'closed': 57 $label = __( 'Close' );57 $label = __( 'Close', 'wporg-plugins' ); 58 58 break; 59 59 default: 60 $label = __( 'Mark as Pending' );60 $label = __( 'Mark as Pending', 'wporg-plugins' ); 61 61 break; 62 62 } 63 63