Signed-off-by: Vasco Almeida <vascomalme...@sapo.pt>
---
 diff.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/diff.c b/diff.c
index b4310f8..d82ad79 100644
--- a/diff.c
+++ b/diff.c
@@ -3325,7 +3325,7 @@ void diff_setup_done(struct diff_options *options)
        if (options->output_format & DIFF_FORMAT_NO_OUTPUT)
                count++;
        if (count > 1)
-               die("--name-only, --name-status, --check and -s are mutually 
exclusive");
+               die(_("--name-only, --name-status, --check and -s are mutually 
exclusive"));
 
        /*
         * Most of the time we can say "there are changes"
@@ -3521,7 +3521,7 @@ static int stat_opt(struct diff_options *options, const 
char **av)
                        if (*arg == '=')
                                width = strtoul(arg + 1, &end, 10);
                        else if (!*arg && !av[1])
-                               die("Option '--stat-width' requires a value");
+                               die(_("Option '--stat-width' requires a 
value"));
                        else if (!*arg) {
                                width = strtoul(av[1], &end, 10);
                                argcount = 2;
@@ -3530,7 +3530,7 @@ static int stat_opt(struct diff_options *options, const 
char **av)
                        if (*arg == '=')
                                name_width = strtoul(arg + 1, &end, 10);
                        else if (!*arg && !av[1])
-                               die("Option '--stat-name-width' requires a 
value");
+                               die(_("Option '--stat-name-width' requires a 
value"));
                        else if (!*arg) {
                                name_width = strtoul(av[1], &end, 10);
                                argcount = 2;
@@ -3539,7 +3539,7 @@ static int stat_opt(struct diff_options *options, const 
char **av)
                        if (*arg == '=')
                                graph_width = strtoul(arg + 1, &end, 10);
                        else if (!*arg && !av[1])
-                               die("Option '--stat-graph-width' requires a 
value");
+                               die(_("Option '--stat-graph-width' requires a 
value"));
                        else if (!*arg) {
                                graph_width = strtoul(av[1], &end, 10);
                                argcount = 2;
@@ -3548,7 +3548,7 @@ static int stat_opt(struct diff_options *options, const 
char **av)
                        if (*arg == '=')
                                count = strtoul(arg + 1, &end, 10);
                        else if (!*arg && !av[1])
-                               die("Option '--stat-count' requires a value");
+                               die(_("Option '--stat-count' requires a 
value"));
                        else if (!*arg) {
                                count = strtoul(av[1], &end, 10);
                                argcount = 2;
-- 
2.7.4

Reply via email to