Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002428Piwigolanguagepublic2011.09.03 13:032011.09.12 08:20
Reporterchercheur-de-lumieres 
Assigned Toddtddt 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx64OSdebianOS Version
Product Version2.2.4 
Target VersionFixed in Version2.3.0RC2 
Summary0002428: allow EXIF and IPTC data to be translate in other langage
DescriptionFrom the discussion in french forum
http://fr.piwigo.org/forum/viewtopic.php?pid=175732#p175732 [^]

In the photo page, menus EXIF and IPTC metadata are not translated while comments menu is.

I did the modifications in this file and here is the fix (I guess)

vi ./include/picture_metadata.inc.php

     57 if (count($exif) > 0)
     58 {
     59 $tpl_meta = array(
     60 /* 'TITLE' => 'EXIF Metadata',*/
     61 'TITLE' => l10n('EXIF Metadata'),
     62 'lines' => array(),
     63 );
[...]
    107 $tpl_meta = array(
    108 /* 'TITLE' => 'IPTC Metadata',*/
    109 'TITLE' => l10n('IPTC Metadata'),
    110 'lines' => array(),
    111 );


need after that to update local/language/fr_FR.lang.php

$ more fr_FR.lang.php
<?php
$lang['EXIF Metadata'] = 'Données EXIF';
$lang['IPTC Metadata'] = 'Données IPTC';


I guess it can be added by default somewhere else for every body


 
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0005461)
chercheur-de-lumieres (reporter)
2011.09.03 13:04
edited on: 2011.09.03 13:04

thanks to ddtddt for the help

(0005511)
svn (reporter)
2011.09.12 08:19

[Subversion] r12131 by ddtddt on trunk

-----[Subversion commit log]----------------------------------------------------
[trunk] - language - add key - feature:2428

- Issue History
Date Modified Username Field Change
2011.09.03 13:03 chercheur-de-lumieres New Issue
2011.09.03 13:03 chercheur-de-lumieres browser => any
2011.09.03 13:03 chercheur-de-lumieres Web server => Apache 1.3.x
2011.09.03 13:04 chercheur-de-lumieres Note Added: 0005461
2011.09.03 13:04 chercheur-de-lumieres Note Edited: 0005461
2011.09.03 13:19 ddtddt Status new => assigned
2011.09.03 13:19 ddtddt Assigned To => ddtddt
2011.09.12 08:19 svn Checkin
2011.09.12 08:19 svn Note Added: 0005511
2011.09.12 08:20 ddtddt Status assigned => closed
2011.09.12 08:20 ddtddt Resolution open => fixed
2011.09.12 08:20 ddtddt Fixed in Version => 2.3.0RC2


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker