36 case KIO::ERR_CANNOT_OPEN_FOR_READING:
37 result =
i18n(
"Could not read %1.", errorText);
39 case KIO::ERR_CANNOT_OPEN_FOR_WRITING:
42 case KIO::ERR_CANNOT_LAUNCH_PROCESS:
43 result =
i18n(
"Could not start process %1.", errorText);
45 case KIO::ERR_INTERNAL:
46 result =
i18n(
"Internal Error\nPlease send a full bug report at https://bugs.kde.org\n%1", errorText);
48 case KIO::ERR_MALFORMED_URL:
49 result =
i18n(
"Malformed URL %1.", errorText);
51 case KIO::ERR_UNSUPPORTED_PROTOCOL:
52 result =
i18n(
"The protocol %1 is not supported.", errorText);
54 case KIO::ERR_NO_SOURCE_PROTOCOL:
55 result =
i18n(
"The protocol %1 is only a filter protocol.", errorText);
57 case KIO::ERR_UNSUPPORTED_ACTION:
62 result =
i18n(
"%1 is a folder, but a file was expected.", errorText);
65 result =
i18n(
"%1 is a file, but a folder was expected.", errorText);
67 case KIO::ERR_DOES_NOT_EXIST:
68 result =
i18n(
"The file or folder %1 does not exist.", errorText);
70 case KIO::ERR_FILE_ALREADY_EXIST:
71 result =
i18n(
"A file named %1 already exists.", errorText);
73 case KIO::ERR_DIR_ALREADY_EXIST:
74 result =
i18n(
"A folder named %1 already exists.", errorText);
76 case KIO::ERR_UNKNOWN_HOST:
77 result = errorText.
isEmpty() ?
i18n(
"No hostname specified.") :
i18n(
"Unknown host %1", errorText);
79 case KIO::ERR_ACCESS_DENIED:
80 result =
i18n(
"Access denied to %1.", errorText);
82 case KIO::ERR_WRITE_ACCESS_DENIED:
83 result =
i18n(
"Access denied.\nCould not write to %1.", errorText);
85 case KIO::ERR_CANNOT_ENTER_DIRECTORY:
86 result =
i18n(
"Could not enter folder %1.", errorText);
88 case KIO::ERR_PROTOCOL_IS_NOT_A_FILESYSTEM:
89 result =
i18n(
"The protocol %1 does not implement a folder service.", errorText);
91 case KIO::ERR_CYCLIC_LINK:
92 result =
i18n(
"Found a cyclic link in %1.", errorText);
94 case KIO::ERR_CYCLIC_COPY:
95 result =
i18n(
"Found a cyclic link while copying %1.", errorText);
97 case KIO::ERR_CANNOT_CREATE_SOCKET:
98 result =
i18n(
"Could not create socket for accessing %1.", errorText);
100 case KIO::ERR_CANNOT_CONNECT:
101 result =
i18n(
"Could not connect to host %1.", errorText.
isEmpty() ? QStringLiteral(
"localhost") : errorText);
103 case KIO::ERR_CONNECTION_BROKEN:
104 result =
i18n(
"Connection to host %1 is broken.", errorText);
106 case KIO::ERR_NOT_FILTER_PROTOCOL:
107 result =
i18n(
"The protocol %1 is not a filter protocol.", errorText);
109 case KIO::ERR_CANNOT_MOUNT:
110 result =
i18n(
"Could not mount device.\nThe reported error was:\n%1", errorText);
112 case KIO::ERR_CANNOT_UNMOUNT:
113 result =
i18n(
"Could not unmount device.\nThe reported error was:\n%1", errorText);
115 case KIO::ERR_CANNOT_READ:
116 result =
i18n(
"Could not read file %1.", errorText);
118 case KIO::ERR_CANNOT_WRITE:
119 result =
i18n(
"Could not write to file %1.", errorText);
121 case KIO::ERR_CANNOT_BIND:
122 result =
i18n(
"Could not bind %1.", errorText);
124 case KIO::ERR_CANNOT_LISTEN:
125 result =
i18n(
"Could not listen %1.", errorText);
127 case KIO::ERR_CANNOT_ACCEPT:
128 result =
i18n(
"Could not accept %1.", errorText);
130 case KIO::ERR_CANNOT_LOGIN:
133 case KIO::ERR_CANNOT_STAT:
134 result =
i18n(
"Could not access %1.", errorText);
136 case KIO::ERR_CANNOT_CLOSEDIR:
137 result =
i18n(
"Could not terminate listing %1.", errorText);
139 case KIO::ERR_CANNOT_MKDIR:
142 case KIO::ERR_CANNOT_RMDIR:
143 result =
i18n(
"Could not remove folder %1.", errorText);
145 case KIO::ERR_CANNOT_RESUME:
146 result =
i18n(
"Could not resume file %1.", errorText);
148 case KIO::ERR_CANNOT_RENAME:
151 case KIO::ERR_CANNOT_CHMOD:
152 result =
i18n(
"Could not change permissions for %1.", errorText);
154 case KIO::ERR_CANNOT_CHOWN:
155 result =
i18n(
"Could not change ownership for %1.", errorText);
157 case KIO::ERR_CANNOT_DELETE:
158 result =
i18n(
"Could not delete file %1.", errorText);
161 result =
i18n(
"The process for the %1 protocol died unexpectedly.", errorText);
163 case KIO::ERR_OUT_OF_MEMORY:
164 result =
i18n(
"Error. Out of memory.\n%1", errorText);
166 case KIO::ERR_UNKNOWN_PROXY_HOST:
167 result =
i18n(
"Unknown proxy host\n%1", errorText);
169 case KIO::ERR_CANNOT_AUTHENTICATE:
170 result =
i18n(
"Authorization failed, %1 authentication not supported", errorText);
172 case KIO::ERR_USER_CANCELED:
176 result =
i18n(
"User canceled action\n%1", errorText);
178 case KIO::ERR_INTERNAL_SERVER:
179 result =
i18n(
"Internal error in server\n%1", errorText);
181 case KIO::ERR_SERVER_TIMEOUT:
182 result =
i18n(
"Timeout on server\n%1", errorText);
184 case KIO::ERR_UNKNOWN:
185 result =
i18n(
"Unknown error\n%1", errorText);
187 case KIO::ERR_UNKNOWN_INTERRUPT:
188 result =
i18n(
"Unknown interrupt\n%1", errorText);
198 case KIO::ERR_CANNOT_DELETE_ORIGINAL:
199 result =
i18n(
"Could not delete original file %1.\nPlease check permissions.", errorText);
201 case KIO::ERR_CANNOT_DELETE_PARTIAL:
202 result =
i18n(
"Could not delete partial file %1.\nPlease check permissions.", errorText);
204 case KIO::ERR_CANNOT_RENAME_ORIGINAL:
205 result =
i18n(
"Could not rename original file %1.\nPlease check permissions.", errorText);
207 case KIO::ERR_CANNOT_RENAME_PARTIAL:
208 result =
i18n(
"Could not rename partial file %1.\nPlease check permissions.", errorText);
210 case KIO::ERR_CANNOT_SYMLINK:
211 result =
i18n(
"Could not create symlink %1.\nPlease check permissions.", errorText);
214 result =
i18n(
"Cannot create symlinks at %1.\nThe destination filesystem doesn't support symlinks.", errorText);
219 case KIO::ERR_DISK_FULL:
220 result =
i18n(
"There is not enough space on the disk to write %1.", errorText);
223 result =
i18n(
"The source and destination are the same file.\n%1", errorText);
227 case KJob::UserDefinedError:
231 result =
i18n(
"%1 is required by the server, but is not available.", errorText);
234 result =
i18n(
"Access to restricted port in POST denied.");
236 case KIO::ERR_POST_NO_SIZE:
237 result =
i18n(
"The required content size information was not provided for a POST operation.");
240 result =
i18n(
"A file or folder cannot be dropped onto itself");
243 result =
i18n(
"A folder cannot be moved into itself");
246 result =
i18n(
"Communication with the local password server failed");
249 result =
i18n(
"Unable to create KIO worker. %1", errorText);
253 "Cannot transfer <filename>%1</filename> because it is too large. The destination filesystem only supports files up to 4GiB",
258 i18n(
"Privilege escalation is not necessary because \n'%1' is owned by the current user.\nPlease retry after changing permissions.", errorText);
261 result =
i18n(
"File is too large to be trashed.");
264 result =
i18n(
"Unknown error code %1\n%2\nPlease send a full bug report at https://bugs.kde.org.", errorCode, errorText);
335 bool isWorkerNetwork =
false;
338 host = reqUrl->
host();
339 protocol = reqUrl->
scheme();
343 domain = host.
mid(web.size());
349 path = reqUrl->
path();
357 url = host = domain = path = filename = errorText;
361 protocol =
i18nc(
"@info protocol",
"(unknown)");
374 "Contact your appropriate computer support system, "
375 "whether the system administrator, or technical support group for further "
378 "Contact the administrator of the server "
379 "for further assistance.");
381 QString sAccess =
i18n(
"Check your access permissions on this resource.");
383 "Your access permissions may be inadequate to "
384 "perform the requested operation on this resource.");
386 "The file may be in use (and thus locked) by "
387 "another user or application.");
389 "Check to make sure that no other "
390 "application or user is using the file or has locked the file.");
392 "Although unlikely, a hardware error may have "
394 QString cBug =
i18n(
"You may have encountered a bug in the program.");
396 "This is most likely to be caused by a bug in the "
397 "program. Please consider submitting a full bug report as detailed below.");
399 "Update your software to the latest version. "
400 "Your distribution should provide tools to update your software.");
402 "When all else fails, please consider helping the "
403 "KDE team or the third party maintainer of this software by submitting a "
404 "high quality bug report. If the software is provided by a third party, "
405 "please contact them directly. Otherwise, first look to see if "
406 "the same bug has been submitted by someone else by searching at the "
407 "<a href=\"https://bugs.kde.org/\">KDE bug reporting website</a>. If not, take "
408 "note of the details given above, and include them in your bug report, along "
409 "with as many other details as you think might help.");
411 "There may have been a problem with your network "
415 "There may have been a problem with your network "
416 "configuration. If you have been accessing the Internet with no problems "
417 "recently, this is unlikely.");
419 "There may have been a problem at some point along "
420 "the network path between the server and this computer.");
421 QString sTryagain =
i18n(
"Try again, either now or at a later time.");
422 QString cProtocol =
i18n(
"A protocol error or incompatibility may have occurred.");
423 QString sExists =
i18n(
"Ensure that the resource exists, and try again.");
424 QString cExists =
i18n(
"The specified resource may not exist.");
426 "Double-check that you have entered the correct location "
428 QString sNetwork =
i18n(
"Check your network connection status.");
431 case KIO::ERR_CANNOT_OPEN_FOR_READING:
432 errorName =
i18n(
"Cannot Open Resource For Reading");
434 "This means that the contents of the requested file "
435 "or folder <strong>%1</strong> could not be retrieved, as read "
436 "access could not be obtained.",
439 "You may not have permissions to read the file or open "
441 << cLocked << cHardware;
442 solutions << sAccess << sQuerylock << sSysadmin;
445 case KIO::ERR_CANNOT_OPEN_FOR_WRITING:
446 errorName =
i18n(
"Cannot Open Resource For Writing");
448 "This means that the file, <strong>%1</strong>, could "
449 "not be written to as requested, because access with permission to "
450 "write could not be obtained.",
452 causes << cAccess << cLocked << cHardware;
453 solutions << sAccess << sQuerylock << sSysadmin;
456 case KIO::ERR_CANNOT_LAUNCH_PROCESS:
457 errorName =
i18n(
"Cannot Launch Process required by the %1 Protocol", protocol);
458 techName =
i18n(
"Unable to Launch Process");
460 "The program on your computer which provides access "
461 "to the <strong>%1</strong> protocol could not be found or started. This is "
462 "usually due to technical reasons.",
465 "The program which provides compatibility with this "
466 "protocol may not have been updated with your last update of KDE. "
467 "This can cause the program to be incompatible with the current version "
468 "and thus not start.")
470 solutions << sUpdate << sSysadmin;
473 case KIO::ERR_INTERNAL:
474 errorName =
i18n(
"Internal Error");
476 "The program on your computer which provides access "
477 "to the <strong>%1</strong> protocol has reported an internal error.",
479 causes << cBuglikely;
480 solutions << sUpdate << sBugreport;
483 case KIO::ERR_MALFORMED_URL:
484 errorName =
i18n(
"Improperly Formatted URL");
486 "The <strong>U</strong>niform <strong>R</strong>esource "
487 "<strong>L</strong>ocator (URL) that you entered was not properly "
488 "formatted. The format of a URL is generally as follows:"
489 "<blockquote><strong>protocol://user:password@www.example.org:port/folder/"
490 "filename.extension?query=value</strong></blockquote>");
494 case KIO::ERR_UNSUPPORTED_PROTOCOL:
495 errorName =
i18n(
"Unsupported Protocol %1", protocol);
497 "The protocol <strong>%1</strong> is not supported "
498 "by the KDE programs currently installed on this computer.",
500 causes <<
i18n(
"The requested protocol may not be supported.")
502 "The versions of the %1 protocol supported by this computer and "
503 "the server may be incompatible.",
506 "You may perform a search on the Internet for a software "
507 "plugin (called a \"KIO worker\") which supports this protocol. "
508 "Places to search include <a href=\"https://store.kde.org/\">"
509 "https://store.kde.org</a>.")
510 << sUpdate << sSysadmin;
513 case KIO::ERR_NO_SOURCE_PROTOCOL:
514 errorName =
i18n(
"URL Does Not Refer to a Resource.");
515 techName =
i18n(
"Protocol is a Filter Protocol");
517 "The <strong>U</strong>niform <strong>R</strong>esource "
518 "<strong>L</strong>ocator (URL) that you entered did not refer to a "
519 "specific resource.");
521 "KDE is able to communicate through a protocol within a "
522 "protocol; the protocol specified is only for use in such situations, "
523 "however this is not one of these situations. This is a rare event, and "
524 "is likely to indicate a programming error.");
528 case KIO::ERR_UNSUPPORTED_ACTION:
529 errorName =
i18n(
"Unsupported Action: %1", errorText);
531 "The requested action is not supported by the KDE "
532 "program which is implementing the <strong>%1</strong> protocol.",
535 "This error is very much dependent on the KDE program. The "
536 "additional information should give you more information than is available "
537 "to the KDE input/output architecture.");
539 "Attempt to find another way to accomplish the same "
544 errorName =
i18n(
"File Expected");
546 "The request expected a file, however the "
547 "folder <strong>%1</strong> was found instead.",
549 causes <<
i18n(
"This may be an error on the server side.") << cBug;
550 solutions << sUpdate << sSysadmin;
554 errorName =
i18n(
"Folder Expected");
556 "The request expected a folder, however "
557 "the file <strong>%1</strong> was found instead.",
560 solutions << sUpdate << sSysadmin;
563 case KIO::ERR_DOES_NOT_EXIST:
564 errorName =
i18n(
"File or Folder Does Not Exist");
566 "The specified file or folder <strong>%1</strong> "
570 solutions << sExists;
573 case KIO::ERR_FILE_ALREADY_EXIST:
574 errorName =
i18n(
"File Already Exists");
576 "The requested file could not be created because a "
577 "file with the same name already exists.");
579 "Try moving the current file out of the way first, "
580 "and then try again.")
581 <<
i18n(
"Delete the current file and try again.") <<
i18n(
"Choose an alternate filename for the new file.");
584 case KIO::ERR_DIR_ALREADY_EXIST:
585 errorName =
i18n(
"Folder Already Exists");
587 "The requested folder could not be created because "
588 "a folder with the same name already exists.");
590 "Try moving the current folder out of the way first, "
591 "and then try again.")
592 <<
i18n(
"Delete the current folder and try again.") <<
i18n(
"Choose an alternate name for the new folder.");
595 case KIO::ERR_UNKNOWN_HOST:
596 errorName =
i18n(
"Unknown Host");
598 "An unknown host error indicates that the server with "
599 "the requested name, <strong>%1</strong>, could not be "
600 "located on the Internet.",
603 "The name that you typed, %1, may not exist: it may be "
604 "incorrectly typed.",
606 << cNetwork << cNetconf;
607 solutions << sNetwork << sSysadmin;
610 case KIO::ERR_ACCESS_DENIED:
611 errorName =
i18n(
"Access Denied");
613 "Access was denied to the specified resource, "
614 "<strong>%1</strong>.",
617 "You may have supplied incorrect authentication details or "
620 "Your account may not have permission to access the "
621 "specified resource.");
623 "Retry the request and ensure your authentication details "
624 "are entered correctly.")
626 if (!isWorkerNetwork) {
627 solutions << sServeradmin;
631 case KIO::ERR_WRITE_ACCESS_DENIED:
632 errorName =
i18n(
"Write Access Denied");
634 "This means that an attempt to write to the file "
635 "<strong>%1</strong> was rejected.",
637 causes << cAccess << cLocked << cHardware;
638 solutions << sAccess << sQuerylock << sSysadmin;
641 case KIO::ERR_CANNOT_ENTER_DIRECTORY:
642 errorName =
i18n(
"Unable to Enter Folder");
644 "This means that an attempt to enter (in other words, "
645 "to open) the requested folder <strong>%1</strong> was rejected.",
647 causes << cAccess << cLocked;
648 solutions << sAccess << sQuerylock << sSysadmin;
651 case KIO::ERR_PROTOCOL_IS_NOT_A_FILESYSTEM:
652 errorName =
i18n(
"Folder Listing Unavailable");
653 techName =
i18n(
"Protocol %1 is not a Filesystem", protocol);
655 "This means that a request was made which requires "
656 "determining the contents of the folder, and the KDE program supporting "
657 "this protocol is unable to do so.");
659 solutions << sUpdate << sBugreport;
662 case KIO::ERR_CYCLIC_LINK:
663 errorName =
i18n(
"Cyclic Link Detected");
665 "UNIX environments are commonly able to link a file or "
666 "folder to a separate name and/or location. KDE detected a link or "
667 "series of links that results in an infinite loop - i.e. the file was "
668 "(perhaps in a roundabout way) linked to itself.");
670 "Delete one part of the loop in order that it does not "
671 "cause an infinite loop, and try again.")
675 case KIO::ERR_USER_CANCELED:
680 errorName =
i18n(
"Request Aborted By User");
682 "The request was not completed because it was "
684 solutions <<
i18n(
"Retry the request.");
687 case KIO::ERR_CYCLIC_COPY:
688 errorName =
i18n(
"Cyclic Link Detected During Copy");
690 "UNIX environments are commonly able to link a file or "
691 "folder to a separate name and/or location. During the requested copy "
692 "operation, KDE detected a link or series of links that results in an "
693 "infinite loop - i.e. the file was (perhaps in a roundabout way) linked "
696 "Delete one part of the loop in order that it does not "
697 "cause an infinite loop, and try again.")
701 case KIO::ERR_CANNOT_CREATE_SOCKET:
702 errorName =
i18n(
"Could Not Create Network Connection");
703 techName =
i18n(
"Could Not Create Socket");
705 "This is a fairly technical error in which a required "
706 "device for network communications (a socket) could not be created.");
708 "The network connection may be incorrectly configured, or "
709 "the network interface may not be enabled.");
710 solutions << sNetwork << sSysadmin;
713 case KIO::ERR_CANNOT_CONNECT:
714 errorName =
i18n(
"Connection to Server Refused");
716 "The server <strong>%1</strong> refused to allow this "
717 "computer to make a connection.",
720 "The server, while currently connected to the Internet, "
721 "may not be configured to allow requests.")
723 "The server, while currently connected to the Internet, "
724 "may not be running the requested service (%1).",
727 "A network firewall (a device which restricts Internet "
728 "requests), either protecting your network or the network of the server, "
729 "may have intervened, preventing this request.");
730 solutions << sTryagain << sServeradmin << sSysadmin;
733 case KIO::ERR_CONNECTION_BROKEN:
734 errorName =
i18n(
"Connection to Server Closed Unexpectedly");
736 "Although a connection was established to "
737 "<strong>%1</strong>, the connection was closed at an unexpected point "
738 "in the communication.",
740 causes << cNetwork << cNetpath
742 "A protocol error may have occurred, "
743 "causing the server to close the connection as a response to the error.");
744 solutions << sTryagain << sServeradmin << sSysadmin;
747 case KIO::ERR_NOT_FILTER_PROTOCOL:
748 errorName =
i18n(
"URL Resource Invalid");
749 techName =
i18n(
"Protocol %1 is not a Filter Protocol", protocol);
751 "The <strong>U</strong>niform <strong>R</strong>esource "
752 "<strong>L</strong>ocator (URL) that you entered did not refer to "
753 "a valid mechanism of accessing the specific resource, "
754 "<strong>%1%2</strong>.",
758 "KDE is able to communicate through a protocol within a "
759 "protocol. This request specified a protocol be used as such, however "
760 "this protocol is not capable of such an action. This is a rare event, "
761 "and is likely to indicate a programming error.");
762 solutions << sTypo << sSysadmin;
765 case KIO::ERR_CANNOT_MOUNT:
766 errorName =
i18n(
"Unable to Initialize Input/Output Device");
767 techName =
i18n(
"Could Not Mount Device");
769 "The requested device could not be initialized "
770 "(\"mounted\"). The reported error was: <strong>%1</strong>",
773 "The device may not be ready, for example there may be "
774 "no media in a removable media device (i.e. no CD-ROM in a CD drive), "
775 "or in the case of a peripheral/portable device, the device may not "
776 "be correctly connected.")
778 "You may not have permissions to initialize (\"mount\") the "
779 "device. On UNIX systems, often system administrator privileges are "
780 "required to initialize a device.")
783 "Check that the device is ready; removable drives "
784 "must contain media, and portable devices must be connected and powered "
785 "on.; and try again.")
786 << sAccess << sSysadmin;
789 case KIO::ERR_CANNOT_UNMOUNT:
790 errorName =
i18n(
"Unable to Uninitialize Input/Output Device");
791 techName =
i18n(
"Could Not Unmount Device");
793 "The requested device could not be uninitialized "
794 "(\"unmounted\"). The reported error was: <strong>%1</strong>",
797 "The device may be busy, that is, still in use by "
798 "another application or user. Even such things as having an open "
799 "browser window on a location on this device may cause the device to "
802 "You may not have permissions to uninitialize (\"unmount\") "
803 "the device. On UNIX systems, system administrator privileges are "
804 "often required to uninitialize a device.")
807 "Check that no applications are accessing the device, "
809 << sAccess << sSysadmin;
812 case KIO::ERR_CANNOT_READ:
813 errorName =
i18n(
"Cannot Read From Resource");
815 "This means that although the resource, "
816 "<strong>%1</strong>, was able to be opened, an error occurred while "
817 "reading the contents of the resource.",
819 causes <<
i18n(
"You may not have permissions to read from the resource.");
820 if (!isWorkerNetwork) {
824 solutions << sAccess;
825 if (!isWorkerNetwork) {
826 solutions << sNetwork;
828 solutions << sSysadmin;
831 case KIO::ERR_CANNOT_WRITE:
832 errorName =
i18n(
"Cannot Write to Resource");
834 "This means that although the resource, <strong>%1</strong>"
835 ", was able to be opened, an error occurred while writing to the resource.",
837 causes <<
i18n(
"You may not have permissions to write to the resource.");
838 if (!isWorkerNetwork) {
842 solutions << sAccess;
843 if (!isWorkerNetwork) {
844 solutions << sNetwork;
846 solutions << sSysadmin;
849 case KIO::ERR_CANNOT_BIND:
850 errorName =
i18n(
"Could Not Listen for Network Connections");
851 techName =
i18n(
"Could Not Bind");
853 "This is a fairly technical error in which a required "
854 "device for network communications (a socket) could not be established "
855 "to listen for incoming network connections.");
857 "The network connection may be incorrectly configured, or "
858 "the network interface may not be enabled.");
859 solutions << sNetwork << sSysadmin;
862 case KIO::ERR_CANNOT_LISTEN:
863 errorName =
i18n(
"Could Not Listen for Network Connections");
864 techName =
i18n(
"Could Not Listen");
866 "This is a fairly technical error in which a required "
867 "device for network communications (a socket) could not be established "
868 "to listen for incoming network connections.");
870 "The network connection may be incorrectly configured, or "
871 "the network interface may not be enabled.");
872 solutions << sNetwork << sSysadmin;
875 case KIO::ERR_CANNOT_ACCEPT:
876 errorName =
i18n(
"Could Not Accept Network Connection");
878 "This is a fairly technical error in which an error "
879 "occurred while attempting to accept an incoming network connection.");
881 "The network connection may be incorrectly configured, or "
882 "the network interface may not be enabled.")
883 <<
i18n(
"You may not have permissions to accept the connection.");
884 solutions << sNetwork << sSysadmin;
887 case KIO::ERR_CANNOT_LOGIN:
888 errorName =
i18n(
"Could Not Login: %1", errorText);
890 "An attempt to login to perform the requested "
891 "operation was unsuccessful.");
893 "You may have supplied incorrect authentication details or "
896 "Your account may not have permission to access the "
897 "specified resource.")
900 "Retry the request and ensure your authentication details "
901 "are entered correctly.")
902 << sServeradmin << sSysadmin;
905 case KIO::ERR_CANNOT_STAT:
906 errorName =
i18n(
"Could Not Determine Resource Status");
907 techName =
i18n(
"Could Not Stat Resource");
909 "An attempt to determine information about the status "
910 "of the resource <strong>%1</strong>, such as the resource name, type, "
911 "size, etc., was unsuccessful.",
914 "The specified resource may not have existed or may "
915 "not be accessible.")
916 << cProtocol << cHardware;
918 "Retry the request and ensure your authentication details "
919 "are entered correctly.")
923 case KIO::ERR_CANNOT_CLOSEDIR:
925 errorName =
i18n(
"Could Not Cancel Listing");
926 techName =
i18n(
"FIXME: Document this");
929 case KIO::ERR_CANNOT_MKDIR:
930 errorName =
i18n(
"Could Not Create Folder");
931 description =
i18n(
"An attempt to create the requested folder failed.");
934 "The location where the folder was to be created "
936 if (!isWorkerNetwork) {
939 solutions <<
i18n(
"Retry the request.") << sAccess;
942 case KIO::ERR_CANNOT_RMDIR:
943 errorName =
i18n(
"Could Not Remove Folder");
945 "An attempt to remove the specified folder, "
946 "<strong>%1</strong>, failed.",
948 causes <<
i18n(
"The specified folder may not exist.") <<
i18n(
"The specified folder may not be empty.") << cAccess;
949 if (!isWorkerNetwork) {
953 "Ensure that the folder exists and is empty, and try "
958 case KIO::ERR_CANNOT_RESUME:
959 errorName =
i18n(
"Could Not Resume File Transfer");
961 "The specified request asked that the transfer of "
962 "file <strong>%1</strong> be resumed at a certain point of the "
963 "transfer. This was not possible.",
966 "The protocol, or the server, may not support file "
969 "Retry the request without attempting to resume "
973 case KIO::ERR_CANNOT_RENAME:
974 errorName =
i18n(
"Could Not Rename Resource");
976 "An attempt to rename the specified resource "
977 "<strong>%1</strong> failed.",
979 causes << cAccess << cExists;
980 if (!isWorkerNetwork) {
983 solutions << sAccess << sExists;
986 case KIO::ERR_CANNOT_CHMOD:
987 errorName =
i18n(
"Could Not Alter Permissions of Resource");
989 "An attempt to alter the permissions on the specified "
990 "resource <strong>%1</strong> failed.",
992 causes << cAccess << cExists;
993 solutions << sAccess << sExists;
996 case KIO::ERR_CANNOT_CHOWN:
997 errorName =
i18n(
"Could Not Change Ownership of Resource");
999 "An attempt to change the ownership of the specified "
1000 "resource <strong>%1</strong> failed.",
1002 causes << cAccess << cExists;
1003 solutions << sAccess << sExists;
1006 case KIO::ERR_CANNOT_DELETE:
1007 errorName =
i18n(
"Could Not Delete Resource");
1009 "An attempt to delete the specified resource "
1010 "<strong>%1</strong> failed.",
1012 causes << cAccess << cExists;
1013 solutions << sAccess << sExists;
1017 errorName =
i18n(
"Unexpected Program Termination");
1019 "The program on your computer which provides access "
1020 "to the <strong>%1</strong> protocol has unexpectedly terminated.",
1022 causes << cBuglikely;
1023 solutions << sUpdate << sBugreport;
1026 case KIO::ERR_OUT_OF_MEMORY:
1027 errorName =
i18n(
"Out of Memory");
1029 "The program on your computer which provides access "
1030 "to the <strong>%1</strong> protocol could not obtain the memory "
1031 "required to continue.",
1033 causes << cBuglikely;
1034 solutions << sUpdate << sBugreport;
1037 case KIO::ERR_UNKNOWN_PROXY_HOST:
1038 errorName =
i18n(
"Unknown Proxy Host");
1040 "While retrieving information about the specified "
1041 "proxy host, <strong>%1</strong>, an Unknown Host error was encountered. "
1042 "An unknown host error indicates that the requested name could not be "
1043 "located on the Internet.",
1046 "There may have been a problem with your network "
1047 "configuration, specifically your proxy's hostname. If you have been "
1048 "accessing the Internet with no problems recently, this is unlikely.")
1050 solutions <<
i18n(
"Double-check your proxy settings and try again.") << sSysadmin;
1053 case KIO::ERR_CANNOT_AUTHENTICATE:
1054 errorName =
i18n(
"Authentication Failed: Method %1 Not Supported", errorText);
1056 "Although you may have supplied the correct "
1057 "authentication details, the authentication failed because the "
1058 "method that the server is using is not supported by the KDE "
1059 "program implementing the protocol %1.",
1062 "Please file a bug at <a href=\"https://bugs.kde.org/\">"
1063 "https://bugs.kde.org/</a> to inform the KDE team of the unsupported "
1064 "authentication method.")
1069 errorName =
i18n(
"Request Aborted");
1071 "The request was not completed because it was "
1073 solutions <<
i18n(
"Retry the request.");
1076 case KIO::ERR_INTERNAL_SERVER:
1077 errorName =
i18n(
"Internal Error in Server");
1079 "The program on the server which provides access "
1080 "to the <strong>%1</strong> protocol has reported an internal error: "
1085 "This is most likely to be caused by a bug in the "
1086 "server program. Please consider submitting a full bug report as "
1089 "Contact the administrator of the server "
1090 "to advise them of the problem.")
1092 "If you know who the authors of the server software are, "
1093 "submit the bug report directly to them.");
1096 case KIO::ERR_SERVER_TIMEOUT:
1097 errorName =
i18n(
"Timeout Error");
1099 "Although contact was made with the server, a "
1100 "response was not received within the amount of time allocated for "
1101 "the request as follows:<ul>"
1102 "<li>Timeout for establishing a connection: %1 seconds</li>"
1103 "<li>Timeout for receiving a response: %2 seconds</li>"
1104 "<li>Timeout for accessing proxy servers: %3 seconds</li></ul>"
1105 "Please note that you can alter these timeout settings in the KDE "
1106 "System Settings, by selecting Network Settings -> Connection Preferences.",
1112 "The server was too busy responding to other "
1113 "requests to respond.");
1114 solutions << sTryagain << sServeradmin;
1117 case KIO::ERR_UNKNOWN:
1118 errorName =
i18n(
"Unknown Error");
1120 "The program on your computer which provides access "
1121 "to the <strong>%1</strong> protocol has reported an unknown error: "
1126 solutions << sUpdate << sBugreport;
1129 case KIO::ERR_UNKNOWN_INTERRUPT:
1130 errorName =
i18n(
"Unknown Interruption");
1132 "The program on your computer which provides access "
1133 "to the <strong>%1</strong> protocol has reported an interruption of "
1134 "an unknown type: %2.",
1138 solutions << sUpdate << sBugreport;
1141 case KIO::ERR_CANNOT_DELETE_ORIGINAL:
1142 errorName =
i18n(
"Could Not Delete Original File");
1144 "The requested operation required the deleting of "
1145 "the original file, most likely at the end of a file move operation. "
1146 "The original file <strong>%1</strong> could not be deleted.",
1149 solutions << sAccess;
1152 case KIO::ERR_CANNOT_DELETE_PARTIAL:
1153 errorName =
i18n(
"Could Not Delete Temporary File");
1155 "The requested operation required the creation of "
1156 "a temporary file in which to save the new file while being "
1157 "downloaded. This temporary file <strong>%1</strong> could not be "
1161 solutions << sAccess;
1164 case KIO::ERR_CANNOT_RENAME_ORIGINAL:
1165 errorName =
i18n(
"Could Not Rename Original File");
1167 "The requested operation required the renaming of "
1168 "the original file <strong>%1</strong>, however it could not be "
1172 solutions << sAccess;
1175 case KIO::ERR_CANNOT_RENAME_PARTIAL:
1176 errorName =
i18n(
"Could Not Rename Temporary File");
1178 "The requested operation required the creation of "
1179 "a temporary file <strong>%1</strong>, however it could not be "
1183 solutions << sAccess;
1186 case KIO::ERR_CANNOT_SYMLINK:
1187 errorName =
i18n(
"Could Not Create Link");
1188 techName =
i18n(
"Could Not Create Symbolic Link");
1189 description =
i18n(
"The requested symbolic link %1 could not be created.", errorText);
1191 solutions << sAccess;
1195 errorName =
i18n(
"No Content");
1196 description = errorText;
1199 case KIO::ERR_DISK_FULL:
1200 errorName =
i18n(
"Disk Full");
1202 "The requested file <strong>%1</strong> could not be "
1203 "written to as there is inadequate disk space.",
1206 "Free up enough disk space by 1) deleting unwanted and "
1207 "temporary files; 2) archiving files to removable media storage such as "
1208 "CD-Recordable discs; or 3) obtain more storage capacity.")
1213 errorName =
i18n(
"Source and Destination Files Identical");
1215 "The operation could not be completed because the "
1216 "source and destination files are the same file.");
1217 solutions <<
i18n(
"Choose a different filename for the destination file.");
1221 errorName =
i18n(
"File or Folder dropped onto itself");
1223 "The operation could not be completed because the "
1224 "source and destination file or folder are the same.");
1225 solutions <<
i18n(
"Drop the item into a different file or folder.");
1231 description = errorText;
1235 errorName =
i18n(
"Folder moved into itself");
1237 "The operation could not be completed because the "
1238 "source can not be moved into itself.");
1239 solutions <<
i18n(
"Move the item into a different folder.");
1243 errorName =
i18n(
"Could not communicate with password server");
1245 "The operation could not be completed because the "
1246 "service for requesting passwords (kpasswdserver) couldn't be contacted");
1247 solutions <<
i18n(
"Try restarting your session, or look in the logs for errors from kiod.");
1251 errorName =
i18n(
"Cannot Initiate the %1 Protocol", protocol);
1252 techName =
i18n(
"Unable to Create KIO Worker");
1254 "The KIO worker which provides access "
1255 "to the <strong>%1</strong> protocol could not be started. This is "
1256 "usually due to technical reasons.",
1259 "klauncher could not find or start the plugin which provides the protocol. "
1260 "This means you may have an outdated version of the plugin.");
1261 solutions << sUpdate << sSysadmin;
1265 errorName =
xi18nc(
"@info",
"Cannot transfer <filename>%1</filename>", errorText);
1266 description =
xi18nc(
"@info",
1267 "The file <filename>%1</filename> cannot be transferred,"
1268 " because the destination filesystem does not support files that large",
1270 solutions <<
i18n(
"Reformat the destination drive to use a filesystem that supports files that large.");
1275 errorName =
i18n(
"Undocumented Error");
1281 stream << errorName << techName << description << causes << solutions;