Closed (fixed)
Project:
Availability Calendars
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Dec 2010 at 21:29 UTC
Updated:
30 Mar 2011 at 09:51 UTC
in line 190 : date('l d F', strtotime("$year-$month-$day")) doesnt automatic translate to Danish. There is no problem with the front page of the kalender. But in backend weekday and month dont translate.
Comments
Comment #1
nicholas.alipaz commentedI think this is still present in latest dev, we definitely need to look into this.
Comment #2
fietserwinWe can change this into:
Alternatively we can choose the long, medium or short date format (instead of 'custom') but that might include a time, so I guess the above will do as a fix. The same problem exists for the title of that edit page:
Change:
Into:
Comment #3
fietserwinCommitted to the 6.x-1.x head. (Fix is to easy to spent time on reviewing.)
Comment #4
nicholas.alipaz commentedI see your change for the
drupal_set_title(...but not for thedate('l d F', strtotime("$year-$month-$day"))(line 279).Would you like me to make the fix, or do you want to grab it?
Comment #5
fietserwinShould be there (though I made it an "l j F", There's no need for text alignment or something like that so "tuesday 08 march" looks a bit unnatural).
commit diff:
http://drupalcode.org/project/availability_calendars.git/blobdiff/e376df...
Comment #6
fietserwinRTBC and committed: see #1093408: Month labels are incorrect.