mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Cleanup prior to adding Swedish to BYOD.
This commit is contained in:
parent
5f8ba8a570
commit
44a4dab13a
2 changed files with 7 additions and 5 deletions
|
@ -27,10 +27,12 @@ include ../Makefile.2to8
|
|||
|
||||
include ../Makefile.langcommon
|
||||
|
||||
SOURCEDICT ?= $(XWDICTPATH)/$(LANG)/swedish15.dict.gz
|
||||
|
||||
# Q and W are not available as tiles, but I'm told there's a custom in
|
||||
# Swedish play of allowing blanks to stand for those letters as well.
|
||||
# So we don't exclude words with those letters from the dictionary.
|
||||
$(LANG)Main.dict.gz: swedish15.dict.gz
|
||||
$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< | tr [a-zäåæöü] [A-ZÄÅÆÖÜ] | \
|
||||
grep '^[A-ZÄÅÆÖÜ]\{2,15\}$$' | \
|
||||
gzip -c > $@
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
LANGCODE:sv_SE
|
||||
|
||||
|
||||
LANGFILTER_POSTCLIP: | tr [a-zäåö] [A-ZÄÅÖ]
|
||||
LANGFILTER_POSTCLIP: | grep '^[A-ZÄÅÖ]*$'
|
||||
LANGFILTER_POSTCLIP: | tr [a-zäåæöü] [A-ZÄÅÆÖÜ]
|
||||
LANGFILTER_POSTCLIP: | grep '^[A-ZÄÅÆÖÜ]*$'
|
||||
LANGFILTER_POSTCLIP: | tr '\n' '\000'
|
||||
|
||||
NEEDSSORT:true
|
||||
|
||||
LANGINFO: <p>From and English-spaker's perspective, Swedish drops Q
|
||||
LANGINFO: and W, and adds Ä, Å, and Ö.</p>
|
||||
LANGINFO: <p>From an English-speaker's perspective, Swedish drops Q
|
||||
LANGINFO: and W, and adds Ä, Å, Æ, Ö and Ü.</p>
|
||||
|
||||
# High bit means "official". Next 7 bits are an enum where
|
||||
# Swedish==7. Low byte is padding
|
||||
|
|
Loading…
Reference in a new issue