aboutsummaryrefslogtreecommitdiffstats
path: root/admin/tags.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-10-19 11:04:11 +0000
committermistic100 <mistic@piwigo.org>2013-10-19 11:04:11 +0000
commit2f08283864615990a47ef8b3995ab88402eda478 (patch)
tree6720eff124c37c877910cc25296958ebc1015cb9 /admin/tags.php
parent139ffe3712b8c9a9ea4cd731d3fdb509463867dc (diff)
feature 2978: remove useless sprintf in the core
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/tags.php')
-rw-r--r--admin/tags.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/admin/tags.php b/admin/tags.php
index 5da902840..4927fc4f3 100644
--- a/admin/tags.php
+++ b/admin/tags.php
@@ -71,8 +71,8 @@ SELECT id, name
{
array_push(
$page['errors'],
- sprintf(
- l10n('Tag "%s" already exists'),
+ l10n(
+ 'Tag "%s" already exists',
$tag_name
)
);
@@ -136,8 +136,8 @@ SELECT id, name
{
array_push(
$page['errors'],
- sprintf(
- l10n('Tag "%s" already exists'),
+ l10n(
+ 'Tag "%s" already exists',
$tag_name
)
);
@@ -190,8 +190,8 @@ SELECT id, name
}
array_push(
$page['infos'],
- sprintf(
- l10n('Tag "%s" is now a duplicate of "%s"'),
+ l10n(
+ 'Tag "%s" is now a duplicate of "%s"',
stripslashes($tag_name),
$current_name_of[$tag_id]
)
@@ -300,8 +300,8 @@ SELECT
array_push(
$page['infos'],
- sprintf(
- l10n('Tags <em>%s</em> merged into tag <em>%s</em>'),
+ l10n(
+ 'Tags <em>%s</em> merged into tag <em>%s</em>',
implode(', ', $tags_deleted),
$name_of_tag[$destination_tag_id]
)
@@ -380,8 +380,8 @@ SELECT id
array_push(
$page['infos'],
- sprintf(
- l10n('Tag "%s" was added'),
+ l10n(
+ 'Tag "%s" was added',
stripslashes($tag_name)
)
);
@@ -390,8 +390,8 @@ SELECT id
{
array_push(
$page['errors'],
- sprintf(
- l10n('Tag "%s" already exists'),
+ l10n(
+ 'Tag "%s" already exists',
stripslashes($tag_name)
)
);