update-ref --stdin: make error messages more consistent
[gitweb.git] / progress.c
index 10652b174d1ccfb941b3d4122a882f1af3323084..261314ef3cd60662300129df98afff7ea2a1673c 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include "git-compat-util.h"
+#include "gettext.h"
 #include "progress.h"
 #include "strbuf.h"
 
@@ -220,7 +221,7 @@ struct progress *start_progress(const char *title, unsigned total)
 
 void stop_progress(struct progress **p_progress)
 {
-       stop_progress_msg(p_progress, "done");
+       stop_progress_msg(p_progress, _("done"));
 }
 
 void stop_progress_msg(struct progress **p_progress, const char *msg)