Fix order of attributes in the attribute translation example.

'Direction' of translation in two provided examples are different, so I've unified it.