code reformatting
adds locale msg for stock count failed.