Project

General

Profile

Development git patches » History » Version 1

Version 1/15 - Next ยป - Current version
tan, 12/30/2009 01:02 AM
Added initial page with instructions on how to create a local copy of the git master with personal preferences set.


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 (I'm uncertain if --global is needed)

$ git config user.name "Your full name here" 
$ git config user.email "your.email@address.here" 
$ git config --global user.name "Your full name here" 
$ git config --global 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 get 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.