new app com.anysoftkeyboard.languagepack.catalan
This commit is contained in:
parent
2870d8e291
commit
a44dc20555
31
metadata/com.anysoftkeyboard.languagepack.catalan.txt
Normal file
31
metadata/com.anysoftkeyboard.languagepack.catalan.txt
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
Category:Office
|
||||||
|
License:Apache2
|
||||||
|
Web Site:https://github.com/anysoftkeyboard
|
||||||
|
Source Code:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Catalan
|
||||||
|
Donate:http://code.google.com/p/softkeyboard
|
||||||
|
|
||||||
|
Name:AnySoftKeyboard: Catalan
|
||||||
|
Summary:Language pack for AnySoft keyboard
|
||||||
|
Description:
|
||||||
|
Dictionary is based on the Wikipedia article database and
|
||||||
|
has about 5,000 words.
|
||||||
|
|
||||||
|
Install [[com.menny.android.anysoftkeyboard]] first, then select
|
||||||
|
the desired layout from AnySoftKeyboard's Settings->Keyboards menu.
|
||||||
|
.
|
||||||
|
|
||||||
|
Repo Type:svn
|
||||||
|
Repo:http://softkeyboard.googlecode.com/svn/trunk/LanguagePacks/Catalan
|
||||||
|
|
||||||
|
Build Version:20110220,3,1560,patch=xml.patch;rules.patch,\
|
||||||
|
update=force,init=rm -rf bin/ gen/,extlibs=LanguagePacks/ca.xml.gz,\
|
||||||
|
srclibs=AnySoftKeyboard-API@b21d8907;AnySoftKeyboardTools@73e9a09496,prebuild=\
|
||||||
|
sed -i 's@\(android.library.reference.1=\).*@\1$$AnySoftKeyboard-API$$@' project.properties && \
|
||||||
|
mkdir -p dict/ res/raw/ && gunzip -c libs/ca.xml.gz > dict/words.xml && rm -rf assets/ libs/,\
|
||||||
|
build=ant dict -f rules.xml
|
||||||
|
|
||||||
|
Auto Update Mode:None
|
||||||
|
Update Check Mode:None
|
||||||
|
Current Version:20110220
|
||||||
|
Current Version Code:3
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
diff --git a/rules.xml b/rules.xml
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..575a987
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/rules.xml
|
||||||
|
@@ -0,0 +1,12 @@
|
||||||
|
+<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
+<project name="rules" >
|
||||||
|
+ <target name="dict" >
|
||||||
|
+
|
||||||
|
+ <java
|
||||||
|
+ failonerror="true"
|
||||||
|
+ fork="true"
|
||||||
|
+ jar="../extlib/AnySoftKeyboardTools/makedict/makedict.jar" >
|
||||||
|
+ </java>
|
||||||
|
+ </target>
|
||||||
|
+
|
||||||
|
+</project>
|
12
metadata/com.anysoftkeyboard.languagepack.catalan/xml.patch
Normal file
12
metadata/com.anysoftkeyboard.languagepack.catalan/xml.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/res/xml/dictionaries.xml b/res/xml/dictionaries.xml
|
||||||
|
index ce02c53..7806301 100644
|
||||||
|
--- a/res/xml/dictionaries.xml
|
||||||
|
+++ b/res/xml/dictionaries.xml
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Dictionaries>
|
||||||
|
- <Dictionary nameResId="@string/dictionary" locale="ca" id="6d4b329f-bb35-4445-8555-4fedbcc27ace" type="binary" dictionaryAssertName="ca.mp3" description="Catalan dictionary created by jmontane"/>
|
||||||
|
-</Dictionaries>
|
||||||
|
\ No newline at end of file
|
||||||
|
+ <Dictionary nameResId="@string/dictionary" locale="ca" id="6d4b329f-bb35-4445-8555-4fedbcc27ace" dictionaryResourceId="@array/words_dict_array" description="Catalan dictionary created by jmontane from Wikipedia"/>
|
||||||
|
+</Dictionaries>
|
Loading…
Reference in a new issue