Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (23 sloc) 1.037 kB
#! /bin/sh
I18NDOMAIN="collective.polls"
BASE_DIRECTORY="src/collective/polls"
# Synchronise the templates and scripts with the .pot.
i18ndude rebuild-pot --pot ${BASE_DIRECTORY}/locales/${I18NDOMAIN}.pot \
--merge ${BASE_DIRECTORY}/locales/manual.pot \
--create ${I18NDOMAIN} \
${BASE_DIRECTORY}
# Synchronise the resulting .pot with all .po files
for po in ${BASE_DIRECTORY}/locales/*/LC_MESSAGES/${I18NDOMAIN}.po; do
i18ndude sync --pot ${BASE_DIRECTORY}/locales/${I18NDOMAIN}.pot $po
done
# Synchronise the templates and scripts with the .pot.
i18ndude rebuild-pot --pot ${BASE_DIRECTORY}/locales/plone.pot \
--create plone \
${BASE_DIRECTORY}/configure.zcml \
${BASE_DIRECTORY}/profiles/default/workflows
# Synchronise the Plone's pot file (Used for the workflows)
for po in ${BASE_DIRECTORY}/locales/*/LC_MESSAGES/plone.po; do
i18ndude sync --pot ${BASE_DIRECTORY}/locales/plone.pot $po
done
# Report of errors and suspect untranslated messages
i18ndude find-untranslated -n ${BASE_DIRECTORY}
Jump to Line
Something went wrong with that request. Please try again.