psu_proto: The languages list is now complete.
This commit is contained in:
parent
000b171567
commit
e11dc0be25
@ -1407,10 +1407,15 @@ send_1a07(#state{socket=Socket, gid=DestGID, lid=DestLID}) ->
|
||||
%% @doc Return the language as an atom from its integer value.
|
||||
%% @todo Identify which of the english languages is american and which is uk.
|
||||
language_integer_to_atom(0) -> japanese;
|
||||
language_integer_to_atom(1) -> english;
|
||||
language_integer_to_atom(2) -> english;
|
||||
language_integer_to_atom(1) -> american_english;
|
||||
language_integer_to_atom(2) -> british_english;
|
||||
language_integer_to_atom(3) -> french;
|
||||
language_integer_to_atom(4) -> german;
|
||||
language_integer_to_atom(5) -> spanish;
|
||||
language_integer_to_atom(6) -> italian;
|
||||
language_integer_to_atom(7) -> korean;
|
||||
language_integer_to_atom(8) -> simplified_chinese;
|
||||
language_integer_to_atom(9) -> traditional_chinese;
|
||||
language_integer_to_atom(Language) -> log("unknown 080e Language ~p", [Language]).
|
||||
|
||||
%% @doc Prepare a packet. Return the real size and padding at the end.
|
||||
|
Loading…
Reference in New Issue
Block a user