These are tooltips Spotify shows when you hover over the shuffle and repeat buttons. Something tells me the tooltip should show the current state, not the next state (an off by one error?).
It's consistent with how button behave: when you hover over a button, it shows you the action it will perform. However, repeat buttons, for example, have three different states, so it might be better to provide an extended tooltip: "Repeat all. Click to repeat track only" or similar