Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#4377 closed (fixed)

Spelling errors in database error description

Reported by: Frank tegtmeyer <fte@…> Owned by: mtredinnick
Component: Translations Version: master
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: UI/UX:

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@… 8 years ago.
patch for german translation

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by fte@…

patch for german translation

comment:1 Changed 8 years ago by Marc Fargas <telenieko@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to 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 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 6 years ago by praveen_django

  • Cc praveen.python.plone@… added
  • Component changed from Translations to Authentication
  • Keywords translation german removed
  • milestone set to 1.0.3
  • Needs documentation set
  • Needs tests set
  • Patch needs improvement set
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from Spelling errors in database error description to Something's wrong with your database installation, make sure the database is readable by the appropriate user.
  • Version changed from SVN to 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 Changed 6 years ago by ramiro

  • Component changed from Authentication to Translations
  • Has patch unset
  • Needs documentation unset
  • Needs tests unset
  • Resolution set to fixed
  • Status changed from reopened to closed
  • Summary changed from Something's wrong with your database installation, make sure the database is readable by the appropriate user. to Spelling errors in database error description
  • Version changed from 1.0 to 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 Changed 6 years ago by praveen_django

Sorry this was my first time so did not know how to post ticket and this ticket was resemblance to my problem

comment:6 Changed 4 years ago by jacob

  • milestone 1.0.3 deleted

Milestone 1.0.3 deleted

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