mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix Spanish support for lowercase
"special" casing is specified in two places, and I forgot to modify the second one when I added allowing lowercase alternative spellings
This commit is contained in:
parent
2d6aa1d019
commit
f7374f54c5
1 changed files with 6 additions and 6 deletions
|
@ -33,19 +33,19 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LANG_SPECIAL_INFO = \
|
LANG_SPECIAL_INFO = \
|
||||||
"CH" $(PBITMS)/large_ch.pbitm $(PBITMS)/small_ch.pbitm \
|
"CH ch Ch cH" $(PBITMS)/large_ch.pbitm $(PBITMS)/small_ch.pbitm \
|
||||||
"LL" $(PBITMS)/large_ll.pbitm $(PBITMS)/small_ll.pbitm \
|
"LL ll Ll lL" $(PBITMS)/large_ll.pbitm $(PBITMS)/small_ll.pbitm \
|
||||||
"RR" $(PBITMS)/large_rr.pbitm $(PBITMS)/small_rr.pbitm \
|
"RR rr Rr rR" $(PBITMS)/large_rr.pbitm $(PBITMS)/small_rr.pbitm \
|
||||||
|
|
||||||
include ../Makefile.langcommon
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
||||||
# ln -s $< $@
|
# ln -s $< $@
|
||||||
|
|
||||||
SOURCEDICT ?= $(XWDICTPATH)/Spanish/FAA_4.1.utf8.gz
|
SOURCEDICT ?= $(XWDICTPATH)/Spanish/FAA_4.1.txt
|
||||||
|
|
||||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||||
zcat $< \
|
cat $< \
|
||||||
| tr -d '\r' \
|
| tr -d '\r' \
|
||||||
| tr [a-zñ] [A-ZÑ] \
|
| tr [a-zñ] [A-ZÑ] \
|
||||||
| LANG=$(LANGCODE):$(ENC) grep '^[A-JL-VX-ZÑ]*$$' \
|
| LANG=$(LANGCODE):$(ENC) grep '^[A-JL-VX-ZÑ]*$$' \
|
||||||
|
@ -56,4 +56,4 @@ $(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||||
| gzip - > $@
|
| gzip - > $@
|
||||||
|
|
||||||
clean: clean_common
|
clean: clean_common
|
||||||
rm -rf *.saved
|
rm -rf *.saved
|
||||||
|
|
Loading…
Reference in a new issue