Redundancy on the error messages
Bug #714026 reported by
YoBoY
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCo Team Portal |
Fix Released
|
Low
|
Chris Johnston |
Bug Description
Most of the error messages when you try an action you are you are not allowed to are constructud like this
"error type" + "reason".
For example, the messages :
You can not add a new agenda item for this team meeting. You are not member of the team or on the LoCo Council.
You can not update this team meeting agenda. You are not member of the team or on the LoCo Council.
You can not update this team meeting. You are not member of the team or on the LoCo Council.
Can't we use two chains to help the translators and reduce all these reasons to some parameters in the source code ?
Related branches
lp:~cjohnston/loco-team-portal/714026
- Ronnie (community): Approve
-
Diff: 149 lines (+16/-18)2 files modifiedloco_directory/events/views.py (+8/-8)
loco_directory/meetings/views.py (+8/-10)
Changed in loco-directory: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in loco-directory: | |
status: | Confirmed → Triaged |
assignee: | nobody → Chris Johnston (chrisjohnston) |
status: | Triaged → In Progress |
Changed in loco-directory: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.3.1 |
Changed in loco-directory: | |
milestone: | 0.3.1 → none |
Changed in loco-directory: | |
milestone: | none → 0.3.2 |
Changed in loco-directory: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.