Clone
ixen <ixen@copyhandler.com>
committed
on 06 Feb 09
Moved log file entries from resources to code (closes [2573419]).
LoggerImprovements + 5 more
src/ch/ch.rc (+0 -95)
834 834     IDS_EMPTYPROCESSEDTEXT_STRING "empty"
835 835     IDS_EMPTYTRANSFERTEXT_STRING "unknown"
836 836     IDS_EMPTYTIMETEXT_STRING "00:00 / 00:00"
837 837     IDS_CURRENTPASS_STRING  "pass: "
838 838     IDS_AVERAGEWORD_STRING  "avg: "
839 839     IDS_STATUSTITLE_STRING  "Status"
840 840     IDS_REPLACEPATHSTEXT_STRING
841 841                             "Changed:\n%count paths primarily got from clipboard"
842 842     IDS_TASKNOTPAUSED_STRING "Selected task isn't paused"
843 843     IDS_TASKNOTSELECTED_STRING "Task not selected"
844 844     IDS_NONEINPUTFILE_STRING "(waiting...)"
845 845 END
846 846
847 847 STRINGTABLE
848 848 BEGIN
849 849     IDS_BUFFERSIZEZERO_STRING "Cannot operate with buffer of 0 size"
850 850 END
851 851
852 852 STRINGTABLE
853 853 BEGIN
854       IDS_OTFSEARCHINGFORFILES_STRING "Searching for files..."
855       IDS_OTFMISSINGCLIPBOARDINPUT_STRING
856                               "Source file/folder not found (clipboard) : %path"
857       IDS_OTFADDINGCLIPBOARDFILE_STRING
858                               "Adding file/folder (clipboard) : %path ..."
859       IDS_OTFADDEDFOLDER_STRING "Added folder %path"
860       IDS_OTFRECURSINGFOLDER_STRING "Recursing folder %path"
861       IDS_OTFADDINGKILLREQEST_STRING
862                               "Kill request while adding data to files array (RecurseDirectories)"
863       IDS_OTFADDEDFILE_STRING "Added file %path"
864       IDS_OTFSEARCHINGFINISHED_STRING "Searching for files finished"
865   END
866  
867   STRINGTABLE
868   BEGIN
869       IDS_OTFDELETINGFILES_STRING "Deleting files (DeleteFiles)..."
870       IDS_OTFDELETINGKILLREQUEST_STRING
871                               "Kill request while deleting files (Delete Files)"
872       IDS_OTFDELETINGERROR_STRING
873                               "Error #%errno while deleting file/folder %path"
874       IDS_OTFDELETINGFINISHED_STRING "Deleting files finished"
875       IDS_OTFPRECHECKCANCELREQUEST_STRING
876                               "Cancel request while checking result of dialog before opening source file %path (CustomCopyFile)"
877       IDS_OTFOPENINGERROR_STRING
878                               "Error %errno while opening source file %path (CustomCopyFile)"
879       IDS_OTFOPENINGCANCELREQUEST_STRING
880                               "Cancel request [error %errno] while opening source file %path (CustomCopyFile)"
881       IDS_OTFOPENINGWAITREQUEST_STRING
882                               "Wait request [error %errno] while opening source file %path (CustomCopyFile)"
883       IDS_OTFOPENINGRETRY_STRING
884                               "Retrying [error %errno] to open source file %path (CustomCopyFile)"
885       IDS_OTFDESTOPENINGERROR_STRING
886                               "Error %errno while opening destination file %path (CustomCopyFile)"
887       IDS_OTFDESTOPENINGRETRY_STRING
888                               "Retrying [error %errno] to open destination file %path (CustomCopyFile)"
889       IDS_OTFDESTOPENINGCANCELREQUEST_STRING
890                               "Cancel request [error %errno] while opening destination file %path (CustomCopyFile)"
891       IDS_OTFDESTOPENINGWAITREQUEST_STRING
892                               "Wait request [error %errno] while opening destination file %path (CustomCopyFile)"
893       IDS_OTFMOVINGPOINTERSERROR_STRING
894                               "Error %errno while moving file pointers of %srcpath and %dstpath to %pos"
895       IDS_OTFRESTORINGPOINTERSERROR_STRING
896                               "Error %errno while restoring (moving to beginning) file pointers of %srcpath and %dstpath"
897       IDS_OTFSETTINGZEROSIZEERROR_STRING
898                               "Error %errno while setting size of file %path to 0"
899   END
900  
901   STRINGTABLE
902   BEGIN
903       IDS_OTFCOPYINGKILLREQUEST_STRING
904                               "Kill request while main copying file %srcpath -> %dstpath"
905       IDS_OTFCHANGINGBUFFERSIZE_STRING
906                               "Changing buffer size from [Def:%defsize, One:%onesize, Two:%twosize, CD:%cdsize, LAN:%lansize] to [Def:%defsize2, One:%onesize2, Two:%twosize2, CD:%cdsize2, LAN:%lansize2] wile copying %srcfile -> %dstfile (CustomCopyFile)"
907       IDS_OTFREADINGERROR_STRING
908                               "Error %errno while trying to read %count bytes from source file %path (CustomCopyFile)"
909       IDS_OTFWRITINGERROR_STRING
910                               "Error %errno while trying to write %count bytes to destination file %path (CustomCopyFile)"
911       IDS_OTFCAUGHTEXCEPTIONCCF_STRING
912                               "Caught exception in CustomCopyFile [last error: %errno] (at time %timestamp)"
913       IDS_OTFPROCESSINGFILES_STRING "Processing files/folders (ProcessFiles)"
914       IDS_OTFPROCESSINGFILESDATA_STRING
915                               "Processing files/folders (ProcessFiles):\r\n\tOnlyCreate: %create\r\n\tBufferSize: [Def:%defsize, One:%onesize, Two:%twosize, CD:%cdsize, LAN:%lansize]\r\n\tFiles/folders count: %filecount\r\n\tCopies count: %copycount\r\n\tIgnore Folders: %ignorefolders\r\n\tDest path: %dstpath\r\n\tCurrent pass (0-based): %currpass\r\n\tCurrent index (0-based): %currindex"
916       IDS_OTFPROCESSINGKILLREQUEST_STRING
917                               "Kill request while processing file in ProcessFiles"
918       IDS_OTFMOVEFILEERROR_STRING
919                               "Error %errno while calling MoveFile %srcpath -> %dstpath (ProcessFiles)"
920       IDS_OTFCREATEDIRECTORYERROR_STRING
921                               "Error %errno while calling CreateDirectory %path (ProcessFiles)"
922       IDS_OTFPROCESSINGFINISHED_STRING "Finished processing in ProcessFiles"
923       IDS_OTFTHREADSTART_STRING
924                               "\r\n# COPYING THREAD STARTED #\r\nBegan processing data (dd:mm:yyyy) %day.%month.%year at %hour:%minute.%second"
925       IDS_OTFWAITINGFINISHED_STRING "Finished waiting for begin permission"
926       IDS_OTFWAITINGKILLREQUEST_STRING
927                               "Kill request while waiting for begin permission (wait state)"
928       IDS_OTFTHREADFINISHED_STRING
929                               "Finished processing data (dd:mm:yyyy) %day.%month.%year at %hour:%minute.%second"
930       IDS_OTFCAUGHTEXCEPTIONMAIN_STRING
931                               "Caught exception in ThrdProc [last error: %errno, type: %type]"
932   END
933  
934   STRINGTABLE
935   BEGIN
936 854     IDS_TITLECOPY_STRING    "Copying..."
937 855     IDS_TITLEMOVE_STRING    "Moving..."
938 856     IDS_TITLEUNKNOWNOPERATION_STRING
939 857                             "Unknown operation type - this shouldn't happen"
940 858     IDS_MAINBROWSETEXT_STRING "Enter destination path for:\n"
941 859 END
942 860
943 861 STRINGTABLE
944 862 BEGIN
945 863     IDS_COPYWORDLESSFIVE_STRING " copies"
946 864     IDS_COPYWORDMOREFOUR_STRING " copies"
947 865     IDS_STATUS0_STRING      "Searching"
948 866     IDS_STATUS1_STRING      "Copying"
949 867     IDS_STATUS2_STRING      "Moving"
950 868     IDS_STATUS3_STRING      "Finished"
951 869     IDS_STATUS4_STRING      "Error"
952 870     IDS_STATUS5_STRING      "Paused"
953 871     IDS_STATUS6_STRING      "Deleting"
954 872     IDS_STATUS7_STRING      "Unknown"
955 873     IDS_STATUS8_STRING      "Cancelled"
 
968 886     IDS_NOTFOUND_STRING     "File not found (doesn't exist)"
969 887     IDS_BYTE_STRING         "B"
970 888     IDS_KBYTE_STRING        "kB"
971 889     IDS_MBYTE_STRING        "MB"
972 890     IDS_GBYTE_STRING        "GB"
973 891     IDS_TBYTE_STRING        "TB"
974 892     IDS_PBYTE_STRING        "PB"
975 893     IDS_LT_STRING           "<"
976 894     IDS_LE_STRING           "<="
977 895     IDS_EQ_STRING           "="
978 896     IDS_GE_STRING           ">="
979 897     IDS_GT_STRING           ">"
980 898     IDS_UPDATER_NEW_VERSION_STRING
981 899                             "There is a new version of Copy Handler available on the official web page.\n\nYour current version: %thisver\nVersion available on site: %officialver."
982 900     IDS_UPDATER_OLD_VERSION_STRING
983 901                             "You have a newer version of Copy Handler than is available on the official web page.\n\nYour current version: %thisver\nVersion available on site: %officialver."
984 902 END
985 903
986 904 STRINGTABLE
987 905 BEGIN
988       IDS_OTFCHECKINGSPACE_STRING
989                               "Checking for free space on destination disk..."
990       IDS_OTFNOTENOUGHFREESPACE_STRING
991                               "Not enough free space on disk - needed %needsize bytes for data, available: %availablesize bytes."
992       IDS_OTFFREESPACECANCELREQUEST_STRING
993                               "Cancel request while checking for free space on disk."
994       IDS_OTFFREESPACERETRYING_STRING "Retrying to read drive's free space..."
995       IDS_OTFFREESPACEIGNORE_STRING
996                               "Ignored warning about not enough place on disk to copy data."
997   END
998  
999   STRINGTABLE
1000   BEGIN
1001 906     IDS_BSONEDISK_STRING    "One disk: "
1002 907     IDS_BSTWODISKS_STRING   "Two disks: "
1003 908     IDS_BSCD_STRING         "CD: "
1004 909     IDS_BSLAN_STRING        "LAN: "
1005 910     IDS_EMPTYASSOCFILE_STRING "not associated"
1006 911     IDS_FILTERING_STRING    " [with filter]"
1007 912     IDS_CONFIRMCANCEL_STRING
1008 913                             "Selected task wasn't finished yet.\nDo you want to finish it now ?"
1009 914 END
1010 915
1011 916 STRINGTABLE
1012 917 BEGIN
1013 918     IDS_SHUTDOWNERROR_STRING
1014 919                             "Cannot shutdown this operating system.\nEncountered error #%errno."
1015 920 END
1016 921
1017 922 STRINGTABLE
1018 923 BEGIN
1019 924     IDS_MINIVIEWSMOOTHPROGRESS_STRING "Use smooth progress bars"
1020 925     IDS_CFGFOLDERDIALOG_STRING "Choose folder dialog"