Project

General

Profile

Development git patches » History » Version 2

« Previous - Version 2/15 (diff) - Next » - Current version
tan, 12/30/2009 01:06 AM
minor changes to part 1


Creating Translation git patches

About these instructions

There are two sets of instructions here; one for first-time setup, one for already existing setups.

First-time setup

1. Create a directory to hold the git repository

$ mkdir quassel-dev
$ cd quassel-dev

2. Create a git copy of the master from git.quassel-irc.org

$ git clone git://git.quassel-irc.org/quassel.git

3. Change into your new copy of the git repository

$ cd quassel

4. Set your personal preferences (valid only inside this git repository)

$ git config user.name "Your full name here" 
$ git config user.email "your.email@address.here"

5. At this point you have your very own working copy of the central git repository which you can make changes to. Now is a good time to fire up your favorite .po-editor, and start editing your language file (you should edit the file in your local git repository).
As an example based on the path I've used here, the Norwegian Bokmaal translation file:

~/quassel-dev/quassel/po/quassel_nb_NO.po

When you have edited the file(s), you should follow the steps in the "Existing setups" below to create the git patch file(s).

Existing setups

Here, I assume you have either followed the instructions above, or already have a git repository clone from the master.

1.