1#!/bin/bash 2# 3# Generate list of files for translation. The output is saved to po/POTFILES 4# which is needed for the xgettext call. 5 6for ui in objects/ui_*.h 7do 8 for d in mingw64 mingw32 . 9 do 10 if [ -f "$d/$ui" ] 11 then 12 echo "$d/$ui" 13 fi 14 done 15done 16 17for src in src/*.h src/*.cc src/*.cpp src/*.mm 18do 19 echo $src 20done 21 22for src in src/parameter/*.h src/parameter/*.cc src/parameter/*.cpp 23do 24 echo $src 25done 26 27for src in src/input/*.h src/input/*.cc 28do 29 echo $src 30done 31