@@ -218,7 +218,7 @@ A good commit message has the following format:
218218 return
219219 }
220220
221- ui_status { Calling pre-commit hook...}
221+ ui_status [mc " Calling pre-commit hook..." ]
222222 set pch_error {}
223223 fconfigure $fd_ph -blocking 0 -translation binary -eofchar {}
224224 fileevent $fd_ph readable \
@@ -233,7 +233,7 @@ proc commit_prehook_wait {fd_ph curHEAD msg_p} {
233233 if {[eof $fd_ph ]} {
234234 if {[catch {close $fd_ph }]} {
235235 catch {file delete $msg_p }
236- ui_status { Commit declined by pre-commit hook.}
236+ ui_status [mc " Commit declined by pre-commit hook." ]
237237 hook_failed_popup pre-commit $pch_error
238238 unlock_index
239239 } else {
@@ -256,7 +256,7 @@ proc commit_commitmsg {curHEAD msg_p} {
256256 return
257257 }
258258
259- ui_status { Calling commit-msg hook...}
259+ ui_status [mc " Calling commit-msg hook..." ]
260260 set pch_error {}
261261 fconfigure $fd_ph -blocking 0 -translation binary -eofchar {}
262262 fileevent $fd_ph readable \
@@ -271,7 +271,7 @@ proc commit_commitmsg_wait {fd_ph curHEAD msg_p} {
271271 if {[eof $fd_ph ]} {
272272 if {[catch {close $fd_ph }]} {
273273 catch {file delete $msg_p }
274- ui_status { Commit declined by commit-msg hook.}
274+ ui_status [mc " Commit declined by commit-msg hook." ]
275275 hook_failed_popup commit-msg $pch_error
276276 unlock_index
277277 } else {
@@ -284,7 +284,7 @@ proc commit_commitmsg_wait {fd_ph curHEAD msg_p} {
284284}
285285
286286proc commit_writetree {curHEAD msg_p} {
287- ui_status { Committing changes...}
287+ ui_status [mc " Committing changes..." ]
288288 set fd_wt [git_read write-tree]
289289 fileevent $fd_wt readable \
290290 [list commit_committree $fd_wt $curHEAD $msg_p ]
@@ -301,7 +301,7 @@ proc commit_committree {fd_wt curHEAD msg_p} {
301301 if {[catch {close $fd_wt } err]} {
302302 catch {file delete $msg_p }
303303 error_popup [strcat [mc " write-tree failed:" ] " \n\n $err " ]
304- ui_status { Commit failed.}
304+ ui_status [mc " Commit failed." ]
305305 unlock_index
306306 return
307307 }
@@ -345,7 +345,7 @@ A rescan will be automatically started now.
345345 if {[catch {set cmt_id [eval git $cmd ]} err]} {
346346 catch {file delete $msg_p }
347347 error_popup [strcat [mc " commit-tree failed:" ] " \n\n $err " ]
348- ui_status { Commit failed.}
348+ ui_status [mc " Commit failed." ]
349349 unlock_index
350350 return
351351 }
@@ -365,7 +365,7 @@ A rescan will be automatically started now.
365365 } err]} {
366366 catch {file delete $msg_p }
367367 error_popup [strcat [mc " update-ref failed:" ] " \n\n $err " ]
368- ui_status { Commit failed.}
368+ ui_status [mc " Commit failed." ]
369369 unlock_index
370370 return
371371 }
0 commit comments