Просмотр исходного кода

Add a dos2unix to the Databases convert process for coherence

master
LecygneNoir 4 лет назад
Родитель
Сommit
78cd25e488
1 изменённых файлов: 1 добавлений и 0 удалений
  1. +1
    -0
      README.md

+ 1
- 0
README.md Просмотреть файл

@ -7,6 +7,7 @@ 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
dos2unix /tmp/DATABASE_UI_LOCALIZATION.pot.tmp
sed -i 's/\\E/\\\\E/' /tmp/DATABASE_UI_LOCALIZATION.pot.tmp
# Insert header
msgid ""

Загрузка…
Отмена
Сохранить