Add warning_gettext() wrapper function that changes to the user locale,
then calls gettext(). Add U_ macro that calls warning_gettext() instead of gettext(). Rename warning2()/error2() back to warning_nodebug()/error_nodebug().
This commit is contained in:
@@ -410,7 +410,7 @@ remove_timestamp(bool remove)
|
||||
if (!remove) {
|
||||
timevalclear(&tv);
|
||||
if (touch(-1, path, &tv) == -1 && errno != ENOENT)
|
||||
fatal(_("unable to reset %s to the Unix epoch"), path);
|
||||
fatal(U_("unable to reset %s to the Unix epoch"), path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user