Project

General

Profile

Development git patches » History » Version 2

tan, 12/30/2009 01:06 AM
minor changes to part 1

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 2 tan
4. Set your personal preferences (valid only inside this git repository)
22 1 tan
<pre>$ git config user.name "Your full name here"
23 2 tan
$ git config user.email "your.email@address.here"</pre>
24 1 tan
25 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).
26 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>
27 1 tan
28 2 tan
When you have edited the file(s), you should follow the steps in the "Existing setups" below to create the git patch file(s).
29 1 tan
30 1 tan
h2. Existing setups
31 1 tan
32 1 tan
Here, I assume you have either followed the instructions above, or already have a git repository clone from the master.
33 1 tan
34 1 tan
1.