Skip to content

Commit

Permalink
Fixed silly mistake, po files should be stored in memory always after…
Browse files Browse the repository at this point in the history
… washing the po files
  • Loading branch information
Jordi Chacon committed Oct 6, 2010
1 parent d926a55 commit e0bf4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/polish.erl
Expand Up @@ -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(),
Expand Down
3 changes: 1 addition & 2 deletions src/polish_app.erl
Expand Up @@ -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").

Expand All @@ -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.

Expand Down

0 comments on commit e0bf4ad

Please sign in to comment.