1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-09 13:07:58 -05:00

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 (strcmp(md5sum, expected_md5) != 0) {
ret = _("MODIFIED");
ret = "MODIFIED";
} else {
ret = _("Not Modified");
ret = "UNMODIFIED";
}
free(md5sum);
} else {
ret = _("MISSING");
ret = "MISSING";
}
return(ret);
}