Den 14/09/2013 19.37 skrev "Ger Siemerink" <[email protected]>:
> this would be very interesting, I used to clone a git on my pc, translate
po and then send a request by sending a (po) patch file.
Ok, here's a copy/paste (more or less) from my own "recipe" file:
------------------------------
Setting up:
Fork project on GitHub
git clone https://github.com/MYGITHUBNAME/darktable.git
# Clones your fork of the repository into the current directory in terminal
cd darktable
git remote add upstream https://github.com/darktable-org/darktable.git
# Assigns the original repository to a remote called "upstream"
# Your fork is referenced to as "origin"
--------
Working routine:
git fetch upstream
# Fetches any new changes from the original repository
git checkout darktable-1.2.x
# optionally change to non-master branch (change master into branchname
everywhere below). If you want to work on the master branch, don't do this
step. Or do git checkout master to change back to master branch.
git merge upstream/master
# Merges any fetched changes into your working files
./build.sh
cd po
intltool-update da #change da into your language
(do work)
git add da.po #change into your file
git commit -m 'Updated Danish translation' #obviously change comment
git push origin master
Do pull request
------------------------------------
If you want, you can do several commits before you do a push to your fork.
By the way, I warmly recommend the free book about git at
http://git-scm.com/book
Thomas
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel