Put formatting operation outside localisation call

Otherwise the strings will not be properly extracted
for translation.

Change-Id: I21a1c56577e7cd9fb2e31fe380b3c3bc8d1c48bf