Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Fixed]: Slovak language file revision  (Read 5385 times)

0 Members and 1 Guest are viewing this topic.

mahdi1234

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
[Fixed]: Slovak language file revision
« on: July 20, 2009, 09:28:53 pm »

Some fixes to Slovak language file:

Lines 54-60 (date/hour formats), change
Code: [Select]
$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
Code: [Select]
$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
« Last Edit: July 21, 2009, 09:22:42 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Slovak language file revision
« Reply #1 on: July 20, 2009, 10:27:20 pm »

You can't use %e since it is not supported on Windows.
Logged

mahdi1234

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: Slovak language file revision
« Reply #2 on: July 20, 2009, 10:52:27 pm »

Let's use two-digit representation then

Code: [Select]
$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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Slovak language file revision
« Reply #3 on: July 21, 2009, 09:22:27 am »

Comitted to SVN. Will be in cpg1.4.26
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.