Closed
Bug 699239
Opened 13 years ago
Closed 12 years ago
Show only unfinished items in template section of the l10n dashboard
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
2012.7
People
(Reporter: thomas.lendo, Assigned: willkg)
References
()
Details
(Whiteboard: u=contributor c=wiki p=1)
Template section of the l10n dashboard at SUMO is useless in its current shape. The entries are only sorted by alphabetical order(?). Other lists of this page are sorted by visitors for logical reasons. If you want to know if or which template must be updated/translated, you _must_ click on the "all templates..." link. Suggestion: The template section should only show unfinished (untranslated or out-of-date) templates. So you can see at a glance if you have to do something. If all templates are translated and up-to-date, show a little string like "All template translations are done" ore something similar to show that it's no error that the template list is empty.
Comment 1•12 years ago
|
||
This is indeed a problem, short term stop gap solution: Order by status of localization first, and name second.
Priority: -- → P2
Whiteboard: u=contributor c=wiki s=2012.6 p=
Updated•12 years ago
|
Whiteboard: u=contributor c=wiki s=2012.6 p= → u=contributor c=wiki p=1
Updated•12 years ago
|
Target Milestone: 2012.6 → 2012.7
Assignee | ||
Comment 3•12 years ago
|
||
Pretty sure this involves changing the where clause in the sql in TemplateTranslationReadout and then adding tests. The latter part probably taking the most time. Grabbing this one.
Assignee: nobody → willkg
Assignee | ||
Comment 4•12 years ago
|
||
Pull request: https://github.com/mozilla/kitsune/pull/570 I didn't change the where or order_by clauses in the sql. I ended up fixing the Readout class so that it has a separate sort_and_truncate step. So what happens now is that the Template section shows all the templates, but the ones that need translation show up at the top of the list. That fixes the problem statement, but doesn't force us to change the code to handle a "everything is translated" special case.
Assignee | ||
Comment 5•12 years ago
|
||
Landed in master in https://github.com/mozilla/kitsune/commit/564622291e3d951b1567d23524764d32efc3b877 Pushed to production just now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•