Message = "You made a weak quality item!";
Message = tr("You made a weak quality item!");
void applyRank( UOXSOCKET Socket, P_ITEM Item, UI08 Rank ){	QString Message;	// Variables to change: LODAMAGE,HIDAMAGE,ATT,DEF,HP,MAXHP	if( Item->lodamage() > 0 ) 		Item->setLodamage( ( Rank * Item->lodamage() ) / 7 );	if( Item->hidamage() > 0 ) 		Item->setHidamage( ( Rank * Item->hidamage() ) / 7 );	if( Item->att > 0 ) 		Item->att = ( Rank * Item->att ) / 7;	if( Item->def > 0 ) 		Item->def = ( Rank * Item->def ) / 7;	if( Item->hp() > 0 ) 		Item->setHp( ( Rank * Item->hp() ) / 7 );	if( Item->maxhp() > 0 ) 		Item->setMaxhp( ( Rank * Item->maxhp() ) / 7 );	switch( Rank )	{		case 1: 			Message = "You made an item with no quality!";			break;		case 2: 			Message = "You made an item very below standard quality!";			break;		case 3: 			Message = "You made an item below standard quality!";			break;		case 4: 			Message = "You made a weak quality item!";			break;		case 5: 			Message = "You made a standard quality item!";			break;		case 6: 			Message = "You made a nice quality item!";			break;		case 7: 			Message = "You made a good quality item!";			break;		case 8: 			Message = "You made a great quality item!";			break;		case 9: 			Message = "You made a beautiful quality item!";			break;		case 10: 			Message = "You made a perfect quality item!";			break;	}	sysmessage( Socket, Message );}