fix: preserve remote validation error contract

This commit is contained in:
Furox 2026-09-07 01:51:41 +03:00 committed by Furox88
parent 4b753b2180
commit f95ef6b94d

View File

@ -31,7 +31,7 @@ export const isNamedRcloneDestinationProvider = (
export const RCLONE_REMOTE_NAME_REGEX = /^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$/;
export const RCLONE_REMOTE_NAME_ERROR =
"Rclone remote name may contain only letters, numbers, dots, underscores, and dashes";
"Invalid rclone remote name. Use only letters, numbers, dots, underscores, and dashes";
export const FTP_TLS_REQUIRED_ERROR =
"FTP destinations must use TLS. Add --ftp-explicit-tls for explicit FTPS (port 21) or --ftp-tls for implicit FTPS (port 990).";