From: "Shawn O. Pearce" <spearce@spearce.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 00/15] i18n support for git-gui
Date: Mon, 3 Sep 2007 00:49:38 -0400 [thread overview]
Message-ID: <20070903044938.GQ18160@spearce.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0709021738090.28586@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> sorry for the fsckup with the first two patches; both should be attributed
> to Christian Stimming.
>
> For convenience, I also uploaded that patch series (on top of your
> "git-gui: Initialize Tcl's msgcat library for internationalization" in
> your "pu" branch) to the "for-shawn" branch in git-gui-i18n.
That was *much* easier than the small patch bomb. ;-)
I've swallowed this series down and added it to my `master` branch.
I found one bug in the [mc "..."] string definitions and fixed it
(below). I also applied Michele Ballabio's "remove does in some
UI strings" patch on top. Those two changes I'm sure will impact
some of the translated strings. I guess someone needs to run `make
update-po` and ask translators to revise the individual languages?
-->8--
From b86882eda026a0da18472587034250a53e0daf51 Mon Sep 17 00:00:00 2001
From: Shawn O. Pearce <spearce@spearce.org>
Date: Mon, 3 Sep 2007 00:22:19 -0400
Subject: [PATCH] git-gui: Correct stock message for 'Invalid font specified in %s'
This particular message is talking about a specific option in the
configuration file named "gui.$name". This option is not localized
so we cannot localize the "gui." that denotes the section the option
$name is found within. Currently there are no plans to localize the
configuration options for git-gui, but if that were to change in the
future then it would be necessary to localize not only the "gui."
section prefix but also the $name (fontui and fontdiff).
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
git-gui.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-gui.sh b/git-gui.sh
index 913ba68..5635eea 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1643,7 +1643,7 @@ proc apply_config {} {
font configure $font $cn $cv
}
} err]} {
- error_popup [append [mc "Invalid font specified in gui.%s:" $name] "\n\n$err"]
+ error_popup [append [mc "Invalid font specified in %s:" "gui.$name"] "\n\n$err"]
}
foreach {cn cv} [font configure $font] {
font configure ${font}bold $cn $cv
--
1.5.3
--
Shawn.
next prev parent reply other threads:[~2007-09-03 4:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-02 16:23 [PATCH 00/15] i18n support for git-gui Johannes Schindelin
2007-09-02 16:25 ` [PATCH 01/15] Mark strings for translation Johannes Schindelin
2007-09-02 16:28 ` Johannes Schindelin
2007-09-02 16:25 ` [PATCH 02/15] Makefile rules for translation catalog generation and installation Johannes Schindelin
2007-09-02 16:26 ` Johannes Schindelin
2007-09-02 16:30 ` [PATCH 03/15] git-gui po/README: Guide to translators Johannes Schindelin
2007-09-02 16:31 ` [PATCH 04/15] Add po/git-gui.pot Johannes Schindelin
2007-09-02 16:31 ` [PATCH 05/15] Ignore po/*.msg Johannes Schindelin
2007-09-02 16:32 ` [PATCH 06/15] Add glossary that can be converted into a po file for each language Johannes Schindelin
2007-09-02 16:32 ` [PATCH 07/15] Add glossary translation template into git Johannes Schindelin
2007-09-02 16:34 ` [PATCH 08/15] German translation for git-gui Johannes Schindelin
2007-09-02 16:34 ` [PATCH 09/15] Initial Chinese " Johannes Schindelin
2007-09-02 16:35 ` [PATCH 10/15] Japanese translation of git-gui Johannes Schindelin
2007-09-02 16:35 ` [PATCH 11/15] Italian " Johannes Schindelin
2007-09-02 16:36 ` [PATCH 12/15] git-gui: initial version of russian translation Johannes Schindelin
2007-09-02 16:37 ` [PATCH 13/15] Hungarian translation of git-gui Johannes Schindelin
2007-09-02 16:37 ` [PATCH 14/15] German glossary for translation Johannes Schindelin
2007-09-02 16:38 ` [PATCH 15/15] git-gui: Added initial version of po/glossary/zh_cn.po Johannes Schindelin
2007-09-02 16:39 ` [PATCH 00/15] i18n support for git-gui Johannes Schindelin
2007-09-03 4:49 ` Shawn O. Pearce [this message]
2007-09-03 12:17 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070903044938.GQ18160@spearce.org \
--to=spearce@spearce.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).