aboutsummaryrefslogtreecommitdiff
path: root/contrib/extract_translations/extract_translations.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-10-20 15:45:17 +0200
committerBadlop <badlop@process-one.net>2011-10-20 15:45:17 +0200
commit98b150e1a4818e133c70540c696f30f49a41b44b (patch)
tree1a3a764465a1be66e88427493594cb11044fbaad /contrib/extract_translations/extract_translations.erl
parentGet rid of useless mnesia transaction (EJAB-1502) (diff)
Fix extraction of language name from PO files
Diffstat (limited to 'contrib/extract_translations/extract_translations.erl')
-rw-r--r--contrib/extract_translations/extract_translations.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/extract_translations/extract_translations.erl b/contrib/extract_translations/extract_translations.erl
index 488357ba6..3efaace85 100644
--- a/contrib/extract_translations/extract_translations.erl
+++ b/contrib/extract_translations/extract_translations.erl
@@ -254,7 +254,7 @@ get_msg_header_props(F, Lines) ->
end.
prepare_props(MsgProps) ->
- Language = proplists:get_value("Language:", MsgProps),
+ Language = proplists:get_value("X-Language:", MsgProps),
Authors = proplists:get_all_values("Author:", MsgProps),
{Language, Authors}.