Ticket #6693: datetime-i18n.diff

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

    === modified file 'django/conf/global_settings.py'
     
    226226
    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')
    230230
    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')
    234234
    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')
    238238
    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
    242 YEAR_MONTH_FORMAT = 'F Y'
     242YEAR_MONTH_FORMAT = gettext_noop('F Y')
    243243
    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')
    248248
    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 ""
    19891989
     1990
     1991msgid "N j, Y"
     1992msgstr "N j, Y"
     1993
     1994msgid "N j, Y, P"
     1995msgstr "N j, Y, P"
     1996
     1997msgid "P"
     1998msgstr "P"
     1999
     2000msgid "F Y"
     2001msgstr "F Y"
     2002
     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\".)"
    26702670
     2671
     2672msgid "N j, Y"
     2673msgstr "j N, Y"
     2674
     2675msgid "N j, Y, P"
     2676msgstr "j N, Y, P"
     2677
     2678msgid "P"
     2679msgstr "P"
     2680
     2681msgid "F Y"
     2682msgstr "F Y"
     2683
     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 "অভ্যন্তরস্থ বস্তু"
     1994
     1995msgid "N j, Y"
     1996msgstr "N j, Y"
     1997
     1998msgid "N j, Y, P"
     1999msgstr "N j, Y, P"
     2000
     2001msgid "P"
     2002msgstr "P"
     2003
     2004msgid "F Y"
     2005msgstr "F Y"
     2006
     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."
    42364236
     4237
     4238msgid "N j, Y"
     4239msgstr "F j, Y"
     4240
     4241msgid "N j, Y, P"
     4242msgstr "F j, Y, H:i"
     4243
     4244msgid "P"
     4245msgstr "H:i"
     4246
     4247msgid "F Y"
     4248msgstr "j de/d' F del Y"
     4249
     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"
     3035
     3036msgid "N j, Y"
     3037msgstr "j. n. Y"
     3038
     3039msgid "N j, Y, P"
     3040msgstr "j. n. Y, H:i"
     3041
     3042msgid "P"
     3043msgstr "H:i"
     3044
     3045msgid "F Y"
     3046msgstr "F Y"
     3047
     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"
     1992
     1993msgid "N j, Y"
     1994msgstr "N j, Y"
     1995
     1996msgid "N j, Y, P"
     1997msgstr "N j, Y, P"
     1998
     1999msgid "P"
     2000msgstr "P"
     2001
     2002msgid "F Y"
     2003msgstr "F Y"
     2004
     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"
    19271927
     1928
     1929msgid "N j, Y"
     1930msgstr "N j, Y"
     1931
     1932msgid "N j, Y, P"
     1933msgstr "N j, Y, P"
     1934
     1935msgid "P"
     1936msgstr "P"
     1937
     1938msgid "F Y"
     1939msgstr "F Y"
     1940
     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"
     2839
     2840msgid "N j, Y"
     2841msgstr "j. N Y"
     2842
     2843msgid "N j, Y, P"
     2844msgstr "j. N Y, H:i"
     2845
     2846msgid "P"
     2847msgstr "H:i"
     2848
     2849msgid "F Y"
     2850msgstr "F Y"
     2851
     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 "χαρακτηριστικό ενεργό τιμή Γραμμή με έναρξη"
    27682768
     2769
     2770msgid "N j, Y"
     2771msgstr "j N Y"
     2772
     2773msgid "N j, Y, P"
     2774msgstr "j N Y, P"
     2775
     2776msgid "P"
     2777msgstr "P"
     2778
     2779msgid "F Y"
     2780msgstr "F Y"
     2781
     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 ""
     3769
     3770msgid "N j, Y"
     3771msgstr "N j, Y"
     3772
     3773msgid "N j, Y, P"
     3774msgstr "N j, Y, P"
     3775
     3776msgid "P"
     3777msgstr "P"
     3778
     3779msgid "F Y"
     3780msgstr "F Y"
     3781
     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."
    37693769
     3770
     3771msgid "N j, Y"
     3772msgstr "j N Y"
     3773
     3774msgid "N j, Y, P"
     3775msgstr "j N Y P"
     3776
     3777msgid "P"
     3778msgstr "P"
     3779
     3780msgid "F Y"
     3781msgstr "F Y"
     3782
     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'
     
    44464446
    44474447#~ msgid "packages"
    44484448#~ msgstr "paquetes"
     4449
     4450msgid "N j, Y"
     4451msgstr "j N Y"
     4452
     4453msgid "N j, Y, P"
     4454msgstr "j N Y P"
     4455
     4456msgid "P"
     4457msgstr "P"
     4458
     4459msgid "F Y"
     4460msgstr "F Y"
     4461
     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."
    42484248
     4249
     4250msgid "N j, Y"
     4251msgstr "N j, Y"
     4252
     4253msgid "N j, Y, P"
     4254msgstr "N j, Y, P"
     4255
     4256msgid "P"
     4257msgstr "P"
     4258
     4259msgid "F Y"
     4260msgstr "F Y"
     4261
     4262msgid "F j"
     4263msgstr "F j"
  • django/conf/locale/fa/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/fa/LC_MESSAGES/django.po'
     
    42344234
    42354235#~ msgid "%d milliseconds"
    42364236#~ msgstr "%d میلی‌ثانیه"
     4237
     4238msgid "N j, Y"
     4239msgstr "N j, Y"
     4240
     4241msgid "N j, Y, P"
     4242msgstr "N j, Y, P"
     4243
     4244msgid "P"
     4245msgstr "P"
     4246
     4247msgid "F Y"
     4248msgstr "F Y"
     4249
     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."
     3580
     3581msgid "N j, Y"
     3582msgstr "j.n.Y"
     3583
     3584msgid "N j, Y, P"
     3585msgstr "j.n.Y G:i"
     3586
     3587msgid "P"
     3588msgstr "G:i"
     3589
     3590msgid "F Y"
     3591msgstr "N Y"
     3592
     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'
     
    30833083
    30843084#~ msgid "Messages"
    30853085#~ msgstr "Messages"
     3086
     3087msgid "N j, Y"
     3088msgstr "j F Y"
     3089
     3090msgid "N j, Y, P"
     3091msgstr "j F Y, G:i"
     3092
     3093msgid "P"
     3094msgstr "G:i:s"
     3095
     3096msgid "F Y"
     3097msgstr "F Y"
     3098
     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 ""
    42044204
     4205
     4206msgid "N j, Y"
     4207msgstr "N j, Y"
     4208
     4209msgid "N j, Y, P"
     4210msgstr "N j, Y, P"
     4211
     4212msgid "P"
     4213msgstr "P"
     4214
     4215msgid "F Y"
     4216msgstr "F Y"
     4217
     4218msgid "F j"
     4219msgstr "F j"
  • django/conf/locale/gl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/gl/LC_MESSAGES/django.po'
     
    30263026
    30273027#~ msgid "packages"
    30283028#~ msgstr "paquetes"
     3029
     3030msgid "N j, Y"
     3031msgstr "d-m-Y"
     3032
     3033msgid "N j, Y, P"
     3034msgstr "d-m-Y H:i"
     3035
     3036msgid "P"
     3037msgstr "H:i"
     3038
     3039msgid "F Y"
     3040msgstr "m Y"
     3041
     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 נמחק."
    38743874
     3875
     3876msgid "N j, Y"
     3877msgstr "d.m.Y"
     3878
     3879msgid "N j, Y, P"
     3880msgstr "d.m.y H:i:s"
     3881
     3882msgid "P"
     3883msgstr "H:i:s"
     3884
     3885msgid "F Y"
     3886msgstr "d.m.Y"
     3887
     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"
     4347
     4348msgid "N j, Y"
     4349msgstr "N j, Y"
     4350
     4351msgid "N j, Y, P"
     4352msgstr "N j, Y, P"
     4353
     4354msgid "P"
     4355msgstr "P"
     4356
     4357msgid "F Y"
     4358msgstr "F Y"
     4359
     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"
    34973497
     3498
     3499msgid "N j, Y"
     3500msgstr "Y. F j."
     3501
     3502msgid "N j, Y, P"
     3503msgstr "Y. F j., H:i"
     3504
     3505msgid "P"
     3506msgstr "H:i"
     3507
     3508msgid "F Y"
     3509msgstr "Y. F j."
     3510
     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"
    42664266
     4267
     4268msgid "N j, Y"
     4269msgstr "j. N Y"
     4270
     4271msgid "N j, Y, P"
     4272msgstr "j. N Y, H:i"
     4273
     4274msgid "P"
     4275msgstr "H:i"
     4276
     4277msgid "F Y"
     4278msgstr "j. N Y"
     4279
     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."
    43574357
     4358
     4359msgid "N j, Y"
     4360msgstr "j F Y"
     4361
     4362msgid "N j, Y, P"
     4363msgstr "j F Y, H:i"
     4364
     4365msgid "P"
     4366msgstr "H:i"
     4367
     4368msgid "F Y"
     4369msgstr "Y F"
     4370
     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 を削除しました。"
     4324
     4325msgid "N j, Y"
     4326msgstr "Y/m/d"
     4327
     4328msgid "N j, Y, P"
     4329msgstr "Y/m/d H:i"
     4330
     4331msgid "P"
     4332msgstr "H:i"
     4333
     4334msgid "F Y"
     4335msgstr "Y/m/d"
     4336
     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 წაიშალა."
     4514
     4515msgid "N j, Y"
     4516msgstr "d.m.Y"
     4517
     4518msgid "N j, Y, P"
     4519msgstr "d.m.Y H:i"
     4520
     4521msgid "P"
     4522msgstr "H:i"
     4523
     4524msgid "F Y"
     4525msgstr "d.m.Y"
     4526
     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 "បញ្ជប់នៅ"
    25082508
     2509
     2510msgid "N j, Y"
     2511msgstr "ថ្ងៃទី j ​ខែ N ឆ្នាំ Y"
     2512
     2513msgid "N j, Y, P"
     2514msgstr "ថ្ងៃទី j ​ខែ N ឆ្នាំ Y ម៉ោង P"
     2515
     2516msgid "P"
     2517msgstr "ម៉ោង P"
     2518
     2519msgid "F Y"
     2520msgstr "ខែ F ឆ្នាំ Y"
     2521
     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 "ಹೌದು,ಇಲ್ಲ,ಇರಬಹುದು"
    25362536
     2537
     2538msgid "N j, Y"
     2539msgstr "N j, Y"
     2540
     2541msgid "N j, Y, P"
     2542msgstr "N j, Y, P"
     2543
     2544msgid "P"
     2545msgstr "P"
     2546
     2547msgid "F Y"
     2548msgstr "F Y"
     2549
     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 사이의 정수를 입력하세요."
     2798
     2799msgid "N j, Y"
     2800msgstr "N j, Y"
     2801
     2802msgid "N j, Y, P"
     2803msgstr "N j, Y, P"
     2804
     2805msgid "P"
     2806msgstr "P"
     2807
     2808msgid "F Y"
     2809msgstr "F Y"
     2810
     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"
    28652865
     2866
     2867msgid "N j, Y"
     2868msgstr "N j, Y"
     2869
     2870msgid "N j, Y, P"
     2871msgstr "N j, Y, P"
     2872
     2873msgid "P"
     2874msgstr "P"
     2875
     2876msgid "F Y"
     2877msgstr "F Y"
     2878
     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 не е еден од достапните вредности."
    27552755
     2756
     2757msgid "N j, Y"
     2758msgstr "j M Y"
     2759
     2760msgid "N j, Y, P"
     2761msgstr "j M Y, P"
     2762
     2763msgid "P"
     2764msgstr "P"
     2765
     2766msgid "F Y"
     2767msgstr "F Y"
     2768
     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]'"
    42424242
     4243
     4244msgid "N j, Y"
     4245msgstr "j-n-Y"
     4246
     4247msgid "N j, Y, P"
     4248msgstr "j-n-Y H:i"
     4249
     4250msgid "P"
     4251msgstr "H:i"
     4252
     4253msgid "F Y"
     4254msgstr "F Y"
     4255
     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."
    25872587
     2588
     2589msgid "N j, Y"
     2590msgstr "j. M Y"
     2591
     2592msgid "N j, Y, P"
     2593msgstr "h:i, j. M Y"
     2594
     2595msgid "P"
     2596msgstr "h:i"
     2597
     2598msgid "F Y"
     2599msgstr "Y M"
     2600
     2601msgid "F j"
     2602msgstr "j. M"
  • django/conf/locale/pl/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/pl/LC_MESSAGES/django.po'
     
    44054405
    44064406#~ msgid "%d milliseconds"
    44074407#~ msgstr "%d milisekund"
     4408
     4409msgid "N j, Y"
     4410msgstr "Y-m-d"
     4411
     4412msgid "N j, Y, P"
     4413msgstr "Y-m-d H:i:s"
     4414
     4415msgid "P"
     4416msgstr "H:i:s"
     4417
     4418msgid "F Y"
     4419msgstr "Y-m"
     4420
     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"
     2129
     2130msgid "N j, Y"
     2131msgstr "N j, Y"
     2132
     2133msgid "N j, Y, P"
     2134msgstr "N j, Y, P"
     2135
     2136msgid "P"
     2137msgstr "P"
     2138
     2139msgid "F Y"
     2140msgstr "F Y"
     2141
     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"
     2699
     2700msgid "N j, Y"
     2701msgstr "N j, Y"
     2702
     2703msgid "N j, Y, P"
     2704msgstr "N j, Y, P"
     2705
     2706msgid "P"
     2707msgstr "P"
     2708
     2709msgid "F Y"
     2710msgstr "F Y"
     2711
     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"
     1994
     1995msgid "N j, Y"
     1996msgstr "N j, Y"
     1997
     1998msgid "N j, Y, P"
     1999msgstr "N j, Y, P"
     2000
     2001msgid "P"
     2002msgstr "P"
     2003
     2004msgid "F Y"
     2005msgstr "F Y"
     2006
     2007msgid "F j"
     2008msgstr "F j"
  • django/conf/locale/ru/LC_MESSAGES/django.po

    === modified file 'django/conf/locale/ru/LC_MESSAGES/django.po'
     
    30233023
    30243024#~ msgid "Use '[algo]$[salt]$[hexdigest]'"
    30253025#~ msgstr "Используйте '[algo]$[salt]$[hexdigest]'"
     3026
     3027msgid "N j, Y"
     3028msgstr "d.m.Y"
     3029
     3030msgid "N j, Y, P"
     3031msgstr "d.m.Y H:i"
     3032
     3033msgid "P"
     3034msgstr "H:i"
     3035
     3036msgid "F Y"
     3037msgstr "d.m.Y"
     3038
     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'
     
    33833383
    33843384#~ msgid "AnonymousUser"
    33853385#~ msgstr "Neregistrovaný užívateľ"
     3386
     3387msgid "N j, Y"
     3388msgstr "N j, Y"
     3389
     3390msgid "N j, Y, P"
     3391msgstr "N j, Y, P"
     3392
     3393msgid "P"
     3394msgstr "P"
     3395
     3396msgid "F Y"
     3397msgstr "F Y"
     3398
     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"
    29672967
     2968
     2969msgid "N j, Y"
     2970msgstr "N j, Y"
     2971
     2972msgid "N j, Y, P"
     2973msgstr "N j, Y, P"
     2974
     2975msgid "P"
     2976msgstr "P"
     2977
     2978msgid "F Y"
     2979msgstr "F Y"
     2980
     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"
    19161916
     1917
     1918msgid "N j, Y"
     1919msgstr "D, d.m.Y."
     1920
     1921msgid "N j, Y, P"
     1922msgstr "d.m.Y. H:i:s"
     1923
     1924msgid "P"
     1925msgstr "H:i:s"
     1926
     1927msgid "F Y"
     1928msgstr "F Y"
     1929
     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."
     4435
     4436msgid "N j, Y"
     4437msgstr "Y-m-d"
     4438
     4439msgid "N j, Y, P"
     4440msgstr "Y-m-d H:i"
     4441
     4442msgid "P"
     4443msgstr "H:i"
     4444
     4445msgid "F Y"
     4446msgstr "F Y"
     4447
     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 "ஆம், இல்லை, இருக்கலாம்"
    21362136
     2137
     2138msgid "N j, Y"
     2139msgstr "தேதி_முறை"
     2140
     2141msgid "N j, Y, P"
     2142msgstr "தேதிநேரம்_முறை"
     2143
     2144msgid "P"
     2145msgstr "நேரம்_முறை"
     2146
     2147msgid "F Y"
     2148msgstr "வருடம்_மாதம்_முறை"
     2149
     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 "అవును, కాదు , ఏమొ"
    21092109
     2110
     2111msgid "N j, Y"
     2112msgstr "N j, Y"
     2113
     2114msgid "N j, Y, P"
     2115msgstr "N j, Y, P"
     2116
     2117msgid "P"
     2118msgstr "P"
     2119
     2120msgid "F Y"
     2121msgstr "F Y"
     2122
     2123msgid "F j"
     2124msgstr "F j"
  • django/conf/locale/tr/LC_MESSAGES/django.po

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

    === modified file 'django/conf/locale/uk/LC_MESSAGES/django.po'
     
    19681968
    19691969#~ msgid "packages"
    19701970#~ msgstr "пакунки"
     1971
     1972msgid "N j, Y"
     1973msgstr "N j, Y"
     1974
     1975msgid "N j, Y, P"
     1976msgstr "N j, Y, P"
     1977
     1978msgid "P"
     1979msgstr "P"
     1980
     1981msgid "F Y"
     1982msgstr "F Y"
     1983
     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\"。)"
    26372637
     2638
     2639msgid "N j, Y"
     2640msgstr "N j, Y"
     2641
     2642msgid "N j, Y, P"
     2643msgstr "N j, Y, P"
     2644
     2645msgid "P"
     2646msgstr "P"
     2647
     2648msgid "F Y"
     2649msgstr "F Y"
     2650
     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\")。"
     2691
     2692msgid "N j, Y"
     2693msgstr "N j, Y"
     2694
     2695msgid "N j, Y, P"
     2696msgstr "N j, Y, P"
     2697
     2698msgid "P"
     2699msgstr "P"
     2700
     2701msgid "F Y"
     2702msgstr "F Y"
     2703
     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()
    225223
    226224        link = lambda d: mark_safe(cl.get_query_string(d, [field_generic]))
    227225
     
    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.
    44"""
    55
     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
    626626
     
    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
    636636
Back to Top