summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b405c86)
raw | patch | inline | side by side (parent: b405c86)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Wed, 1 Sep 2010 19:18:54 +0000 (19:18 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:10:10 +0000 (07:10 +0000) |
Split up the "does not have our/their version" message to make it
easier to translate.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
easier to translate.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
builtin/checkout.c | patch | blob | history |
diff --git a/builtin/checkout.c b/builtin/checkout.c
index add602fc9ea45cb4df6e309e123af7bfa2abd3dc..1db06a44778408a62e1a0b769120ae6df7ba9268 100644 (file)
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
return 0;
pos++;
}
- return error("path '%s' does not have %s version",
- ce->name,
- (stage == 2) ? "our" : "their");
+ if (stage == 2)
+ return error(_("path '%s' does not have our version"), ce->name);
+ else
+ return error(_("path '%s' does not have their version"), ce->name);
}
static int check_all_stages(struct cache_entry *ce, int pos)
return checkout_entry(active_cache[pos], state, NULL);
pos++;
}
- return error("path '%s' does not have %s version",
- ce->name,
- (stage == 2) ? "our" : "their");
+ if (stage == 2)
+ return error(_("path '%s' does not have our version"), ce->name);
+ else
+ return error(_("path '%s' does not have their version"), ce->name);
}
static int checkout_merged(int pos, struct checkout *state)