{text key='usercredits+credits_balance'}: {$balance}
{text key='usercredits+credits_opportunity'}
{foreach from=$earning item='e' name='itm'} {/foreach}
{text key='usercredits+earning_actions'}
{text key="`$e.pluginKey`+usercredits_action_`$e.actionKey`"}
{if !$earning}
{text key='usercredits+no_actions'}
{/if}
{foreach from=$losing item='e' name='itm'} {/foreach}
{text key='usercredits+spending_actions'}
{text key="`$e.pluginKey`+usercredits_action_`$e.actionKey`"}
{if !$losing}
{text key='usercredits+no_actions'}
{/if}