summaryrefslogtreecommitdiff
path: root/git-gui/po/po2msg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui/po/po2msg.sh')
-rw-r--r--git-gui/po/po2msg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-gui/po/po2msg.sh b/git-gui/po/po2msg.sh
index b7c4bf3fdf..1e9f992528 100644
--- a/git-gui/po/po2msg.sh
+++ b/git-gui/po/po2msg.sh
@@ -11,8 +11,8 @@ proc u2a {s} {
foreach i [split $s ""] {
scan $i %c c
if {$c<128} {
- # escape '[', '\' and ']'
- if {$c == 0x5b || $c == 0x5d} {
+ # escape '[', '\', '$' and ']'
+ if {$c == 0x5b || $c == 0x5d || $c == 0x24} {
append res "\\"
}
append res $i