]> 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 14:28:53 +0000 (16:28 +0200)
contrib/extract_translations/extract_translations.erl

index 3efaace85e7f172a9b82f40294e243ae59de40e6..488357ba630486a6e73a7dccd2c4814079674545 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}.