#!/bin/bash # # Create target directories # mkdir -p usr/share/locale/da/LC_MESSAGES mkdir -p usr/share/locale/de/LC_MESSAGES # '*.po'-files for 'suricata-reporter' are in the archive, deactivated here # mkdir -p usr/share/locale/de_DE/LC_MESSAGES mkdir -p usr/share/locale/es/LC_MESSAGES mkdir -p usr/share/locale/fa/LC_MESSAGES mkdir -p usr/share/locale/fr/LC_MESSAGES mkdir -p usr/share/locale/hr/LC_MESSAGES mkdir -p usr/share/locale/hu/LC_MESSAGES mkdir -p usr/share/locale/it/LC_MESSAGES mkdir -p usr/share/locale/ja/LC_MESSAGES mkdir -p usr/share/locale/nl/LC_MESSAGES mkdir -p usr/share/locale/pl/LC_MESSAGES mkdir -p usr/share/locale/pt_BR/LC_MESSAGES mkdir -p usr/share/locale/ro_RO/LC_MESSAGES mkdir -p usr/share/locale/ru/LC_MESSAGES mkdir -p usr/share/locale/sv/LC_MESSAGES mkdir -p usr/share/locale/tr/LC_MESSAGES mkdir -p usr/share/locale/zh_CN/LC_MESSAGES mkdir -p usr/share/locale/zh_TW/LC_MESSAGES # # Compile the *.po-files one by one # msgfmt --check-format -o usr/share/locale/da/LC_MESSAGES/setup.mo ../src/setup/po/da.po msgfmt --check-format -o usr/share/locale/de/LC_MESSAGES/ipfire.mo ../po/de.po msgfmt --check-format -o usr/share/locale/de/LC_MESSAGES/setup.mo ../src/setup/po/de.po # Deactivated, see above # msgfmt --check-format -o usr/share/locale/de_DE/LC_MESSAGES/suricata-reporter.mo msgfmt --check-format -o usr/share/locale/es/LC_MESSAGES/ipfire.mo ../po/es.po msgfmt --check-format -o usr/share/locale/es/LC_MESSAGES/setup.mo ../src/setup/po/es.po # Deactivated, see above # msgfmt --check-format -o usr/share/locale/es/LC_MESSAGES/suricata-reporter.mo msgfmt --check-format -o usr/share/locale/fa/LC_MESSAGES/setup.mo ../src/setup/po/fa.po msgfmt --check-format -o usr/share/locale/fr/LC_MESSAGES/ipfire.mo ../po/fr.po msgfmt --check-format -o usr/share/locale/fr/LC_MESSAGES/setup.mo ../src/setup/po/fr.po msgfmt --check-format -o usr/share/locale/hr/LC_MESSAGES/setup.mo ../src/setup/po/hr.po msgfmt --check-format -o usr/share/locale/hu/LC_MESSAGES/setup.mo ../src/setup/po/hu.po msgfmt --check-format -o usr/share/locale/it/LC_MESSAGES/ipfire.mo ../po/it.po msgfmt --check-format -o usr/share/locale/it/LC_MESSAGES/setup.mo ../src/setup/po/it.po msgfmt --check-format -o usr/share/locale/ja/LC_MESSAGES/setup.mo ../src/setup/po/ja.po msgfmt --check-format -o usr/share/locale/nl/LC_MESSAGES/ipfire.mo ../po/nl.po msgfmt --check-format -o usr/share/locale/nl/LC_MESSAGES/setup.mo ../src/setup/po/nl.po msgfmt --check-format -o usr/share/locale/pl/LC_MESSAGES/ipfire.mo ../po/pl.po msgfmt --check-format -o usr/share/locale/pl/LC_MESSAGES/setup.mo ../src/setup/po/pl.po msgfmt --check-format -o usr/share/locale/pt_BR/LC_MESSAGES/setup.mo ../src/setup/po/pt_BR.po msgfmt --check-format -o usr/share/locale/ro_RO/LC_MESSAGES/setup.mo ../src/setup/po/ro_RO.po msgfmt --check-format -o usr/share/locale/ru/LC_MESSAGES/ipfire.mo ../po/ru.po msgfmt --check-format -o usr/share/locale/ru/LC_MESSAGES/setup.mo ../src/setup/po/ru.po msgfmt --check-format -o usr/share/locale/sv/LC_MESSAGES/setup.mo ../src/setup/po/sv.po msgfmt --check-format -o usr/share/locale/tr/LC_MESSAGES/ipfire.mo ../po/tr.po msgfmt --check-format -o usr/share/locale/tr/LC_MESSAGES/setup.mo ../src/setup/po/tr.po msgfmt --check-format -o usr/share/locale/zh_CN/LC_MESSAGES/ipfire.mo ../po/zh_CN.po msgfmt --check-format -o usr/share/locale/zh_TW/LC_MESSAGES/ipfire.mo ../po/zh_TW.po