From e0bf4ad40c56c63763809185414f771467d85056 Mon Sep 17 00:00:00 2001 From: Jordi Chacon Date: Wed, 6 Oct 2010 11:16:19 +0200 Subject: [PATCH] Fixed silly mistake, po files should be stored in memory always after washing the po files --- src/polish.erl | 3 ++- src/polish_app.erl | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/polish.erl b/src/polish.erl index 9a080c4..f9883fe 100644 --- a/src/polish.erl +++ b/src/polish.erl @@ -59,7 +59,8 @@ update_po_files() -> update_po_files(KeysToBeReplaced) -> CustomLCs = all_custom_lcs(), - polish_wash:update_po_files(CustomLCs, KeysToBeReplaced). + polish_wash:update_po_files(CustomLCs, KeysToBeReplaced), + load_po_files(). load_po_files() -> CustomLCs = all_custom_lcs(), diff --git a/src/polish_app.erl b/src/polish_app.erl index ea1b71d..7fbe4cd 100644 --- a/src/polish_app.erl +++ b/src/polish_app.erl @@ -8,7 +8,7 @@ -export([start/2, stop/1]). --import(polish, [all_custom_lcs/0, meta_filename/1, load_po_files/0]). +-import(polish, [all_custom_lcs/0, meta_filename/1]). -include("polish.hrl"). @@ -17,7 +17,6 @@ start(_, _) -> Res = polish_sup:start_link(), load_always_translated_keys(), maybe_replace_keys_or_auto_wash(), - load_po_files(), {ok,_Pid} = polish_inets:start_link(), % ends up under the inets supervisors Res.