Changeset 32137


Ignore:
Timestamp:
Apr 29, 2020, 8:03:51 PM (4 years ago)
Author:
ddtddt
Message:

[manage_properties_photos]

Location:
extensions/manage_properties_photos
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/manage_properties_photos/admin.php

    r32136 r32137  
    237237                  if(empty($filename['path'])){
    238238                          $_SESSION['page_errors'] = array(l10n('reference photo id doesn\'t exist please update'));
     239                  }else if(exif_imagetype($filename['path']) != IMAGETYPE_JPEG and exif_imagetype($filename['path']) != IMAGETYPE_TIFF_II and exif_imagetype($filename['path']) != IMAGETYPE_TIFF_MM){
     240                          $_SESSION['page_errors'] = array(l10n('reference photo type doesn\'t use metadata please update'));
    239241                  }else{       
    240242                        $exif = exif_read_data($filename['path']);
  • extensions/manage_properties_photos/language/en_UK/plugin.lang.php

    r32136 r32137  
    5555$lang['The reference photo doesn\'t have IPTC'] = 'The reference photo doesn\'t have IPTC';
    5656$lang['reference photo id doesn\'t exist please update'] = 'reference photo id doesn\'t exist please update';
     57$lang['reference photo type doesn\'t use metadata please update'] = 'reference photo type doesn\'t use metadata please update';
  • extensions/manage_properties_photos/language/fr_FR/plugin.lang.php

    r32136 r32137  
    5252$lang['The reference photo doesn\'t have exif'] = 'La photo de référence ne possède pas d\'exif';
    5353$lang['The reference photo doesn\'t have IPTC'] = 'La photo de référence ne possède pas IPTC';
    54 $lang['reference photo id doesn\'t exist please update'] = 'l\'id de reference photo n\'existe pas merci de mettre à jour';
     54$lang['reference photo id doesn\'t exist please update'] = 'ID choisie comme photo de reference n\'existe pas merci de mettre à jour';
     55$lang['reference photo type doesn\'t use metadata please update'] = 'Le type de la photo de reference n\'utilise pas les exifs, merci de mettre à jour';
Note: See TracChangeset for help on using the changeset viewer.