|
From: <set...@us...> - 2006-05-02 20:17:20
|
Revision: 1339 Author: sethdill Date: 2006-05-02 13:17:16 -0700 (Tue, 02 May 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1339&view=rev Log Message: ----------- Fixed up the error messages to be more consistent with other errors. Tell the user what couldn't be done and why, not just what went wrong. Modified Paths: -------------- Frontier/trunk/Common/resources/Mac/lang.r Frontier/trunk/Common/resources/Win32/WinLand.rc Modified: Frontier/trunk/Common/resources/Mac/lang.r =================================================================== --- Frontier/trunk/Common/resources/Mac/lang.r 2006-05-02 20:04:56 UTC (rev 1338) +++ Frontier/trunk/Common/resources/Mac/lang.r 2006-05-02 20:17:16 UTC (rev 1339) @@ -1033,17 +1033,17 @@ /* [1] */ "Internal error running \xD2string.^0\xD3.", /* [2] */ - "Unknown error converting character set.", + "Can't convert character set because of an unknown error.", /* [3] - Mac OSStatus: kTextUnsupportedEncodingErr */ - "The character set (^0) is not supported.", + "Can't convert character set because \xD2^0\xD3 is not supported.", /* [4] - Mac OSStatus: kTextMalformedInputErr */ - "The text input contains a sequence that is not legal in the specified encoding (^0).", + "Can't convert character set because the text contains a sequence that is not legal in the specified character set (^0).", /* [5] - Mac OSStatus: kTextUndefinedElementErr */ - "The text input contains a code point that is undefined in the specified character set (^0). The conversion could not be completed.", + "Can't convert character set because the text contains a code point that is undefined in the specified character set (^0).", /* [6] - Mac OSStatus: kTECNoConversionPathErr */ - "There is no way to convert from the character set \xD2^0\xD3 to \xD2^1\xD3.", + "Can't convert character set because there is no way to convert from \xD2^0\xD3 to \xD2^1\xD3.", /* [7] - Mac OSStatus: kTECPartialCharErr */ - "The text input ends in the middle of a multibyte character. Conversion canceled." + "Can't convert character set because the text ends in the middle of a multibyte character." } }; Modified: Frontier/trunk/Common/resources/Win32/WinLand.rc =================================================================== --- Frontier/trunk/Common/resources/Win32/WinLand.rc 2006-05-02 20:04:56 UTC (rev 1338) +++ Frontier/trunk/Common/resources/Win32/WinLand.rc 2006-05-02 20:17:16 UTC (rev 1339) @@ -1638,12 +1638,12 @@ 1 File_Errors DISCARDABLE BEGIN "Internal error running \042file.^0\042.\0" END 1 String_Errors DISCARDABLE BEGIN "Internal error running \042string.^0\042.\0" END - 2 String_Errors DISCARDABLE BEGIN "Unknown error converting character set.\0" END - 3 String_Errors DISCARDABLE BEGIN "The character set (^0) is not supported.\0" END - 4 String_Errors DISCARDABLE BEGIN "The text input contains a byte sequence that is not legal in the specified character set (^0).\0" END - 5 String_Errors DISCARDABLE BEGIN "The text input contains a code point that is undefined in the specified character set (^0). The conversion could not be completed.\0" END - 6 String_Errors DISCARDABLE BEGIN "There is no way to convert from the character set \042^0\042 to \042^1\042.\0" END - 7 String_Errors DISCARDABLE BEGIN "The text input ends in the middle of a multibyte character. Conversion canceled.\0" END + 2 String_Errors DISCARDABLE BEGIN "Can't convert character set because of an unknown error.\0" END + 3 String_Errors DISCARDABLE BEGIN "Can't convert character set because \042^0\042 is not supported.\0" END + 4 String_Errors DISCARDABLE BEGIN "Can't convert character set because the text contains a sequence that is not legal in the specified character set (^0).\0" END + 5 String_Errors DISCARDABLE BEGIN "Can't convert character set because the text contains a code point that is undefined in the specified character set (^0).\0" END + 6 String_Errors DISCARDABLE BEGIN "Can't convert character set because there is no way to convert from \042^0\042 to \042^1\042.\0" END + 7 String_Errors DISCARDABLE BEGIN "Can't convert character set because the text ends in the middle of a multibyte character.\0" END 1 WP_Verb_Errors DISCARDABLE BEGIN "Can't do \042wp.^0\042 because the target window is not in edit mode, or does not contain editable text.\0" END 2 WP_Verb_Errors DISCARDABLE BEGIN "The address of a wptext object was expected here.\0" END This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |