#4377 closed (fixed)
Spelling errors in database error description
Reported by: | Owned by: | Malcolm Tredinnick | |
---|---|---|---|
Component: | Translations | Version: | dev |
Severity: | Keywords: | ||
Cc: | praveen.python.plone@… | Triage Stage: | Ready for checkin |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
There is a spelling error and a somewhat ugly wording in the error message about a mismatching database.
Patch provided.
--- django/conf/locale/de/LC_MESSAGES/django.po.original Thu May 24 12:25:14 2007 +++ django/conf/locale/de/LC_MESSAGES/django.po Thu May 24 12:27:33 2007 @@ -481,8 +481,8 @@ "database tables have been created, and make sure the database is readable by " "the appropriate user." msgstr "" -"Etwas stimmt nicht mit der Datenbankkonfiguration. Bitte sicherstellen, das " -"die richtigen Datenbanktabellen angelegt wurden und bitte sicherstellen, das " +"Etwas stimmt nicht mit der Datenbankkonfiguration. Bitte sicherstellen, dass " +"die richtigen Datenbanktabellen angelegt wurden und " "die Datenbank vom verwendeten Datenbankbenutzer auch lesbar ist." #: contrib/admin/templates/admin/login.html:17
Attachments (1)
Change History (7)
by , 17 years ago
Attachment: | de_django.po.diff added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
Don't speak german, but the correction seems ok, at least the first line is ok unless german people like double to 's' :)
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 16 years ago
Cc: | added |
---|---|
Component: | Translations → Authentication |
Keywords: | translation german removed |
milestone: | → 1.0.3 |
Needs documentation: | set |
Needs tests: | set |
Patch needs improvement: | set |
Resolution: | fixed |
Status: | closed → reopened |
Summary: | Spelling errors in database error description → Something's wrong with your database installation, make sure the database is readable by the appropriate user. |
Version: | SVN → 1.0 |
def queryset(self, request): qs = super(EventAdmin, self).queryset(request) if not request.user.is_superuser: qs = qs.filter(city=request.user.get_profile().res_city) return qs
it works fine as but it list out all the city's events
def queryset(self, request): qs = super(EventAdmin, self).queryset(request) if request.user.is_superuser: qs = qs.filter(city=request.user.get_profile().res_city) return qs
but when i change the if condition it gives error message
Database error
Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user.
comment:4 by , 16 years ago
Component: | Authentication → Translations |
---|---|
Has patch: | unset |
Needs documentation: | unset |
Needs tests: | unset |
Resolution: | → fixed |
Status: | reopened → closed |
Summary: | Something's wrong with your database installation, make sure the database is readable by the appropriate user. → Spelling errors in database error description |
Version: | 1.0 → SVN |
You've done two things wrong:
- Reopening a ticket that has been closed because it was fixed but without having seen the same error condition reported originally.
- Re-purposing a ticket to something totally different (translations -> authentication) just because they happen to have the same literal in the summary field. Doing this you broke the history of this ticket for people looking for the issue associated with it and its corresponding fix.
The effort this took you is the same effort it would take to send an e-mail to django-users (preferred) or to open another ticket.
comment:5 by , 16 years ago
Sorry this was my first time so did not know how to post ticket and this ticket was resemblance to my problem
patch for german translation