[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Release Notes errors 01-Oct

----- Original Message -----
Date: Fri, 02 Oct 2009 01:29:40 +1000
From: Ruediger Landmann <r landmann redhat com>
Subject: Re: Release Notes errors 01-Oct
To: Fedora Translation Project List <fedora-trans-list redhat com>

It's certainly achievable, but only for the brave :)

There is a slightly less painful way, but still requiring a little work.

The script I am running every night is in the build directory of the master branch. It is called make-l10n. With a few relatively simple fixes that script could build a single language:

1) Replace the line:
GITIT="git clone ssh://jjmcd git fedorahosted org/git/docs/release-notes.git"
   GITIT="git clone git://git.fedorahosted.org/git/docs/release-notes.git"

2) There is a list of languages near the top of the script. Count, starting from zero, until you find your language.

3) Delete from "make html-en-US" through "ftp -pi fedora.is-sixsigma.com <ftp.tmp"

4) Replace the line "for NUM in {0..39] ..." with
     for NUM in $LANGNUM ; do

where xx is the number you found in 1). If you wanted to do several languages, you could put several numbers between the quotes, separated by spaces.

5) Delete all from "if ..." through "fi ..."

This script actualy does a git clone, switches branches, saves files off in a safe place, switches branches again, merges the po's and finally does the build, so it isn't exactly fast.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]