Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Commit f6afd78

Browse files
authored
Merge pull request #88 from OpenTaal/Dutch
Update to Dutch pack
2 parents 20db242 + 436b9c1 commit f6afd78

File tree

18 files changed

+79
-15
lines changed

18 files changed

+79
-15
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,8 @@ use voice input, leave it as **Regular**.
189189
See also
190190
--------
191191

192+
* https://www.opentaal.org/het-laatste-nieuws/projectnieuws/51-publicaties/221-anysoftkeyboard
192193
* https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.anysoftkeyboard.languagepack.dutch.txt
193194
* https://f-droid.org/wiki/page/com.anysoftkeyboard.languagepack.dutch
195+
* https://play.google.com/store/apps/details?id=com.anysoftkeyboard.languagepack.dutch
196+
* https://f-droid.org/packages/com.anysoftkeyboard.languagepack.dutch

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ android {
2323
applicationId "com.anysoftkeyboard.languagepack.dutch"
2424
minSdkVersion 7
2525
targetSdkVersion 25
26-
versionCode 5
27-
versionName "1.4"
26+
versionCode 6
27+
versionName "1.5"
2828
}
2929

3030
signingConfigs {

dictionary/words.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
** The data in this file has a dual-license MIT/BSD and is allowed to be
3+
** The data in this file has a dual-license MIT/BSD and is intended to be
44
** distributed ONLY in the Dutch language pack for AnySoftKeyboard.
55
**
66
** The word list below is a highly customised export from the collection
264 Bytes
Loading
310 Bytes
Loading

src/main/res/drawable/flag_be.png

215 Bytes
Loading
File renamed without changes.

src/main/res/values-nl/strings.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<string name="app_name">AnySoftKeyboard - Nederlands Taalpakket</string>
4-
<string name="keyboard_name">Nederlands</string>
54
<string name="dictionary_name">Nederlands</string>
6-
<string name="description">Nederlandse ondersteuning door Stichting OpenTaal</string>
5+
<string name="dictionary_description">Nederlandstalige ondersteuning door Stichting OpenTaal</string>
6+
<string name="keyboard_name">Nederlands</string>
7+
<string name="keyboard_description_nl">QWERTY voor Nederland en Surinamed door OpenTaal</string>
8+
<string name="keyboard_description_be">AZERTY voor België door OpenTaal</string>
79
</resources>

src/main/res/values/strings.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<string name="app_name">AnySoftKeyboard - Dutch Language Pack</string>
4-
<string name="keyboard_name">Dutch</string>
54
<string name="dictionary_name">Dutch</string>
6-
<string name="description">Dutch support by Stichting OpenTaal</string>
5+
<string name="dictionary_description">Dutch support by Stichting OpenTaal</string>
6+
<string name="keyboard_name">Dutch</string>
7+
<string name="keyboard_description_nl">QWERTY for Netherlands and Suriname by OpenTaal</string>
8+
<string name="keyboard_description_be">AZERTY for Belgium by OpenTaal</string>
79
</resources>

src/main/res/xml/be_azerty.xml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:ask="http://schemas.android.com/apk/res-auto"
5+
android:keyWidth="10%p"
6+
android:keyHeight="@integer/key_normal_height"><!-- "android:keyWidth" specify the default width of a key. In this example, 10% of parent (the whole keyboard) -->
7+
8+
<Row>
9+
<!-- Key attributes:
10+
"android:codes" : a comma separated unicode values of the keys. If you specify more than one code, then the other codes are accessible via multi-tap.
11+
"android:popupCharacters" : characters to show on long-press popup keyboard
12+
"android:keyLabel" : the text to show on the key. If this attribute is missing, the first code in "android:codes" will be used.
13+
"android:horizontalGap" : gap to add to the left of this key.
14+
"android:isModifier" : true/false (default is false) whether this key is a modifier key. Means it will be rendered with a differnt background (shift, delete are example of modifier key)
15+
"android:isRepeatable" : true/false (default is false) whether this key repeats printing on long press (like the backspace). Setting this to true will disable the long-press (android:popupCharacters) functionality
16+
"android:keyWidth" : specify the width of this key
17+
-->
18+
<Key android:codes="97" android:keyLabel="a" android:popupCharacters="1₁¹&amp;|àáâäåα" ask:hintLabel="1&amp;|" android:keyEdgeFlags="left"/>
19+
<Key android:codes="122" android:keyLabel="z" android:popupCharacters="2₂²é@√" ask:hintLabel="2é@"/>
20+
<Key android:codes="101" android:keyLabel="e" android:popupCharacters="3₃³&quot;#èéêëᵉ€" ask:hintLabel="3&quot;#"/>
21+
<Key android:codes="114" android:keyLabel="r" android:popupCharacters="4₄⁴&apos;{ρ®" ask:hintLabel="4&apos;{"/>
22+
<Key android:codes="116" android:keyLabel="t" android:popupCharacters="5₅⁵(τ" ask:hintLabel="5 ("/>
23+
<Key android:codes="121" android:keyLabel="y" android:popupCharacters="6₆⁶§^¥" ask:hintLabel="6§^"/>
24+
<Key android:codes="117" android:keyLabel="u" android:popupCharacters="7₇⁷èùúûü" ask:hintLabel="7 è"/>
25+
<Key android:codes="105" android:keyLabel="i" android:popupCharacters="8₈⁸!ìíîï" ask:hintLabel="8 !"/>
26+
<Key android:codes="111" android:keyLabel="o" android:popupCharacters="9₉⁹Ç{òóôöøω" ask:hintLabel="9Ç{"/>
27+
<Key android:codes="112" android:keyLabel="p" android:popupCharacters="0₀⁰à}^[]*$π" ask:hintLabel="0à}" android:keyEdgeFlags="right"/>
28+
</Row>
29+
30+
<Row>
31+
<Key android:horizontalGap="5%p" android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
32+
<Key android:codes="115" android:keyLabel="s" android:popupCharacters="ßσ" ask:hintLabel="ß"/>
33+
<Key android:codes="100" android:keyLabel="d" android:popupCharacters="δ"/>
34+
<Key android:codes="102" android:keyLabel="f" android:popupCharacters="φ"/>
35+
<Key android:codes="103" android:keyLabel="g" android:popupCharacters="°γ" ask:hintLabel="°"/>
36+
<Key android:codes="104" android:keyLabel="h"/>
37+
<Key android:codes="106" android:keyLabel="j"/>
38+
<Key android:codes="107" android:keyLabel="k"/>
39+
<Key android:codes="108" android:keyLabel="l" android:popupCharacters="%ù£λ" ask:hintLabel="%ù£" android:keyEdgeFlags="right"/>
40+
</Row>
41+
42+
<Row>
43+
<Key android:codes="-1" android:keyWidth="15%p"
44+
android:isModifier="true" android:isSticky="true" android:keyEdgeFlags="left"/>
45+
<Key android:codes="119" android:keyLabel="w" android:popupCharacters="&lt;&gt;≤≥\" ask:hintLabel="&lt;&gt;\"/>
46+
<Key android:codes="120" android:keyLabel="x" android:popupCharacters="×" ask:hintLabel="×"/>
47+
<Key android:codes="99" android:keyLabel="c" android:popupCharacters="ç©" ask:hintLabel="ç"/>
48+
<Key android:codes="118" android:keyLabel="v"/>
49+
<Key android:codes="98" android:keyLabel="b" android:popupCharacters="β"/>
50+
<Key android:codes="110" android:keyLabel="n" android:popupCharacters="ñ~-+±=≠" ask:hintLabel="ñ~+"/>
51+
<Key android:codes="109" android:keyLabel="m" android:popupCharacters="µ" ask:hintLabel="µ"/>
52+
<Key android:keyWidth="15%p" android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true"/>
53+
</Row>
54+
</Keyboard>
55+

src/main/res/xml/dictionaries.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"autoTextResourceId" : a reference to a common typing mistakes XML.
99
-->
1010
<Dictionary nameResId="@string/dictionary_name" locale="nl" id="a1beccb0-5b65-11e7-9598-0800200c9a66" type="binary_resource"
11-
dictionaryResourceId="@array/words_dict_array" autoTextResourceId="@xml/autotext"
12-
description="@string/description"/>
11+
dictionaryResourceId="@array/words_dict_array" autoTextResourceId="@xml/nl_autotext"
12+
description="@string/dictionary_description"/>
1313
</Dictionaries>

src/main/res/xml/keyboards.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"iconResId" : a reference to a drawable which can be used to show a flag in the notification bar.
88
"layoutResId" : a reference to a keyboard layout XML. See res/xml/qwerty.xml
99
-->
10-
<Keyboard nameResId="@string/keyboard_name" iconResId="@drawable/flag" layoutResId="@xml/nl_qwerty"
11-
id="18e2df10-5b67-11e7-9598-0800200c9a66" defaultDictionaryLocale="nl" description="@string/description" index="1"/>
10+
<Keyboard nameResId="@string/keyboard_name" iconResId="@drawable/flag_nl" layoutResId="@xml/nl_qwerty"
11+
id="18e2df10-5b67-11e7-9598-0800200c9a66" defaultDictionaryLocale="nl" description="@string/keyboard_description_nl" index="1"/>
12+
<Keyboard nameResId="@string/keyboard_name" iconResId="@drawable/flag_be" layoutResId="@xml/be_azerty"
13+
id="c844c6f0-7073-11e7-9598-0800200c9a66" defaultDictionaryLocale="nl" description="@string/keyboard_description_be" index="1"/>
1214
</Keyboards>

src/main/res/xml/autotext.xml renamed to src/main/res/xml/nl_autotext.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
** The data in this file has a dual-license MIT/BSD and is allowed to be
3+
** The data in this file has a dual-license MIT/BSD and is intended to be
44
** distributed ONLY in the Dutch language pack for AnySoftKeyboard.
55
**
66
** The word list below is a highly customised export from the collection

src/main/res/xml/nl_qwerty.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Key android:codes="101" android:keyLabel="e" android:popupCharacters="3₃³#èéêëᵉ" ask:hintLabel="3 #"/>
2121
<Key android:codes="114" android:keyLabel="r" android:popupCharacters="4₄⁴$ρ®" ask:hintLabel="4 $"/>
2222
<Key android:codes="116" android:keyLabel="t" android:popupCharacters="5₅⁵%τ€" ask:hintLabel="5€%"/>
23-
<Key android:codes="121" android:keyLabel="y" android:popupCharacters="6₆⁶^`¥" ask:hintLabel="6¥^"/>
23+
<Key android:codes="121" android:keyLabel="y" android:popupCharacters="6₆⁶^¥" ask:hintLabel="6¥^"/>
2424
<Key android:codes="117" android:keyLabel="u" android:popupCharacters="7₇⁷&amp;ùúûü" ask:hintLabel="7 &amp;"/>
2525
<Key android:codes="105" android:keyLabel="i" android:popupCharacters="8₈⁸*ìíîï" ask:hintLabel="8 *"/>
2626
<Key android:codes="111" android:keyLabel="o" android:popupCharacters="9₉⁹(òóôöøω" ask:hintLabel="9 ("/>

update-dutch/resources/autotext-header.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
** The data in this file has a dual-license MIT/BSD and is allowed to be
3+
** The data in this file has a dual-license MIT/BSD and is intended to be
44
** distributed ONLY in the Dutch language pack for AnySoftKeyboard.
55
**
66
** The word list below is a highly customised export from the collection

update-dutch/resources/words-header.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
** The data in this file has a dual-license MIT/BSD and is allowed to be
3+
** The data in this file has a dual-license MIT/BSD and is intended to be
44
** distributed ONLY in the Dutch language pack for AnySoftKeyboard.
55
**
66
** The word list below is a highly customised export from the collection

0 commit comments

Comments
 (0)