From a00b0b80ea3cfff4024ab9788296763e4a9b5b8b Mon Sep 17 00:00:00 2001 From: Piotr Okrutny <314TeR@users.noreply.github.com> Date: Tue, 20 Oct 2026 01:38:48 +0200 Subject: [PATCH] Use message 1.6 for "Invalid source drive specification" `move.c:667` prints "Invalid source drive specification" with `catgets(cat, 1,8, ...)`, but in all `nls/move.*` files 1.8 is " does not exist as directory. Create it?" (used correctly at `move.c:744`). The source drive message is 1.6 in every language file, and 1.6 is not used anywhere else in the code. So with any NLS file loaded (English included) an invalid source drive prints " does not exist as directory. Create it?" instead of the drive error. Without a catalog the built-in default text is shown, which is why it is easy to miss. This PR changes the key to `1,6`. Found while reviewing the Polish translation. --- src/move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/move.c b/src/move.c index da20274..07a296c 100644 --- a/src/move.c +++ b/src/move.c @@ -664,7 +664,7 @@ int main(int argc, char *argv[]) { if (SourcePaths[i][0] == '\0') { - PRINTF("%s\n", catgets(cat, 1,8,"Invalid source drive specification")); + PRINTF("%s\n", catgets(cat, 1,6,"Invalid source drive specification")); catclose(cat); exit(4); } /* end if. */