@matheusbsbs / matheus-bagliano / commits / b86882eda0
Fork 0

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>

Shawn O. Pearce committed Sep 3, 2007 at 00:22 UTC b86882eda026a0da18472587034250a53e0daf51
1 file changed +1 -1
git-gui.sh
+1 -1
@@ -1643,7 +1643,7 @@ proc apply_config {} {
1643 font configure $font $cn $cv
1644 }
1645 } err]} {
1646 - error_popup [append [mc "Invalid font specified in gui.%s:" $name] "\n\n$err"]
1646 + error_popup [append [mc "Invalid font specified in %s:" "gui.$name"] "\n\n$err"]
1647 }
1648 foreach {cn cv} [font configure $font] {
1649 font configure ${font}bold $cn $cv