Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb_browse.cpp
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Line(s) | |||||
315 | #ifdef ENOTUNIQ | 315 | #ifdef ENOTUNIQ | ||
316 | case ENOTUNIQ: | 316 | case ENOTUNIQ: | ||
317 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | 317 | return SMBError{ ERR_SLAVE_DEFINED, i18n("The given name could not be resolved to a unique server. " | ||
318 | "Make sure your network is setup without any name conflicts " | 318 | "Make sure your network is setup without any name conflicts " | ||
319 | "between names used by Windows and by UNIX name resolution." ) }; | 319 | "between names used by Windows and by UNIX name resolution." ) }; | ||
320 | #endif | 320 | #endif | ||
321 | case ECONNABORTED: | 321 | case ECONNABORTED: | ||
322 | return SMBError{ ERR_CONNECTION_BROKEN, url.host() }; | 322 | return SMBError{ ERR_CONNECTION_BROKEN, url.host() }; | ||
323 | case EHOSTUNREACH: | ||||
324 | return SMBError{ ERR_CANNOT_CONNECT, | ||||
325 | i18nc("@info:status smb failed to reach the server (e.g. server offline or network failure). %1 is an ip address or hostname", | ||||
326 | "%1: Host unreachable", | ||||
327 | url.host()) }; | ||||
323 | case 0: // success | 328 | case 0: // success | ||
324 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | 329 | return SMBError{ ERR_INTERNAL, i18n("libsmbclient reported an error, but did not specify " | ||
325 | "what the problem is. This might indicate a severe problem " | 330 | "what the problem is. This might indicate a severe problem " | ||
326 | "with your network - but also might indicate a problem with " | 331 | "with your network - but also might indicate a problem with " | ||
327 | "libsmbclient.\n" | 332 | "libsmbclient.\n" | ||
328 | "If you want to help us, please provide a tcpdump of the " | 333 | "If you want to help us, please provide a tcpdump of the " | ||
329 | "network interface while you try to browse (be aware that " | 334 | "network interface while you try to browse (be aware that " | ||
330 | "it might contain private data, so do not post it if you are " | 335 | "it might contain private data, so do not post it if you are " | ||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |