diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2015-01-22 01:19:39 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2015-03-15 14:32:42 +1100 |
commit | 8a1692f6bcbbd1eb4a999c2e4f6ae7cb12e1453a (patch) | |
tree | 430692aa7218a60e9e319870aefebbcc95f8ab6f /gitk | |
parent | gitk: Pass --invert-grep option down to "git log" (diff) | |
download | tgif-8a1692f6bcbbd1eb4a999c2e4f6ae7cb12e1453a.tar.xz |
gitk: Remove tcl-format flag from a message that shouldn't have it
xgettext sees "% o" and interprets it as a placeholder for an octal
number preceded by a space. However, in this case it's not actually a
placeholder, and most translations will replace the "% o" sequence with
something else. Removing the tcl-format flag from this string prevents
tools like Poedit from freaking out when "% o" doesn't appear in the
translated string.
The corrected flag will appear in each translation's po file the next time
the translation is updated with `make update-po`.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11330,6 +11330,7 @@ proc prefspage_general {notebook} { ${NS}::label $page.maxwidthl -text [mc "Maximum graph width (lines)"] spinbox $page.maxwidth -from 0 -to 100 -width 4 -textvariable maxwidth grid $page.spacer $page.maxwidthl $page.maxwidth -sticky w + #xgettext:no-tcl-format ${NS}::label $page.maxpctl -text [mc "Maximum graph width (% of pane)"] spinbox $page.maxpct -from 1 -to 100 -width 4 -textvariable maxgraphpct grid x $page.maxpctl $page.maxpct -sticky w |