coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 language => Topic started by: mahdi1234 on July 20, 2009, 09:28:53 PM

Title: [Fixed]: Slovak language file revision
Post by: mahdi1234 on July 20, 2009, 09:28:53 PM
Some fixes to Slovak language file:

Lines 54-60 (date/hour formats), change

$album_date_fmt =    '%B %d, %Y';
$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
$lastup_date_fmt = '%B %d, %Y';
$register_date_fmt = '%B %d, %Y';
$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4

to

$album_date_fmt =    '%e. %B %Y';
$lastcom_date_fmt =  '%e. %B %Y v %H:%M';
$lastup_date_fmt = '%e. %B %Y';
$register_date_fmt = '%e. %B %Y';
$lasthit_date_fmt = '%e. %B %Y v %H:%M';
$comment_date_fmt =  '%e. %B %Y v %H:%M';
$log_date_fmt = '%e. %B %Y v %H:%M'; //cpg1.4


File with changes attached, just rename suffix to php.

cheers,
mahdi
Title: Re: Slovak language file revision
Post by: Nibbler on July 20, 2009, 10:27:20 PM
You can't use %e since it is not supported on Windows.
Title: Re: Slovak language file revision
Post by: mahdi1234 on July 20, 2009, 10:52:27 PM
Let's use two-digit representation then


$album_date_fmt =    '%d. %B %Y';
$lastcom_date_fmt =  '%d. %B %Y v %H:%M';
$lastup_date_fmt = '%d. %B %Y';
$register_date_fmt = '%d. %B %Y';
$lasthit_date_fmt = '%d. %B %Y v %H:%M';
$comment_date_fmt =  '%d. %B %Y v %H:%M';
$log_date_fmt = '%d. %B %Y v %H:%M'; //cpg1.4


Corrected file attached.
Title: Re: Slovak language file revision
Post by: Joachim Müller on July 21, 2009, 09:22:27 AM
Comitted to SVN. Will be in cpg1.4.26