Skip to content

Commit 8a1692f

Browse files
alexhenriepaulusmack
authored andcommitted
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>
1 parent ce232c3 commit 8a1692f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gitk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11330,6 +11330,7 @@ proc prefspage_general {notebook} {
1133011330
${NS}::label $page.maxwidthl -text [mc "Maximum graph width (lines)"]
1133111331
spinbox $page.maxwidth -from 0 -to 100 -width 4 -textvariable maxwidth
1133211332
grid $page.spacer $page.maxwidthl $page.maxwidth -sticky w
11333+
#xgettext:no-tcl-format
1133311334
${NS}::label $page.maxpctl -text [mc "Maximum graph width (% of pane)"]
1133411335
spinbox $page.maxpct -from 1 -to 100 -width 4 -textvariable maxgraphpct
1133511336
grid x $page.maxpctl $page.maxpct -sticky w

0 commit comments

Comments
 (0)