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
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue