Browse Source

Add a dos2unix to the Databases convert process for coherence

LecygneNoir 4 months ago
parent
commit
78cd25e488
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      README.md

+ 1
- 0
README.md View File

@@ -7,6 +7,7 @@ To convert from XML
7 7
 
8 8
 ```bash
9 9
 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
10
+dos2unix /tmp/DATABASE_UI_LOCALIZATION.pot.tmp
10 11
 sed -i 's/\\E/\\\\E/' /tmp/DATABASE_UI_LOCALIZATION.pot.tmp
11 12
 # Insert header
12 13
 msgid ""

Loading…
Cancel
Save