diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-03 22:05:35 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-03 22:05:35 +0200 |
commit | f59ff0cf1b30feac7129085107cab81dbc9294c0 (patch) | |
tree | 91d728726b69c0dd7c868834706e4befd8d3dc9a /www-apps/davical/files/awl_location.patch | |
parent | ba9625d5abf5f62308b2f679cc05ac70a9ea149a (diff) | |
parent | 5d13dbda8f7c8a41475fe3ca17f2202eb0bb9322 (diff) | |
download | overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.tar.gz overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.tar.xz overlay-f59ff0cf1b30feac7129085107cab81dbc9294c0.zip |
Merge branch 'master' of ssh://git.animux.de/overlay
Diffstat (limited to '')
-rw-r--r-- | www-apps/davical/files/awl_location.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www-apps/davical/files/awl_location.patch b/www-apps/davical/files/awl_location.patch new file mode 100644 index 0000000..7eee3d8 --- /dev/null +++ b/www-apps/davical/files/awl_location.patch @@ -0,0 +1,21 @@ +--- scripts/po/rebuild-translations.sh.orig 2011-09-29 21:23:48.122625252 +0200 ++++ scripts/po/rebuild-translations.sh 2011-09-29 21:49:55.642929743 +0200 +@@ -10,7 +10,7 @@ + PODIR="po" + LOCALEDIR="locale" + APPLICATION="davical" +-AWL_LOCATION="../awl" ++AWL_LOCATION="/usr/share/php/awl/inc" + + if [ ! -d "${AWL_LOCATION}" ]; then + AWL_LOCATION="`find .. -type d -name 'awl-*.*'`" +@@ -25,7 +25,8 @@ + + egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 + sed "s:../awl:${AWL_LOCATION}:" ${PODIR}/pofilelist.txt >> ${PODIR}/pofilelist.tmp1 +-sort ${PODIR}/pofilelist.tmp1 | uniq > ${PODIR}/pofilelist.tmp ++sed "s:/awl/inc/:/awl/:" ${PODIR}/pofilelist.tmp1 >> ${PODIR}/pofilelist.tmp2 ++sort ${PODIR}/pofilelist.tmp2 | uniq > ${PODIR}/pofilelist.tmp + xgettext --no-location --add-comments=Translators --keyword=translate --keyword=i18n --output=${PODIR}/messages.tmp -s -f ${PODIR}/pofilelist.tmp + sed 's.^"Content-Type: text/plain; charset=CHARSET\\n"."Content-Type: text/plain; charset=UTF-8\\n".' ${PODIR}/messages.tmp > ${PODIR}/messages.pot + rm ${PODIR}/messages.tmp ${PODIR}/pofilelist.tmp ${PODIR}/pofilelist.tmp1 |