Make subtitles translateable, part I.
Feed them through gettext on display, add the files to the update-po.sh script and run that to update POTFILES.in. Refs #1728. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10656 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
2d5dc129bb
commit
68d5713d99
|
@ -84,6 +84,59 @@ data/base/script/text/tech.slo
|
||||||
data/base/script/text/tutorial3.slo
|
data/base/script/text/tutorial3.slo
|
||||||
data/base/script/text/vtols2.slo
|
data/base/script/text/vtols2.slo
|
||||||
data/base/script/text/vtols.slo
|
data/base/script/text/vtols.slo
|
||||||
|
data/base/sequenceaudio/cam1/c001end.txt
|
||||||
|
data/base/sequenceaudio/cam1/c001.txa
|
||||||
|
data/base/sequenceaudio/cam1/c001.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1ccom.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1cnp.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1dnp.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1dp2.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1out2.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1out3.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1out4.txt
|
||||||
|
data/base/sequenceaudio/cam1/cam1out5.txt
|
||||||
|
data/base/sequenceaudio/cam1/map1a_c.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub13np1.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub13np2.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub14anp.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub1_4bn.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub1_5pl.txt
|
||||||
|
data/base/sequenceaudio/cam1/sub17fmv.txt
|
||||||
|
data/base/sequenceaudio/cam2/c002.txa
|
||||||
|
data/base/sequenceaudio/cam2/c2diif2.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam22fmv.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2_2n2.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2_2n.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam22pl2.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam22pl3.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam26afm.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam26bfm.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam26pl1.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam27fmv.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2acol.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2bcol.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2dico.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2diin.txt
|
||||||
|
data/base/sequenceaudio/cam2/cam2dipl.txt
|
||||||
|
data/base/sequenceaudio/cam3/c003.txa
|
||||||
|
data/base/sequenceaudio/cam3/c003.txt
|
||||||
|
data/base/sequenceaudio/cam3/c3ad2n2.txt
|
||||||
|
data/base/sequenceaudio/cam3/c3ad2pl3.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3_1bn.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam32a2.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam32alp.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam32pl2.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam34mu1.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam34mu2.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3abf.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3abpl.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3ad2n.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3bg.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3_bn.txt
|
||||||
|
data/base/sequenceaudio/cam3/cam3_cn.txt
|
||||||
|
data/base/sequenceaudio/devastation.txa
|
||||||
|
data/base/sequenceaudio/devastation.txt
|
||||||
|
data/base/sequenceaudio/outro.txt
|
||||||
data/mods/multiplay/dydo-ai/messages/strings/names.txt
|
data/mods/multiplay/dydo-ai/messages/strings/names.txt
|
||||||
data/mods/multiplay/dydo-ai/multiplay/skirmish/ai.slo
|
data/mods/multiplay/dydo-ai/multiplay/skirmish/ai.slo
|
||||||
data/mods/multiplay/ntw/messages/strings/genstrings.txt
|
data/mods/multiplay/ntw/messages/strings/genstrings.txt
|
||||||
|
|
|
@ -10,6 +10,6 @@ EOF
|
||||||
|
|
||||||
find lib src data -type f |
|
find lib src data -type f |
|
||||||
grep -v '\/.svn\/' |
|
grep -v '\/.svn\/' |
|
||||||
grep -e '\.c\(pp\|xx\)\?$' -e 'data.*strings.*\.txt$' -e '\.slo$' -e '\.rmsg$' |
|
grep -e '\.c\(pp\|xx\)\?$' -e 'data.*strings.*\.txt$' -e 'data.*sequenceaudio.*\.tx.$' -e '\.slo$' -e '\.rmsg$' |
|
||||||
grep -v -e '\.lex\.c\(pp\|xx\)\?$' -e '\.tab\.c\(pp\|xx\)\?$' -e 'lib/netplay/miniupnpc/*' -e 'GLee\.c' |
|
grep -v -e '\.lex\.c\(pp\|xx\)\?$' -e '\.tab\.c\(pp\|xx\)\?$' -e 'lib/netplay/miniupnpc/*' -e 'GLee\.c' |
|
||||||
sort >> po/POTFILES.in
|
sort >> po/POTFILES.in
|
||||||
|
|
|
@ -625,7 +625,7 @@ static BOOL seq_AddTextFromFile(const char *pTextName, SEQ_TEXT_POSITIONING text
|
||||||
ASSERT(pText != NULL, "error parsing text file");
|
ASSERT(pText != NULL, "error parsing text file");
|
||||||
if (pText != NULL)
|
if (pText != NULL)
|
||||||
{
|
{
|
||||||
seq_AddTextForVideo(&pText[1], xOffset, yOffset, startFrame, endFrame, textJustification);
|
seq_AddTextForVideo(_(&pText[1]), xOffset, yOffset, startFrame, endFrame, textJustification);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue