mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
first checked in
This commit is contained in:
parent
1374e6d494
commit
082c382f22
9 changed files with 211 additions and 0 deletions
7
dawg/Spanish/.cvsignore
Normal file
7
dawg/Spanish/.cvsignore
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
*.bin
|
||||||
|
*.xwd
|
||||||
|
*.pdb
|
||||||
|
*.saved
|
||||||
|
*.pdr
|
||||||
|
*.ehouse
|
||||||
|
*.seb
|
54
dawg/Spanish/Makefile
Normal file
54
dawg/Spanish/Makefile
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
# -*-mode: Makefile -*-
|
||||||
|
# Copyright 2002 by Eric House (fixin@peak.org). All rights reserved.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License
|
||||||
|
# as published by the Free Software Foundation; either version 2
|
||||||
|
# of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
LANG=Spanish
|
||||||
|
LANGCODE=es_ES
|
||||||
|
TARGET_TYPE ?= FRANK
|
||||||
|
|
||||||
|
ifeq ($(TARGET_TYPE),PALM)
|
||||||
|
PBITMS = ./bmps/palm
|
||||||
|
else
|
||||||
|
ifeq ($(TARGET_TYPE),FRANK)
|
||||||
|
PBITMS = ./bmps/franklin
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
LANG_SPECIAL_INFO = \
|
||||||
|
"CH" $(PBITMS)/large_ch.pbitm $(PBITMS)/small_ch.pbitm \
|
||||||
|
"LL" $(PBITMS)/large_ll.pbitm $(PBITMS)/small_ll.pbitm \
|
||||||
|
"RR" $(PBITMS)/large_rr.pbitm $(PBITMS)/small_rr.pbitm \
|
||||||
|
|
||||||
|
include ../Makefile.2to8
|
||||||
|
|
||||||
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
|
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
||||||
|
# ln -s $< $@
|
||||||
|
|
||||||
|
$(LANG)Main.dict.gz: XavSpanish.dict.gz Makefile
|
||||||
|
zcat $< \
|
||||||
|
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
|
||||||
|
| tr [a-zñ] [A-ZÑ] \
|
||||||
|
| grep '^[[A-JL-VX-ZÑ]*$$' \
|
||||||
|
| sed 's/CH/1/g' \
|
||||||
|
| sed 's/LL/2/g' \
|
||||||
|
| sed 's/RR/3/g' \
|
||||||
|
| tr '123' '\001\002\003' \
|
||||||
|
| gzip - > $@
|
||||||
|
|
||||||
|
clean: clean_common
|
||||||
|
rm -rf *.saved
|
9
dawg/Spanish/bmps/palm/large_ch.pbitm
Normal file
9
dawg/Spanish/bmps/palm/large_ch.pbitm
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
-###--#--#
|
||||||
|
#---#-#--#
|
||||||
|
#-----#--#
|
||||||
|
#-----#--#
|
||||||
|
#-----####
|
||||||
|
#-----#--#
|
||||||
|
#-----#--#
|
||||||
|
#---#-#--#
|
||||||
|
-###--#--#
|
9
dawg/Spanish/bmps/palm/large_ll.pbitm
Normal file
9
dawg/Spanish/bmps/palm/large_ll.pbitm
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
#----#---
|
||||||
|
####-####
|
9
dawg/Spanish/bmps/palm/large_rr.pbitm
Normal file
9
dawg/Spanish/bmps/palm/large_rr.pbitm
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
####-####-
|
||||||
|
#---##---#
|
||||||
|
#---##---#
|
||||||
|
#---##---#
|
||||||
|
####-####-
|
||||||
|
#-#--#--#-
|
||||||
|
#--#-#--#-
|
||||||
|
#--#-#---#
|
||||||
|
#---##---#
|
7
dawg/Spanish/bmps/palm/small_ch.pbitm
Normal file
7
dawg/Spanish/bmps/palm/small_ch.pbitm
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
-#--#-#
|
||||||
|
#-#-#-#
|
||||||
|
#---#-#
|
||||||
|
#---###
|
||||||
|
#---#-#
|
||||||
|
#-#-#-#
|
||||||
|
-#--#-#
|
7
dawg/Spanish/bmps/palm/small_ll.pbitm
Normal file
7
dawg/Spanish/bmps/palm/small_ll.pbitm
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#---#--
|
||||||
|
#---#--
|
||||||
|
#---#--
|
||||||
|
#---#--
|
||||||
|
#---#--
|
||||||
|
#---#--
|
||||||
|
###-###
|
7
dawg/Spanish/bmps/palm/small_rr.pbitm
Normal file
7
dawg/Spanish/bmps/palm/small_rr.pbitm
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
###-##-
|
||||||
|
#--#--#
|
||||||
|
#--#--#
|
||||||
|
###-##-
|
||||||
|
#-#--#-
|
||||||
|
#--#--#
|
||||||
|
#--#--#
|
102
dawg/Spanish/info.txt
Normal file
102
dawg/Spanish/info.txt
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
# Copyright 2002 by Eric House (fixin@peak.org). All rights reserved.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License
|
||||||
|
# as published by the Free Software Foundation; either version 2
|
||||||
|
# of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
# no way can unix sort handle the control chars I'm adding to text
|
||||||
|
# below
|
||||||
|
|
||||||
|
NEEDSSORT:true
|
||||||
|
|
||||||
|
|
||||||
|
# convert accented vowels
|
||||||
|
LANGFILTER_POSTCLIP: | tr '\207\216\222\227\234\237\226' 'aeiouu\321'
|
||||||
|
# uppercase
|
||||||
|
LANGFILTER_POSTCLIP: | tr [a-zñ] [A-ZÑ]
|
||||||
|
# remove words with illegal letters
|
||||||
|
LANGFILTER_POSTCLIP: | grep '^[[A-JL-VX-ZÑ]*$'
|
||||||
|
# substitute pairs (can't figure out how to use octal values)
|
||||||
|
LANGFILTER_POSTCLIP: | sed 's/CH/1/g'
|
||||||
|
LANGFILTER_POSTCLIP: | sed 's/LL/2/g'
|
||||||
|
LANGFILTER_POSTCLIP: | sed 's/RR/3/g'
|
||||||
|
# substitute in the octal control character values
|
||||||
|
LANGFILTER_POSTCLIP: | tr '123' '\001\002\003'
|
||||||
|
|
||||||
|
|
||||||
|
LANGINFO: <p>Spanish words include all letters in the English alphabet
|
||||||
|
LANGINFO: except "K" and "W", and with "Ñ" added. Since there are no
|
||||||
|
LANGINFO: tiles for accented vowels, these are replaced by the
|
||||||
|
LANGINFO: unaccented forms.</p>
|
||||||
|
|
||||||
|
|
||||||
|
LANGINFO: <p>In addition, there are three special two-letter tiles
|
||||||
|
LANGINFO: "CH", "LL" and "RR". The rules say that the corresponding
|
||||||
|
LANGINFO: two single tiles may not be used where a two-letter tile is
|
||||||
|
LANGINFO: possible (e.g. if a word contains "CH" you must use the "CH"
|
||||||
|
LANGINFO: tile rather than a "C" tile followed by a "H" tiles. Thus
|
||||||
|
LANGINFO: we remove all of these pairs from your wordlist and replace
|
||||||
|
LANGINFO: them with the appropriate two-letter "letter". </p>
|
||||||
|
|
||||||
|
|
||||||
|
LANGCODE:es_ES
|
||||||
|
|
||||||
|
# I think dealing with "specials" goes like this. In the {} pairs
|
||||||
|
# below, if the first string is followed by other strings (one or two)
|
||||||
|
# they are assumed to be filenames. The filenames will need to be
|
||||||
|
# found, and converted into binary files appropriate for the platform
|
||||||
|
# by rules given somewhere -- here? No, since they're the same for
|
||||||
|
# all platforms. Just put 'em in the byod.cgi file for now.
|
||||||
|
|
||||||
|
# It'll be assumed that the first name is for the "small" bitmap, and
|
||||||
|
# the second for the "large". It's ok for a file not to exist; it'll
|
||||||
|
# just be ignored. In the unlikely case that you wanted to specify
|
||||||
|
# the large but not the small this is what you'd need to do.
|
||||||
|
|
||||||
|
# High bit means "official". Next 7 bits are an enum where
|
||||||
|
# Spanish==6. Low byte is padding
|
||||||
|
XLOC_HEADER:0x8600
|
||||||
|
|
||||||
|
<BEGIN_TILES>
|
||||||
|
2 0 {"_"}
|
||||||
|
12 1 'A'
|
||||||
|
2 3 'B'
|
||||||
|
4 3 'C'
|
||||||
|
1 5 {"CH",true,true}
|
||||||
|
5 2 'D'
|
||||||
|
12 1 'E'
|
||||||
|
1 4 'F'
|
||||||
|
2 2 'G'
|
||||||
|
2 4 'H'
|
||||||
|
6 1 'I'
|
||||||
|
1 8 'J'
|
||||||
|
4 1 'L'
|
||||||
|
1 8 {"LL", true, true}
|
||||||
|
2 3 'M'
|
||||||
|
5 1 'N'
|
||||||
|
# /*'N~'*/
|
||||||
|
1 8 209
|
||||||
|
9 1 'O'
|
||||||
|
2 3 'P'
|
||||||
|
1 5 'Q'
|
||||||
|
5 1 'R'
|
||||||
|
1 8 {"RR",true,true}
|
||||||
|
6 1 'S'
|
||||||
|
4 1 'T'
|
||||||
|
5 1 'U'
|
||||||
|
1 4 'V'
|
||||||
|
1 8 'X'
|
||||||
|
1 4 'Y'
|
||||||
|
1 10 'Z'
|
||||||
|
<END_TILES>
|
||||||
|
# should ignore all after the <END> above
|
Loading…
Add table
Reference in a new issue