Merge lp:~adiroiban/launchpad/bug-146178 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~adiroiban/launchpad/bug-146178 |
Merge into: | lp:launchpad |
Diff against target: |
469 lines (+204/-71) 5 files modified
lib/lp/registry/interfaces/distroseries.py (+12/-13) lib/lp/translations/browser/distroseries.py (+40/-4) lib/lp/translations/stories/distroseries/xx-distroseries-language-packs.txt (+87/-24) lib/lp/translations/templates/distroseries-language-packs.pt (+59/-22) lib/lp/translations/templates/distroseries-translations.pt (+6/-8) |
To merge this branch: | bzr merge lp:~adiroiban/launchpad/bug-146178 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | ui | Approve | |
Brad Crittenden (community) | code | Approve | |
Review via email: mp+24265@code.launchpad.net |
Commit message
Add in the UI +latest-
Description of the change
This is the resubmission of https:/
Here is the latest diff:
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -53,7 +53,6 @@
from lp.translations
-
class DistroSeriesNam
"""A class to ensure `IDistroSeries` has unique names."""
errormessage = _("%s is already in use by another series.")
@@ -275,8 +274,8 @@
- is useful when update packs are too big and want to merge all
- those changes in the base pack.
+ information is useful when update packs are too big and want to
+ merge all those changes in the base pack.
'''))
last_
=== modified file 'lib/lp/
--- lib/lp/
+++ lib/lp/
@@ -124,6 +124,9 @@
@property
def have_latest_
+ """Checks if this distribution series has a full language pack newer
+ than the current one."""
+
current = self.context.
latest = self.context.
if (current is None or
@@ -135,6 +138,9 @@
@property
def have_latest_
+ """Checks if this distribution series has a delta language pack newer
+ than the current one."""
+
current = self.context.
latest = self.context.
if (current is None or
Approved per the original review.