Re: [libreoffice-website] Download page changed?

2010-12-09 Thread Christian Lohmaier
Hi Stefan, *,

On Thu, Dec 9, 2010 at 7:46 AM, Stefan Weigel
stefan.wei...@bildungskreis.org wrote:
 Am 07.12.2010 07:31, schrieb Stefan Weigel:

 Sorry, I can´t translate this particular page, because I do not see
 how its content is managed.

Well - it is automatically generated, thus it doesn't make sense to
duplicate it in the editor window... In the current form it is just
appended to the content from the editor window

 I do not see the published content or
 any code that produces the content in edit mode. And I do not see
 the published contentor any code that produces the content in HTML
 view of the editor, either.

The code that generates the actual list is here:
https://github.com/tdf/cms-code/blob/master/mysite/code/DownloadPage.php

The result is turned into HTML by this:
https://github.com/tdf/cms-themes/blob/master/tdf/templates/Layout/DownloadPage.ss

The javascript that creates the filtered output is here:
https://github.com/tdf/cms-code/blob/master/mysite/javascript/download.js
(but that one is visible from the site as well)

I'm not sure what is the best way to translate it yet. Either by using
hidden paragraphs or divs with the strings and fetch them from there,
or if it is wanted to display strings from different languages from
within the string by calling a different function of the controller
and add it on-the-fly.
Or with the silverstripe way of translating strings (i.e. using the
equivalent of po files in the cms itself
http://api.silverstripe.org/2.4/sapphire/misc/i18n.html#class_details
i.e. using  ss.i18n._t('MyEntity.MyNamespace','My default natural
language value');
in the script or just _t(...) in the template.

ciao
Christian

-- 
Unsubscribe instructions: E-mail to website+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/website/
*** All posts to this list are publicly archived for eternity ***



Re: [libreoffice-website] Download page changed?

2010-12-08 Thread Stefan Weigel
Hallo Christian,

Am 07.12.2010 07:31, schrieb Stefan Weigel:

 https://test.libreoffice.org/download-3/
 
 Prima! :-)
 
 I vote for renaming it to http://.../download/ and linking it in the
 menu.

Ok, this has happened now.

 I will be happy to again rebuild the german translation for it
 then.

Sorry, I can´t translate this particular page, because I do not see
how its content is managed. I do not see the published content or
any code that produces the content in edit mode. And I do not see
the published contentor any code that produces the content in HTML
view of the editor, either.

Stefan

-- 
LibreOffice - Die Freiheit nehm' ich mir!

-- 
Unsubscribe instructions: E-mail to website+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/website/
*** All posts to this list are publicly archived for eternity ***


Re: [libreoffice-website] Download page changed?

2010-12-06 Thread Rimas Kudelis

2010.12.06 21:42, Stefan Weigel rašė:

Hi,

is there a special reason, why the download page
http://www.test.libreoffice.org/download has been unpublished and
replaced by http://www.test.libreoffice.org/download-2 ?

Besides some severe style flaws it again lacks of a convenient
possibility for finding the adequate download packages e.g.
deb-Files or language packs.


Don't know about the reason, but, as name suggests, 
www.test.libreoffice.org is not really the production server yet, so 
convenience is not really the issue here.


Rimas


--
Unsubscribe instructions: E-mail to website+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/website/
*** All posts to this list are publicly archived for eternity ***


Re: [libreoffice-website] Download page changed?

2010-12-06 Thread Christian Lohmaier
Hi Stefan, *,

On Mon, Dec 6, 2010 at 8:42 PM, Stefan Weigel
stefan.wei...@bildungskreis.org wrote:

 Besides some severe style flaws it again lacks of a convenient
 possibility for finding the adequate download packages e.g.
 deb-Files or language packs.

I added the autmatic download-creation/selection page from pumbaa (see
previous mails) to the test.libreoffice.org site and created (yet
another, not linked in the menu yet) page:

https://test.libreoffice.org/download-3/

I did split the Release notes to a seperate page, as IMHO it is better
to have one page with releasenotes (that also has the release notes of
previous builds) than having to maintain it on the download page
itself.
Makes the pages less crowded.

If you want buttons for the downloads instead of links: Can be done of
course, all a matter of providing the right css.

The current buttons are not suitable though, as not enough info is included.

We would need buttons that
Distinguish all and multi installers on windows
Distinguish full installers from languagepacks on other OS
Distinguish rpm and deb on linux (combined with the langpack/full distinction)
Distinguish Mac/intel from Mac/ppc (also combined with sperating full
from languagepack installer)

ciao
Christian

-- 
Unsubscribe instructions: E-mail to website+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/website/
*** All posts to this list are publicly archived for eternity ***