Merge lp:~henninge/launchpad/bug-516736-templatename into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Jeroen T. Vermeulen on 2010-04-19 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | not available |
| Proposed branch: | lp:~henninge/launchpad/bug-516736-templatename |
| Merge into: | lp:launchpad |
| Diff against target: |
146 lines (+67/-13) 3 files modified
lib/lp/translations/browser/tests/test_translationimportqueueentry.py (+51/-4) lib/lp/translations/browser/translationimportqueue.py (+12/-7) lib/lp/translations/stories/importqueue/xx-translation-import-queue-edit-autofilling.txt (+4/-2) |
| To merge this branch: | bzr merge lp:~henninge/launchpad/bug-516736-templatename |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jeroen T. Vermeulen (community) | code | 2010-04-19 | Approve on 2010-04-19 |
|
Review via email:
|
|||
Commit Message
Template name and translation domain are now suggested from the file path in translation import queue entry.
Description of the Change
= Bug 516736 =
Automates extraction of template names and translation domains from the path attribute of import queue entries. This saves having to cut and paste it from the path field, lowser case it and replace underscores with dashes. Very low hanging fruit.
== Test ==
bin/test -vvt TestTranslation
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/
17: [F0401] Unable to import 'zope.app.
18: [F0401] Unable to import 'zope.component'
20: [F0401] Unable to import 'zope.schema.
21: [F0401] Unable to import 'zope.schema.
lib/lp/
7: [F0401] Unable to import 'pytz'
10: [F0401] Unable to import 'zope.component'
11: [F0401] Unable to import 'zope.security.
| Henning Eggers (henninge) wrote : | # |
Look at the current queue and you'll see that I was worried about my time .... If only those edge updates were running again.
Cheers.

Looks good. This could save queue reviewers a lot of time!
Jeroen