Development

gettext

See:
http://overshoot.tv/wiki/tools/translation_tools#Gettext

Troubleshooting

msgmerge: invalid multibyte sequence

Example with a file containing Chinese:

msgmerge --update translations/tw/overshoot_smoking.po translations/overshoot_smoking.pot
translations/tw/overshoot_smoking.po:3: invalid multibyte sequence
translations/tw/overshoot_smoking.po:3: invalid multibyte sequence
translations/tw/overshoot_smoking.po:3: invalid multibyte sequence
translations/tw/overshoot_smoking.po:3: invalid multibyte sequence

Git FAQ

First, make sure that the answer to your question is not somewhere in the official documentation:
http://git-scm.com/

How to rename a file with Git

Use:

git mv old-name new-name

Be careful: To preserve history, you have to carefully do a commit that only renames. Do not commit something that changes the file name as well as changes its content. 1

If you do git log -M -p you will see the message of the rename, like in the following example:



Using git with Vim

http://charityware.info/vim

Default editor

You may want to change the default editor for git:

git config --global core.editor "vim"

Extensions

People familiar with those extensions: please edit this page to write a comparison between them.

http://vim.runpaint.org/extending/integrating-vim-with-git/
http://www.jukie.net/bart/blog/git-vim
http://www.osnews.com/story/21556/Using_Git_with_Vim

Getting started with Git

First, you must figure out what you need.

Note: the man pages for git as well as the official documentation can be a bit confusing for a beginner. Git commands are often referred as git-command, e.g. git-add, git-commit, .... Thus you can check the man page for any command: man git-command, e.g. man git-commit, man git-add, .... However when you use those commands, the hyphen must be replaced by a space. You would do: git add myfile.txt and not git-add myfile.txt.

Syndicate content