Mark backup status strings as untranslated

And also change "Not Modified" -> "UNMODIFIED" for consistency. This makes
it a lot easier to machine-parse this and not worry about locale
differences.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-01-12 00:06:39 -06:00
parent 61864e1f6f
commit c91bd3dda9

View file

@ -177,13 +177,13 @@ static const char *get_backup_file_status(const char *root,
/* if checksums don't match, file has been modified */ /* if checksums don't match, file has been modified */
if (strcmp(md5sum, expected_md5) != 0) { if (strcmp(md5sum, expected_md5) != 0) {
ret = _("MODIFIED"); ret = "MODIFIED";
} else { } else {
ret = _("Not Modified"); ret = "UNMODIFIED";
} }
free(md5sum); free(md5sum);
} else { } else {
ret = _("MISSING"); ret = "MISSING";
} }
return(ret); return(ret);
} }