Changeset 3086
- Timestamp:
- 06/05/06 20:21:49 (2 years ago)
- Files:
-
- django/branches/multi-auth/django/conf/global_settings.py (modified) (1 diff)
- django/branches/multi-auth/django/conf/locale/nl/LC_MESSAGES/django.mo (modified) (previous)
- django/branches/multi-auth/django/conf/locale/nl/LC_MESSAGES/django.po (modified) (40 diffs)
- django/branches/multi-auth/django/conf/urls/registration.py (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/media/css/changelists.css (modified) (2 diffs)
- django/branches/multi-auth/django/contrib/admin/media/css/global.css (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/media/css/layout.css (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/media/css/patch-iewin.css (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/media/js/admin/RelatedObjectLookups.js (modified) (2 diffs)
- django/branches/multi-auth/django/contrib/admin/templates/admin/base.html (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/templatetags/admin_list.py (modified) (5 diffs)
- django/branches/multi-auth/django/contrib/admin/utils.py (modified) (1 diff)
- django/branches/multi-auth/django/contrib/admin/views/main.py (modified) (1 diff)
- django/branches/multi-auth/django/contrib/auth/forms.py (modified) (1 diff)
- django/branches/multi-auth/django/contrib/humanize (copied) (copied from django/trunk/django/contrib/humanize)
- django/branches/multi-auth/django/contrib/humanize/__init__.py (copied) (copied from django/trunk/django/contrib/humanize/__init__.py)
- django/branches/multi-auth/django/contrib/humanize/templatetags (copied) (copied from django/trunk/django/contrib/humanize/templatetags)
- django/branches/multi-auth/django/contrib/humanize/templatetags/humanize.py (copied) (copied from django/trunk/django/contrib/humanize/templatetags/humanize.py)
- django/branches/multi-auth/django/contrib/humanize/templatetags/__init__.py (copied) (copied from django/trunk/django/contrib/humanize/templatetags/__init__.py)
- django/branches/multi-auth/django/core/management.py (modified) (6 diffs)
- django/branches/multi-auth/django/core/urlresolvers.py (modified) (4 diffs)
- django/branches/multi-auth/django/core/validators.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/ado_mssql/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/dummy/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/mysql/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/oracle/base.py (modified) (2 diffs)
- django/branches/multi-auth/django/db/backends/postgresql/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/postgresql_psycopg2/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/backends/sqlite3/base.py (modified) (1 diff)
- django/branches/multi-auth/django/db/models/fields/__init__.py (modified) (1 diff)
- django/branches/multi-auth/django/db/models/fields/related.py (modified) (2 diffs)
- django/branches/multi-auth/django/db/models/query.py (modified) (1 diff)
- django/branches/multi-auth/django/forms/__init__.py (modified) (23 diffs)
- django/branches/multi-auth/django/template/__init__.py (modified) (1 diff)
- django/branches/multi-auth/django/utils/datastructures.py (modified) (2 diffs)
- django/branches/multi-auth/django/utils/translation.py (modified) (2 diffs)
- django/branches/multi-auth/django/utils/xmlutils.py (modified) (1 diff)
- django/branches/multi-auth/django/views/generic/create_update.py (modified) (6 diffs)
- django/branches/multi-auth/django/views/generic/date_based.py (modified) (12 diffs)
- django/branches/multi-auth/django/views/generic/list_detail.py (modified) (4 diffs)
- django/branches/multi-auth/docs/add_ons.txt (modified) (1 diff)
- django/branches/multi-auth/docs/authentication.txt (modified) (1 diff)
- django/branches/multi-auth/docs/db-api.txt (modified) (2 diffs)
- django/branches/multi-auth/docs/django-admin.txt (modified) (1 diff)
- django/branches/multi-auth/docs/faq.txt (modified) (1 diff)
- django/branches/multi-auth/docs/generic_views.txt (modified) (2 diffs)
- django/branches/multi-auth/docs/model-api.txt (modified) (1 diff)
- django/branches/multi-auth/docs/settings.txt (modified) (5 diffs)
- django/branches/multi-auth/docs/templates_python.txt (modified) (1 diff)
- django/branches/multi-auth/docs/templates.txt (modified) (1 diff)
- django/branches/multi-auth/setup.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/basic/models.py (modified) (7 diffs)
- django/branches/multi-auth/tests/modeltests/choices/models.py (modified) (1 diff)
- django/branches/multi-auth/tests/modeltests/custom_columns/models.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/custom_managers/models.py (modified) (6 diffs)
- django/branches/multi-auth/tests/modeltests/custom_methods/models.py (modified) (3 diffs)
- django/branches/multi-auth/tests/modeltests/custom_pk/models.py (modified) (6 diffs)
- django/branches/multi-auth/tests/modeltests/get_latest/models.py (modified) (4 diffs)
- django/branches/multi-auth/tests/modeltests/lookup/models.py (modified) (5 diffs)
- django/branches/multi-auth/tests/modeltests/m2m_intermediary/models.py (modified) (4 diffs)
- django/branches/multi-auth/tests/modeltests/m2m_multiple/models.py (modified) (4 diffs)
- django/branches/multi-auth/tests/modeltests/m2m_recursive/models.py (modified) (10 diffs)
- django/branches/multi-auth/tests/modeltests/m2o_recursive2/models.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/m2o_recursive/models.py (modified) (3 diffs)
- django/branches/multi-auth/tests/modeltests/manipulators/models.py (modified) (5 diffs)
- django/branches/multi-auth/tests/modeltests/many_to_many/models.py (modified) (10 diffs)
- django/branches/multi-auth/tests/modeltests/many_to_one/models.py (modified) (16 diffs)
- django/branches/multi-auth/tests/modeltests/many_to_one_null/models.py (modified) (10 diffs)
- django/branches/multi-auth/tests/modeltests/model_inheritance/models.py (modified) (3 diffs)
- django/branches/multi-auth/tests/modeltests/one_to_one/models.py (modified) (6 diffs)
- django/branches/multi-auth/tests/modeltests/ordering/models.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/or_lookups/models.py (modified) (5 diffs)
- django/branches/multi-auth/tests/modeltests/pagination/models.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/repr (deleted)
- django/branches/multi-auth/tests/modeltests/reserved_names/models.py (modified) (4 diffs)
- django/branches/multi-auth/tests/modeltests/reverse_lookup/models.py (modified) (4 diffs)
- django/branches/multi-auth/tests/modeltests/save_delete_hooks/models.py (modified) (2 diffs)
- django/branches/multi-auth/tests/modeltests/str (copied) (copied from django/trunk/tests/modeltests/str)
- django/branches/multi-auth/tests/modeltests/str/__init__.py (copied) (copied from django/trunk/tests/modeltests/str/__init__.py)
- django/branches/multi-auth/tests/modeltests/str/models.py (copied) (copied from django/trunk/tests/modeltests/str/models.py)
- django/branches/multi-auth/tests/modeltests/transactions/models.py (modified) (6 diffs)
- django/branches/multi-auth/tests/modeltests/validation/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/multi-auth/django/conf/global_settings.py
r3052 r3086 204 204 TIME_FORMAT = 'P' 205 205 206 # Default formatting for date objects when only the year and month are relevant. 207 # See all available format strings here: 208 # http://www.djangoproject.com/documentation/templates/#now 209 YEAR_MONTH_FORMAT = 'F Y' 210 211 # Default formatting for date objects when only the month and day are relevant. 212 # See all available format strings here: 213 # http://www.djangoproject.com/documentation/templates/#now 214 MONTH_DAY_FORMAT = 'F j' 215 206 216 # Whether to enable Psyco, which optimizes Python code. Requires Psyco. 207 217 # http://psyco.sourceforge.net/ django/branches/multi-auth/django/conf/locale/nl/LC_MESSAGES/django.po
r2998 r3086 73 73 #: db/models/fields/__init__.py:468 core/validators.py:132 74 74 msgid "Enter a valid date/time in YYYY-MM-DD HH:MM format." 75 msgstr "Geef geldige datum/tijd in JJJJ-MM-DD HH:MM formaat."75 msgstr "Geef geldige datum/tijd in JJJJ-MM-DD UU:MM formaat." 76 76 77 77 #: db/models/fields/__init__.py:562 … … 117 117 #: conf/global_settings.py:46 118 118 msgid "Galician" 119 msgstr "Gali sisch"119 msgstr "Galicisch" 120 120 121 121 #: conf/global_settings.py:47 … … 177 177 #: conf/global_settings.py:61 178 178 msgid "Ukrainian" 179 msgstr " Ukraiens"179 msgstr "Oekraïens" 180 180 181 181 #: conf/global_settings.py:62 … … 221 221 #: core/validators.py:103 222 222 msgid "Empty values are not allowed here." 223 msgstr "Lege waarden niet toegestaan."223 msgstr "Lege waarden zijn hier niet toegestaan." 224 224 225 225 #: core/validators.py:107 226 226 msgid "Non-numeric characters aren't allowed here." 227 msgstr "Niet-numerieke karakters niet toegestaan."227 msgstr "Niet-numerieke karakters zijn hier niet toegestaan." 228 228 229 229 #: core/validators.py:111 … … 245 245 #: core/validators.py:128 246 246 msgid "Enter a valid time in HH:MM format." 247 msgstr "Geef een geldige tijd in HH:MM formaat."247 msgstr "Geef een geldige tijd in UU:MM formaat." 248 248 249 249 #: core/validators.py:136 … … 322 322 #: core/validators.py:255 323 323 msgid "Please enter something for at least one field." 324 msgstr " Geef in minimaal één veld een waarde."324 msgstr "Voer tenminste één veld in." 325 325 326 326 #: core/validators.py:264 core/validators.py:275 … … 356 356 msgid_plural "" 357 357 "Please enter a valid decimal number with at most %s total digits." 358 msgstr[0] "Geef een geldig decimaal getal met maximaal%s cijfer."359 msgstr[1] "Geef een geldig decimaal getal met maximaal%s cijfers."358 msgstr[0] "Geef een geldig decimaal getal met hooguit %s cijfer." 359 msgstr[1] "Geef een geldig decimaal getal met hooguit %s cijfers." 360 360 361 361 #: core/validators.py:352 … … 364 364 msgid_plural "" 365 365 "Please enter a valid decimal number with at most %s decimal places." 366 msgstr[0] "Geef een decimaal getal met maximaal%s cijfer achter de komma."367 msgstr[1] "Geef een decimaal getal met maximaal%s cijfers achter de komma."366 msgstr[0] "Geef een decimaal getal met hooguit %s cijfer achter de komma." 367 msgstr[1] "Geef een decimaal getal met hooguit %s cijfers achter de komma." 368 368 369 369 #: core/validators.py:362 370 370 #, python-format 371 371 msgid "Make sure your uploaded file is at least %s bytes big." 372 msgstr "Zorg ervoor dat het bestand min imaal%s bytes groot is."372 msgstr "Zorg ervoor dat het bestand minstens %s bytes groot is." 373 373 374 374 #: core/validators.py:363 375 375 #, python-format 376 376 msgid "Make sure your uploaded file is at most %s bytes big." 377 msgstr "Zorg ervoor dat het bestand maximaal%s bytes groot is."377 msgstr "Zorg ervoor dat het bestand hoogstens %s bytes groot is." 378 378 379 379 #: core/validators.py:376 … … 457 457 "required for logging in." 458 458 msgstr "" 459 "Het lijkt erop dat uw browser geen cookies accepteerd. Om uaan te melden "459 "Het lijkt erop dat uw browser geen cookies accepteerd. Om aan te melden " 460 460 "moeten cookies worden geaccepteerd." 461 461 … … 466 466 "sensitive." 467 467 msgstr "" 468 " Geef een correcte gebruikersnaam en wachtwoord. Let opde velden zijn "468 "Voer een correcte gebruikersnaam en wachtwoord in. Let op, de velden zijn " 469 469 "hoofdletter-gevoelig." 470 470 … … 523 523 #: contrib/auth/models.py:60 524 524 msgid "Designates whether the user can log into this admin site." 525 msgstr "Bepaalt of de gebruiker kan inloggen op deze admin site "525 msgstr "Bepaalt of de gebruiker kan inloggen op deze admin site." 526 526 527 527 #: contrib/auth/models.py:61 … … 683 683 #, python-format 684 684 msgid "Your e-mail address is not your username. Try '%s' instead." 685 msgstr "Uw e-mail adres is niet uw gebruikersnaam. Probeer '%s' eens."685 msgstr "Uw e-mailadres is niet uw gebruikersnaam. Probeer '%s' eens." 686 686 687 687 #: contrib/admin/views/main.py:226 … … 735 735 #, python-format 736 736 msgid "The %(name)s \"%(obj)s\" was changed successfully." 737 msgstr " Wijzigen %(name)s \"%(obj)s\" is geslaagd."737 msgstr "Het wijzigen van %(name)s \"%(obj)s\" is geslaagd." 738 738 739 739 #: contrib/admin/views/main.py:354 … … 741 741 msgid "" 742 742 "The %(name)s \"%(obj)s\" was added successfully. You may edit it again below." 743 msgstr "De %(name)s \"%(obj)s\" toegevoegd. U kunt het hieronder wijzigen."743 msgstr "De %(name)s \"%(obj)s\" was toegevoegd. U kunt het hieronder wijzigen." 744 744 745 745 #: contrib/admin/views/main.py:392 … … 761 761 #, python-format 762 762 msgid "The %(name)s \"%(obj)s\" was deleted successfully." 763 msgstr " Verwijdering%(name)s \"%(obj)s\" is geslaagd."763 msgstr "De verwijdering van %(name)s \"%(obj)s\" is geslaagd." 764 764 765 765 #: contrib/admin/views/main.py:511 … … 770 770 #, python-format 771 771 msgid "Change history: %s" 772 msgstr "Wijzigings historie: %s"772 msgstr "Wijzigingsgeschiedenis: %s" 773 773 774 774 #: contrib/admin/views/main.py:565 … … 795 795 #, python-format 796 796 msgid "String (up to %(maxlength)s)" 797 msgstr "Karakterreeks ( maximaal%(maxlength)s)"797 msgstr "Karakterreeks (hooguit %(maxlength)s)" 798 798 799 799 #: contrib/admin/views/doc.py:280 … … 940 940 "types of objects:" 941 941 msgstr "" 942 " Verwijderen van %(object_name)s '%(object)s' zal ook gerelateerde objecten"943 " verwijderen. Echter u heeft geen rechten om de volgende typen objecten te"944 " verwijderen:"942 "Het verwijderen van %(object_name)s '%(object)s' zal ook gerelateerde " 943 "objecten verwijderen. Echter u heeft geen rechten om de volgende typen " 944 "objecten te verwijderen:" 945 945 946 946 #: contrib/admin/templates/admin/delete_confirmation.html:21 … … 964 964 #: contrib/admin/templates/admin/404.html:10 965 965 msgid "We're sorry, but the requested page could not be found." 966 msgstr " De gevraagde pagina komt niet voor."966 msgstr "Onze excuses, maar de gevraagde pagina komt niet voor." 967 967 968 968 #: contrib/admin/templates/admin/change_form.html:15 … … 1074 1074 "admin site." 1075 1075 msgstr "" 1076 "Dit object heeft geen geschiedenis. Mogelijk niet via de admin site "1077 " toegevoegd."1076 "Dit object heeft geen wijzigingsgeschiedenis. Het is mogelijk niet via de " 1077 "admin site toegevoegd." 1078 1078 1079 1079 #: contrib/admin/templates/admin/500.html:4 … … 1094 1094 "mail and should be fixed shortly. Thanks for your patience." 1095 1095 msgstr "" 1096 "Er is een fout opgetreden. Dit is inmiddels doorgegevens aan de " 1097 "sitebeheerder via e-mail en zal binnenkort worden gerepareerd. Bedankt voor " 1098 "uw geduld" 1096 "Er is een fout opgetreden. Dit is inmiddels doorgegeven aan de sitebeheerder " 1097 "via e-mail en zal spoedig worden gerepareerd. Bedankt voor uw geduld." 1099 1098 1100 1099 #: contrib/admin/templates/admin/search_form.html:8 … … 1189 1188 #: contrib/admin/templates/admin_doc/bookmarklets.html:29 1190 1189 msgid "As above, but opens the admin page in a new window." 1191 msgstr " Alsboven, maar opent de beheerpagina in een nieuw venster."1190 msgstr "Zoals hierboven, maar opent de beheerpagina in een nieuw venster." 1192 1191 1193 1192 #: contrib/admin/templates/widget/date_time.html:3 … … 1219 1218 "your password and e-mail the new one to you." 1220 1219 msgstr "" 1221 " Wachtwoord vergeten? Geef u e-mail adres op en we herstellen uw wachtwoord"1222 " en zullen u het nieuwe wachtwoord per e-mail toesturen."1220 "Uw wachtwoord vergeten? Geef uw e-mailadres op en er zal een nieuw " 1221 "wachtwoord worden toegekend en aan u worden toegezonden." 1223 1222 1224 1223 #: contrib/admin/templates/registration/password_reset_form.html:16 … … 1232 1231 #: contrib/admin/templates/registration/password_reset_email.html:2 1233 1232 msgid "You're receiving this e-mail because you requested a password reset" 1234 msgstr "U krijgt eene-mail omdat u om een nieuw wachtwoord heeft gevraagd"1233 msgstr "U krijgt deze e-mail omdat u om een nieuw wachtwoord heeft gevraagd" 1235 1234 1236 1235 #: contrib/admin/templates/registration/password_reset_email.html:3 … … 1279 1278 "should be receiving it shortly." 1280 1279 msgstr "" 1281 "Een nieuw wachtwoord is per e-mail verstuurd. U zult het binnenkort " 1282 "ontvangen." 1280 "Een nieuw wachtwoord is per e-mail verstuurd. U zult het spoedig ontvangen." 1283 1281 1284 1282 #: contrib/admin/templates/registration/password_change_form.html:4 … … 1294 1292 "password twice so we can verify you typed it in correctly." 1295 1293 msgstr "" 1296 " Geef voor de veiligheid uw oude wachtwoord op en twee keer een nieuw"1297 " wachtwoord, zodat we kunnen controleren of er geen typefouten zijn gemaakt."1294 "Vanwege de beveiliging moet u uw oude en twee keer een nieuw wachtwoord" 1295 "invoeren, zodat we kunnen controleren of er geen typefouten zijn gemaakt." 1298 1296 1299 1297 #: contrib/admin/templates/registration/password_change_form.html:17 … … 1341 1339 msgid "" 1342 1340 "Example: '/about/contact/'. Make sure to have leading and trailing slashes." 1343 msgstr "Voorbeeld: '/about/contact/'. Zorg voor slashes aan begin en eind" 1341 msgstr "" 1342 "Voorbeeld: '/about/contact/'. Zorg voor slashes aan het begin en eind." 1344 1343 1345 1344 #: contrib/flatpages/models.py:9 … … 1374 1373 msgid "If this is checked, only logged-in users will be able to view the page." 1375 1374 msgstr "" 1376 " Alleen ingelogde gebruikers kunnen deze pagina zien, indien dit is"1377 " aangekruist."1375 "Indien dit is aangekruist kunnen alleen ingelogde gebruikers deze pagina " 1376 "bekijken." 1378 1377 1379 1378 #: contrib/flatpages/models.py:18 … … 1406 1405 "'http://'." 1407 1406 msgstr "" 1408 "Dit kan een absoluut pad zijn (zoals boven) of een volledige URL beginnend"1409 " met 'http://'."1407 "Dit kan een absoluut pad (zoals hierboven) zijn of een volledige URL " 1408 "beginnend met 'http://'." 1410 1409 1411 1410 #: contrib/redirects/models.py:12 … … 1472 1471 #: contrib/comments/models.py:84 contrib/comments/models.py:170 1473 1472 msgid "is public" 1474 msgstr "is publiek"1473 msgstr "is openbaar" 1475 1474 1476 1475 #: contrib/comments/models.py:86 … … 1519 1518 #: contrib/comments/models.py:173 1520 1519 msgid "approved by staff" 1521 msgstr "goe gekeurd door de staf"1520 msgstr "goedgekeurd door de staf" 1522 1521 1523 1522 #: contrib/comments/models.py:176 … … 1605 1604 #: contrib/comments/views/karma.py:25 1606 1605 msgid "No voting for yourself" 1607 msgstr "Niet op jezelf stemmen"1606 msgstr "Niet op uzelf stemmen" 1608 1607 1609 1608 #: contrib/comments/views/comments.py:28 … … 1611 1610 "This rating is required because you've entered at least one other rating." 1612 1611 msgstr "" 1613 "Deze waardering is verplicht omdat je op zijn minst een andere waardering"1614 " hebtingevoerd."1612 "Deze waardering is verplicht omdat u tenminste één andere waardering hebt " 1613 "ingevoerd." 1615 1614 1616 1615 #: contrib/comments/views/comments.py:112 … … 1627 1626 "%(text)s" 1628 1627 msgstr[0] "" 1629 "Deze opmerking is gepost door een gebruiker welke minder dan %(count)s opmerking"1630 " heeft gepost:\n"1628 "Deze opmerking is gepost door een gebruiker die minder dan %(count)s " 1629 "opmerking heeft gepost:\n" 1631 1630 "\n" 1632 1631 "%(text)s" 1633 1632 msgstr[1] "" 1634 "Deze opmerking is gepost door een gebruiker welke minder dan %(count)s opmerkingen"1635 " heeft gepost:\n"1633 "Deze opmerking is gepost door een gebruiker die minder dan %(count)s " 1634 "opmerkingen heeft gepost:\n" 1636 1635 "\n" 1637 1636 "%(text)s" … … 1656 1655 #: contrib/comments/views/comments.py:284 1657 1656 msgid "One or more of the required fields wasn't submitted" 1658 msgstr "Een of meerdere verplichte velden isniet ingevuld"1657 msgstr "Een of meerdere verplichte velden zijn niet ingevuld" 1659 1658 1660 1659 #: contrib/comments/views/comments.py:197 … … 1711 1710 #: contrib/comments/templates/comments/freeform.html:4 1712 1711 msgid "Your name:" 1713 msgstr "Uw gebruiker naam:"1712 msgstr "Uw gebruikersnaam:" 1714 1713 1715 1714 #: contrib/sessions/models.py:35 … … 1739 1738 #: contrib/contenttypes/models.py:28 1740 1739 msgid "content type" 1741 msgstr "inhoud type"1740 msgstr "inhoudstype" 1742 1741 1743 1742 #: contrib/contenttypes/models.py:29 1744 1743 msgid "content types" 1745 msgstr "inhoud typen"1744 msgstr "inhoudstypen" 1746 1745 1747 1746 #: forms/__init__.py:380 … … 1749 1748 msgid "Ensure your text is less than %s character." 1750 1749 msgid_plural "Ensure your text is less than %s characters." 1751 msgstr[0] "Zorg ervoor dat uw tekst korter is dan %s teken."1752 msgstr[1] "Zorg ervoor dat uw tekst korter is dan % S tekens."1750 msgstr[0] "Zorg ervoor dat uw tekst korter is dan %s karakter." 1751 msgstr[1] "Zorg ervoor dat uw tekst korter is dan %s karakters." 1753 1752 1754 1753 #: forms/__init__.py:385 … … 1779 1778 #: utils/dates.py:6 1780 1779 msgid "Monday" 1781 msgstr " Maandag"1780 msgstr "maandag" 1782 1781 1783 1782 #: utils/dates.py:6 1784 1783 msgid "Tuesday" 1785 msgstr " Dinsdag"1784 msgstr "dinsdag" 1786 1785 1787 1786 #: utils/dates.py:6 1788 1787 msgid "Wednesday" 1789 msgstr " Woensdag"1788 msgstr "woensdag" 1790 1789 1791 1790 #: utils/dates.py:6 1792 1791 msgid "Thursday" 1793 msgstr " Donderdag"1792 msgstr "donderdag" 1794 1793 1795 1794 #: utils/dates.py:6 1796 1795 msgid "Friday" 1797 msgstr " Vrijdag"1796 msgstr "vrijdag" 1798 1797 1799 1798 #: utils/dates.py:7 1800 1799 msgid "Saturday" 1801 msgstr " Zaterdag"1800 msgstr "zaterdag" 1802 1801 1803 1802 #: utils/dates.py:7 1804 1803 msgid "Sunday" 1805 msgstr " Zondag"1804 msgstr "zondag" 1806 1805 1807 1806 #: utils/dates.py:14 … … 1891 1890 #: utils/dates.py:20 1892 1891 msgid "oct" 1893 msgstr "o ct"1892 msgstr "okt" 1894 1893 1895 1894 #: utils/dates.py:20 django/branches/multi-auth/django/conf/urls/registration.py
r2809 r3086 2 2 3 3 urlpatterns = patterns('', 4 (r'^login/$', 'django.contrib.auth.view .login'),4 (r'^login/$', 'django.contrib.auth.views.login'), 5 5 (r'^logout/$', 'django.contrib.auth.views.logout'), 6 6 (r'^login_another/$', 'django.contrib.auth.views.logout_then_login'), django/branches/multi-auth/django/contrib/admin/media/css/changelists.css
r2809 r3086 5 5 #changelist table { width:100%; } 6 6 .change-list .filtered table { border-right:1px solid #ddd; } 7 .change-list .filtered { min-height:400px; _height:400px;}7 .change-list .filtered { min-height:400px; } 8 8 .change-list .filtered { background:white url(../img/admin/changelist-bg.gif) top right repeat-y !important; } 9 9 .change-list .filtered table, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull { margin-right:160px !important; width:auto !important; } … … 28 28 #changelist-filter h2 { font-size:11px; padding:2px 5px; border-bottom:1px solid #ddd; } 29 29 #changelist-filter h3 { font-size:12px; margin-bottom:0; } 30 #changelist-filter ul { padding-left:0;margin-left:10px; _margin-right:-10px;}30 #changelist-filter ul { padding-left:0;margin-left:10px; } 31 31 #changelist-filter li { list-style-type:none; margin-left:0; padding-left:0; } 32 32 #changelist-filter a { color:#999; } django/branches/multi-auth/django/contrib/admin/media/css/global.css
r2809 r3086 87 87 88 88 /* FORM BUTTONS */ 89 input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; color:black; }89 input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; color:black; border:1px solid #bbb; border-color:#ddd #aaa #aaa #ddd; } 90 90 input[type=submit]:active, input[type=button]:active { background-image:url(../img/admin/nav-bg-reverse.gif); background-position:top; } 91 91 input[type=submit].default, .submit-row input.default { border:2px solid #5b80b2; background:#7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x; font-weight:bold; color:white; } django/branches/multi-auth/django/contrib/admin/media/css/layout.css
r2891 r3086 4 4 #header { width:100%; } 5 5 #content-main { float:left; width:100%; } 6 #content-related { float:right; width: 220px; position:relative; margin-right:-230px; }6 #content-related { float:right; width:18em; position:relative; margin-right:-19em; } 7 7 #footer { clear:both; padding:10px; } 8 8 9 9 /* COLUMN TYPES */ 10 .colMS { margin-right:2 45px!important; }11 .colSM { margin-left:2 45px!important; }12 .colSM #content-related { float:left; margin-right:0; margin-left:- 230px; }10 .colMS { margin-right:20em !important; } 11 .colSM { margin-left:20em !important; } 12 .colSM #content-related { float:left; margin-right:0; margin-left:-19em; } 13 13 .colSM #content-main { float:right; } 14 14 .popup .colM { width:95%; } django/branches/multi-auth/django/contrib/admin/media/css/patch-iewin.css
r2809 r3086 5 5 * html .dashboard #content { width:768px; } /* proper fixed width for dashboard in IE6 */ 6 6 * html .dashboard #content-main { width:535px; } /* proper fixed width for dashboard in IE6 */ 7 * html #changelist-filter ul { margin-right:-10px; } /* fix right margin for changelist filters in IE6 */ 8 * html .change-list .filtered { height:400px; } /* IE ignores min-height, but treats height as if it were min-height */ django/branches/multi-auth/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
r2809 r3086 4 4 function showRelatedObjectLookupPopup(triggeringLink) { 5 5 var name = triggeringLink.id.replace(/^lookup_/, ''); 6 // IE doesn't like periods in the window name, so convert temporarily. 7 name = name.replace(/\./g, '___'); 6 8 var href; 7 9 if (triggeringLink.href.search(/\?/) >= 0) { … … 16 18 17 19 function dismissRelatedLookupPopup(win, chosenId) { 18 var elem = document.getElementById(win.name); 20 var name = win.name.replace(/___/g, '.'); 21 var elem = document.getElementById(name); 19 22 if (elem.className.indexOf('vRawIdAdminField') != -1 && elem.value) { 20 23 elem.value += ',' + chosenId; 21 24 } else { 22 document.getElementById( win.name).value = chosenId;25 document.getElementById(name).value = chosenId; 23 26 } 24 27 win.close(); django/branches/multi-auth/django/contrib/admin/templates/admin/base.html
r2117 r3086 20 20 {% block branding %}{% endblock %} 21 21 </div> 22 {% if not user.is_anonymous %} 22 {% if not user.is_anonymous %}{% if user.is_staff %} 23 23 <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans 'Documentation' %}</a> / <a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div> 24 {% endif %} 24 {% endif %}{% endif %} 25 25 {% block nav-global %}{% endblock %} 26 26 </div> django/branches/multi-auth/django/contrib/admin/templatetags/admin_list.py
r2844 r3086 3 3 from django.contrib.admin.views.main import MAX_SHOW_ALL_ALLOWED, ALL_VAR 4 4 from django.contrib.admin.views.main import ORDER_VAR, ORDER_TYPE_VAR, PAGE_VAR, SEARCH_VAR 5 from django.contrib.admin.views.main import IS_POPUP_VAR, EMPTY_CHANGELIST_VALUE , MONTHS5 from django.contrib.admin.views.main import IS_POPUP_VAR, EMPTY_CHANGELIST_VALUE 6 6 from django.core.exceptions import ObjectDoesNotExist 7 7 from django.db import models … … 9 9 from django.utils.html import escape 10 10 from django.utils.text import capfirst 11 from django.utils.translation import get_date_formats 11 from django.utils.translation import get_date_formats, get_partial_date_formats 12 12 from django.template import Library 13 import datetime 13 14 14 15 register = Library() … … 194 195 month_lookup = cl.params.get(month_field) 195 196 day_lookup = cl.params.get(day_field) 197 year_month_format, month_day_format = get_partial_date_formats() 196 198 197 199 link = lambda d: cl.get_query_string(d, [field_generic]) 198 200 199 201 if year_lookup and month_lookup and day_lookup: 200 month_name = MONTHS[int(month_lookup)]202 day = datetime.date(int(year_lookup), int(month_lookup), int(day_lookup)) 201 203 return { 202 204 'show': True, 203 205 'back': { 204 206 'link': link({year_field: year_lookup, month_field: month_lookup}), 205 'title': "%s %s" % (month_name, year_lookup)207 'title': dateformat.format(day, year_month_format) 206 208 }, 207 'choices': [{'title': "%s %s" % (month_name, day_lookup)}]209 'choices': [{'title': dateformat.format(day, month_day_format)}] 208 210 } 209 211 elif year_lookup and month_lookup: … … 217 219 'choices': [{ 218 220 'link': link({year_field: year_lookup, month_field: month_lookup, day_field: day.day}), 219 'title': da y.strftime('%B %d')221 'title': dateformat.format(day, month_day_format) 220 222 } for day in days] 221 223 } … … 230 232 'choices': [{ 231 233 'link': link({year_field: year_lookup, month_field: month.month}), 232 'title': "%s %s" % (month.strftime('%B'), month.year)234 'title': dateformat.format(month, year_month_format) 233 235 } for month in months] 234 236 } django/branches/multi-auth/django/contrib/admin/utils.py
r2809 r3086 82 82 83 83 def create_reference_role(rolename, urlbase): 84 def _role(name, rawtext, text, lineno, inliner, options={}, content=[]): 84 def _role(name, rawtext, text, lineno, inliner, options=None, content=None): 85 if options is None: options = {} 86 if content is None: content = [] 85 87 node = docutils.nodes.reference(rawtext, text, refuri=(urlbase % (inliner.document.settings.link_base, text.lower())), **options) 86 88 return [node], [] 87 89 docutils.parsers.rst.roles.register_canonical_role(rolename, _role) 88 90 89 def default_reference_role(name, rawtext, text, lineno, inliner, options={}, content=[]): 91 def default_reference_role(name, rawtext, text, lineno, inliner, options=None, content=None): 92 if options is None: options = {} 93 if content is None: content = [] 90 94 context = inliner.document.settings.default_reference_context 91 95 node = docutils.nodes.reference(rawtext, text, refuri=(ROLES[context] % (inliner.document.settings.link_base, text.lower())), **options) django/branches/multi-auth/django/contrib/admin/views/main.py
r3052 r3086 580 580 return filter_specs, bool(filter_specs) 581 581 582 def get_query_string(self, new_params={}, remove=[]): 582 def get_query_string(self, new_params=None, remove=None): 583 if new_params is None: new_params = {} 584 if remove is None: remove = [] 583 585 p = self.params.copy() 584 586 for r in remove: django/branches/multi-auth/django/contrib/auth/forms.py
r2887 r3086 36 36 if self.user_cache is None: 37 37 raise validators.ValidationError, _("Please enter a correct username and password. Note that both fields are case-sensitive.") 38 elif not self.user_cache.is_active: 39 raise validators.ValidationError, _("This account is inactive.") 38 40 39 41 def get_user_id(self): django/branches/multi-auth/django/core/management.py
r3052 r3086 1056 1056 raise ImportError 1057 1057 import IPython 1058 shell = IPython.Shell.IPShell() 1058 # Explicitly pass an empty list as arguments, because otherwise IPython 1059 # would use sys.argv from this script. 1060 shell = IPython.Shell.IPShell(argv=[]) 1059 1061 shell.mainloop() 1060 1062 except ImportError: … … 1138 1140 sys.exit(1) 1139 1141 1140 def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING): 1142 def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING, argv=None): 1143 # Use sys.argv if we've not passed in a custom argv 1144 if argv is None: 1145 argv = sys.argv 1146 1141 1147 # Parse the command-line arguments. optparse handles the dirty work. 1142 1148 parser = DjangoOptionParser(usage=get_usage(action_mapping), version=get_version()) … … 1147 1153 parser.add_option('--plain', action='store_true', dest='plain', 1148 1154 help='Tells Django to use plain Python, not IPython, for "shell" command.') 1149 options, args = parser.parse_args( )1155 options, args = parser.parse_args(argv[1:]) 1150 1156 1151 1157 # Take care of options. … … 1162 1168 parser.print_usage_and_exit() 1163 1169 if not action_mapping.has_key(action): 1164 print_error("Your action, %r, was invalid." % action, sys.argv[0])1170 print_error("Your action, %r, was invalid." % action, argv[0]) 1165 1171 1166 1172 # Switch to English, because django-admin.py creates database content … … 1221 1227 print style.SQL_KEYWORD("COMMIT;") 1222 1228 1223 def execute_manager(settings_mod ):1229 def execute_manager(settings_mod, argv=None): 1224 1230 # Add this project to sys.path so that it's importable in the conventional 1225 1231 # way. For example, if this file (manage.py) lives in a directory … … 1248 1254 1249 1255 # Run the django-admin.py command. 1250 execute_from_command_line(action_mapping )1256 execute_from_command_line(action_mapping, argv) django/branches/multi-auth/django/core/urlresolvers.py
r2921 r3086 23 23 dot = callback.rindex('.') 24 24 return callback[:dot], callback[dot+1:] 25 26 def reverse_helper(regex, *args, **kwargs): 27 """ 28 Does a "reverse" lookup -- returns the URL for the given args/kwargs. 29 The args/kwargs are applied to the given compiled regular expression. 30 For example: 31 32 >>> reverse_helper(re.compile('^places/(\d+)/$'), 3) 33 'places/3/' 34 >>> reverse_helper(re.compile('^places/(?P<id>\d+)/$'), id=3) 35 'places/3/' 36 >>> reverse_helper(re.compile('^people/(?P<state>\w\w)/(\w+)/$'), 'adrian', state='il') 37 'people/il/adrian/' 38 39 Raises NoReverseMatch if the args/kwargs aren't valid for the regex. 40 """ 41 # TODO: Handle nested parenthesis in the following regex. 42 result = re.sub(r'\(([^)]+)\)', MatchChecker(args, kwargs), regex.pattern) 43 return result.replace('^', '').replace('$', '') 25 44 26 45 class MatchChecker(object): … … 109 128 110 129 def reverse_helper(self, *args, **kwargs): 111 """ 112 Does a "reverse" lookup -- returns the URL for the given args/kwargs. 113 &nbs
