Auto-update translations when source files changed, account for new location of win32 sources.
parent
f6752dd128
commit
231eec4dbd
|
@ -118,4 +118,4 @@ src/celestia/kde/rc.cpp
|
|||
|
||||
data/data.cpp
|
||||
|
||||
src/celestia/res/resource_strings.cpp
|
||||
src/celestia/win32/res/resource_strings.cpp
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
celestia.pot-update: ../data/data.cpp
|
||||
|
||||
../data/data.cpp:
|
||||
../data/data.cpp: ../data/solarsys.ssc ../data/earth_locs.ssc ../data/world-capitals.ssc ../data/galaxies.dsc ../data/nearstars.stc
|
||||
egrep '^(\"|ReferencePoint)' ../data/solarsys.ssc | awk -F'\"|:' '{ print "_(\"" $$2 "\");" }' > ../data/data.cpp
|
||||
grep \"Sol/Earth\" ../data/earth_locs.ssc | awk -F\" '{ print "_(\"" $$2 "\");" }' >> ../data/data.cpp
|
||||
grep \"Sol/Earth\" ../data/world-capitals.ssc | awk -F\" '{ print "_(\"" $$2 "\");" }' >> ../data/data.cpp
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
celestia.pot-update: ../src/celestia/res/resource_strings.cpp
|
||||
|
||||
../src/celestia/res/resource_strings.cpp:
|
||||
./extract_resource_strings.pl < ../src/celestia/res/celestia.rc > ../src/celestia/res/resource_strings.cpp
|
||||
../src/celestia/win32/res/resource_strings.cpp: ../src/celestia/win32/res/celestia.rc
|
||||
./extract_resource_strings.pl < ../src/celestia/win32/res/celestia.rc > ../src/celestia/win32/res/resource_strings.cpp
|
||||
|
|
499
po/celestia.pot
499
po/celestia.pot
File diff suppressed because it is too large
Load Diff
506
po/pt_BR.po
506
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
506
po/zh_CN.po
506
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
506
po/zh_TW.po
506
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue