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

Re: [PATCH 1/5] Internationalization of git-gui

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 21, 2007, 19:41 UTC
Message-ID
<7vejj1v92b.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0707211427190.14781@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 28 quoted lines
> ...
> - Make the current revision my new 'master'.  That branch already exists, 
>   and I am on 'christian-new', though.  No problem:
>
> 	$ git branch -M christian-new master
>
>   (But if you do that with "-M", which means _force_ rename, make sure 
>   twice that this is really what you want.)
>
> - Push it.
>
> 	$ git push origin +master
> 	...
> 	refs/heads/master: da7b699[...] -> cc2b761b[...]
>
>   The "+" is necessary, since I rebased it...
>
>   If there were more pushers than just me, I'd verify that da7b699 is 
>   indeed the old state of my master:
>
> 	$ git reflog
> 	...
> 	d36cd96... HEAD@{20}: checkout: moving from master to christian-new
> 	da7b699... HEAD@{21}: commit [...]
>
>   Yep.
>
> Good.  Happy.
Two questions and a half.
 - The above means git-gui-i18n.git's master is rebased.  Is
   that the intention?  IOW, people are supposed to work on it
   with fetch+rebase, not fetch+merge (= pull)?
 - It seems that the tip of 'mob' now is out of sync wrt
   'master'.  What's the plan to update it with framework
   changes made in 'master' (e.g. addition of po/glossary.csv)?

While I think keeping a reference for consistent translation (within one language's *.po file) is a useful practice, the po/glossary.csv file on 'master' seems a way suboptimal solution. Currently it is:

        $ file po/glossary.csv
        po/glossary.csv: ISO-8859 text
        $ head -n 1 po/glossary.csv
        "English Term"  "de translation"

which implies that other languages will be added at the end separated with <TAB>?

There are two HUGE problems with that.
 * Supporting many languages means looooong lines in that file.
   Translators for languages later on the line would have hard
   time updating or looking at that file.
 * Mixed encodings.  What if next language wants its strings in
   UTF-8?  How would you have that and ISO-8859 on a same line?
I would suggest having one glossary file per language.
Previous: Johannes SchindelinNext: Christian Stimming
Message 31 of 48 in “Re: [PATCH] Internationalization of git-gui”
  1. Brett SchwarzJul 19, 2007
  2. Shawn O. PearceJul 20, 2007
  3. Christian StimmingJul 20, 2007
  4. Shawn O. PearceJul 21, 2007
  5. Christian StimmingJul 21, 2007
  6. Shawn O. PearceJul 21, 2007
  7. Christian StimmingJul 21, 2007
  8. Christian StimmingJul 21, 2007
  9. Christian StimmingJul 21, 2007
  10. Christian StimmingJul 21, 2007
  11. Christian StimmingJul 21, 2007
  12. David KastrupJul 21, 2007
  13. Simon 'corecode' SchubertJul 21, 2007
  14. David KastrupJul 21, 2007
  15. Christian StimmingJul 21, 2007
  16. Christian StimmingJul 21, 2007
  17. David KastrupJul 21, 2007
  18. Christian StimmingJul 22, 2007
  19. Edgar ToernigJul 22, 2007
  20. Christian StimmingJul 23, 2007
  21. David KastrupJul 21, 2007
  22. Shawn O. PearceJul 22, 2007
  23. Junio C HamanoJul 22, 2007
  24. Christian StimmingJul 22, 2007
  25. Johannes SchindelinJul 22, 2007
  26. Christian StimmingJul 22, 2007
  27. Johannes SchindelinJul 22, 2007
  28. Shawn O. PearceJul 22, 2007
  29. Christian StimmingJul 22, 2007
  30. Johannes SchindelinJul 21, 2007
  31. Junio C HamanoJul 21, 2007
  32. Christian StimmingJul 21, 2007
  33. Johannes SchindelinJul 21, 2007
  34. Junio C HamanoJul 21, 2007
  35. Johannes SchindelinJul 21, 2007
  36. Christian StimmingJul 22, 2007
  37. Johannes SchindelinJul 22, 2007
  38. Add glossary that can be converted into a po file for each language.Christian Stimming, Jul 23, 2007
  39. Junio C HamanoJul 24, 2007
  40. Junio C HamanoJul 24, 2007
  41. Christian StimmingJul 24, 2007
  42. Johannes SchindelinJul 21, 2007
  43. Junio C HamanoJul 21, 2007
  44. Johannes SchindelinJul 21, 2007
  45. Shawn O. PearceJul 22, 2007
  46. Christian StimmingJul 23, 2007
  47. Shawn O. PearceJul 24, 2007
  48. Christian StimmingJul 20, 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.