Make WordPress Core


Ignore:
Timestamp:
11/21/2016 02:45:53 AM (9 years ago)
Author:
johnbillion
Message:

I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment.

See #38882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r39283 r39326  
    26562656        // If an empty slug was passed or the parent changed, reset the slug to something unique.
    26572657        // Otherwise, bail.
    2658         if ( $empty_slug || ( $parent != $term['parent']) )
     2658        if ( $empty_slug || ( $parent != $term['parent']) ) {
    26592659            $slug = wp_unique_term_slug($slug, (object) $args);
    2660         else
     2660        } else {
     2661            /* translators: 1: Taxonomy term slug */
    26612662            return new WP_Error('duplicate_term_slug', sprintf(__('The slug “%s” is already in use by another term'), $slug));
     2663        }
    26622664    }
    26632665
Note: See TracChangeset for help on using the changeset viewer.