Skip to content

Commit

Permalink
scons: massage {wml,cpp}.pot files with msgcat instead of just moving…
Browse files Browse the repository at this point in the history
… them
  • Loading branch information
loonycyborg committed Mar 5, 2016
1 parent d891023 commit fccb00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions po/SConscript
Expand Up @@ -86,9 +86,9 @@ if "pot-update" in COMMAND_LINE_TARGETS:
]
)
elif cfgs:
env.Command(new_pot, wml_pot, Move("$TARGET", "$SOURCE"))
env.Command(new_pot, wml_pot, ["msgcat --sort-by-file $SOURCES -o $TARGET", Delete(wml_pot)])
else:
env.Command(new_pot, source_pot, Move("$TARGET", "$SOURCE"))
env.Command(new_pot, source_pot, ["msgcat --sort-by-file $SOURCES -o $TARGET", Delete(source_pot)])
env.Command(pot, new_pot, Action(update_pot))

env.Alias("pot-update", "../translations")
Expand Down

0 comments on commit fccb00b

Please sign in to comment.