lang - scripts fixed
This commit is contained in:
parent
b193bc50fa
commit
9624b5a3fc
|
|
@ -7,7 +7,8 @@
|
||||||
# lang_add.txt
|
# lang_add.txt
|
||||||
# Updated files:
|
# Updated files:
|
||||||
# lang_en.txt and all lang_en_xx.txt
|
# lang_en.txt and all lang_en_xx.txt
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# insert single text to english dictionary
|
# insert single text to english dictionary
|
||||||
# $1 - text to insert
|
# $1 - text to insert
|
||||||
|
|
@ -53,7 +54,13 @@ cat lang_add.txt | sed 's/^/"/;s/$/"/' | while read new_s; do
|
||||||
echo
|
echo
|
||||||
insert_en "$new_s"
|
insert_en "$new_s"
|
||||||
insert_xx "$new_s" 'cz'
|
insert_xx "$new_s" 'cz'
|
||||||
|
insert_xx "$new_s" 'de'
|
||||||
|
insert_xx "$new_s" 'es'
|
||||||
|
insert_xx "$new_s" 'fr'
|
||||||
|
insert_xx "$new_s" 'it'
|
||||||
|
insert_xx "$new_s" 'pl'
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
read x
|
||||||
exit 0
|
exit 0
|
||||||
|
|
@ -44,7 +44,7 @@ text=''
|
||||||
text=$txt
|
text=$txt
|
||||||
else
|
else
|
||||||
if [ -z "$addr" ]; then
|
if [ -z "$addr" ]; then
|
||||||
echo "TEXT NF $num $txt"
|
if ! [ -z "$num" ]; then echo "TEXT NF $num $txt"; fi
|
||||||
else
|
else
|
||||||
if [ "$text" = "$txt" ]; then
|
if [ "$text" = "$txt" ]; then
|
||||||
if [ ${#addr} -eq 8 ]; then
|
if [ ${#addr} -eq 8 ]; then
|
||||||
|
|
@ -57,7 +57,7 @@ text=''
|
||||||
addr=''
|
addr=''
|
||||||
text=''
|
text=''
|
||||||
else
|
else
|
||||||
echo "TEXT NF $num $txt"
|
if ! [ -z "$num" ]; then echo "TEXT NF $num $txt"; fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue