{"thread":{"id":"15498","subject":"[PATCH] gitk: Add untranslated error messages to translation.","startedAt":"2008-09-12T09:39:43Z","lastAt":"2008-09-12T09:39:43Z","messageCount":1,"participants":["Christian Stimming"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"90526","messageId":"200809121139.43501.stimming@tuhh.de","threadId":"15498","inReplyTo":null,"subject":"[PATCH] gitk: Add untranslated error messages to translation.","fromName":"Christian Stimming","fromEmail":"stimming@tuhh.de","sentAt":"2008-09-12T09:39:43Z","receivedAt":"2008-09-12T09:39:43Z","isPatch":true,"sender":{"key":"stimming@tuhh.de","avatar":"https://avatars.githubusercontent.com/u/227778?v=4"},"body":"Signed-off-by: Christian Stimming <stimming@tuhh.de>\n---\n gitk |   18 +++++++++---------\n 1 files changed, 9 insertions(+), 9 deletions(-)\n\ndiff --git a/gitk b/gitk\nindex 2eaa2ae..ccf6952 100755\n--- a/gitk\n+++ b/gitk\n@@ -269,7 +269,7 @@ proc parseviewrevs {view revs} {\n \t\tlappend badrev $line\n \t    }\n \t}\t\t    \n-\terror_popup \"Error parsing revisions: $err\"\n+\terror_popup \"[mc \"Error parsing revisions:\"] $err\"\n \treturn {}\n     }\n     set ret {}\n@@ -324,7 +324,7 @@ proc start_rev_list {view} {\n \tif {[catch {\n \t    set str [exec sh -c $viewargscmd($view)]\n \t} err]} {\n-\t    error_popup \"Error executing --argscmd command: $err\"\n+\t    error_popup \"[mc \"Error executing --argscmd command:\"] $err\"\n \t    return 0\n \t}\n \tset args [concat $args [split $str \"\\n\"]]\n@@ -500,7 +500,7 @@ proc updatecommits {} {\n \tset fd [open [concat | git log --no-color -z --pretty=raw --parents \\\n \t\t\t  --boundary $args \"--\" $vfilelimit($view)] r]\n     } err]} {\n-\terror_popup \"Error executing git log: $err\"\n+\terror_popup \"[mc \"Error executing git log:\"] $err\"\n \treturn\n     }\n     if {$viewactive($view) == 0} {\n@@ -2936,7 +2936,7 @@ proc save_file_from_commit {filename output what} {\n \tif {[string match \"fatal: bad revision *\" $err]} {\n \t    return $nullfile\n \t}\n-\terror_popup \"Error getting \\\"$filename\\\" from $what: $err\"\n+\terror_popup \"[mc \"Error getting \\\"%s\\\" from %s:\" $filename $what] $err\"\n \treturn {}\n     }\n     return $output\n@@ -2993,7 +2993,7 @@ proc external_diff {} {\n \tset gitktmpdir [file join [file dirname $gitdir] \\\n \t\t\t    [format \".gitk-tmp.%s\" [pid]]]\n \tif {[catch {file mkdir $gitktmpdir} err]} {\n-\t    error_popup \"Error creating temporary directory $gitktmpdir: $err\"\n+\t    error_popup \"[mc \"Error creating temporary directory %s:\" $gitktmpdir] $err\"\n \t    unset gitktmpdir\n \t    return\n \t}\n@@ -3002,7 +3002,7 @@ proc external_diff {} {\n     incr diffnum\n     set diffdir [file join $gitktmpdir $diffnum]\n     if {[catch {file mkdir $diffdir} err]} {\n-\terror_popup \"Error creating temporary directory $diffdir: $err\"\n+\terror_popup \"[mc \"Error creating temporary directory %s:\" $diffdir] $err\"\n \treturn\n     }\n \n@@ -3015,7 +3015,7 @@ proc external_diff {} {\n \t\t     [list $difffromfile $difftofile]]\n         if {[catch {set fl [open $cmd r]} err]} {\n             file delete -force $diffdir\n-            error_popup [mc \"$extdifftool: command failed: $err\"]\n+            error_popup \"$extdifftool: [mc \"command failed:\"] $err\"\n         } else {\n             fconfigure $fl -blocking 0\n             filerun $fl [list delete_at_eof $fl $diffdir]\n@@ -3040,7 +3040,7 @@ proc external_blame {parent_idx} {\n     }\n \n     if {[catch {exec git gui blame $base_commit $flist_menu_file &} err]} {\n-\terror_popup [mc \"git gui blame: command failed: $err\"]\n+\terror_popup \"[mc \"git gui blame: command failed:\"] $err\"\n     }\n }\n \n@@ -3049,7 +3049,7 @@ proc delete_at_eof {f dir} {\n     while {[gets $f line] >= 0} {}\n     if {[eof $f]} {\n \tif {[catch {close $f} err]} {\n-\t    error_popup \"External diff viewer failed: $err\"\n+\t    error_popup \"[mc \"External diff viewer failed:\"] $err\"\n \t}\n \tfile delete -force $dir\n \treturn 0\n-- \n1.6.0.rc1.34.g0fe8c\n"}]}