blob: c9a7ba6451c46d3fb7bc6220bcd3a5649b89fd31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash -e
LANG=$1
for doc in acceptLicense addUser ask_mntpoint_s installer selectInstallClass \
selectKeyboard configureServices selectLanguage takeOverHdConfirm \
doPartitionDisks chooseDesktop choosePackageGroups choosePackagesTree diskdrake exitInstall formatPartitions \
installUpdates misc-params configureTimezoneUTC resizeFATChoose \
setupSCSI selectMouse setupBootloader DrakX \
configureX_card_list configureX_monitor configureX_chooser \
setupBootloaderAddEntry minimal-install securityLevel selectCountry media_selection add_supplemental_media; do
po4a-translate --format docbook --master-charset utf-8 --localized-charset utf-8 \
--master en/${doc}.xml \
--po $LANG.po --localized $LANG/${doc}.xml
perl -i -p -e "s/version=\"5\.0\"/version=\"5\.0\" xml:lang=\"$LANG\"/;" $LANG/${doc}.xml
perl -i -p -e "s/xml\:lang=\"$LANG\"\ xml\:lang=\"$LANG\"/xml\:lang=\"$LANG\"/;" $LANG/${doc}.xml
done
|