mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
add error messages
This commit is contained in:
parent
6c1f8c4bcc
commit
c319711cb1
2 changed files with 21 additions and 0 deletions
|
@ -136,3 +136,11 @@
|
|||
#endif
|
||||
{ "STRS_CANNOT_FIND_DICT", "%s dictionary not found." },
|
||||
{ "STR_DICT_COPY_EXPL", "Copying dictionary from card..." },
|
||||
|
||||
#ifdef BEYOND_IR
|
||||
{ "STR_RELAY_TIMEOUT", "Relay error: Other devices failed to "
|
||||
"connect." },
|
||||
{ "STR_RELAY_LOST_OTHER", "Relay error: another device has lost its "
|
||||
"connection." },
|
||||
{ "STR_RELAY_GENERIC", "Relay error: something's wrong." },
|
||||
#endif
|
||||
|
|
|
@ -3221,6 +3221,19 @@ palm_util_userError( XW_UtilCtxt* uc, UtilErrID id )
|
|||
strID = STR_CANT_UNDO_TILEASSIGN;
|
||||
break;
|
||||
|
||||
#ifdef BEYOND_IR
|
||||
case ERR_RELAY_BASE + XWRELAY_ERROR_TIMEOUT:
|
||||
strID = STR_RELAY_TIMEOUT;
|
||||
break;
|
||||
case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_YOU:
|
||||
strID = STR_RELAY_GENERIC;
|
||||
break;
|
||||
case ERR_RELAY_BASE + XWRELAY_ERROR_HEART_OTHER:
|
||||
case ERR_RELAY_BASE + XWRELAY_ERROR_LOST_OTHER:
|
||||
strID = STR_RELAY_LOST_OTHER;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
XP_DEBUGF( "errcode=%d", id );
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue