From 71559e27c66f13d9a8d9ee3f407c3c34c8334a83 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Fri, 17 Dec 2010 17:36:03 -0800 Subject: [PATCH] add Arabic. I have no wordlist but this should still allow play between humans, even over the net. Untested, though, as my phone doesn't have any Arabic glyphs. --- xwords4/dawg/Arabic/Makefile | 42 +++++++++++++++++++++++++++ xwords4/dawg/Arabic/info.txt | 55 ++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 xwords4/dawg/Arabic/Makefile create mode 100644 xwords4/dawg/Arabic/info.txt diff --git a/xwords4/dawg/Arabic/Makefile b/xwords4/dawg/Arabic/Makefile new file mode 100644 index 000000000..e53e54e7c --- /dev/null +++ b/xwords4/dawg/Arabic/Makefile @@ -0,0 +1,42 @@ +# -*-mode: Makefile; compile-command: "make -f Makefile.BasEnglish"; -*- +# Copyright 2002-2010 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. + +XWLANG=Arabic +LANGCODE=ar_AR +ENC = UTF-8 + +DICT2DAWGARGS = -r -nosort + +TARGET_TYPE ?= WINCE + +include ../Makefile.2to8 + +include ../Makefile.langcommon + +# Empty dict +$(XWLANG)Main.dict: + > $@ + +$(XWLANG)Main.dict.gz: $(XWLANG)Main.dict + gzip -c $< > $@ + +# Everything but creating of the Main.dict file is inherited from the +# "parent" Makefile.langcommon in the parent directory. + +clean: clean_common + rm -f $(XWLANG)Main.dict.gz *.bin $(XWLANG)*.pdb $(XWLANG)*.seb diff --git a/xwords4/dawg/Arabic/info.txt b/xwords4/dawg/Arabic/info.txt new file mode 100644 index 000000000..85b5c0423 --- /dev/null +++ b/xwords4/dawg/Arabic/info.txt @@ -0,0 +1,55 @@ +# Copyright 2010 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:ar_AR +XLOC_HEADER:0x8500 + + +2 8 'ﺀ' +2 10 'ﺃ' +8 1 'ﺍ' +4 2 'ﺏ' +4 2 'ﺕ' +3 2 'ﺙ' +4 1 'ﺝ' +3 1 'ﺡ' +3 1 'ﺥ' +3 2 'ﺩ' +3 3 'ﺫ' +3 2 'ﺭ' +3 3 'ﺯ' +3 2 'ﺱ' +3 3 'ﺵ' +3 4 'ﺹ' +3 4 'ﺽ' +2 4 'ﻁ' +2 5 'ﻅ' +3 4 'ﻉ' +2 8 'ﻍ' +3 3 'ﻑ' +3 3 'ﻕ' +3 4 'ﻙ' +4 1 'ﻝ' +3 1 'ﻡ' +3 1 'ﻥ' +3 1 'ﻩ' +2 10 'ﺅ' +3 1 'ﻭ' +3 1 'ﻯ' +2 6 'ﺉ' +2 0 {"_"} +