Merge branch 'kf/archive-zip-msg-i18n'
The error message given when pathname is too long has been updated to use the pluralized translation function, Q_(). * kf/archive-zip-msg-i18n: archive-zip: refactor 'path too long' error message to use Q_()
This commit is contained in:
commit
a9d6fefd36
1 file changed
+4
-2
+4
-2
@@ -317,8 +317,10 @@ static int write_zip_entry(struct archiver_args *args,
|
||||
}
|
||||
|
||||
if (pathlen > 0xffff) {
|
||||
return error(_("path too long (%d chars, SHA1: %s): %s"),
|
||||
(int)pathlen, oid_to_hex(oid), path);
|
||||
return error(Q_("path too long (%d char, SHA1: %s): %s",
|
||||
"path too long (%d chars, SHA1: %s): %s",
|
||||
pathlen),
|
||||
(int)pathlen, oid_to_hex(oid), path);
|
||||
}
|
||||
|
||||
if (S_ISDIR(mode) || S_ISGITLINK(mode)) {
|
||||
|
||||
Reference in new issue
Block a user