Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 17:51:46 +0300
From:      Andrey Kramarenko <dron_2@ua.fm>
To:        ports@FreeBSD.org
Subject:   DAViCal port
Message-ID:  <E1da1Bb-0000fc-0f@st13.mi6.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hello.
I am testing DAViCal server now and noticed, that translations are not installed dy default. I expracted sources, examined spec file and used script:

#!/bin/sh

for LOCALE in `ls po/*.po | cut -f2 -d/ | cut -f1 -d.` ; do \
    echo $LOCALE
    [ "$LOCALE" = "en" ] && continue; \
    mkdir -p locale/$LOCALE/LC_MESSAGES; \
    msgfmt po/$LOCALE.po -o locale/$LOCALE/LC_MESSAGES/davical.mo; \
done

in root sources directory to generate translations and moved "locale" dir into /usr/www/davical
Translations started to work. I think that many people will be glad to obtain working translations by default. Can such step be added?

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1da1Bb-0000fc-0f>