Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002428 [Piwigo] language minor always 2011.09.03 13:03 2011.09.12 08:20
Reporter chercheur-de-lumieres View Status public  
Assigned To ddtddt
Priority normal Resolution fixed Platform x64
Status closed   OS debian
Projection none   OS Version
ETA none Fixed in Version 2.3.0RC2 Product Version 2.2.4
  Target Version Product Build
Summary 0002428: allow EXIF and IPTC data to be translate in other langage
Description From 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


 
Steps To Reproduce
Additional Information
Tags No tags attached.
browser any
Database engine and version
PHP version
Web server Apache 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker