mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
This commit is contained in:
commit
09da57f165
2 changed files with 47 additions and 46 deletions
|
@ -1,4 +1,4 @@
|
|||
# -*- mode: makefile -*-
|
||||
# -*- coding: utf-8; -*-
|
||||
# Copyright 2002-2007 by Eric House (xwords@eehouse.org). All rights reserved.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
|
@ -15,22 +15,24 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
XWLANG=Russian
|
||||
LANGCODE=ru_RU
|
||||
XWLANG = Russian
|
||||
LANGCODE = ru_RU
|
||||
ENC = UTF-8
|
||||
DICT2DAWGARGS = -r
|
||||
|
||||
TARGET_TYPE ?= WINCE
|
||||
|
||||
include ../Makefile.langcommon
|
||||
|
||||
SOURCEDICT ?= $(XWDICTPATH)/$(XWLANG)/RU5000.txt.gz
|
||||
SOURCEDICT ?= $(XWDICTPATH)/Russian/RU5000.txt.gz
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< | tr -d '\r' | \
|
||||
tr [àáâãäåæçèéêëìíîïğñòóôõö÷øùÚûüışÿ] [ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞß] | \
|
||||
iconv -f ISO_8859-2 -t utf8 | \
|
||||
sed 's,.,\U\0,g' | \
|
||||
grep '^[ŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢß]*$$' | \
|
||||
gzip -c > $@
|
||||
|
||||
|
||||
# Everything but creating of the Main.dict file is inherited from the
|
||||
# "parent" Makefile.langcommon in the parent directory.
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- mode: conf; coding: utf-8; -*-
|
||||
# Copyright 2002,2007 by Eric House (xwords@eehouse.org). All rights
|
||||
# reserved.
|
||||
#
|
||||
|
@ -21,56 +22,54 @@ CHARSET:windows-1251
|
|||
# deal with DOS files
|
||||
LANGFILTER: tr -d '\r'
|
||||
# uppercase all
|
||||
LANGFILTER: | tr [àáâãäåæçèéêëìíîïðñòóôõö÷øùÚûüýþÿ] [ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß]
|
||||
LANGFILTER: | tr [ŕáâăäĺćçčéęëěíîďđńňóôőö÷řůÚűüýţ˙] [ŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢß]
|
||||
# LANGFILTER: | tr -s '\n' '\000'
|
||||
|
||||
# note: don't turn off sorting! Can't do it with GNU 'sort' without
|
||||
# setting LANG
|
||||
D2DARGS: -r -term 10
|
||||
|
||||
LANGINFO: <p>Russian wordlists must be in the Windows-1251
|
||||
LANGINFO: codepage. Lower-case letters are converted to upper case and
|
||||
LANGINFO: any words that contain letters not listed below are
|
||||
LANGINFO: removed.</p>
|
||||
LANGINFO: <p>Russian wordlists must be in utf-8: codepage. Lower-case
|
||||
LANGINFO: letters are converted to upper case and any words that
|
||||
LANGINFO: contain letters not listed below are removed.</p>
|
||||
|
||||
# High bit means "official". Next 7 bits are an enum where
|
||||
# Russian==0x0F. Low byte is padding.
|
||||
XLOC_HEADER:0x8F00
|
||||
|
||||
|
||||
<BEGIN_TILES>
|
||||
8 1 'À'
|
||||
2 3 'Á'
|
||||
4 1 'Â'
|
||||
2 3 'Ã'
|
||||
2 2 'Ä'
|
||||
7 1 'Å'
|
||||
1 4 'Æ'
|
||||
1 3 'Ç'
|
||||
7 1 'È'
|
||||
1 2 'É'
|
||||
4 2 'Ê'
|
||||
4 2 'Ë'
|
||||
2 3 'Ì'
|
||||
4 1 'Í'
|
||||
9 1 'Î'
|
||||
4 2 'Ï'
|
||||
5 1 'Ð'
|
||||
5 1 'Ñ'
|
||||
7 1 'Ò'
|
||||
4 2 'Ó'
|
||||
1 5 'Ô'
|
||||
1 4 'Õ'
|
||||
1 4 'Ö'
|
||||
1 3 '×'
|
||||
1 4 'Ø'
|
||||
1 5 'Ù'
|
||||
1 10 'Ú'
|
||||
2 2 'Û'
|
||||
4 1 'Ü'
|
||||
1 8 'Ý'
|
||||
1 5 'Þ'
|
||||
2 2 'ß'
|
||||
8 1 'Ŕ'
|
||||
2 3 'Á'
|
||||
4 1 'Â'
|
||||
2 3 'Ă'
|
||||
2 2 'Ä'
|
||||
7 1 'Ĺ'
|
||||
1 4 'Ć'
|
||||
1 3 'Ç'
|
||||
7 1 'Č'
|
||||
1 2 'É'
|
||||
4 2 'Ę'
|
||||
4 2 'Ë'
|
||||
2 3 'Ě'
|
||||
4 1 'Í'
|
||||
9 1 'Î'
|
||||
4 2 'Ď'
|
||||
5 1 'Đ'
|
||||
5 1 'Ń'
|
||||
7 1 'Ň'
|
||||
4 2 'Ó'
|
||||
1 5 'Ô'
|
||||
1 4 'Ő'
|
||||
1 4 'Ö'
|
||||
1 3 '×'
|
||||
1 4 'Ř'
|
||||
1 5 'Ů'
|
||||
1 10 'Ú'
|
||||
2 2 'Ű'
|
||||
4 1 'Ü'
|
||||
1 8 'Ý'
|
||||
1 5 'Ţ'
|
||||
2 2 'ß'
|
||||
2 0 {"_"}
|
||||
<END_TILES>
|
||||
# should ignore all after the <END_TILES> above
|
||||
|
|
Loading…
Reference in a new issue