# -*- mode: conf; coding: utf-8; -*-
# Copyright 2002 by Eric House (xwords@eehouse.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.

CHARSET: utf-8
LANGCODE:sv
LANGNAME:Swedish

LANGFILTER: tr -d '\r'
# uppercase all
LANGFILTER: | sed -e 's/[[:lower:]]*/\U&/'
LANGFILTER: | grep -x '[A-ZÄÅÆÖÜ]\{2,15\}'

D2DARGS: -r -term 10

LANGINFO: <p>From an English-speaker&apos;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
XLOC_HEADER:0x8700


<BEGIN_TILES>
{"_"}	   0		2
'A|a'	   1		8
# A with two dots
'Ä|ä'	   3        2
# A with circle
'Å|å'	   4		2
# Æ tile only available for blanks
'Æ|æ'	   1		0
'B|b'	   4		2
'C|c'	   8		1
'D|d'	   1		5
'E|e'	   1		7
'F|f'	   3		2
'G|g'	   2		3
'H|h'	   2		2
'I|i'	   1		5
'J|j'	   7		1
'K|k'	   2		3
'L|l'	   1		5
'M|m'	   2		3
'N|n'	   1		6
'O|o'	   2		5
# O with two dots
'Ö|ö'	   4		2
'P|p'	   4		2
# Q tile only available for blanks
'Q|q'	   1		0
'R|r'	   1		8
'S|s'	   1		8
'T|t'	   1		8
'U|u'	   4		3
# Ü tile only available for blanks
'Ü|ü'	   1		0
'V|v'	   3		2
# W tile only available for blanks
'W|w'	   1		0
'X|x'	   8		1
'Y|y'	   7		1
'Z|z'	   10		1
<END_TILES>
