Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

per-object-permissions: Merged to trunk [5486] NOTE: Not fully tested…

…, will be working on this over the next few weeks.

git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@5488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ae22b6d403dcf25098c77f0dfcf59ae58b186461 1 parent 0cf7bc4
Christopher Long authored

Showing 472 changed files with 43,221 additions and 14,642 deletions. Show diff stats Hide diff stats

  1. +84 12 AUTHORS
  2. +11 4 MANIFEST.in
  3. +8 1 django/__init__.py
  4. +17 4 django/bin/compile-messages.py
  5. +7 5 django/bin/daily_cleanup.py
  6. +2 2 django/bin/make-messages.py
  7. +1 1  django/bin/profiling/gather_profile_stats.py
  8. +5 2 django/conf/__init__.py
  9. +33 2 django/conf/global_settings.py
  10. BIN  django/conf/locale/bg/LC_MESSAGES/django.mo
  11. +2,670 0 django/conf/locale/bg/LC_MESSAGES/django.po
  12. BIN  django/conf/locale/bg/LC_MESSAGES/djangojs.mo
  13. +106 0 django/conf/locale/bg/LC_MESSAGES/djangojs.po
  14. BIN  django/conf/locale/ca/LC_MESSAGES/django.mo
  15. +3,034 0 django/conf/locale/ca/LC_MESSAGES/django.po
  16. BIN  django/conf/locale/ca/LC_MESSAGES/djangojs.mo
  17. +120 0 django/conf/locale/ca/LC_MESSAGES/djangojs.po
  18. BIN  django/conf/locale/de/LC_MESSAGES/django.mo
  19. +2,105 1,562 django/conf/locale/de/LC_MESSAGES/django.po
  20. BIN  django/conf/locale/de/LC_MESSAGES/djangojs.mo
  21. +15 5 django/conf/locale/de/LC_MESSAGES/djangojs.po
  22. BIN  django/conf/locale/el/LC_MESSAGES/django.mo
  23. +3 3 django/conf/locale/el/LC_MESSAGES/django.po
  24. BIN  django/conf/locale/en/LC_MESSAGES/django.mo
  25. +1,724 1,176 django/conf/locale/en/LC_MESSAGES/django.po
  26. BIN  django/conf/locale/es/LC_MESSAGES/django.mo
  27. +1,884 1,568 django/conf/locale/es/LC_MESSAGES/django.po
  28. BIN  django/conf/locale/es_AR/LC_MESSAGES/django.mo
  29. +2,021 1,264 django/conf/locale/es_AR/LC_MESSAGES/django.po
  30. BIN  django/conf/locale/es_AR/LC_MESSAGES/djangojs.mo
  31. +4 5 django/conf/locale/es_AR/LC_MESSAGES/djangojs.po
  32. BIN  django/conf/locale/fi/LC_MESSAGES/django.mo
  33. +36 31 django/conf/locale/fi/LC_MESSAGES/django.po
  34. BIN  django/conf/locale/fr/LC_MESSAGES/django.mo
  35. +1,884 1,051 django/conf/locale/fr/LC_MESSAGES/django.po
  36. BIN  django/conf/locale/he/LC_MESSAGES/django.mo
  37. +1,861 971 django/conf/locale/he/LC_MESSAGES/django.po
  38. BIN  django/conf/locale/he/LC_MESSAGES/djangojs.mo
  39. +37 28 django/conf/locale/he/LC_MESSAGES/djangojs.po
  40. BIN  django/conf/locale/it/LC_MESSAGES/django.mo
  41. +2,185 1,339 django/conf/locale/it/LC_MESSAGES/django.po
  42. BIN  django/conf/locale/it/LC_MESSAGES/djangojs.mo
  43. +54 42 django/conf/locale/it/LC_MESSAGES/djangojs.po
  44. BIN  django/conf/locale/ja/LC_MESSAGES/django.mo
  45. +590 178 django/conf/locale/ja/LC_MESSAGES/django.po
  46. BIN  django/conf/locale/ja/LC_MESSAGES/djangojs.mo
  47. +6 8 django/conf/locale/ja/LC_MESSAGES/djangojs.po
  48. BIN  django/conf/locale/kn/LC_MESSAGES/django.mo
  49. +2,533 0 django/conf/locale/kn/LC_MESSAGES/django.po
  50. BIN  django/conf/locale/kn/LC_MESSAGES/djangojs.mo
  51. +116 0 django/conf/locale/kn/LC_MESSAGES/djangojs.po
  52. BIN  django/conf/locale/ko/LC_MESSAGES/django.mo
  53. +2,797 0 django/conf/locale/ko/LC_MESSAGES/django.po
  54. BIN  django/conf/locale/ko/LC_MESSAGES/djangojs.mo
  55. +118 0 django/conf/locale/ko/LC_MESSAGES/djangojs.po
  56. BIN  django/conf/locale/lv/LC_MESSAGES/django.mo
  57. +2,865 0 django/conf/locale/lv/LC_MESSAGES/django.po
  58. BIN  django/conf/locale/lv/LC_MESSAGES/djangojs.mo
  59. +119 0 django/conf/locale/lv/LC_MESSAGES/djangojs.po
  60. BIN  django/conf/locale/mk/LC_MESSAGES/django.mo
  61. +2,755 0 django/conf/locale/mk/LC_MESSAGES/django.po
  62. BIN  django/conf/locale/mk/LC_MESSAGES/djangojs.mo
  63. +119 0 django/conf/locale/mk/LC_MESSAGES/djangojs.po
  64. BIN  django/conf/locale/nl/LC_MESSAGES/django.mo
  65. +540 243 django/conf/locale/nl/LC_MESSAGES/django.po
  66. BIN  django/conf/locale/no/LC_MESSAGES/django.mo
  67. +103 128 django/conf/locale/no/LC_MESSAGES/django.po
  68. BIN  django/conf/locale/no/LC_MESSAGES/djangojs.mo
  69. +8 7 django/conf/locale/no/LC_MESSAGES/djangojs.po
  70. BIN  django/conf/locale/pl/LC_MESSAGES/django.mo
  71. +1,918 928 django/conf/locale/pl/LC_MESSAGES/django.po
  72. BIN  django/conf/locale/pl/LC_MESSAGES/djangojs.mo
  73. +112 0 django/conf/locale/pl/LC_MESSAGES/djangojs.po
  74. BIN  django/conf/locale/pt/LC_MESSAGES/django.mo
  75. +2,125 0 django/conf/locale/pt/LC_MESSAGES/django.po
  76. BIN  django/conf/locale/pt/LC_MESSAGES/djangojs.mo
  77. +108 0 django/conf/locale/pt/LC_MESSAGES/djangojs.po
  78. BIN  django/conf/locale/pt_BR/LC_MESSAGES/django.mo
  79. +2,199 1,552 django/conf/locale/pt_BR/LC_MESSAGES/django.po
  80. BIN  django/conf/locale/ru/LC_MESSAGES/django.mo
  81. +2,005 886 django/conf/locale/ru/LC_MESSAGES/django.po
  82. BIN  django/conf/locale/sk/LC_MESSAGES/django.mo
  83. +1,609 1,042 django/conf/locale/sk/LC_MESSAGES/django.po
  84. BIN  django/conf/locale/sk/LC_MESSAGES/djangojs.mo
  85. +41 36 django/conf/locale/sk/LC_MESSAGES/djangojs.po
  86. BIN  django/conf/locale/sl/LC_MESSAGES/django.mo
  87. +134 131 django/conf/locale/sl/LC_MESSAGES/django.po
  88. BIN  django/conf/locale/sl/LC_MESSAGES/djangojs.mo
  89. +107 0 django/conf/locale/sl/LC_MESSAGES/djangojs.po
  90. BIN  django/conf/locale/sr/LC_MESSAGES/django.mo
  91. +277 418 django/conf/locale/sr/LC_MESSAGES/django.po
  92. BIN  django/conf/locale/sr/LC_MESSAGES/djangojs.mo
  93. +6 7 django/conf/locale/sr/LC_MESSAGES/djangojs.po
  94. BIN  django/conf/locale/sv/LC_MESSAGES/django.mo
Sorry, we could not display the entire diff because too many files (472) changed.
96 AUTHORS
... ... @@ -1,7 +1,6 @@
1 1 Django was originally created in late 2003 at World Online, the Web division
2 2 of the Lawrence Journal-World newspaper in Lawrence, Kansas.
3 3
4   -
5 4 The PRIMARY AUTHORS are (and/or have been):
6 5
7 6 Adrian Holovaty <http://www.holovaty.com/>, who originally created Django with
@@ -42,132 +41,205 @@ And here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS --
42 41 people who have submitted patches, reported bugs, added translations, helped
43 42 answer newbie questions, and generally made Django that much better:
44 43
45   - adurdin@gmail.com
46   - akaihola
  44 + alang@bright-green.com
  45 + Marty Alchin <gulopine@gamemusic.org>
  46 + Daniel Alves Barbosa de Oliveira Vaz <danielvaz@gmail.com>
47 47 Andreas
  48 + andy@jadedplanet.net
  49 + Fabrice Aneche <akh@nobugware.com>
48 50 ant9000@netwise.it
49 51 David Ascher <http://ascher.ca/>
  52 + david@kazserve.org
50 53 Arthur <avandorp@gmail.com>
  54 + axiak@mit.edu
51 55 Jiri Barton
52 56 Ned Batchelder <http://www.nedbatchelder.com/>
53 57 Shannon -jj Behrens <http://jjinux.blogspot.com/>
54 58 Esdras Beleza <linux@esdrasbeleza.com>
55 59 James Bennett
  60 + Ben <afternoon@uk2.net>
56 61 Paul Bissex <http://e-scribe.com/>
57 62 Simon Blanchard
58 63 Andrew Brehaut <http://brehaut.net/blog>
59   - andy@jadedplanet.net
  64 + brut.alll@gmail.com
  65 + Jonathan Buchanan <jonathan.buchanan@gmail.com>
60 66 Antonio Cavedoni <http://cavedoni.com/>
61 67 C8E
62 68 Chris Chamberlin <dja@cdc.msbx.net>
63 69 Amit Chakradeo <http://amit.chakradeo.net/>
64 70 ChaosKCW
  71 + ivan.chelubeev@gmail.com
  72 + Bryan Chow <bryan at verdjn dot com>
  73 + Michal Chruszcz <troll@pld-linux.org>
65 74 Ian Clelland <clelland@gmail.com>
66 75 crankycoder@gmail.com
  76 + Pete Crosier <pete.crosier@gmail.com>
67 77 Matt Croydon <http://www.postneo.com/>
  78 + flavio.curella@gmail.com
  79 + Jure Cuhalev <gandalf@owca.info>
68 80 dackze+django@gmail.com
  81 + David Danier <goliath.mailinglist@gmx.de>
  82 + Dirk Datzert <dummy@habmalnefrage.de>
69 83 Jonathan Daugherty (cygnus) <http://www.cprogrammer.org/>
  84 + dave@thebarproject.com
70 85 Jason Davies (Esaj) <http://www.jasondavies.com/>
71 86 Alex Dedul
72 87 deric@monowerks.com
  88 + Max Derkachev <mderk@yandex.ru>
  89 + Jordan Dimov <s3x3y1@gmail.com>
73 90 dne@mayonnaise.net
74 91 Maximillian Dornseif <md@hudora.de>
75   - dummy@habmalnefrage.de
76 92 Jeremy Dunck <http://dunck.us/>
  93 + Andrew Durdin <adurdin@gmail.com>
77 94 Andy Dustman <farcepest@gmail.com>
78 95 Clint Ecker
  96 + enlight
79 97 Enrico <rico.bl@gmail.com>
  98 + Ludvig Ericson <ludvig.ericson@gmail.com>
  99 + Dirk Eschler <dirk.eschler@gmx.net>
  100 + Marc Fargas <telenieko@telenieko.com>
80 101 favo@exoweb.net
  102 + Bill Fenner <fenner@gmail.com>
  103 + Matthew Flanagan <http://wadofstuff.blogspot.com>
  104 + Eric Floehr <eric@intellovations.com>
  105 + Jorge Gajon <gajon@gajon.org>
81 106 gandalf@owca.info
82 107 Baishampayan Ghose
83 108 martin.glueck@gmail.com
  109 + GomoX <gomo@datafull.com>
84 110 Simon Greenhill <dev@simon.net.nz>
  111 + Owen Griffiths
85 112 Espen Grindhaug <http://grindhaug.org/>
  113 + Brian Harring <ferringb@gmail.com>
86 114 Brant Harris
87 115 Hawkeye
88   - heckj@mac.com
  116 + Joe Heck <http://www.rhonabwy.com/wp/>
89 117 Joel Heenan <joelh-django@planetjoel.com>
90 118 hipertracker@gmail.com
91 119 Ian Holsman <http://feh.holsman.net/>
92 120 Kieran Holland <http://www.kieranholland.com>
  121 + Sung-Jin Hong <serialx.net@gmail.com>
93 122 Robert Rock Howard <http://djangomojo.com/>
94 123 Jason Huggins <http://www.jrandolph.com/blog/>
95   - Baurzhan Ismagulov <ibr@radix50.net>
  124 + Hyun Mi Ae
  125 + Tom Insam
  126 + Baurzhan Ismagulov <ibr@radix50.net>
96 127 jcrasta@gmail.com
  128 + Zak Johnson <zakj@nox.cx>
97 129 Michael Josephson <http://www.sdjournal.com/>
98 130 jpellerin@gmail.com
99 131 junzhang.jn@gmail.com
  132 + Antti Kaihola <http://akaihola.blogspot.com/>
  133 + Ben Dean Kawamura <ben.dean.kawamura@gmail.com>
  134 + ian.g.kelly@gmail.com
100 135 Garth Kidd <http://www.deadlybloodyserious.com/>
101 136 kilian <kilian.cavalotti@lip6.fr>
102 137 Sune Kirkeby <http://ibofobi.dk/>
  138 + Bastian Kleineidam <calvin@debian.org>
103 139 Cameron Knight (ckknight)
  140 + Gasper Koren
  141 + Martin Kosír <martin@martinkosir.net>
104 142 Meir Kriheli <http://mksoft.co.il/>
105 143 Bruce Kroeze <http://coderseye.com/>
106 144 Joseph Kocherhans
107 145 konrad@gwu.edu
108 146 lakin.wecker@gmail.com
  147 + Nick Lane <nick.lane.au@gmail.com>
109 148 Stuart Langridge <http://www.kryogenix.org/>
  149 + Nicola Larosa <nico@teknico.net>
110 150 Eugene Lazutkin <http://lazutkin.com/blog/>
111 151 Jeong-Min Lee <falsetru@gmail.com>
  152 + Jannis Leidel <jl@websushi.org>
112 153 Christopher Lenz <http://www.cmlenz.net/>
113 154 lerouxb@gmail.com
  155 + Waylan Limberg <waylan@gmail.com>
114 156 limodou
115   - mattmcc
  157 + Matt McClanahan <http://mmcc.cx/>
116 158 Martin Maney <http://www.chipy.org/Martin_Maney>
117 159 masonsimon+django@gmail.com
118 160 Manuzhai
119   - Petar Marić
  161 + Petar Marić <http://www.petarmaric.com/>
  162 + Nuno Mariz <nmariz@gmail.com>
  163 + marijn@metronomo.cl
120 164 mark@junklight.com
121 165 Yasushi Masuda <whosaysni@gmail.com>
122 166 mattycakes@gmail.com
123 167 Jason McBrayer <http://www.carcosa.net/jason/>
124 168 mccutchen@gmail.com
125 169 michael.mcewan@gmail.com
  170 + mikko@sorl.net
126 171 mitakummaa@gmail.com
127 172 mmarshall
128 173 Eric Moritz <http://eric.themoritzfamily.com/>
  174 + mrmachine <real.human@mrmachine.net>
129 175 Robin Munn <http://www.geekforgod.com/>
  176 + Robert Myers <myer0052@gmail.com>
130 177 Nebojša Dorđević
  178 + Gopal Narayanan <gopastro@gmail.com>
131 179 Fraser Nevett <mail@nevett.org>
132 180 Sam Newman <http://www.magpiebrain.com/>
133 181 Neal Norwitz <nnorwitz@google.com>
134 182 oggie rob <oz.robharvey@gmail.com>
135 183 Jay Parlar <parlar@gmail.com>
  184 + pavithran s <pavithran.s@gmail.com>
  185 + Barry Pederson <bp@barryp.org>
136 186 pgross@thoughtworks.com
137 187 phaedo <http://phaedo.cx/>
138 188 phil@produxion.net
  189 + phil.h.smith@gmail.com
139 190 Gustavo Picon
140 191 Luke Plant <http://lukeplant.me.uk/>
141 192 plisk
142 193 Daniel Poelzleithner <http://poelzi.org/>
  194 + polpak@yahoo.com
143 195 J. Rademaker
144 196 Michael Radziej <mir@noris.de>
145   - ramiro
  197 + Ramiro Morales <rm0@gmx.net>
  198 + Massimiliano Ravelli <massimiliano.ravelli@gmail.com>
146 199 Brian Ray <http://brianray.chipy.org/>
  200 + remco@diji.biz
147 201 rhettg@gmail.com
  202 + Henrique Romano <onaiort@gmail.com>
  203 + Armin Ronacher
148 204 Oliver Rutherfurd <http://rutherfurd.net/>
149 205 Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
  206 + Vinay Sajip <vinay_sajip@yahoo.co.uk>
150 207 David Schein
  208 + scott@staplefish.com
151 209 serbaut@gmail.com
152 210 Pete Shinners <pete@shinners.org>
153 211 SmileyChris <smileychris@gmail.com>
  212 + smurf@smurf.noris.de
154 213 sopel
155   - Thomas Steinacher <tom@eggdrop.ch>
  214 + Wiliam Alves de Souza <wiliamsouza83@gmail.com>
  215 + Georgi Stanojevski <glisha@gmail.com>
  216 + Vasiliy Stavenko <stavenko@gmail.com>
  217 + Thomas Steinacher <http://www.eggdrop.ch/>
156 218 nowell strite
157 219 Radek Švarz <http://www.svarz.cz/translate/>
158 220 Swaroop C H <http://www.swaroopch.info>
159 221 Aaron Swartz <http://www.aaronsw.com/>
  222 + Ville Säävuori <http://www.unessa.net/>
160 223 Tyson Tate <tyson@fallingbullets.com>
  224 + Frank Tegtmeyer <fte@fte.to>
  225 + thebjorn <bp@datakortet.no>
  226 + Zach Thompson <zthompson47@gmail.com>
161 227 Tom Tobin
162   - Tom Insam
163 228 Joe Topjian <http://joe.terrarum.net/geek/code/python/django/>
  229 + torne-django@wolfpuppy.org.uk
164 230 Karen Tracey <graybark@bellsouth.net>
165 231 Makoto Tsuyuki <mtsuyuki@gmail.com>
  232 + tt@gurgle.no
166 233 Amit Upadhyay
167 234 Geert Vanderkelen
  235 + viestards.lists@gmail.com
168 236 Milton Waddams
169 237 wam-djangobug@wamber.net
  238 + wangchun <yaohua2000@gmail.com>
170 239 Dan Watson <http://theidioteque.net/>
  240 + Chris Wesseling <Chris.Wesseling@cwi.nl>
  241 + James Wheare <django@sparemint.com>
  242 + charly.wilhelm@gmail.com
171 243 Rachel Willmer <http://www.willmer.com/kb/>
172 244 Gary Wilson <gary.wilson@gmail.com>
173 245 wojtek
15 MANIFEST.in
... ... @@ -1,8 +1,15 @@
  1 +include README
1 2 include AUTHORS
2 3 include INSTALL
3 4 include LICENSE
  5 +include MANIFEST.in
  6 +recursive-include docs *
  7 +recursive-include scripts *
  8 +recursive-include examples *
  9 +recursive-include extras *
4 10 recursive-include django/conf/locale *
5   -recursive-include django/contrib/admin/templates
6   -recursive-include django/contrib/admin/media
7   -recursive-include django/contrib/comments/templates
8   -recursive-include django/contrib/sitemaps/templates
  11 +recursive-include django/contrib/admin/templates *
  12 +recursive-include django/contrib/admin/media *
  13 +recursive-include django/contrib/comments/templates *
  14 +recursive-include django/contrib/databrowse/templates *
  15 +recursive-include django/contrib/sitemaps/templates *
9 django/__init__.py
... ... @@ -1 +1,8 @@
1   -VERSION = (0, 96, 'pre')
  1 +VERSION = (0, 97, 'pre')
  2 +
  3 +def get_version():
  4 + "Returns the version as a human-format string."
  5 + v = '.'.join([str(i) for i in VERSION[:-1]])
  6 + if VERSION[-1]:
  7 + v += '-' + VERSION[-1]
  8 + return v
21 django/bin/compile-messages.py
... ... @@ -1,9 +1,10 @@
1 1 #!/usr/bin/env python
2 2
  3 +import optparse
3 4 import os
4 5 import sys
5 6
6   -def compile_messages():
  7 +def compile_messages(locale=None):
7 8 basedir = None
8 9
9 10 if os.path.isdir(os.path.join('conf', 'locale')):
@@ -14,6 +15,9 @@ def compile_messages():
14 15 print "This script should be run from the Django SVN tree or your project or app tree."
15 16 sys.exit(1)
16 17
  18 + if locale is not None:
  19 + basedir = os.path.join(basedir, locale, 'LC_MESSAGES')
  20 +
17 21 for dirpath, dirnames, filenames in os.walk(basedir):
18 22 for f in filenames:
19 23 if f.endswith('.po'):
@@ -27,10 +31,19 @@ def compile_messages():
27 31 os.environ['djangocompilemo'] = pf + '.mo'
28 32 os.environ['djangocompilepo'] = pf + '.po'
29 33 if sys.platform == 'win32': # Different shell-variable syntax
30   - cmd = 'msgfmt -o "%djangocompilemo%" "%djangocompilepo%"'
  34 + cmd = 'msgfmt --check-format -o "%djangocompilemo%" "%djangocompilepo%"'
31 35 else:
32   - cmd = 'msgfmt -o "$djangocompilemo" "$djangocompilepo"'
  36 + cmd = 'msgfmt --check-format -o "$djangocompilemo" "$djangocompilepo"'
33 37 os.system(cmd)
34 38
  39 +def main():
  40 + parser = optparse.OptionParser()
  41 + parser.add_option('-l', '--locale', dest='locale',
  42 + help="The locale to process. Default is to process all.")
  43 + options, args = parser.parse_args()
  44 + if len(args):
  45 + parser.error("This program takes no arguments")
  46 + compile_messages(options.locale)
  47 +
35 48 if __name__ == "__main__":
36   - compile_messages()
  49 + main()
12 django/bin/daily_cleanup.py
... ... @@ -1,3 +1,5 @@
  1 +#!/usr/bin/env python
  2 +
1 3 """
2 4 Daily cleanup job.
3 5
@@ -5,13 +7,13 @@
5 7 sessions at the moment).
6 8 """
7 9
8   -from django.db import backend, connection, transaction
  10 +import datetime
  11 +from django.db import transaction
  12 +from django.contrib.sessions.models import Session
9 13
10 14 def clean_up():
11   - # Clean up old database records
12   - cursor = connection.cursor()
13   - cursor.execute("DELETE FROM %s WHERE %s < NOW()" % \
14   - (backend.quote_name('django_session'), backend.quote_name('expire_date')))
  15 + """Clean up expired sessions."""
  16 + Session.objects.filter(expire_date__lt=datetime.datetime.now()).delete()
15 17 transaction.commit_unless_managed()
16 18
17 19 if __name__ == "__main__":
4 django/bin/make-messages.py
@@ -81,7 +81,7 @@ def make_messages():
81 81 src = pythonize_re.sub('\n#', src)
82 82 open(os.path.join(dirpath, '%s.py' % file), "wb").write(src)
83 83 thefile = '%s.py' % file
84   - cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy -o - "%s"' % (
  84 + cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % (
85 85 os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile))
86 86 (stdin, stdout, stderr) = os.popen3(cmd, 'b')
87 87 msgs = stdout.read()
@@ -103,7 +103,7 @@ def make_messages():
103 103 open(os.path.join(dirpath, '%s.py' % file), "wb").write(templatize(src))
104 104 thefile = '%s.py' % file
105 105 if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath))
106   - cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy -o - "%s"' % (
  106 + cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy:1,2 --from-code UTF-8 -o - "%s"' % (
107 107 os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile))
108 108 (stdin, stdout, stderr) = os.popen3(cmd, 'b')
109 109 msgs = stdout.read()
2  django/bin/profiling/gather_profile_stats.py
@@ -22,7 +22,7 @@ def gather_stats(p):
22 22 else:
23 23 continue
24 24 print "Processing %s" % f
25   - if profiles.has_key(path):
  25 + if path in profiles:
26 26 profiles[path].add(prof)
27 27 else:
28 28 profiles[path] = prof
7 django/conf/__init__.py
@@ -7,6 +7,7 @@
7 7 """
8 8
9 9 import os
  10 +import time # Needed for Windows
10 11 from django.conf import global_settings
11 12
12 13 ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
@@ -105,8 +106,10 @@ def __init__(self, settings_module):
105 106 new_installed_apps.append(app)
106 107 self.INSTALLED_APPS = new_installed_apps
107 108
108   - # move the time zone info into os.environ
109   - os.environ['TZ'] = self.TIME_ZONE
  109 + if hasattr(time, 'tzset'):
  110 + # Move the time zone info into os.environ. See ticket #2315 for why
  111 + # we don't do this unconditionally (breaks Windows).
  112 + os.environ['TZ'] = self.TIME_ZONE
110 113
111 114 def get_all_members(self):
112 115 return dir(self)
35 django/conf/global_settings.py
@@ -38,6 +38,8 @@
38 38 LANGUAGES = (
39 39 ('ar', gettext_noop('Arabic')),
40 40 ('bn', gettext_noop('Bengali')),
  41 + ('bg', gettext_noop('Bulgarian')),
  42 + ('ca', gettext_noop('Catalan')),
41 43 ('cs', gettext_noop('Czech')),
42 44 ('cy', gettext_noop('Welsh')),
43 45 ('da', gettext_noop('Danish')),
@@ -54,9 +56,14 @@
54 56 ('is', gettext_noop('Icelandic')),
55 57 ('it', gettext_noop('Italian')),
56 58 ('ja', gettext_noop('Japanese')),
  59 + ('ko', gettext_noop('Korean')),
  60 + ('kn', gettext_noop('Kannada')),
  61 + ('lv', gettext_noop('Latvian')),
  62 + ('mk', gettext_noop('Macedonian')),
57 63 ('nl', gettext_noop('Dutch')),
58 64 ('no', gettext_noop('Norwegian')),
59 65 ('pl', gettext_noop('Polish')),
  66 + ('pt', gettext_noop('Portugese')),
60 67 ('pt-br', gettext_noop('Brazilian')),
61 68 ('ro', gettext_noop('Romanian')),
62 69 ('ru', gettext_noop('Russian')),
@@ -65,6 +72,7 @@
65 72 ('sr', gettext_noop('Serbian')),
66 73 ('sv', gettext_noop('Swedish')),
67 74 ('ta', gettext_noop('Tamil')),
  75 + ('te', gettext_noop('Telugu')),
68 76 ('tr', gettext_noop('Turkish')),
69 77 ('uk', gettext_noop('Ukrainian')),
70 78 ('zh-cn', gettext_noop('Simplified Chinese')),
@@ -95,7 +103,7 @@
95 103 SEND_BROKEN_LINK_EMAILS = False
96 104
97 105 # Database connection info.
98   -DATABASE_ENGINE = '' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
  106 +DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
99 107 DATABASE_NAME = '' # Or path to database file if using sqlite3.
100 108 DATABASE_USER = '' # Not used with sqlite3.
101 109 DATABASE_PASSWORD = '' # Not used with sqlite3.
@@ -112,6 +120,7 @@
112 120 # Optional SMTP authentication information for EMAIL_HOST.
113 121 EMAIL_HOST_USER = ''
114 122 EMAIL_HOST_PASSWORD = ''
  123 +EMAIL_USE_TLS = False
115 124
116 125 # List of strings representing installed apps.
117 126 INSTALLED_APPS = ()
@@ -135,6 +144,7 @@
135 144 'django.core.context_processors.auth',
136 145 'django.core.context_processors.debug',
137 146 'django.core.context_processors.i18n',
  147 + 'django.core.context_processors.media',
138 148 # 'django.core.context_processors.request',
139 149 )
140 150
@@ -231,7 +241,8 @@
231 241
232 242 # The User-Agent string to use when checking for URL validity through the
233 243 # isExistingURL validator.
234   -URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)"
  244 +from django import get_version
  245 +URL_VALIDATOR_USER_AGENT = "Django/%s (http://www.djangoproject.com)" % get_version()
235 246
236 247 ##############
237 248 # MIDDLEWARE #
@@ -305,6 +316,12 @@
305 316
306 317 AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
307 318
  319 +LOGIN_URL = '/accounts/login/'
  320 +
  321 +LOGOUT_URL = '/accounts/logout/'
  322 +
  323 +LOGIN_REDIRECT_URL = '/accounts/profile/'
  324 +
308 325 ###########
309 326 # TESTING #
310 327 ###########
@@ -315,3 +332,17 @@
315 332 # The name of the database to use for testing purposes.
316 333 # If None, a name of 'test_' + DATABASE_NAME will be assumed
317 334 TEST_DATABASE_NAME = None
  335 +
  336 +# Strings used to set the character set and collation order for the test
  337 +# database. These values are passed literally to the server, so they are
  338 +# backend-dependent. If None, no special settings are sent (system defaults are
  339 +# used).
  340 +TEST_DATABASE_CHARSET = None
  341 +TEST_DATABASE_COLLATION = None
  342 +
  343 +############
  344 +# FIXTURES #
  345 +############
  346 +
  347 +# The list of directories to search for fixtures
  348 +FIXTURE_DIRS = ()
BIN  django/conf/locale/bg/LC_MESSAGES/django.mo
Binary file not shown
0  django/conf/locale/bg/LC_MESSAGES/django.mo
Sorry, we could not display the changes to this file because there were too many other changes to display.
2,670 django/conf/locale/bg/LC_MESSAGES/django.po
... ... @@ -0,0 +1,2670 @@
  1 +# translation of django.po to Bulgarian
  2 +#
  3 +msgid ""
  4 +msgstr ""
  5 +"Project-Id-Version: django\n"
  6 +"Report-Msgid-Bugs-To: \n"
  7 +"POT-Creation-Date: 2007-04-05 01:32+1000\n"
  8 +"PO-Revision-Date: 2007-05-12 17:45+0300\n"
  9 +"Last-Translator: Jordan Dimov <s3x3y1@gmail.com>\n"
  10 +"MIME-Version: 1.0\n"
  11 +"Content-Type: text/plain; charset=UTF-8\n"
  12 +"Content-Transfer-Encoding: 8bit\n"
  13 +
  14 +#: db/models/manipulators.py:307
  15 +#, python-format
  16 +msgid "%(object)s with this %(type)s already exists for the given %(field)s."
  17 +msgstr "%(object)s с този %(type)s вече съществува за зададеното %(field)s.s"
  18 +
  19 +#: db/models/manipulators.py:308 contrib/admin/views/main.py:335
  20 +#: contrib/admin/views/main.py:337 contrib/admin/views/main.py:339
  21 +msgid "and"
  22 +msgstr "и"
  23 +
  24 +#: db/models/fields/related.py:53
  25 +#, python-format
  26 +msgid "Please enter a valid %s."
  27 +msgstr "Въведете валиден %s."
  28 +
  29 +#: db/models/fields/related.py:642
  30 +msgid "Separate multiple IDs with commas."
  31 +msgstr "Множество ID-та се разделят с запетайки"
  32 +
  33 +#: db/models/fields/related.py:644
  34 +msgid "Hold down \"Control\", or \"Command\" on a Mac, to select more than one."
  35 +msgstr "Задръжте натиснат клавиша \"Control\" (или \"Command\" на Mac-а) за да направите повече от един избор. "
  36 +
  37 +#: db/models/fields/related.py:691
  38 +#, python-format
  39 +msgid "Please enter valid %(self)s IDs. The value %(value)r is invalid."
  40 +msgid_plural "Please enter valid %(self)s IDs. The values %(value)r are invalid."
  41 +msgstr[0] "Въведете валидни %(self)s ID-та. Стойността %(value)r не е валидна."
  42 +msgstr[1] ""
  43 +
  44 +#: db/models/fields/__init__.py:42
  45 +#, python-format
  46 +msgid "%(optname)s with this %(fieldname)s already exists."
  47 +msgstr "%(optname)s с този %(fieldname)s вече съществува."
  48 +
  49 +#: db/models/fields/__init__.py:117 db/models/fields/__init__.py:274
  50 +#: db/models/fields/__init__.py:610 db/models/fields/__init__.py:621
  51 +#: oldforms/__init__.py:357 newforms/fields.py:80 newforms/fields.py:376
  52 +#: newforms/fields.py:452 newforms/fields.py:463 newforms/models.py:178
  53 +msgid "This field is required."
  54 +msgstr "Това поле е задължително."
  55 +
  56 +#: db/models/fields/__init__.py:367
  57 +msgid "This value must be an integer."
  58 +msgstr "Тази стойност трябва да бъде цяло число"
  59 +
  60 +#: db/models/fields/__init__.py:402
  61 +msgid "This value must be either True or False."
  62 +msgstr "Тази стойност трябва да бъде True или False."
  63 +
  64 +#: db/models/fields/__init__.py:423
  65 +msgid "This field cannot be null."
  66 +msgstr "Това поле не може да има празна стойност."
  67 +
  68 +#: db/models/fields/__init__.py:457 core/validators.py:148
  69 +msgid "Enter a valid date in YYYY-MM-DD format."
  70 +msgstr "Въведете валидна дата в формат ГГГГ-ММ-ДД."
  71 +
  72 +#: db/models/fields/__init__.py:526 core/validators.py:157
  73 +msgid "Enter a valid date/time in YYYY-MM-DD HH:MM format."
  74 +msgstr "Въведете валидна дата и час в формат ГГГГ-ММ-ДД ЧЧ:ММ."
  75 +
  76 +#: db/models/fields/__init__.py:630
  77 +msgid "Enter a valid filename."
  78 +msgstr "Въведете валидно име на файл."
  79 +
  80 +#: db/models/fields/__init__.py:751
  81 +msgid "This value must be either None, True or False."
  82 +msgstr "Тази стойност трябва да бъде None, True, или False."
  83 +
  84 +#: conf/global_settings.py:39
  85 +msgid "Arabic"
  86 +msgstr "арабски"
  87 +
  88 +#: conf/global_settings.py:40
  89 +msgid "Bengali"
  90 +msgstr "бенгалски"
  91 +
  92 +#: conf/global_settings.py:41
  93 +msgid "Catalan"
  94 +msgstr "каталонски"
  95 +
  96 +#: conf/global_settings.py:42
  97 +msgid "Czech"
  98 +msgstr "чешки"
  99 +
  100 +#: conf/global_settings.py:43
  101 +msgid "Welsh"
  102 +msgstr "уелски"
  103 +
  104 +#: conf/global_settings.py:44
  105 +msgid "Danish"
  106 +msgstr "датски"
  107 +
  108 +#: conf/global_settings.py:45
  109 +msgid "German"
  110 +msgstr "немски"
  111 +
  112 +#: conf/global_settings.py:46
  113 +msgid "Greek"
  114 +msgstr "гръцки"
  115 +
  116 +#: conf/global_settings.py:47
  117 +msgid "English"
  118 +msgstr "английски"
  119 +
  120 +#: conf/global_settings.py:48
  121 +msgid "Spanish"
  122 +msgstr "испански"
  123 +
  124 +#: conf/global_settings.py:49
  125 +msgid "Argentinean Spanish"
  126 +msgstr "аржентински испански"
  127 +
  128 +#: conf/global_settings.py:50
  129 +msgid "Finnish"
  130 +msgstr "финландски"
  131 +
  132 +#: conf/global_settings.py:51
  133 +msgid "French"
  134 +msgstr "френски"
  135 +
  136 +#: conf/global_settings.py:52
  137 +msgid "Galician"
  138 +msgstr "галицейски"
  139 +
  140 +#: conf/global_settings.py:53
  141 +msgid "Hungarian"
  142 +msgstr "унгарски"
  143 +
  144 +#: conf/global_settings.py:54
  145 +msgid "Hebrew"
  146 +msgstr "еврит"
  147 +
  148 +#: conf/global_settings.py:55
  149 +msgid "Icelandic"
  150 +msgstr "исландски"
  151 +
  152 +#: conf/global_settings.py:56
  153 +msgid "Italian"
  154 +msgstr "италиански"
  155 +
  156 +#: conf/global_settings.py:57
  157 +msgid "Japanese"
  158 +msgstr "японски"
  159 +
  160 +#: conf/global_settings.py:58
  161 +msgid "Kannada"
  162 +msgstr "каннада (индийски)"
  163 +
  164 +#: conf/global_settings.py:59
  165 +msgid "Latvian"
  166 +msgstr "латвийски"
  167 +
  168 +#: conf/global_settings.py:60
  169 +msgid "Macedonian"
  170 +msgstr "македонски"
  171 +
  172 +#: conf/global_settings.py:61
  173 +msgid "Dutch"
  174 +msgstr "холандски"
  175 +
  176 +#: conf/global_settings.py:62
  177 +msgid "Norwegian"
  178 +msgstr "норвежки"
  179 +
  180 +#: conf/global_settings.py:63
  181 +msgid "Polish"
  182 +msgstr "полски"
  183 +
  184 +#: conf/global_settings.py:64
  185 +msgid "Portugese"
  186 +msgstr "португалски"
  187 +
  188 +#: conf/global_settings.py:65
  189 +msgid "Brazilian"
  190 +msgstr "бразилски"
  191 +
  192 +#: conf/global_settings.py:66
  193 +msgid "Romanian"
  194 +msgstr "ромънски"
  195 +
  196 +#: conf/global_settings.py:67
  197 +msgid "Russian"
  198 +msgstr "руски"
  199 +
  200 +#: conf/global_settings.py:68
  201 +msgid "Slovak"
  202 +msgstr "словашки"
  203 +
  204 +#: conf/global_settings.py:69
  205 +msgid "Slovenian"
  206 +msgstr "словенски"
  207 +
  208 +#: conf/global_settings.py:70
  209 +msgid "Serbian"
  210 +msgstr "сръбски"
  211 +
  212 +#: conf/global_settings.py:71
  213 +msgid "Swedish"
  214 +msgstr "шведски"
  215 +
  216 +#: conf/global_settings.py:72
  217 +msgid "Tamil"
  218 +msgstr "тамил (индийски)"
  219 +
  220 +#: conf/global_settings.py:73
  221 +msgid "Telugu"
  222 +msgstr "телугу (индийски)"
  223 +
  224 +#: conf/global_settings.py:74
  225 +msgid "Turkish"
  226 +msgstr "турски"
  227 +
  228 +#: conf/global_settings.py:75
  229 +msgid "Ukrainian"
  230 +msgstr "украински"
  231 +
  232 +#: conf/global_settings.py:76
  233 +msgid "Simplified Chinese"
  234 +msgstr "китайски"
  235 +
  236 +#: conf/global_settings.py:77
  237 +msgid "Traditional Chinese"
  238 +msgstr "традиционен китайски"
  239 +
  240 +#: utils/timesince.py:12
  241 +msgid "year"
  242 +msgid_plural "years"
  243 +msgstr[0] "година"
  244 +msgstr[1] "години"
  245 +
  246 +#: utils/timesince.py:13
  247 +msgid "month"
  248 +msgid_plural "months"
  249 +msgstr[0] "месец"
  250 +msgstr[1] "месеци"
  251 +
  252 +#: utils/timesince.py:14
  253 +msgid "week"
  254 +msgid_plural "weeks"
  255 +msgstr[0] "седмица"
  256 +msgstr[1] "седмици"
  257 +
  258 +#: utils/timesince.py:15
  259 +msgid "day"
  260 +msgid_plural "days"
  261 +msgstr[0] "ден"
  262 +msgstr[1] "дни"
  263 +
  264 +#: utils/timesince.py:16
  265 +msgid "hour"
  266 +msgid_plural "hours"
  267 +msgstr[0] "час"
  268 +msgstr[1] "часа"
  269 +
  270 +#: utils/timesince.py:17
  271 +msgid "minute"
  272 +msgid_plural "minutes"
  273 +msgstr[0] "минута"
  274 +msgstr[1] "минути"
  275 +
  276 +#: utils/dates.py:6
  277 +msgid "Monday"
  278 +msgstr "понеделник"
  279 +
  280 +#: utils/dates.py:6
  281 +msgid "Tuesday"
  282 +msgstr "вторник"
  283 +
  284 +#: utils/dates.py:6
  285 +msgid "Wednesday"
  286 +msgstr "сряда"
  287 +
  288 +#: utils/dates.py:6
  289 +msgid "Thursday"
  290 +msgstr "четвъртък"
  291 +
  292 +#: utils/dates.py:6
  293 +msgid "Friday"
  294 +msgstr "петък"
  295 +
  296 +#: utils/dates.py:7
  297 +msgid "Saturday"
  298 +msgstr "събота"
  299 +
  300 +#: utils/dates.py:7
  301 +msgid "Sunday"
  302 +msgstr "неделя"
  303 +
  304 +#: utils/dates.py:14
  305 +msgid "January"
  306 +msgstr "Януари"
  307 +
  308 +#: utils/dates.py:14
  309 +msgid "February"
  310 +msgstr "Февруари"
  311 +
  312 +#: utils/dates.py:14 utils/dates.py:27
  313 +msgid "March"
  314 +msgstr "Март"
  315 +
  316 +#: utils/dates.py:14 utils/dates.py:27
  317 +msgid "April"
  318 +msgstr "Април"
  319 +
  320 +#: utils/dates.py:14 utils/dates.py:27
  321 +msgid "May"
  322 +msgstr "Май"
  323 +
  324 +#: utils/dates.py:14 utils/dates.py:27
  325 +msgid "June"
  326 +msgstr "Юни"
  327 +
  328 +#: utils/dates.py:15 utils/dates.py:27
  329 +msgid "July"
  330 +msgstr "Юли"
  331 +
  332 +#: utils/dates.py:15
  333 +msgid "August"
  334 +msgstr "Август"
  335 +
  336 +#: utils/dates.py:15
  337 +msgid "September"
  338 +msgstr "Септември"
  339 +
  340 +#: utils/dates.py:15
  341 +msgid "October"
  342 +msgstr "Октомври"
  343 +
  344 +#: utils/dates.py:15
  345 +msgid "November"
  346 +msgstr "Ноември"
  347 +
  348 +#: utils/dates.py:16
  349 +msgid "December"
  350 +msgstr "Декември"
  351 +
  352 +#: utils/dates.py:19
  353 +msgid "jan"
  354 +msgstr "яну"
  355 +
  356 +#: utils/dates.py:19
  357 +msgid "feb"
  358 +msgstr "фев"
  359 +
  360 +#: utils/dates.py:19
  361 +msgid "mar"
  362 +msgstr "мар"
  363 +
  364 +#: utils/dates.py:19
  365 +msgid "apr"
  366 +msgstr "апр"
  367 +
  368 +#: utils/dates.py:19
  369 +msgid "may"
  370 +msgstr "май"
  371 +
  372 +#: utils/dates.py:19
  373 +msgid "jun"
  374 +msgstr "юни"
  375 +
  376 +#: utils/dates.py:20
  377 +msgid "jul"
  378 +msgstr "юли"
  379 +
  380 +#: utils/dates.py:20
  381 +msgid "aug"
  382 +msgstr "авг"
  383 +
  384 +#: utils/dates.py:20
  385 +msgid "sep"
  386 +msgstr "сеп"
  387 +
  388 +#: utils/dates.py:20
  389 +msgid "oct"
  390 +msgstr "окт"
  391 +
  392 +#: utils/dates.py:20
  393 +msgid "nov"
  394 +msgstr "ное"
  395 +
  396 +#: utils/dates.py:20
  397 +msgid "dec"
  398 +msgstr "дек"
  399 +
  400 +#: utils/dates.py:27
  401 +msgid "Jan."
  402 +msgstr "Яну."
  403 +
  404 +#: utils/dates.py:27
  405 +msgid "Feb."
  406 +msgstr "Фев."
  407 +
  408 +#: utils/dates.py:28
  409 +msgid "Aug."
  410 +msgstr "Авг."
  411 +
  412 +#: utils/dates.py:28
  413 +msgid "Sept."
  414 +msgstr "Септ."
  415 +
  416 +#: utils/dates.py:28
  417 +msgid "Oct."
  418 +msgstr "Окт."
  419 +
  420 +#: utils/dates.py:28
  421 +msgid "Nov."
  422 +msgstr "Ное."
  423 +
  424 +#: utils/dates.py:28
  425 +msgid "Dec."
  426 +msgstr "Дек."
  427 +
  428 +#: utils/dateformat.py:40
  429 +msgid "p.m."
  430 +msgstr "p.m."
  431 +
  432 +#: utils/dateformat.py:41
  433 +msgid "a.m."
  434 +msgstr "a.m."
  435 +
  436 +#: utils/dateformat.py:46
  437 +msgid "PM"
  438 +msgstr "PM"
  439 +
  440 +#: utils/dateformat.py:47
  441 +msgid "AM"
  442 +msgstr "AM"
  443 +
  444 +#: utils/dateformat.py:95
  445 +msgid "midnight"
  446 +msgstr "полунощ"
  447 +
  448 +#: utils/dateformat.py:97
  449 +msgid "noon"
  450 +msgstr "обяд"
  451 +
  452 +#: utils/translation/trans_real.py:358
  453 +msgid "DATE_FORMAT"
  454 +msgstr "j N, Y"
  455 +
  456 +#: utils/translation/trans_real.py:359
  457 +msgid "DATETIME_FORMAT"
  458 +msgstr "j N, Y, P"
  459 +
  460 +#: utils/translation/trans_real.py:360
  461 +msgid "TIME_FORMAT"
  462 +msgstr "P"
  463 +
  464 +#: utils/translation/trans_real.py:376
  465 +msgid "YEAR_MONTH_FORMAT"
  466 +msgstr "F Y"
  467 +
  468 +#: utils/translation/trans_real.py:377
  469 +msgid "MONTH_DAY_FORMAT"
  470 +msgstr "j F"
  471 +
  472 +#: oldforms/__init__.py:392
  473 +#, python-format
  474 +msgid "Ensure your text is less than %s character."
  475 +msgid_plural "Ensure your text is less than %s characters."
  476 +msgstr[0] "Въведеният текст не трябва да надвишава %s символа."
  477 +msgstr[1] ""
  478 +
  479 +#: oldforms/__init__.py:397
  480 +msgid "Line breaks are not allowed here."
  481 +msgstr "Тук не се допускат нови редове."
  482 +
  483 +#: oldforms/__init__.py:498 oldforms/__init__.py:571 oldforms/__init__.py:610
  484 +#, python-format
  485 +msgid "Select a valid choice; '%(data)s' is not in %(choices)s."
  486 +msgstr "Направете валиден избор; '%(data)s' не е сред %(choices)s."
  487 +
  488 +#: oldforms/__init__.py:577 contrib/admin/filterspecs.py:150
  489 +#: newforms/widgets.py:174
  490 +msgid "Unknown"
  491 +msgstr "Неизвестно"
  492 +
  493 +#: oldforms/__init__.py:577 contrib/admin/filterspecs.py:143
  494 +#: newforms/widgets.py:174
  495 +msgid "Yes"
  496 +msgstr "Да"
  497 +
  498 +#: oldforms/__init__.py:577 contrib/admin/filterspecs.py:143
  499 +#: newforms/widgets.py:174
  500 +msgid "No"
  501 +msgstr "Не"
  502 +
  503 +#: oldforms/__init__.py:672 core/validators.py:174 core/validators.py:445
  504 +msgid "No file was submitted. Check the encoding type on the form."
  505 +msgstr "Не е получен файл. Проверете типът кодиране на формата. "
  506 +
  507 +#: oldforms/__init__.py:674
  508 +msgid "The submitted file is empty."
  509 +msgstr "Каченият файл е празен. "
  510 +
  511 +#: oldforms/__init__.py:730
  512 +msgid "Enter a whole number between -32,768 and 32,767."
  513 +msgstr "Въведете цяло число между -32768 и 32767."
  514 +
  515 +#: oldforms/__init__.py:740
  516 +msgid "Enter a positive number."
  517 +msgstr "Въведете положително число. "
  518 +
  519 +#: oldforms/__init__.py:750
  520 +msgid "Enter a whole number between 0 and 32,767."
  521 +msgstr "Въведете цяло число между 0 и 32767."
  522 +
  523 +#: contrib/localflavor/no/forms.py:15
  524 +msgid "Enter a zip code in the format XXXX."
  525 +msgstr "Въведете пощенски код в формат XXXX."
  526 +
  527 +#: contrib/localflavor/no/forms.py:36
  528 +msgid "Enter a valid Norwegian social security number."
  529 +msgstr "Въведете валиден норвежки номер на социалната осигуровка."
  530 +
  531 +#: contrib/localflavor/it/forms.py:14 contrib/localflavor/fr/forms.py:17
  532 +#: contrib/localflavor/fi/forms.py:14 contrib/localflavor/de/forms.py:16
  533 +msgid "Enter a zip code in the format XXXXX."
  534 +msgstr "Въведете пощенски код в формат XXXXX."
  535 +
  536 +#: contrib/localflavor/jp/forms.py:21
  537 +msgid "Enter a postal code in the format XXXXXXX or XXX-XXXX."
  538 +msgstr "Въведете пощенски код в формат XXXXXXX или XXX-XXXX."
  539 +
  540 +#: contrib/localflavor/jp/jp_prefectures.py:4
  541 +msgid "Hokkaido"
  542 +msgstr ""
  543 +
  544 +#: contrib/localflavor/jp/jp_prefectures.py:5
  545 +msgid "Aomori"
  546 +msgstr ""
  547 +
  548 +#: contrib/localflavor/jp/jp_prefectures.py:6
  549 +msgid "Iwate"
  550 +msgstr ""
  551 +
  552 +#: contrib/localflavor/jp/jp_prefectures.py:7
  553 +msgid "Miyagi"
  554 +msgstr ""
  555 +
  556 +#: contrib/localflavor/jp/jp_prefectures.py:8
  557 +msgid "Akita"
  558 +msgstr ""
  559 +
  560 +#: contrib/localflavor/jp/jp_prefectures.py:9
  561 +msgid "Yamagata"
  562 +msgstr ""
  563 +
  564 +#: contrib/localflavor/jp/jp_prefectures.py:10
  565 +msgid "Fukushima"
  566 +msgstr ""
  567 +
  568 +#: contrib/localflavor/jp/jp_prefectures.py:11
  569 +msgid "Ibaraki"
  570 +msgstr ""
  571 +
  572 +#: contrib/localflavor/jp/jp_prefectures.py:12
  573 +msgid "Tochigi"
  574 +msgstr ""
  575 +
  576 +#: contrib/localflavor/jp/jp_prefectures.py:13
  577 +msgid "Gunma"
  578 +msgstr ""
  579 +
  580 +#: contrib/localflavor/jp/jp_prefectures.py:14
  581 +msgid "Saitama"
  582 +msgstr ""
  583 +
  584 +#: contrib/localflavor/jp/jp_prefectures.py:15
  585 +msgid "Chiba"
  586 +msgstr ""
  587 +
  588 +#: contrib/localflavor/jp/jp_prefectures.py:16
  589 +msgid "Tokyo"
  590 +msgstr ""
  591 +
  592 +#: contrib/localflavor/jp/jp_prefectures.py:17
  593 +msgid "Kanagawa"
  594 +msgstr ""
  595 +
  596 +#: contrib/localflavor/jp/jp_prefectures.py:18
  597 +msgid "Yamanashi"
  598 +msgstr ""
  599 +
  600 +#: contrib/localflavor/jp/jp_prefectures.py:19
  601 +msgid "Nagano"
  602 +msgstr ""
  603 +
  604 +#: contrib/localflavor/jp/jp_prefectures.py:20
  605 +msgid "Niigata"
  606 +msgstr ""
  607 +
  608 +#: contrib/localflavor/jp/jp_prefectures.py:21
  609 +msgid "Toyama"
  610 +msgstr ""
  611 +
  612 +#: contrib/localflavor/jp/jp_prefectures.py:22
  613 +msgid "Ishikawa"
  614 +msgstr ""
  615 +
  616 +#: contrib/localflavor/jp/jp_prefectures.py:23
  617 +msgid "Fukui"
  618 +msgstr ""
  619 +