]> granicus.if.org Git - ejabberd/commitdiff
Fix previous commit about language name
authorBadlop <badlop@process-one.net>
Thu, 20 Oct 2011 14:28:53 +0000 (16:28 +0200)
committerBadlop <badlop@process-one.net>
Thu, 20 Oct 2011 15:33:33 +0000 (17:33 +0200)
tools/extract_translations/extract_translations.erl

index 37da1aa2d9d6690394abf15f8491753bdece85a2..f2fc113d61cbfee3170a8a6afc4aaba5483007a3 100644 (file)
@@ -254,7 +254,7 @@ get_msg_header_props(F, Lines) ->
     end.
 
 prepare_props(MsgProps) ->
-    Language = proplists:get_value("X-Language:", MsgProps),
+    Language = proplists:get_value("Language:", MsgProps),
     Authors = proplists:get_all_values("Author:", MsgProps),
     {Language, Authors}.