Ticket #2289 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

Flash messages are not being translated?

Reported by: seanh Owned by: toby
Priority: awaiting merge Milestone: ckan-v1.8
Component: ckan Keywords: ecportal i18n
Cc: Repository: ckan
Theme: none

Description

There are a couple of flash messages in ckan/controllers/user.py that show up in English, even if another language is in use, and even though the strings are marked for translation with gettext and have translations in the po and mo files:

"[USER NAME] is now logged in"

"Login failed. Bad username or password. (Or if using OpenID, it hasn't been associated with a user account.)"

Change History

comment:1 Changed 2 years ago by seanh

  • Milestone changed from ckan-v1.7 to ckan-v1.8

comment:2 Changed 23 months ago by seanh

  • Keywords i18n added

comment:3 Changed 23 months ago by toby

  • Owner set to toby
  • Status changed from new to assigned

comment:4 Changed 22 months ago by toby

needs docstrings

comment:5 Changed 22 months ago by toby

  • Status changed from assigned to accepted

comment:6 Changed 22 months ago by toby

  • Priority changed from awaiting triage to awaiting merge

comment:7 Changed 22 months ago by toby

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.