Project

General

Profile

Development git patches » History » Version 1

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.

1 1 tan
h1. Creating Translation git patches
2 1 tan
3 1 tan
{{toc}}
4 1 tan
5 1 tan
h2. About these instructions
6 1 tan
7 1 tan
There are two sets of instructions here; one for first-time setup, one for already existing setups.
8 1 tan
9 1 tan
h2. First-time setup
10 1 tan
11 1 tan
1. Create a directory to hold the git repository
12 1 tan
<pre>$ mkdir quassel-dev
13 1 tan
$ cd quassel-dev</pre>
14 1 tan
15 1 tan
2. Create a git copy of the master from git.quassel-irc.org
16 1 tan
<pre>$ git clone git://git.quassel-irc.org/quassel.git</pre>
17 1 tan
18 1 tan
3. Change into your new copy of the git repository
19 1 tan
<pre>$ cd quassel</pre>
20 1 tan
21 1 tan
4. Set your personal preferences (I'm uncertain if --global is needed)
22 1 tan
<pre>$ git config user.name "Your full name here"
23 1 tan
$ git config user.email "your.email@address.here"
24 1 tan
$ git config --global user.name "Your full name here"
25 1 tan
$ git config --global user.email "your.email@address.here"</pre>
26 1 tan
27 1 tan
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).
28 1 tan
As an example based on the path I've used here, the Norwegian Bokmaal translation file: <pre>~/quassel-dev/quassel/po/quassel_nb_NO.po</pre>
29 1 tan
30 1 tan
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).
31 1 tan
32 1 tan
h2. Existing setups
33 1 tan
34 1 tan
Here, I assume you have either followed the instructions above, or already have a git repository clone from the master.
35 1 tan
36 1 tan
1.