From ae521afeea34aba7685b442a34188dd04e1ecf5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 11 Apr 2010 13:03:11 +0200 Subject: Enhance translating and development guide --- templates/pages/development.mako | 43 ++++++++++++++++++++++++++++++++++++++++ templates/pages/translating.mako | 8 ++++---- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/templates/pages/development.mako b/templates/pages/development.mako index e1fae3f..d069848 100644 --- a/templates/pages/development.mako +++ b/templates/pages/development.mako @@ -37,6 +37,49 @@ git checkout -t origin/0.13 For further information have a look at the Git documentation or search the webs. There are plenty of sources and guides out there.

+<%self:h2>Making portato run locally + +

The current dependencies

+

All of the following needs to be installed:

+ + +

Preparing the sources

+

+ As portato makes use of extension modules and of native language support, you need to run the following commands to get you started: +

+<%self:hl lang="bash"> +# compile extensions +./extensions.sh + +# compile language support (optional!) +./pocompile.sh + + +

Running it

+

+ If you made sure, that you have done everything noted above, you can use one of the following commands: +

+<%self:hl lang="bash"> +# normal startup - will prompt for the root password +./portato.py + +# run as current user. saves you entering the root password +# won't allow you to do emerges +./portato.py -F + + <%self:h2>Filing a bug

You can do this in the bugtracker. diff --git a/templates/pages/translating.mako b/templates/pages/translating.mako index 8abe9a5..6e98ae4 100644 --- a/templates/pages/translating.mako +++ b/templates/pages/translating.mako @@ -26,7 +26,7 @@ <%self:h2>Getting the sources

- You do need the sources to make translations, as the installed program is not sufficient. Please see the development page for how to get them. + You do need the sources to make translations, as the installed program is not sufficient. Please see the development page for how to get them and what is needed to run portato locally.

<%self:h2>Updating an incomplete translation @@ -65,14 +65,14 @@ ./pocompile.sh -

Now you can run the local portato version in your language:

+

Now you can run the local portato version in your language (the -F makes portato run as the current user and thus saves you having to enter your root-password over and over again):

<%self:hl lang="bash"> -./portato.py +./portato.py -F

If you are not seeing your language, make sure the environment variable "LANG" is set to your language code. For example, to run portato using the German translation:

<%self:hl lang="bash"> -LANG="de_DE" ./portato.py +LANG="de_DE" ./portato.py -F <%self:h2>Submit your translation -- cgit v1.2.3