Resolved Issue ID 0000447:
o Fix Incorrect Tag Translations git-svn-id: http://piwigo.org/svn/trunk@1452 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
73d44f9784
commit
e40f590bbd
4 changed files with 6 additions and 6 deletions
|
|
@ -1756,7 +1756,7 @@ function tag_id_from_tag_name($tag_name)
|
||||||
$tag_name = mysql_escape_string($tag_name);
|
$tag_name = mysql_escape_string($tag_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
// does the tag already exist?
|
// does the tag already exists?
|
||||||
$query = '
|
$query = '
|
||||||
SELECT id
|
SELECT id
|
||||||
FROM '.TAGS_TABLE.'
|
FROM '.TAGS_TABLE.'
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ SELECT id, name
|
||||||
array_push(
|
array_push(
|
||||||
$page['errors'],
|
$page['errors'],
|
||||||
sprintf(
|
sprintf(
|
||||||
l10n('Tag "%s" already exist'),
|
l10n('Tag "%s" already exists'),
|
||||||
$tag_name
|
$tag_name
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
@ -158,7 +158,7 @@ if (isset($_POST['add']) and !empty($_POST['add_tag']))
|
||||||
$tag_name = mysql_escape_string($_POST['add_tag']);
|
$tag_name = mysql_escape_string($_POST['add_tag']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// does the tag already exist?
|
// does the tag already exists?
|
||||||
$query = '
|
$query = '
|
||||||
SELECT id
|
SELECT id
|
||||||
FROM '.TAGS_TABLE.'
|
FROM '.TAGS_TABLE.'
|
||||||
|
|
@ -192,7 +192,7 @@ SELECT id
|
||||||
array_push(
|
array_push(
|
||||||
$page['errors'],
|
$page['errors'],
|
||||||
sprintf(
|
sprintf(
|
||||||
l10n('Tag "%s" already exist'),
|
l10n('Tag "%s" already exists'),
|
||||||
$tag_name
|
$tag_name
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,7 @@ $lang['Status'] = 'Status';
|
||||||
$lang['Storage category'] = 'Storage category';
|
$lang['Storage category'] = 'Storage category';
|
||||||
$lang['Submit'] = 'Submit';
|
$lang['Submit'] = 'Submit';
|
||||||
$lang['Sum of rates'] = 'Sum of rates';
|
$lang['Sum of rates'] = 'Sum of rates';
|
||||||
|
$lang['Tag "%s" already exists'] = 'Tag "%s" already exists';
|
||||||
$lang['Tag "%s" was added'] = 'Tag "%s" was added';
|
$lang['Tag "%s" was added'] = 'Tag "%s" was added';
|
||||||
$lang['Tag selection'] = 'Tag selection';
|
$lang['Tag selection'] = 'Tag selection';
|
||||||
$lang['Take selected elements out of caddie'] = 'Take selected elements out of caddie';
|
$lang['Take selected elements out of caddie'] = 'Take selected elements out of caddie';
|
||||||
|
|
|
||||||
|
|
@ -159,9 +159,8 @@ $lang['Status'] = 'Statut';
|
||||||
$lang['Storage category'] = 'Catégorie de stockage';
|
$lang['Storage category'] = 'Catégorie de stockage';
|
||||||
$lang['Submit'] = 'Valider';
|
$lang['Submit'] = 'Valider';
|
||||||
$lang['Sum of rates'] = 'Somme des notes';
|
$lang['Sum of rates'] = 'Somme des notes';
|
||||||
$lang['Tag "%s" already exist'] = 'Le tag "%s" existe déjà';
|
$lang['Tag "%s" already exists'] = 'Le tag "%s" existe déjà';
|
||||||
$lang['Tag "%s" was added'] = 'Le tag "%s" a été ajouté';
|
$lang['Tag "%s" was added'] = 'Le tag "%s" a été ajouté';
|
||||||
$lang['Tag "%s" was added'] = 'Tag "%s" was added';
|
|
||||||
$lang['Tag selection'] = 'Sélection de tags';
|
$lang['Tag selection'] = 'Sélection de tags';
|
||||||
$lang['Take selected elements out of caddie'] = 'Sortir les éléments sélectionnés du panier';
|
$lang['Take selected elements out of caddie'] = 'Sortir les éléments sélectionnés du panier';
|
||||||
$lang['The %d following tags were deleted : %s'] = 'The %d following tags were deleted : %s';
|
$lang['The %d following tags were deleted : %s'] = 'The %d following tags were deleted : %s';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue