summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-03 04:22:19 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-09-03 04:22:19 (GMT)
commitb86882eda026a0da18472587034250a53e0daf51 (patch)
treea9833d5cb912cd3625a88e17613905e8026f62ac /git-gui.sh
parent2ea22555073a1272ba1dc4ecb9968c0f8616e860 (diff)
downloadgit-b86882eda026a0da18472587034250a53e0daf51.zip
git-b86882eda026a0da18472587034250a53e0daf51.tar.gz
git-b86882eda026a0da18472587034250a53e0daf51.tar.bz2
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>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh2
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