Ticket #6693: datetime-i18n.2.diff

File datetime-i18n.2.diff, 30.7 KB (added by Petr Marhoun <petr.marhoun@…>, 10 years ago)
  • django/conf/global_settings.py

    === modified file 'django/conf/global_settings.py'
    227227# Default formatting for date objects. See all available format strings here:
    228228# http://www.djangoproject.com/documentation/templates/#now
    229 DATE_FORMAT = 'N j, Y'
     229DATE_FORMAT = gettext_noop('N j, Y')
    231231# Default formatting for datetime objects. See all available format strings here:
    232232# http://www.djangoproject.com/documentation/templates/#now
    233 DATETIME_FORMAT = 'N j, Y, P'
     233DATETIME_FORMAT = gettext_noop('N j, Y, P')
    235235# Default formatting for time objects. See all available format strings here:
    236236# http://www.djangoproject.com/documentation/templates/#now
    237 TIME_FORMAT = 'P'
     237TIME_FORMAT = gettext_noop('P')
    239239# Default formatting for date objects when only the year and month are relevant.
    240240# See all available format strings here:
    241241# http://www.djangoproject.com/documentation/templates/#now
     242YEAR_MONTH_FORMAT = gettext_noop('F Y')
    244244# Default formatting for date objects when only the month and day are relevant.
    245245# See all available format strings here:
    246246# http://www.djangoproject.com/documentation/templates/#now
    247 MONTH_DAY_FORMAT = 'F j'
     247MONTH_DAY_FORMAT = gettext_noop('F j')
    249249# Do you want to manage transactions manually?
    250250# Hint: you really don't!
  • django/conf/locale/ar/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ar/LC_MESSAGES/django.po'
    19871987msgid "MONTH_DAY_FORMAT"
    19881988msgstr ""
     1991msgid "N j, Y"
     1992msgstr "N j, Y"
     1994msgid "N j, Y, P"
     1995msgstr "N j, Y, P"
     1997msgid "P"
     1998msgstr "P"
     2000msgid "F Y"
     2001msgstr "F Y"
     2003msgid "F j"
     2004msgstr "F j"
  • django/conf/locale/bg/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/bg/LC_MESSAGES/django.po'
    26682668"starts with \"%(start)s\".)"
    26692669msgstr "Атрибутът \"%(attr)s\" на ред %(line)s има невалидна стойност. (Редът започва с \"%(start)s\".)"
     2672msgid "N j, Y"
     2673msgstr "j N, Y"
     2675msgid "N j, Y, P"
     2676msgstr "j N, Y, P"
     2678msgid "P"
     2679msgstr "P"
     2681msgid "F Y"
     2682msgstr "F Y"
     2684msgid "F j"
     2685msgstr "j F"
  • django/conf/locale/bn/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/bn/LC_MESSAGES/django.po'
    19911991#, fuzzy
    19921992#~ msgid "count"
    19931993#~ msgstr "অভ্যন্তরস্থ বস্তু"
     1995msgid "N j, Y"
     1996msgstr "N j, Y"
     1998msgid "N j, Y, P"
     1999msgstr "N j, Y, P"
     2001msgid "P"
     2002msgstr "P"
     2004msgid "F Y"
     2005msgstr "F Y"
     2007msgid "F j"
     2008msgstr "F j"
  • django/conf/locale/ca/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ca/LC_MESSAGES/django.po'
    42344234#~ "Introdueixi un codi postal. És necessari un espai entre les dues parts "
    42354235#~ "del codi postal."
     4238msgid "N j, Y"
     4239msgstr "F j, Y"
     4241msgid "N j, Y, P"
     4242msgstr "F j, Y, H:i"
     4244msgid "P"
     4245msgstr "H:i"
     4247msgid "F Y"
     4248msgstr "j de/d' F del Y"
     4250msgid "F j"
     4251msgstr "j de/d' F del Y"
  • django/conf/locale/cs/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/cs/LC_MESSAGES/django.po'
    30323032#: utils/translation/trans_real.py:377
    30333033msgid "MONTH_DAY_FORMAT"
    30343034msgstr "j. F"
     3036msgid "N j, Y"
     3037msgstr "j. n. Y"
     3039msgid "N j, Y, P"
     3040msgstr "j. n. Y, H:i"
     3042msgid "P"
     3043msgstr "H:i"
     3045msgid "F Y"
     3046msgstr "F Y"
     3048msgid "F j"
     3049msgstr "j. F"
  • django/conf/locale/cy/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/cy/LC_MESSAGES/django.po'
    19891989#, fuzzy
    19901990#~ msgid "count"
    19911991#~ msgstr "cynnwys"
     1993msgid "N j, Y"
     1994msgstr "N j, Y"
     1996msgid "N j, Y, P"
     1997msgstr "N j, Y, P"
     1999msgid "P"
     2000msgstr "P"
     2002msgid "F Y"
     2003msgstr "F Y"
     2005msgid "F j"
     2006msgstr "F j"
  • django/conf/locale/da/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/da/LC_MESSAGES/django.po'
    19251925msgid "yes,no,maybe"
    19261926msgstr "ja,nej,måske"
     1929msgid "N j, Y"
     1930msgstr "N j, Y"
     1932msgid "N j, Y, P"
     1933msgstr "N j, Y, P"
     1935msgid "P"
     1936msgstr "P"
     1938msgid "F Y"
     1939msgstr "F Y"
     1941msgid "F j"
     1942msgstr "F j"
  • django/conf/locale/de/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/de/LC_MESSAGES/django.po'
    28362836#, python-format
    28372837msgid "The %(verbose_name)s was deleted."
    28382838msgstr "%(verbose_name)s wurde gelöscht"
     2840msgid "N j, Y"
     2841msgstr "j. N Y"
     2843msgid "N j, Y, P"
     2844msgstr "j. N Y, H:i"
     2846msgid "P"
     2847msgstr "H:i"
     2849msgid "F Y"
     2850msgstr "F Y"
     2852msgid "F j"
     2853msgstr "j. F"
  • django/conf/locale/el/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/el/LC_MESSAGES/django.po'
    27662766"starts with \"%(start)s\".)"
    27672767msgstr "χαρακτηριστικό ενεργό τιμή Γραμμή με έναρξη"
     2770msgid "N j, Y"
     2771msgstr "j N Y"
     2773msgid "N j, Y, P"
     2774msgstr "j N Y, P"
     2776msgid "P"
     2777msgstr "P"
     2779msgid "F Y"
     2780msgstr "F Y"
     2782msgid "F j"
     2783msgstr "j F"
  • django/conf/locale/en/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/en/LC_MESSAGES/django.po'
    37663766#, python-format
    37673767msgid "The %(verbose_name)s was deleted."
    37683768msgstr ""
     3770msgid "N j, Y"
     3771msgstr "N j, Y"
     3773msgid "N j, Y, P"
     3774msgstr "N j, Y, P"
     3776msgid "P"
     3777msgstr "P"
     3779msgid "F Y"
     3780msgstr "F Y"
     3782msgid "F j"
     3783msgstr "F j"
  • django/conf/locale/es/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/es/LC_MESSAGES/django.po'
    37673767msgid "The %(verbose_name)s was deleted."
    37683768msgstr "El %(verbose_name)s ha sido eliminado."
     3771msgid "N j, Y"
     3772msgstr "j N Y"
     3774msgid "N j, Y, P"
     3775msgstr "j N Y P"
     3777msgid "P"
     3778msgstr "P"
     3780msgid "F Y"
     3781msgstr "F Y"
     3783msgid "F j"
     3784msgstr "j \\de F"
  • django/conf/locale/es_AR/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/es_AR/LC_MESSAGES/django.po'
    44474447#~ msgid "packages"
    44484448#~ msgstr "paquetes"
     4450msgid "N j, Y"
     4451msgstr "j N Y"
     4453msgid "N j, Y, P"
     4454msgstr "j N Y P"
     4456msgid "P"
     4457msgstr "P"
     4459msgid "F Y"
     4460msgstr "F Y"
     4462msgid "F j"
     4463msgstr "j \\de F"
  • django/conf/locale/eu/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/eu/LC_MESSAGES/django.po'
    42464246msgid "The %(verbose_name)s was deleted."
    42474247msgstr "%(verbose_name)s ezabatua izan da."
     4250msgid "N j, Y"
     4251msgstr "N j, Y"
     4253msgid "N j, Y, P"
     4254msgstr "N j, Y, P"
     4256msgid "P"
     4257msgstr "P"
     4259msgid "F Y"
     4260msgstr "F Y"
     4262msgid "F j"
     4263msgstr "F j"
  • django/conf/locale/fa/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/fa/LC_MESSAGES/django.po'
    42354235#~ msgid "%d milliseconds"
    42364236#~ msgstr "%d میلی‌ثانیه"
     4238msgid "N j, Y"
     4239msgstr "N j, Y"
     4241msgid "N j, Y, P"
     4242msgstr "N j, Y, P"
     4244msgid "P"
     4245msgstr "P"
     4247msgid "F Y"
     4248msgstr "F Y"
     4250msgid "F j"
     4251msgstr "F j"
  • django/conf/locale/fi/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/fi/LC_MESSAGES/django.po'
    35773577#: oldforms/__init__.py:764
    35783578msgid "Enter a whole number between 0 and 32,767."
    35793579msgstr "Syötä kokonaisluku väliltä 0 ja 32767."
     3581msgid "N j, Y"
     3582msgstr "j.n.Y"
     3584msgid "N j, Y, P"
     3585msgstr "j.n.Y G:i"
     3587msgid "P"
     3588msgstr "G:i"
     3590msgid "F Y"
     3591msgstr "N Y"
     3593msgid "F j"
     3594msgstr "N j, Y"
  • django/conf/locale/fr/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/fr/LC_MESSAGES/django.po'
    30843084#~ msgid "Messages"
    30853085#~ msgstr "Messages"
     3087msgid "N j, Y"
     3088msgstr "j F Y"
     3090msgid "N j, Y, P"
     3091msgstr "j F Y, G:i"
     3093msgid "P"
     3094msgstr "G:i:s"
     3096msgid "F Y"
     3097msgstr "F Y"
     3099msgid "F j"
     3100msgstr "j F"
  • django/conf/locale/ga/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ga/LC_MESSAGES/django.po'
    42024202msgid "The %(verbose_name)s was deleted."
    42034203msgstr ""
     4206msgid "N j, Y"
     4207msgstr "N j, Y"
     4209msgid "N j, Y, P"
     4210msgstr "N j, Y, P"
     4212msgid "P"
     4213msgstr "P"
     4215msgid "F Y"
     4216msgstr "F Y"
     4218msgid "F j"
     4219msgstr "F j"
  • django/conf/locale/gl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/gl/LC_MESSAGES/django.po'
    30273027#~ msgid "packages"
    30283028#~ msgstr "paquetes"
     3030msgid "N j, Y"
     3031msgstr "d-m-Y"
     3033msgid "N j, Y, P"
     3034msgstr "d-m-Y H:i"
     3036msgid "P"
     3037msgstr "H:i"
     3039msgid "F Y"
     3040msgstr "m Y"
     3042msgid "F j"
     3043msgstr "d m"
  • django/conf/locale/he/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/he/LC_MESSAGES/django.po'
    38723872msgid "The %(verbose_name)s was deleted."
    38733873msgstr "ה-%(verbose_name)s נמחק."
     3876msgid "N j, Y"
     3877msgstr "d.m.Y"
     3879msgid "N j, Y, P"
     3880msgstr "d.m.y H:i:s"
     3882msgid "P"
     3883msgstr "H:i:s"
     3885msgid "F Y"
     3886msgstr "d.m.Y"
     3888msgid "F j"
     3889msgstr "d.m.Y"
  • django/conf/locale/hr/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/hr/LC_MESSAGES/django.po'
    43444344#, python-format
    43454345msgid "The %(verbose_name)s was deleted."
    43464346msgstr "%(verbose_name)s je izbrisano"
     4348msgid "N j, Y"
     4349msgstr "N j, Y"
     4351msgid "N j, Y, P"
     4352msgstr "N j, Y, P"
     4354msgid "P"
     4355msgstr "P"
     4357msgid "F Y"
     4358msgstr "F Y"
     4360msgid "F j"
     4361msgstr "F j"
  • django/conf/locale/hu/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/hu/LC_MESSAGES/django.po'
    34953495msgid "%.1f GB"
    34963496msgstr "%.1f GB"
     3499msgid "N j, Y"
     3500msgstr "Y. F j."
     3502msgid "N j, Y, P"
     3503msgstr "Y. F j., H:i"
     3505msgid "P"
     3506msgstr "H:i"
     3508msgid "F Y"
     3509msgstr "Y. F j."
     3511msgid "F j"
     3512msgstr "Y. F j."
  • django/conf/locale/is/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/is/LC_MESSAGES/django.po'
    42644264#~ msgid "count"
    42654265#~ msgstr "innihald"
     4268msgid "N j, Y"
     4269msgstr "j. N Y"
     4271msgid "N j, Y, P"
     4272msgstr "j. N Y, H:i"
     4274msgid "P"
     4275msgstr "H:i"
     4277msgid "F Y"
     4278msgstr "j. N Y"
     4280msgid "F j"
     4281msgstr "j. N Y"
  • django/conf/locale/it/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/it/LC_MESSAGES/django.po'
    43554355msgid "The %(verbose_name)s was deleted."
    43564356msgstr "%(verbose_name)s è stato cancellato."
     4359msgid "N j, Y"
     4360msgstr "j F Y"
     4362msgid "N j, Y, P"
     4363msgstr "j F Y, H:i"
     4365msgid "P"
     4366msgstr "H:i"
     4368msgid "F Y"
     4369msgstr "Y F"
     4371msgid "F j"
     4372msgstr "F j"
  • django/conf/locale/ja/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ja/LC_MESSAGES/django.po'
    43214321#, python-format
    43224322msgid "The %(verbose_name)s was deleted."
    43234323msgstr " %(verbose_name)s を削除しました。"
     4325msgid "N j, Y"
     4326msgstr "Y/m/d"
     4328msgid "N j, Y, P"
     4329msgstr "Y/m/d H:i"
     4331msgid "P"
     4332msgstr "H:i"
     4334msgid "F Y"
     4335msgstr "Y/m/d"
     4337msgid "F j"
     4338msgstr "m/d"
  • django/conf/locale/ka/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ka/LC_MESSAGES/django.po'
    45114511#, python-format
    45124512msgid "The %(verbose_name)s was deleted."
    45134513msgstr "%(verbose_name)s წაიშალა."
     4515msgid "N j, Y"
     4516msgstr "d.m.Y"
     4518msgid "N j, Y, P"
     4519msgstr "d.m.Y H:i"
     4521msgid "P"
     4522msgstr "H:i"
     4524msgid "F Y"
     4525msgstr "d.m.Y"
     4527msgid "F j"
     4528msgstr "d.m.Y"
  • django/conf/locale/km/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/km/LC_MESSAGES/django.po'
    25062506msgid "End date"
    25072507msgstr "បញ្ជប់នៅ"
     2510msgid "N j, Y"
     2511msgstr "ថ្ងៃទី j ​ខែ N ឆ្នាំ Y"
     2513msgid "N j, Y, P"
     2514msgstr "ថ្ងៃទី j ​ខែ N ឆ្នាំ Y ម៉ោង P"
     2516msgid "P"
     2517msgstr "ម៉ោង P"
     2519msgid "F Y"
     2520msgstr "ខែ F ឆ្នាំ Y"
     2522msgid "F j"
     2523msgstr "ថ្ងៃទី​​ j ខែ F"
  • django/conf/locale/kn/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/kn/LC_MESSAGES/django.po'
    25342534msgid "yes,no,maybe"
    25352535msgstr "ಹೌದು,ಇಲ್ಲ,ಇರಬಹುದು"
     2538msgid "N j, Y"
     2539msgstr "N j, Y"
     2541msgid "N j, Y, P"
     2542msgstr "N j, Y, P"
     2544msgid "P"
     2545msgstr "P"
     2547msgid "F Y"
     2548msgstr "F Y"
     2550msgid "F j"
     2551msgstr "F j"
  • django/conf/locale/ko/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ko/LC_MESSAGES/django.po'
    27952795#: oldforms/__init__.py:750
    27962796msgid "Enter a whole number between 0 and 32,767."
    27972797msgstr "0 ~ 32,767 사이의 정수를 입력하세요."
     2799msgid "N j, Y"
     2800msgstr "N j, Y"
     2802msgid "N j, Y, P"
     2803msgstr "N j, Y, P"
     2805msgid "P"
     2806msgstr "P"
     2808msgid "F Y"
     2809msgstr "F Y"
     2811msgid "F j"
     2812msgstr "F j"
  • django/conf/locale/lv/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/lv/LC_MESSAGES/django.po'
    28632863msgid "%.1f GB"
    28642864msgstr "%.1f GB"
     2867msgid "N j, Y"
     2868msgstr "N j, Y"
     2870msgid "N j, Y, P"
     2871msgstr "N j, Y, P"
     2873msgid "P"
     2874msgstr "P"
     2876msgid "F Y"
     2877msgstr "F Y"
     2879msgid "F j"
     2880msgstr "F j"
  • django/conf/locale/mk/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/mk/LC_MESSAGES/django.po'
    27532753msgid "Select a valid choice. %s is not one of the available choices."
    27542754msgstr "Внесете правилно. %s не е еден од достапните вредности."
     2757msgid "N j, Y"
     2758msgstr "j M Y"
     2760msgid "N j, Y, P"
     2761msgstr "j M Y, P"
     2763msgid "P"
     2764msgstr "P"
     2766msgid "F Y"
     2767msgstr "F Y"
     2769msgid "F j"
     2770msgstr "F j"
  • django/conf/locale/nl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/nl/LC_MESSAGES/django.po'
    42404240#~ msgid "Use '[algo]$[salt]$[hexdigest]'"
    42414241#~ msgstr "Gebruik '[algo]$[salt]$[hexdigest]'"
     4244msgid "N j, Y"
     4245msgstr "j-n-Y"
     4247msgid "N j, Y, P"
     4248msgstr "j-n-Y H:i"
     4250msgid "P"
     4251msgstr "H:i"
     4253msgid "F Y"
     4254msgstr "F Y"
     4256msgid "F j"
     4257msgstr "j F"
  • django/conf/locale/no/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/no/LC_MESSAGES/django.po'
    25852585msgid "This URL appears to be a broken link."
    25862586msgstr "Denne URL'en fører til en side som ikke eksisterer."
     2589msgid "N j, Y"
     2590msgstr "j. M Y"
     2592msgid "N j, Y, P"
     2593msgstr "h:i, j. M Y"
     2595msgid "P"
     2596msgstr "h:i"
     2598msgid "F Y"
     2599msgstr "Y M"
     2601msgid "F j"
     2602msgstr "j. M"
  • django/conf/locale/pl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/pl/LC_MESSAGES/django.po'
    44064406#~ msgid "%d milliseconds"
    44074407#~ msgstr "%d milisekund"
     4409msgid "N j, Y"
     4410msgstr "Y-m-d"
     4412msgid "N j, Y, P"
     4413msgstr "Y-m-d H:i:s"
     4415msgid "P"
     4416msgstr "H:i:s"
     4418msgid "F Y"
     4419msgstr "Y-m"
     4421msgid "F j"
     4422msgstr "m-d"
  • django/conf/locale/pt/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/pt/LC_MESSAGES/django.po'
    21262126#: template/defaultfilters.py:401
    21272127msgid "yes,no,maybe"
    21282128msgstr "sim,não,talvez"
     2130msgid "N j, Y"
     2131msgstr "N j, Y"
     2133msgid "N j, Y, P"
     2134msgstr "N j, Y, P"
     2136msgid "P"
     2137msgstr "P"
     2139msgid "F Y"
     2140msgstr "F Y"
     2142msgid "F j"
     2143msgstr "F j"
  • django/conf/locale/pt_BR/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/pt_BR/LC_MESSAGES/django.po'
    26962696#, fuzzy
    26972697#~ msgid "count"
    26982698#~ msgstr "contagem"
     2700msgid "N j, Y"
     2701msgstr "N j, Y"
     2703msgid "N j, Y, P"
     2704msgstr "N j, Y, P"
     2706msgid "P"
     2707msgstr "P"
     2709msgid "F Y"
     2710msgstr "F Y"
     2712msgid "F j"
     2713msgstr "F j"
  • django/conf/locale/ro/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ro/LC_MESSAGES/django.po'
    19911991#, fuzzy
    19921992#~ msgid "count"
    19931993#~ msgstr "conţinut"
     1995msgid "N j, Y"
     1996msgstr "N j, Y"
     1998msgid "N j, Y, P"
     1999msgstr "N j, Y, P"
     2001msgid "P"
     2002msgstr "P"
     2004msgid "F Y"
     2005msgstr "F Y"
     2007msgid "F j"
     2008msgstr "F j"
  • django/conf/locale/ru/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ru/LC_MESSAGES/django.po'
    30243024#~ msgid "Use '[algo]$[salt]$[hexdigest]'"
    30253025#~ msgstr "Используйте '[algo]$[salt]$[hexdigest]'"
     3027msgid "N j, Y"
     3028msgstr "d.m.Y"
     3030msgid "N j, Y, P"
     3031msgstr "d.m.Y H:i"
     3033msgid "P"
     3034msgstr "H:i"
     3036msgid "F Y"
     3037msgstr "d.m.Y"
     3039msgid "F j"
     3040msgstr "d.m.Y"
  • django/conf/locale/sk/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/sk/LC_MESSAGES/django.po'
    33843384#~ msgid "AnonymousUser"
    33853385#~ msgstr "Neregistrovaný užívateľ"
     3387msgid "N j, Y"
     3388msgstr "N j, Y"
     3390msgid "N j, Y, P"
     3391msgstr "N j, Y, P"
     3393msgid "P"
     3394msgstr "P"
     3396msgid "F Y"
     3397msgstr "F Y"
     3399msgid "F j"
     3400msgstr "F j"
  • django/conf/locale/sl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/sl/LC_MESSAGES/django.po'
    29652965#~ msgid "Slovene"
    29662966#~ msgstr "Slovensko"
     2969msgid "N j, Y"
     2970msgstr "N j, Y"
     2972msgid "N j, Y, P"
     2973msgstr "N j, Y, P"
     2975msgid "P"
     2976msgstr "P"
     2978msgid "F Y"
     2979msgstr "F Y"
     2981msgid "F j"
     2982msgstr "F j"
  • django/conf/locale/sr/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/sr/LC_MESSAGES/django.po'
    19141914#~ msgid "count"
    19151915#~ msgstr "sadržaj"
     1918msgid "N j, Y"
     1919msgstr "D, d.m.Y."
     1921msgid "N j, Y, P"
     1922msgstr "d.m.Y. H:i:s"
     1924msgid "P"
     1925msgstr "H:i:s"
     1927msgid "F Y"
     1928msgstr "F Y"
     1930msgid "F j"
     1931msgstr "F j"
  • django/conf/locale/sv/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/sv/LC_MESSAGES/django.po'
    44324432#, python-format
    44334433msgid "The %(verbose_name)s was deleted."
    44344434msgstr "%(verbose_name)s togs bort."
     4436msgid "N j, Y"
     4437msgstr "Y-m-d"
     4439msgid "N j, Y, P"
     4440msgstr "Y-m-d H:i"
     4442msgid "P"
     4443msgstr "H:i"
     4445msgid "F Y"
     4446msgstr "F Y"
     4448msgid "F j"
     4449msgstr "j F"
  • django/conf/locale/ta/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ta/LC_MESSAGES/django.po'
    21342134msgid "yes,no,maybe"
    21352135msgstr "ஆம், இல்லை, இருக்கலாம்"
     2138msgid "N j, Y"
     2139msgstr "தேதி_முறை"
     2141msgid "N j, Y, P"
     2142msgstr "தேதிநேரம்_முறை"
     2144msgid "P"
     2145msgstr "நேரம்_முறை"
     2147msgid "F Y"
     2148msgstr "வருடம்_மாதம்_முறை"
     2150msgid "F j"
     2151msgstr "மாதம்_நாள்_முறை"
  • django/conf/locale/te/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/te/LC_MESSAGES/django.po'
    21072107msgid "yes,no,maybe"
    21082108msgstr "అవును, కాదు , ఏమొ"
     2111msgid "N j, Y"
     2112msgstr "N j, Y"
     2114msgid "N j, Y, P"
     2115msgstr "N j, Y, P"
     2117msgid "P"
     2118msgstr "P"
     2120msgid "F Y"
     2121msgstr "F Y"
     2123msgid "F j"
     2124msgstr "F j"
  • django/conf/locale/tr/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/tr/LC_MESSAGES/django.po'
    24672467#~ msgid "Have you <a href=\"/password_reset/\">forgotten your password</a>?"
    24682468#~ msgstr "<a href=\"/password_reset/\">Şifrenizi mi unuttunuz?</a>"
     2470msgid "N j, Y"
     2471msgstr "N j, Y"
     2473msgid "N j, Y, P"
     2474msgstr "N j, Y, P"
     2476msgid "P"
     2477msgstr "P"
     2479msgid "F Y"
     2480msgstr "F Y"
     2482msgid "F j"
     2483msgstr "F j"
  • django/conf/locale/uk/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/uk/LC_MESSAGES/django.po'
    19691969#~ msgid "packages"
    19701970#~ msgstr "пакунки"
     1972msgid "N j, Y"
     1973msgstr "N j, Y"
     1975msgid "N j, Y, P"
     1976msgstr "N j, Y, P"
     1978msgid "P"
     1979msgstr "P"
     1981msgid "F Y"
     1982msgstr "F Y"
     1984msgid "F j"
     1985msgstr "F j"
  • django/conf/locale/zh_CN/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/zh_CN/LC_MESSAGES/django.po'
    26352635msgid "The \"%(attr)s\" attribute on line %(line)s has an invalid value. (Line starts with \"%(start)s\".)"
    26362636msgstr "在行 %(line)s 的\"%(attr)s\"属性有一个无效的值。(行开始于 \"%(start)s\"。)"
     2639msgid "N j, Y"
     2640msgstr "N j, Y"
     2642msgid "N j, Y, P"
     2643msgstr "N j, Y, P"
     2645msgid "P"
     2646msgstr "P"
     2648msgid "F Y"
     2649msgstr "F Y"
     2651msgid "F j"
     2652msgstr "F j"
  • django/conf/locale/zh_TW/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/zh_TW/LC_MESSAGES/django.po'
    26882688"The \"%(attr)s\" attribute on line %(line)s has an invalid value. (Line "
    26892689"starts with \"%(start)s\".)"
    26902690msgstr "第 \"%(line)s\" 的 \"%(attr)s\" 屬性是無效的值 (行開始於 \"%(start)s\")。"
     2692msgid "N j, Y"
     2693msgstr "N j, Y"
     2695msgid "N j, Y, P"
     2696msgstr "N j, Y, P"
     2698msgid "P"
     2699msgstr "P"
     2701msgid "F Y"
     2702msgstr "F Y"
     2704msgid "F j"
     2705msgstr "F j"
  • django/contrib/admin/templatetags/admin_list.py

    === modified file 'django/contrib/admin/templatetags/admin_list.py'
    77from django.utils.html import escape, conditional_escape
    88from django.utils.text import capfirst
    99from django.utils.safestring import mark_safe
    10 from django.utils.translation import get_date_formats, get_partial_date_formats, ugettext as _
     10from django.utils.translation import ugettext as _
    1111from django.utils.encoding import smart_unicode, smart_str, force_unicode
    1212from django.template import Library
    1313import datetime
    161161            # Dates and times are special: They're formatted in a certain way.
    162162            elif isinstance(f, models.DateField) or isinstance(f, models.TimeField):
    163163                if field_val:
    164                     (date_format, datetime_format, time_format) = get_date_formats()
    165164                    if isinstance(f, models.DateTimeField):
    166                         result_repr = capfirst(dateformat.format(field_val, datetime_format))
     165                        result_repr = capfirst(dateformat.format(field_val, _(settings.DATETIME_FORMAT)))
    167166                    elif isinstance(f, models.TimeField):
    168                         result_repr = capfirst(dateformat.time_format(field_val, time_format))
     167                        result_repr = capfirst(dateformat.time_format(field_val, _(settings.TIME_FORMAT)))
    169168                    else:
    170                         result_repr = capfirst(dateformat.format(field_val, date_format))
     169                        result_repr = capfirst(dateformat.format(field_val, _(settings.DATE_FORMAT)))
    171170                else:
    172171                    result_repr = EMPTY_CHANGELIST_VALUE
    173172                row_class = ' class="nowrap"'
    221220        year_lookup = cl.params.get(year_field)
    222221        month_lookup = cl.params.get(month_field)
    223222        day_lookup = cl.params.get(day_field)
    224         year_month_format, month_day_format = get_partial_date_formats()
    226224        link = lambda d: mark_safe(cl.get_query_string(d, [field_generic]))
    231229                'show': True,
    232230                'back': {
    233231                    'link': link({year_field: year_lookup, month_field: month_lookup}),
    234                     'title': dateformat.format(day, year_month_format)
     232                    'title': dateformat.format(day, _(settings.YEAR_MONTH_FORMAT))
    235233                },
    236                 'choices': [{'title': dateformat.format(day, month_day_format)}]
     234                'choices': [{'title': dateformat.format(day, _(settings.MONTH_DAY_FORMAT))}]
    237235            }
    238236        elif year_lookup and month_lookup:
    239237            days = cl.query_set.filter(**{year_field: year_lookup, month_field: month_lookup}).dates(field_name, 'day')
    245243                },
    246244                'choices': [{
    247245                    'link': link({year_field: year_lookup, month_field: month_lookup, day_field: day.day}),
    248                     'title': dateformat.format(day, month_day_format)
     246                    'title': dateformat.format(day, _(settings.MONTH_DAY_FORMAT))
    249247                } for day in days]
    250248            }
    251249        elif year_lookup:
    258256                },
    259257                'choices': [{
    260258                    'link': link({year_field: year_lookup, month_field: month.month}),
    261                     'title': dateformat.format(month, year_month_format)
     259                    'title': dateformat.format(month, _(settings.YEAR_MONTH_FORMAT))
    262260                } for month in months]
    263261            }
    264262        else:
  • django/contrib/databrowse/datastructures.py

    === modified file 'django/contrib/databrowse/datastructures.py'
    33convenience functionality and permalink functions for the databrowse app.
     6from django.conf import settings
    67from django.db import models
    78from django.utils import dateformat
    89from django.utils.text import capfirst
    9 from django.utils.translation import get_date_formats
     10from django.utils.translation import ugettext as _
    1011from django.utils.encoding import smart_unicode, smart_str, iri_to_uri
    1112from django.utils.safestring import mark_safe
    1213from django.db.models.query import QuerySet
    156157            objs = dict(self.field.choices).get(self.raw_value, EMPTY_VALUE)
    157158        elif isinstance(self.field, models.DateField) or isinstance(self.field, models.TimeField):
    158159            if self.raw_value:
    159                 date_format, datetime_format, time_format = get_date_formats()
    160160                if isinstance(self.field, models.DateTimeField):
    161                     objs = capfirst(dateformat.format(self.raw_value, datetime_format))
     161                    objs = capfirst(dateformat.format(self.raw_value, _(settings.DATETIME_FORMAT)))
    162162                elif isinstance(self.field, models.TimeField):
    163                     objs = capfirst(dateformat.time_format(self.raw_value, time_format))
     163                    objs = capfirst(dateformat.time_format(self.raw_value, _(settings.TIME_FORMAT)))
    164164                else:
    165                     objs = capfirst(dateformat.format(self.raw_value, date_format))
     165                    objs = capfirst(dateformat.format(self.raw_value, _(settings.DATE_FORMAT)))
    166166            else:
    167167                objs = EMPTY_VALUE
    168168        elif isinstance(self.field, models.BooleanField) or isinstance(self.field, models.NullBooleanField):
  • django/contrib/databrowse/plugins/calendars.py

    === modified file 'django/contrib/databrowse/plugins/calendars.py'
    44from django.contrib.databrowse.sites import DatabrowsePlugin
    55from django.shortcuts import render_to_response
    66from django.utils.text import capfirst
    7 from django.utils.translation import get_date_formats
    87from django.utils.encoding import force_unicode
    98from django.utils.safestring import mark_safe
    109from django.views.generic import date_based
  • django/template/defaultfilters.py

    === modified file 'django/template/defaultfilters.py'
    620620    if not value:
    621621        return u''
    622622    if arg is None:
    623         arg = settings.DATE_FORMAT
     623        arg = ugettext(settings.DATE_FORMAT)
    624624    return format(value, arg)
    625625date.is_safe = False
    630630    if value in (None, u''):
    631631        return u''
    632632    if arg is None:
    633         arg = settings.TIME_FORMAT
     633        arg = ugettext(settings.TIME_FORMAT)
    634634    return time_format(value, arg)
    635635time.is_safe = False
Back to Top