Fix hardcoded language key when "gen_error_msg()" is called