Incremental diff (also reflected in the screenshots): === modified file 'lib/lp/translations/browser/pofile.py' --- lib/lp/translations/browser/pofile.py 2009-09-01 11:41:42 +0000 +++ lib/lp/translations/browser/pofile.py 2009-09-02 06:32:33 +0000 @@ -248,23 +248,22 @@ DEFAULT_BATCH_SIZE = 50 - def page_title(self): - """See `LaunchpadView`.""" + @property + def _person_name(self): + """Person's display name. Graceful about unknown persons.""" if self.person is None: - person_name = "unknown person" + return "unknown person" else: - person_name = self.person.displayname + return self.person.displayname + def page_title(self): + """See `LaunchpadView`.""" return smartquote('Translations by %s in "%s"') % ( - person_name, self.context.title) + self._person_name, self.context.title) def label(self): """See `LaunchpadView`.""" - if self.person: - person_name = "unknown person" - else: - person_name = self.person.displayname - return "Translations by %s" % person_name + return "Translations by %s" % self._person_name def initialize(self): """See `LaunchpadView`.""" === modified file 'lib/lp/translations/interfaces/translationrelicensingagreement.py' --- lib/lp/translations/interfaces/translationrelicensingagreement.py 2009-09-01 14:59:04 +0000 +++ lib/lp/translations/interfaces/translationrelicensingagreement.py 2009-09-02 05:49:06 +0000 @@ -37,9 +37,9 @@ class TranslationRelicensingAgreementOptions(EnumeratedType): - BSD = Item("licence all my translations in Launchpad " - "under the BSD licence.") - REMOVE = Item("not make translations in Launchpad.") + BSD = Item("License all my translations in Launchpad " + "under the BSD license.") + REMOVE = Item("Not make translations in Launchpad.") class ITranslationRelicensingAgreementEdit(ITranslationRelicensingAgreement): === modified file 'lib/lp/translations/templates/person-translations-relicensing.pt' --- lib/lp/translations/templates/person-translations-relicensing.pt 2009-09-01 09:51:12 +0000 +++ lib/lp/translations/templates/person-translations-relicensing.pt 2009-09-02 05:47:03 +0000 @@ -17,12 +17,12 @@
To let the maximum number of projects benefit from this, we ask that you agree to license all your translations under the - BSD licence. + BSD license. If you change your mind later, you can return to this page (“Translations licensing”) at any time.
- If you do not agree to the BSD licence, you will not be able + If you do not agree to the BSD license, you will not be able to make translations in Launchpad.
=== modified file 'lib/lp/translations/templates/person-translations.pt'
--- lib/lp/translations/templates/person-translations.pt 2009-09-01 08:37:31 +0000
+++ lib/lp/translations/templates/person-translations.pt 2009-09-02 05:16:31 +0000
@@ -147,8 +147,9 @@
tal:content="translator/style_guide_url"
tal:attributes="href translator/style_guide_url"
>Documentation URL
-
+ edit
=== modified file 'lib/lp/translations/templates/pofile-filter.pt'
--- lib/lp/translations/templates/pofile-filter.pt 2009-09-01 10:56:28 +0000
+++ lib/lp/translations/templates/pofile-filter.pt 2009-09-02 06:53:07 +0000
@@ -33,7 +33,8 @@
has
- submitted the following strings to this translation.
+ submitted the following strings to
+ this translation.
Contributions are visually coded:
currently used translations,
unreviewed suggestions,
@@ -81,7 +82,6 @@