|
|
@ -6,7 +6,7 @@ Scripting tools to interact with Thea 2 The Shattering's files in order to trans |
|
|
|
To convert from XML |
|
|
|
|
|
|
|
```bash |
|
|
|
grep Key Database/game_files/DATABASE_UI_LOCALIZATION.xml | grep -v "UI_EMPTY" | grep -v "<!--<Entry" | awk -F'"' '{print "#. "$2"\n" "msgid " "\""$4"\"" "\n" "msgstr " "\"\""}' > /tmp/DATABASE_UI_LOCALIZATION.pot.tmp |
|
|
|
grep Key Database/game_files/DATABASE_UI_LOCALIZATION.xml | grep -v "UI_EMPTY" | grep -v '<!--<Entry' | awk -F'"' '{print "#. "$2"\n" "msgid " "\""$4"\"" "\n" "msgstr " "\"\""}' > /tmp/DATABASE_UI_LOCALIZATION.pot.tmp |
|
|
|
sed -i 's/\\E/\\\\E/' /tmp/DATABASE_UI_LOCALIZATION.pot.tmp |
|
|
|
# Insert header |
|
|
|
msgid "" |
|
|
|