Django

Code

Changeset 2912

Show
Ignore:
Timestamp:
05/16/06 02:38:23 (2 years ago)
Author:
hugo
Message:

fixed #1817: added translation hooks for 3-letter month names

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/utils/dates.py

    r1068 r2912  
    1717} 
    1818MONTHS_3 = { 
    19     1:'jan', 2:'feb', 3:'mar', 4:'apr', 5:'may', 6:'jun', 7:'jul', 8:'aug'
    20     9:'sep', 10:'oct', 11:'nov', 12:'dec' 
     19    1:_('jan'), 2:_('feb'), 3:_('mar'), 4:_('apr'), 5:_('may'), 6:_('jun')
     20    7:_('jul'), 8:_('aug'), 9:_('sep'), 10:_('oct'), 11:_('nov'), 12:_('dec') 
    2121} 
    2222MONTHS_3_REV = {