mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
catch up with string constant changes
This commit is contained in:
parent
8f1f118e68
commit
9810b8cbe2
2 changed files with 14 additions and 0 deletions
|
@ -46,6 +46,11 @@ enum {
|
|||
STR_ROBOT_MOVED,
|
||||
STR_REMOTE_MOVED,
|
||||
|
||||
STR_PASSED,
|
||||
STRSD_SUMMARYSCORED,
|
||||
STRD_TRADED,
|
||||
STR_LOSTTURN,
|
||||
|
||||
STR_NOT_USED
|
||||
};
|
||||
|
||||
|
|
|
@ -1913,6 +1913,15 @@ ce_util_getUserString( XW_UtilCtxt* uc, XP_U16 stringCode )
|
|||
case STR_REMOTE_MOVED:
|
||||
return (XP_UCHAR*)"Remote player made this move:" XP_CR;
|
||||
|
||||
case STR_PASSED:
|
||||
return (XP_UCHAR*)"Passed";
|
||||
case STRSD_SUMMARYSCORED:
|
||||
return (XP_UCHAR*)"%s:%d";
|
||||
case STRD_TRADED:
|
||||
return (XP_UCHAR*)"Traded %d";
|
||||
case STR_LOSTTURN:
|
||||
return (XP_UCHAR*)"Lost turn";
|
||||
|
||||
default:
|
||||
XP_LOGF( "stringCode=%d", stringCode );
|
||||
return (XP_UCHAR*)"unknown code";
|
||||
|
|
Loading…
Reference in a new issue