The aliases are defined by a file in the (system or user) image directory. The format is pretty simple: each line is like <str1> <str2> Where every instance of <str1> will be replaced with <str2>. Fixes bug #12509.