git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Initial Chinese translation

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 22, 2007, 11:39 UTC
Message-ID
<Pine.LNX.4.64.0707221233330.14781@racer.site>
In-Reply-To
<20070722085338.GA18268@xguan-laptop>
Hi,
On Sun, 22 Jul 2007, Xudong Guan wrote:
Show 11 quoted lines
> On 01:06 Sun 22 Jul     , Junio C Hamano wrote:
> > Yeah, I was hinting to rename this file to zh_CN.po from day
> > one.
> 
> I agree.
> 
> I am new to the patch-in-email way of doing things. If I could do
> better, please give me hints. Can I push directly to mob? Like:
> $ git clone http://repo.or.cz/r/git-gui/git-gui-i18n
> hack hack hack ....
> $ git push http://repo.or.cz/r/git-gui/git-gui-i18n master:mob
Almost:
$ git push mob@repo.or.cz:/srv/git/git-gui/git-gui-i18n.git master:mob

If it says that you might want to pull first, please consider pulling from mob with

$ git pull http://repo.or.cz/r/git-gui/git-gui-i18n.git/ mob
or rebasing with

$ git fetch http://repo.or.cz/r/git-gui/git-gui-i18n.git/ mob $ git rebase FETCH_HEAD

> >From 936787ddbdeaf0bcecbb1359179dae90c20418b0 Mon Sep 17 00:00:00 2001
> From: Xudong Guan <xudong.guan@gmail.com>
> Date: Sun, 22 Jul 2007 09:41:12 +0100
> Subject: [PATCH] git-gui: renamed po/zh.po -> po/zh_CN.po
Thanks.  Applied.

Before applying, I usually compile test, and it seems like just one translation is missing: Apply/Revert Hunk. Could you please add that, too? Thank you.

> ---
>  po/zh.po    |  250 -----------------------------------------------------------
>  po/zh_CN.po |  250 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Just a tip for the next time: the git diff family -- including format-patch -- knows about renames, when you call it with "-M". The patch will be much shorter then, saying that there was a rename. It is not turned on by default, since only Git knows about this extension for the time being. But that's what we're using, so no problem there.

Ciao, Dscho

Previous: Junio C HamanoNext: Johannes Schindelin
Message 10 of 11 in “Initial Chinese translation”
  1. Initial Chinese translationXudong Guan, Jul 22, 2007
  2. Junio C HamanoJul 22, 2007
  3. Johannes SchindelinJul 22, 2007
  4. Xudong GuanJul 22, 2007
  5. Junio C HamanoJul 22, 2007
  6. Shawn O. PearceJul 22, 2007
  7. Junio C HamanoJul 22, 2007
  8. Xudong GuanJul 22, 2007
  9. Junio C HamanoJul 22, 2007
  10. Johannes SchindelinJul 22, 2007
  11. Johannes SchindelinJul 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.