Changeset 25005 for trunk/admin/tags.php


Ignore:
Timestamp:
Oct 19, 2013, 1:04:11 PM (11 years ago)
Author:
mistic100
Message:

feature 2978: remove useless sprintf in the core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/tags.php

    r24834 r25005  
    7272        array_push(
    7373          $page['errors'],
    74           sprintf(
    75             l10n('Tag "%s" already exists'),
     74          l10n(
     75            'Tag "%s" already exists',
    7676            $tag_name
    7777            )
     
    137137        array_push(
    138138          $page['errors'],
    139           sprintf(
    140             l10n('Tag "%s" already exists'),
     139          l10n(
     140            'Tag "%s" already exists',
    141141            $tag_name
    142142            )
     
    191191        array_push(
    192192          $page['infos'],
    193           sprintf(
    194             l10n('Tag "%s" is now a duplicate of "%s"'),
     193          l10n(
     194            'Tag "%s" is now a duplicate of "%s"',
    195195            stripslashes($tag_name),
    196196            $current_name_of[$tag_id]
     
    301301      array_push(
    302302        $page['infos'],
    303         sprintf(
    304           l10n('Tags <em>%s</em> merged into tag <em>%s</em>'),
     303        l10n(
     304          'Tags <em>%s</em> merged into tag <em>%s</em>',
    305305          implode(', ', $tags_deleted),
    306306          $name_of_tag[$destination_tag_id]
     
    381381    array_push(
    382382      $page['infos'],
    383       sprintf(
    384         l10n('Tag "%s" was added'),
     383      l10n(
     384        'Tag "%s" was added',
    385385        stripslashes($tag_name)
    386386        )
     
    391391    array_push(
    392392      $page['errors'],
    393       sprintf(
    394         l10n('Tag "%s" already exists'),
     393      l10n(
     394        'Tag "%s" already exists',
    395395        stripslashes($tag_name)
    396396        )
Note: See TracChangeset for help on using the changeset viewer.