aboutsummaryrefslogtreecommitdiff
path: root/contrib/extract_translations/extract_translations.erl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extract_translations/extract_translations.erl')
-rw-r--r--contrib/extract_translations/extract_translations.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/extract_translations/extract_translations.erl b/contrib/extract_translations/extract_translations.erl
index 16aaa8871..6865528c1 100644
--- a/contrib/extract_translations/extract_translations.erl
+++ b/contrib/extract_translations/extract_translations.erl
@@ -3,7 +3,7 @@
%%% Author : Sergei Golovan <sgolovan@nes.ru>
%%% Purpose : Auxiliary tool for interface/messages translators
%%% Created : 23 Apr 2005 by Sergei Golovan <sgolovan@nes.ru>
-%%% Id : $Id: extract_translations.erl
+%%% Id : $Id$
%%%----------------------------------------------------------------------
-module(extract_translations).
@@ -122,7 +122,8 @@ process_string(Dir, File, Str, Used) ->
io:format("~n% ~s~n", [File]),
ets:insert(files, {File})
end,
- io:format("{~p, \"\"}.~n", [Str]);
+ io:format("{~p, \"\"}.~n", [Str]),
+ ets:insert(translations, {Str, ""});
_ ->
ok
end.