Skip to content
Extraits de code Groupes Projets
Valider fabb9883 rédigé par teddy.spip@gmail.com's avatar teddy.spip@gmail.com
Parcourir les fichiers

Fix #4116 : Ne pas envoyer la chaine traduite ici. C'est label_champ() qui s'en occupera.

parent e3e6b1e4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -356,20 +356,20 @@ function medias_boite_infos($flux) { ...@@ -356,20 +356,20 @@ function medias_boite_infos($flux) {
function medias_revisions_chercher_label($flux) { function medias_revisions_chercher_label($flux) {
foreach (array('id_vignette', 'hauteur', 'largeur', 'mode', 'taille') as $champ) { foreach (array('id_vignette', 'hauteur', 'largeur', 'mode', 'taille') as $champ) {
if ($flux['args']['champ'] == $champ) { if ($flux['args']['champ'] == $champ) {
$flux['data'] = _T('medias:info_' . $champ); $flux['data'] = 'medias:info_' . $champ;
return $flux; return $flux;
} }
} }
foreach (array('fichier', 'taille', 'mode', 'credits') as $champ) { foreach (array('fichier', 'taille', 'mode', 'credits') as $champ) {
if ($flux['args']['champ'] == $champ) { if ($flux['args']['champ'] == $champ) {
$flux['data'] = _T('medias:label_' . $champ); $flux['data'] = 'medias:label_' . $champ;
return $flux; return $flux;
} }
} }
if ($flux['args']['champ'] == 'distant') { if ($flux['args']['champ'] == 'distant') {
$flux['data'] = $flux['data'] = _T('medias:fichier_distant'); $flux['data'] = $flux['data'] = 'medias:fichier_distant';
} }
return $flux; return $flux;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter