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

Commit 2e6777c

Browse files
authored
Merge pull request #136 from RockyTV/Brazilian
Update dictionary listing and settings
2 parents 158dc67 + be49522 commit 2e6777c

File tree

8 files changed

+65
-14
lines changed

8 files changed

+65
-14
lines changed
+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
Layout de teclado Português so Brasil com dicionário.
1+
Brazilian Portuguese Language pack
22

3-
Usa o dicionário AOSP. O código fonte está em outro projeto por padrão.
3+
Features:
44

5-
Instale [[com.menny.android.anysoftkeyboard]] primeiro, então selecione um layout de sua vontade
6-
em configurações do AnySoftKeyboard->Keyboards menu.
5+
Brazilian Portuguese dictionary based on the open source Android dictionary.
6+
Includes the ç key.
7+
8+
This is an expansion language pack for AnySoftKeyboard.
9+
Install AnySoftKeyboard first, and then select the Brazilian keyboard from AnySoftKeyboard's Settings -> Languages -> Keyboards menu.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
AnySoftKeyboard - Pacote de Idioma Português do Brasil.
1+
AnySoftKeyboard Brazilian Portuguese Language pack

src/main/play/en-US/listing/title

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Pacote de Idioma Português do Brasil
1+
Brazilian Portuguese for AnySoftKeyboard

src/main/res/values/strings.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<string name="app_name">AnySoftKeyboard - Pacote de Idioma Português do Brasil</string>
4-
<string name="keyboard_name">Portugês Brasileiro</string>
5-
<string name="dictionary_name">Português do Brasil</string>
3+
<string name="app_name">AnySoftKeyboard - Brazilian Portuguese Language Pack</string>
4+
<string name="keyboard_name">Português (Brasil)</string>
5+
<string name="dictionary_name">Português (Brasil)</string>
66
</resources>

src/main/res/xml/dictionaries.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dictionaryResourceId" : a reference to the raw resource of the words dictionary
88
"autoTextResourceId" : a reference to a common typing mistakes XML.
99
-->
10-
<Dictionary nameResId="@string/dictionary_name" locale="pt" id="cfa534d0-f43a-11e6-9598-0800200c9a66" type="binary_resource"
10+
<Dictionary nameResId="@string/dictionary_name" locale="pt_BR" id="cfa534d0-f43a-11e6-9598-0800200c9a66" type="binary_resource"
1111
dictionaryResourceId="@array/words_dict_array" autoTextResourceId="@xml/autotext"
1212
description="AOSP Dictionary"/>
1313
</Dictionaries>

src/main/res/xml/keyboards.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
"layoutResId" : a reference to a keyboard layout XML. See res/xml/qwerty.xml
99
-->
1010
<Keyboard nameResId="@string/keyboard_name" iconResId="@drawable/flag" layoutResId="@xml/qwerty"
11-
id="4c99178a-9a80-4218-8b13-f05f474c7f5e" defaultDictionaryLocale="pt-BR" description="Teclado brasileiro com ç" index="111"/>
11+
id="4c99178a-9a80-4218-8b13-f05f474c7f5e" defaultDictionaryLocale="pt_BR" description="Teclado QWERTY com Ç" index="111"/>
12+
<Keyboard nameResId="@string/keyboard_name" iconResId="@drawable/flag" layoutResId="@xml/qwerty_with_symbols"
13+
id="848ac210-4d87-11e8-b566-0800200c9a66" defaultDictionaryLocale="pt_BR" description="Teclado QWERTY com símbolos" index="112"/>
1214
</Keyboards>

src/main/res/xml/qwerty.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@
3939
</Row>
4040

4141
<Row>
42-
<Key android:codes="-1"
42+
<Key android:codes="-1" android:keyWidth="15%p"
4343
android:isModifier="true" android:isSticky="true" android:keyEdgeFlags="left"/>
44-
<Key android:horizontalGap="5%p" android:codes="122" android:keyLabel="z"/>
44+
<Key android:codes="122" android:keyLabel="z"/>
4545
<Key android:codes="120" android:keyLabel="x"/>
4646
<Key android:codes="99" android:keyLabel="c"/>
4747
<Key android:codes="118" android:keyLabel="v"/>
4848
<Key android:codes="98" android:keyLabel="b"/>
4949
<Key android:codes="110" android:keyLabel="n"/>
5050
<Key android:codes="109" android:keyLabel="m"/>
51-
<Key android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true"/>
51+
<Key android:keyWidth="15%p" android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true"/>
5252
</Row>
5353
</Keyboard>
5454

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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">
7+
<Row>
8+
<Key android:codes="q" android:popupCharacters="1¹₁" ask:hintLabel="1" android:keyEdgeFlags="left"/>
9+
<Key android:codes="w" android:popupCharacters="2²₂ŵ" ask:hintLabel="2"/>
10+
<Key android:codes="e" android:popupCharacters="3³₃èéêëęē€" ask:hintLabel="3"/>
11+
<Key android:codes="r" android:popupCharacters="4⁴₄řŕ" ask:hintLabel="4"/>
12+
<Key android:codes="t" android:popupCharacters="" ask:hintLabel="5"/>
13+
<Key android:codes="y" android:popupCharacters="6ýÿ" ask:hintLabel="6"/>
14+
<Key android:codes="u" android:popupCharacters="7ùúûüŭűūµ" ask:hintLabel="7"/>
15+
<Key android:codes="i" android:popupCharacters="8ìíîïłīι*" ask:hintLabel="8"/>
16+
<Key android:codes="o" android:popupCharacters="9òóôõöøőœō" ask:hintLabel="9"/>
17+
<Key android:codes="p" android:popupCharacters="" ask:hintLabel="0" android:keyEdgeFlags="right"/>
18+
</Row>
19+
20+
<Row>
21+
<Key android:codes="a" android:popupCharacters="\@àáâãäåæą" ask:hintLabel="\@" android:keyEdgeFlags="left"/>
22+
<Key android:codes="s" android:popupCharacters="$§ßśŝš" ask:hintLabel="$"/>
23+
<Key android:codes="d" android:popupCharacters="#%đď" ask:hintLabel="# %"/>
24+
<Key android:codes="f" android:popupCharacters="^\u0026" ask:hintLabel="^ \u0026"/>
25+
<Key android:codes="g" android:popupCharacters="`°ĝ" ask:hintLabel="` °"/>
26+
<Key android:codes="h" android:popupCharacters="_~ĥ" ask:hintLabel="_ ~"/>
27+
<Key android:codes="j" android:popupCharacters="\\|ĵ" ask:hintLabel="\\ |"/>
28+
<Key android:codes="k" android:popupCharacters="([{" ask:hintLabel="("/>
29+
<Key android:codes="l" android:popupCharacters="ľĺł£)]}" ask:hintLabel=")"/>
30+
<Key ask:isFunctional="true" android:codes="\u0027" android:popupCharacters="\u0022"
31+
android:keyEdgeFlags="right"/>
32+
</Row>
33+
34+
<Row>
35+
<Key android:codes="-1" android:keyWidth="15%p"
36+
android:isModifier="true" android:isSticky="true" android:keyEdgeFlags="left"/>
37+
<Key android:codes="z" android:popupCharacters="/÷żžź" ask:hintLabel="/"/>
38+
<Key android:codes="x" android:popupCharacters="*·×" ask:hintLabel="*"/>
39+
<Key android:codes="c" android:popupCharacters="-—çćĉč" ask:hintLabel=""/>
40+
<Key android:codes="v" android:popupCharacters="" ask:hintLabel="+"/>
41+
<Key android:codes="b" android:popupCharacters="\u003D"/>
42+
<Key android:codes="n" android:popupCharacters="&lt;«ńňñ" ask:hintLabel="&lt;"/>
43+
<Key android:codes="m" android:popupCharacters="&gt;»µ" ask:hintLabel="&gt;"/>
44+
<Key android:keyWidth="15%p" android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true"/>
45+
</Row>
46+
</Keyboard>

0 commit comments

Comments
 (0)