diff options
Diffstat (limited to '')
-rw-r--r-- | templates/menu.mako | 4 | ||||
-rw-r--r-- | templates/page.mako | 1 | ||||
-rw-r--r-- | templates/pages/index.mako | 22 | ||||
-rw-r--r-- | templates/root.mako | 2 |
4 files changed, 24 insertions, 5 deletions
diff --git a/templates/menu.mako b/templates/menu.mako index 4d6fff4..cf9923e 100644 --- a/templates/menu.mako +++ b/templates/menu.mako @@ -2,6 +2,8 @@ menu = [ ("/index", "Portato"), ("/download", "Download"), - ("/development", "Development") + ("/development", "Development"), + ("/translating", "Translating"), + ("http://necoro.wordpress.com", "Blog") ] %> diff --git a/templates/page.mako b/templates/page.mako index e8e582a..14728a3 100644 --- a/templates/page.mako +++ b/templates/page.mako @@ -3,6 +3,7 @@ %> <%inherit file="/root.mako" /> +<%namespace file="/root.mako" inheritable="True" import="hl"/> <h1 class="title">${self.attr.title}</h1> ${next.body()} diff --git a/templates/pages/index.mako b/templates/pages/index.mako index a5cb8d1..5a08fa7 100644 --- a/templates/pages/index.mako +++ b/templates/pages/index.mako @@ -4,14 +4,30 @@ <%inherit file="/page.mako" /> <p> -Portato is a GUI for the package manager of <a href="http://www.gentoo.org">Gentoo</a> and <a href="http://www.sabayonlinux.org">Sabayon</a> - Portage. It is mostly written in <a href="http://www.python.org">Python</a> for the GTK+-frontend, which is used in most Linux desktop environments (except KDE). + Portato is a GUI for the package manager of <a href="http://www.gentoo.org">Gentoo</a> and <a href="http://www.sabayonlinux.org">Sabayon</a> - Portage. It is mostly written in <a href="http://www.python.org">Python</a> for the GTK+-frontend, which is used in most Linux desktop environments (except KDE). </p> <p> -As the current portage development is quite fast-paced, Portato is not able to keep step. Thus it might be that the released version(s) do not behave as expected. In these cases also try the <a href="development">development version</a>. + As the current portage development is quite fast-paced, Portato is not able to keep step. Thus it might be that the released version(s) do not behave as expected. In these cases also try the <a href="/development">development version</a>. </p> <h2>Installation</h2> <p> -Portato is delivered with the standard portage tree and can be installed using <code>emerge portato</code> + Portato is delivered with the standard portage tree and can be installed using <code>emerge portato</code>. + If you want to use the development version, you need to do the following (given you have installed and configured layman ... if not: see <a href="http://www.gentoo.org/proj/en/overlays/userguide.xml">this guide</a>): +</p> + +<%self:hl lang="bash"> +layman -o http://portato.sourceforge.net/layman.xml -f -a portato +echo "=app-portage/portato-9999" >> /etc/portage/package.unmask +echo "=app-portage/portato-9999" >> /etc/portage/package.keywords +emerge -av portato +</%self:hl> + +<h2>Translations</h2> +<p> + Portato does know about the so called <strong>Native Language Support</strong>. It currently supports the following languages: Catalan, English, Italian, German, Polish, Portugese, and Turkish. +</p> +<p> + If you want to add support for another language, please see the <a href="/translating">translation howto</a>. </p> diff --git a/templates/root.mako b/templates/root.mako index c20704d..a6ed47a 100644 --- a/templates/root.mako +++ b/templates/root.mako @@ -39,7 +39,7 @@ <%namespace name="_hl" module="highlighting"/> <%def name="hl(lang)"> - <div><pre class="box2">${_hl.highlight(capture(caller.body), lang)}</pre></div> + <pre class="box">${_hl.highlight(capture(caller.body), lang)}</pre> </%def> <%def name="title()"> |