mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-09 04:57:59 -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:
parent
61864e1f6f
commit
c91bd3dda9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user