Linux build fix.

Also move the primary translation pot file to the external repository to facilitate updating translations when strings in the code are changed.  Now the only time the primary dolphin repository needs to be changed for translations is when a new language is added.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7438 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-04-06 13:58:03 +00:00
parent b6222a5b61
commit d5c4976532
5 changed files with 53 additions and 4819 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,10 +6,10 @@ CPP_FILE_LIST=$(find $SRCDIR \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \) \
-a ! -path '*Debug*')
xgettext -d dolphin-emu -s --keyword=_ --keyword=wxTRANSLATE --keyword=SuccessAlertT \
--keyword=PanicAlertT --keyword=PanicYesNoT --keyword=AskYesNoT --keyword=_trans \
--add-comments=i18n -p ./Languages -o dolphin-emu.pot $CPP_FILE_LIST \
--add-comments=i18n -p ./Languages/po -o dolphin-emu.pot $CPP_FILE_LIST \
--package-name="Dolphin Emu"
POTFILE=./Languages/dolphin-emu.pot
POTFILE=./Languages/po/dolphin-emu.pot
PO_FILES=$(find ./Languages/po -name '*.po')
for PO in $PO_FILES
do