From 1b30a6f1790ac9aa2dc53fe984f6354714fb2499 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Wed, 6 Feb 2019 07:58:26 +0100 Subject: [PATCH] add quick note for how to extract module in ReadMe --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 526d407..66a051e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # thea2Shattering_i18n_tools -Scripting tools to interact with Thea 2 The Shattering's files in order to translate them easily. \ No newline at end of file +Scripting tools to interact with Thea 2 The Shattering's files in order to translate them easily. + + + +## Modules + +To convert from txt : + +``` +for text in Modules/game_files/*; do ./extract_module.sh "${text}"; done + +for text in Modules/pot/*; do mv "${text}" "${text}.ori"; msguniq --no-wrap "${text}.ori" > "${text}"; rm "${text}.ori"; done +``` +