TinyPortal

Development => International => Italian => Topic started by: fak3 on May 03, 2009, 01:14:35 AM

Title: Traduzione date
Post by: fak3 on May 03, 2009, 01:14:35 AM
Ciao a tutti. :coolsmiley:
Ho notato che anche mettendo la traduzione italiana per TinyPortal, i nomi dei mesi rimangono in inglese.

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg12.imageshack.us%2Fimg12%2F4535%2Ftraduzione.th.jpg&hash=f8387762c2f72ac7ec54ae6065a8a6c4b48a6bc6) (http://img12.imageshack.us/my.php?image=traduzione.jpg)

C'è un modo per tradurli?

Uso SMF 1.1.8 con l'ultimissima beta di TinyPortal.
Title: Re: Traduzione date
Post by: Dark-Wolf on May 03, 2009, 02:18:24 AM
LOL :D
L'ho notato solo adesso grazie a questo tuo post :P
Mo vedo di capirne il motivo ;)
Edit: il problema è relativo al file TPortal.template.php più precisamente questa riga:

$ntime='
<span class="tp_month">' . date("M",$story['timestamp']). '</span><span class="tp_thindivider">  </span><span class="tp_day">'. date("d",$story['timestamp']) . '</span> <span class="tp_year"> '. date("Y",$story['timestamp']) . '</span>';

Title: Re: Traduzione date
Post by: fak3 on May 03, 2009, 11:20:45 AM
Ti ringrazio! La cosa è strana forte... anche cambiando i nomi dei mesi nel file di lingua inglese (index.english.php) i nomi rimangono visualizzati in inglese...
Boooh
Title: Re: Traduzione date
Post by: fak3 on May 03, 2009, 12:17:00 PM
Ho visto il tuo sito.
Scommetto che prima non te n'eri accorto perchè nelle date c'era scritto FEB MAR e APR. ahah come è successo a me. :)
Title: Re: Traduzione date
Post by: Dark-Wolf on May 03, 2009, 12:33:26 PM
Eheheheh :D Infatti ;)
Title: Re: Traduzione date
Post by: fak3 on May 03, 2009, 12:44:01 PM
Comunque ho chiesto lumi anche qui: http://www.tinyportal.net/index.php/topic,29452.0.html

Ciao! ;)
Title: Re: Traduzione date
Post by: fak3 on May 05, 2009, 10:53:23 AM
Ti informo che hanno risolto. La soluzione è disponibile qui: http://www.tinyportal.net/index.php?action=bugtracker;sa=bug498 e funziona a meraviglia. :)
Title: Re: Traduzione date
Post by: Dark-Wolf on May 05, 2009, 12:03:20 PM
Si ho visto, il bug era proprio dove avevo detto io :)
(ricorda che è ripetuto 4volte nel file TPortal.template.php (non nel TPBlocks.template.php) ;)
Title: Re: Traduzione date
Post by: fak3 on May 05, 2009, 12:40:40 PM
Sì ho visto, il file citato da Bloc nemmeno esiste.