Hi Ursula, This looks good, but there are a few stylistic issues that need fixing, so I'm just giving you some quick feedback, so that you can do these changes with any other changes that come up during the UI review of this. review needs-fixing On Fri, 2009-08-28 at 13:15 +0000, Ursula Junque wrote: > = Summary = > > This branch migrates the template of language-index page to the new > format. > The bug that's tracking this change is bug 418345. > It also has a fix for test_translationlinksaggregator, that was > relying on the database data order and started to fail. > I've added a 3-line fix for bug 404898, because it wasn't worthy > creating a separated branch for it. Besides, the fix is related to the > main change here, that's bug 418345. > > > == Pre-implementation notes == > > It was discussed with rockstar about how to deal with the context menu > now, and he said we should now use NavigationMenu instead of > ContextMenu. So, considering nothing else in translations was using > LanguageContextMenu, I've changed this to inherit NavigationMenu, and > renamed it to LanguageNavigationMenu. > > > == Tests == > > This should test all changes, including a fix for > test_translationlinksaggregator: > bin/test -vvt lp.translations.* > > To test specifically the template migration changes: > bin/test -vvt xx-language > > > == Demo and Q/A == > > To check the changed pages, go to: > - https://translations.launchpad.dev/+languages/us > As a regular user you should see the changed layout. > As an admin user, you should also be able to see the 'Administer' > link as well, in the new format. > === modified file 'lib/lp/translations/stories/standalone/xx-language.txt' > --- lib/lp/translations/stories/standalone/xx-language.txt 2009-07-01 20:45:39 +0000 > +++ lib/lp/translations/stories/standalone/xx-language.txt 2009-08-28 09:10:18 +0000 > @@ -89,15 +89,16 @@ > >>> print browser.url > http://translations.launchpad.dev/+languages/es > > - >>> pluralforms_portlet = find_portlet(browser.contents, 'Plural Forms') > + >>> pluralforms_portlet = find_portlet(browser.contents, 'Plural forms') > >>> print pluralforms_portlet > - <... > - The amount of plural forms for Spanish is: 2 > +
n != 1> ... > +
> - Here you see the information we have available about this language. > -
> - > -> - If you see anything wrong with this information, please see whether it's > - already been brought up in the > - Answers application. > - If not, please file a question there. > -
> - > -> - When translating into this language, you need to be able to > - express plural forms effectively. The plural form expression tells > - the translation system when to use each plural form. For example, > - some languages express the idea of "zero objects" differently to > - "one object" or "more than ten objects". In these cases, the > - plural form expression captures the information needed to know > - which form to use based on the number in question. > -
> -
> - The amount of plural forms for
> -
> - And its default plural form expression is: > -
> -> -
> - n != 1 > -> - > -
> - Unfortunately, Launchpad doesn't know the plural form > - information for this language. If you know it, please open a > - ticket with that information, > - so we can add it to Launchpad. > -
> -
> + There are
> + The default plural form expression for
> + n != 1 > +> + > + Ditto > +
> + When translating into this language, you need to be able to > + express plural forms effectively. The plural form expression tells > + the translation system when to use each plural form. For example, > + some languages express the idea of "zero objects" differently to > + "one object" or "more than ten objects". In these cases, the > + plural form expression captures the information needed to know > + which form to use based on the number in question. > +
> +> + Unfortunately, Launchpad doesn't know the plural form > + information for this language. If you know it, please open a > + ticket with that information, > + so we can add it to Launchpad. > +
> +> @@ -139,12 +115,11 @@ > > has no team or person registered as an expert. >
> -> @@ -169,11 +144,13 @@ > information, so we can add it to Launchpad. >
> > -