From ac44f4bfaed13d4064774bbb414558e04757b2e5 Mon Sep 17 00:00:00 2001
From: "tcharlss@bravecassine.com" <>
Date: Sat, 11 Feb 2017 18:26:46 +0000
Subject: [PATCH] =?UTF-8?q?Afficher=20la=20r=C3=A9solution=20des=20images?=
 =?UTF-8?q?=20dans=20les=20d=C3=A9tails=20+=20cha=C3=AEnes=20de=20langue?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lang/medias_fr.php         | 3 +++
 modeles/document_desc.html | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/lang/medias_fr.php b/lang/medias_fr.php
index d7668a16..e36f03cf 100644
--- a/lang/medias_fr.php
+++ b/lang/medias_fr.php
@@ -127,6 +127,9 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
 	'info_taille' => 'Poids',
 	'info_telecharger' => 'Télécharger depuis votre ordinateur :',
 	'info_utilisation' => 'Utilisation(s)',
+	'info_dimensions_image' => 'Dimensions',
+	'info_resolution_image' => 'Résolution',
+	'info_resolution_mpx' => 'Mpx',
 	'infos' => 'Infos techniques',
 	'item_autoriser_selectionner_date_en_ligne' => 'Permettre de modifier la date de chaque document',
 	'item_non_autoriser_selectionner_date_en_ligne' => 'La date des documents est celle de leur ajout sur le site',
diff --git a/modeles/document_desc.html b/modeles/document_desc.html
index be1bb6e3..4ae495cb 100644
--- a/modeles/document_desc.html
+++ b/modeles/document_desc.html
@@ -42,9 +42,13 @@ Distribue sous licence GPL
 						</tr>
 						[(#LARGEUR|ou{#HAUTEUR}|oui)
 						<tr>
-							<th><:medias:entree_dimensions:></th>
+							<th><:medias:info_dimensions_image:></th>
 							<td>[(#VAL{info_largeur_vignette}|_T{#ARRAY{largeur_vignette,#LARGEUR,hauteur_vignette,#HAUTEUR}})]</td>
 						</tr>
+						<tr>
+							<th><:medias:info_resolution_image:></th>
+							<td>[(#LARGEUR|mult{#HAUTEUR}|div{1000000}|round{1})&nbsp;<:medias:info_resolution_mpx:>]</td>
+						</tr>
 						]
 						<tr>
 							<th><:medias:info_taille:></th>
-- 
GitLab