Opened 18 years ago

Closed 16 years ago

Last modified 13 years ago

#4377 closed (fixed)

Spelling errors in database error description

Reported by: Frank tegtmeyer <fte@…> 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)

de_django.po.diff (708 bytes ) - added by fte@… 18 years ago.
patch for german translation

Download all attachments as: .zip

Change History (7)

by fte@…, 18 years ago

Attachment: de_django.po.diff added

patch for german translation

comment:1 by Marc Fargas <telenieko@…>, 18 years ago

Triage Stage: UnreviewedReady 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 Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(In [5350]) Fixed #4377 -- Small tweak to the German translation. Thanks, Frank Tegtmeyer.

comment:3 by Praveen, 16 years ago

Cc: praveen.python.plone@… added
Component: TranslationsAuthentication
Keywords: translation german removed
milestone: 1.0.3
Needs documentation: set
Needs tests: set
Patch needs improvement: set
Resolution: fixed
Status: closedreopened
Summary: Spelling errors in database error descriptionSomething's wrong with your database installation, make sure the database is readable by the appropriate user.
Version: SVN1.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 Ramiro Morales, 16 years ago

Component: AuthenticationTranslations
Has patch: unset
Needs documentation: unset
Needs tests: unset
Resolution: fixed
Status: reopenedclosed
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.0SVN

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 Praveen, 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

comment:6 by Jacob, 13 years ago

milestone: 1.0.3

Milestone 1.0.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top