Skip to content

Use message 1.6 for "Invalid source drive specification" - #7

Merged
PerditionC merged 1 commit into
FDOS:masterfrom
314TeR:patch-1
Oct 20, 2026
Merged

PerditionC merged 1 commit into
FDOS:masterfrom
314TeR:patch-1

Conversation

@314TeR

@314TeR 314TeR commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

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.

`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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants