mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
separate rebuild-translations and building locale/
'make' (or 'make all', if one is interested in the apidoc) should now do everything needed to run from a git checkout. At the same time, it no longer rebuilds all translations (xgettext run etc.). This can be done with 'make translations'.
This commit is contained in:
1 parent
b1ae485973
commit
93ea4e47f6
4 files changed
+20
-18
No files matched your search
@@ -8,8 +8,6 @@
|
||||
[ -n "${DEBUG}" ] && set -o xtrace
|
||||
|
||||
PODIR="po"
|
||||
LOCALEDIR="locale"
|
||||
APPLICATION="davical"
|
||||
|
||||
awldirs="../awl
|
||||
`find .. -type d -name 'awl-*.*'`
|
||||
@@ -69,9 +67,3 @@ for LOCALE in `locale_list` ; do
|
||||
msgmerge --no-fuzzy-matching --quiet --width 105 --update ${PODIR}/${LOCALE}.po ${PODIR}/messages.pot
|
||||
done
|
||||
|
||||
for LOCALE in `locale_list` ; do
|
||||
[ "${LOCALE}" = "en" ] && continue
|
||||
mkdir -p ${LOCALEDIR}/${LOCALE}/LC_MESSAGES
|
||||
msgfmt ${PODIR}/${LOCALE}.po -o ${LOCALEDIR}/${LOCALE}/LC_MESSAGES/${APPLICATION}.mo
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user