Development git patches » History » Version 2
Version 1 (tan, 12/30/2009 01:02 AM) → Version 2/15 (tan, 12/30/2009 01:06 AM)
h1. Creating Translation git patches
{{toc}}
h2. About these instructions
There are two sets of instructions here; one for first-time setup, one for already existing setups.
h2. First-time setup
1. Create a directory to hold the git repository
<pre>$ mkdir quassel-dev
$ cd quassel-dev</pre>
2. Create a git copy of the master from git.quassel-irc.org
<pre>$ git clone git://git.quassel-irc.org/quassel.git</pre>
3. Change into your new copy of the git repository
<pre>$ cd quassel</pre>
4. Set your personal preferences (valid only inside this git repository) (I'm uncertain if --global is needed)
<pre>$ 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"</pre>
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: <pre>~/quassel-dev/quassel/po/quassel_nb_NO.po</pre>
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).
h2. Existing setups
Here, I assume you have either followed the instructions above, or already have a git repository clone from the master.
1.
{{toc}}
h2. About these instructions
There are two sets of instructions here; one for first-time setup, one for already existing setups.
h2. First-time setup
1. Create a directory to hold the git repository
<pre>$ mkdir quassel-dev
$ cd quassel-dev</pre>
2. Create a git copy of the master from git.quassel-irc.org
<pre>$ git clone git://git.quassel-irc.org/quassel.git</pre>
3. Change into your new copy of the git repository
<pre>$ cd quassel</pre>
4. Set your personal preferences (valid only inside this git repository) (I'm uncertain if --global is needed)
<pre>$ 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"</pre>
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: <pre>~/quassel-dev/quassel/po/quassel_nb_NO.po</pre>
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).
h2. Existing setups
Here, I assume you have either followed the instructions above, or already have a git repository clone from the master.
1.