# HG changeset patch # User Oleksandr Gavenko # Date 1324501465 -7200 # Node ID 1174ea277aef4f0e1fb9cbd52f665525e58a00d2 # Parent f1bd8260466172f48f12e76c49a23da2cacf6ed2 .ifo, .tab, .descr file no longer used. diff -r f1bd82604661 -r 1174ea277aef README.rst --- a/README.rst Sun Dec 18 23:28:39 2011 +0200 +++ b/README.rst Wed Dec 21 23:04:25 2011 +0200 @@ -26,34 +26,8 @@ $ make uninstall prefix=PREFIX $ make prefix=PREFIX uninstall uninstall-local-symlink -What file needed to create dictionary? -====================================== - -.tab_ and .descr, which contain text data in UTF-8 encoding. -install - -In .tab_ file lines which begin with '#' used as comment; space after '\n' -(two chars) removed. - -Words before first TAB character in .tab_ file supposed as translated word, -rest text after TAB is word article. - -.tab_ file format. ------------------- - -Used such format: - - WORD [TAB] TRANSLATION [LF] - -When processing TRANSLATION string in all occurrence of "\n " (literary -back-slash small-letter-n and space) removed space. - -.descr file format. -------------------- - -First line added to .ifo file as value of description. - -Next lines ignored and used for miscellaneous notes. +Dictionary source file format. +============================== IPA chars. ========== diff -r f1bd82604661 -r 1174ea277aef update-ifo.sh --- a/update-ifo.sh Sun Dec 18 23:28:39 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -#!/bin/sh - -help() { - echo "Usage:" - echo " update-ifo.sh .ifo" -} - -if [ x$1 = x ]; then - help - exit 1 -fi - -name=$1 -name=${name%.ifo} -echo $1 -echo $name - -if [ $1 = $name ]; then - echo "Error: file must have .ifo extension." - exit 1 -fi - -if [ ! -e $1 ]; then - echo "Error: file $1 not exist." -fi - -date=`date +%Y-%m-%d` - -echo "author=Oleksandr Gavenko" >>$1 -echo "email=gavenkoa@gmail.com" >>$1 -echo "website=http://gavenkoa.blogspot.com" >>$1 -echo "date=$date" >>$1 -if [ -e $name.descr ]; then - echo "description="`head -n 1 $name.descr` >>$1 -fi \ No newline at end of file