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

Commit 2f9b455

Browse files
committed
Adding back fr-ca keyboard
1 parent f5508ab commit 2f9b455

File tree

5 files changed

+83
-8
lines changed

5 files changed

+83
-8
lines changed
864 Bytes
Loading

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

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<string name="app_name">AnySoftKeyboard - Module de langue française</string>
44
<string name="keyboard_name">FR - Azerty</string>
55
<string name="keyboard_name_ca">FR - Qwerty</string>
6+
<string name="fr_ca_keyboard">FR - CA</string>
67
<string name="dictionary_name">Français</string>
78
<string name="bepo_keyboard">B&#233;po</string><!-- BEPO -->
89
<string name="bepo_keyboard_description">www.bepo.fr - dvorak like</string><!-- BEPO -->

src/main/res/values/strings.xml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<string name="app_name">AnySoftKeyboard - French Language Pack</string>
44
<string name="keyboard_name">FR - Azerty</string>
55
<string name="keyboard_name_ca">FR - Qwerty</string>
6+
<string name="fr_ca_keyboard">French CA</string>
67
<string name="dictionary_name">French</string>
78
<string name="bepo_keyboard">B&#233;po</string><!-- BEPO -->
89
<string name="bepo_keyboard_description">www.bepo.fr - dvorak like</string><!-- BEPO -->

src/main/res/xml/ca_fr_qwerty.xml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
4+
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
5+
android:keyWidth="10%p"
6+
android:horizontalGap="0px"
7+
android:verticalGap="0px"
8+
>
9+
<Row android:keyWidth="9.09%p">
10+
<Key android:codes="113" android:keyEdgeFlags="left"/>
11+
<Key android:codes="119"/>
12+
<Key android:codes="101"/>
13+
<Key android:codes="114"/>
14+
<Key android:codes="116"/>
15+
<Key android:codes="121"/>
16+
<Key android:codes="117"/>
17+
<Key android:codes="105"/>
18+
<Key android:codes="111"/>
19+
<Key android:codes="112"/>
20+
<Key android:codes="232,200" android:keyEdgeFlags="right"/>
21+
</Row>
22+
23+
<Row android:keyWidth="9.09%p">
24+
<Key android:codes="97" android:keyEdgeFlags="left"/>
25+
<Key android:codes="115"/>
26+
<Key android:codes="100"/>
27+
<Key android:codes="102"/>
28+
<Key android:codes="103"/>
29+
<Key android:codes="104"/>
30+
<Key android:codes="106"/>
31+
<Key android:codes="107"/>
32+
<Key android:codes="108"/>
33+
<Key android:codes="233,201"/>
34+
<Key android:codes="224,192" android:keyEdgeFlags="right"/>
35+
</Row>
36+
37+
<Row>
38+
<Key android:codes="-1"
39+
android:isModifier="true" android:isSticky="true" android:keyEdgeFlags="left"/>
40+
<Key android:horizontalGap="5%p" android:codes="122"/>
41+
<Key android:codes="120"/>
42+
<Key android:codes="99"/>
43+
<Key android:codes="118"/>
44+
<Key android:codes="98"/>
45+
<Key android:codes="110"/>
46+
<Key android:codes="109"/>
47+
<Key android:keyWidth="15%p" android:codes="-5" android:keyEdgeFlags="right" android:isRepeatable="true"/>
48+
</Row>
49+
</Keyboard>

src/main/res/xml/keyboards.xml

+32-8
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,36 @@
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_fr" layoutResId="@xml/azerty"
11-
id="23eaecd1-c74c-11e7-8f1a-0800200c9a66" defaultDictionaryLocale="fr" description="clavier français AZERTY" index="1"/>
12-
<Keyboard nameResId="@string/keyboard_name_ca" iconResId="@drawable/flag_ca" layoutResId="@xml/qwerty_with_symbols"
13-
id="23eaecd2-c74c-11e7-8f1a-0800200c9a66" defaultDictionaryLocale="fr" description="clavier français QWERTY" index="2"/>
14-
<Keyboard nameResId="@string/bepo_keyboard" layoutResId="@xml/bepo"
15-
id="f6599b5b-df00-4ea8-a958-61b0217ef917" index="3"
16-
defaultDictionaryLocale="fr" description="@string/bepo_keyboard_description"
17-
sentenceSeparators=".,)"/>
10+
<Keyboard
11+
defaultDictionaryLocale="fr"
12+
description="clavier français AZERTY"
13+
iconResId="@drawable/flag_fr"
14+
id="23eaecd1-c74c-11e7-8f1a-0800200c9a66"
15+
index="1"
16+
layoutResId="@xml/azerty"
17+
nameResId="@string/keyboard_name" />
18+
<Keyboard
19+
defaultDictionaryLocale="fr"
20+
description="clavier français QWERTY"
21+
iconResId="@drawable/flag_ca"
22+
id="23eaecd2-c74c-11e7-8f1a-0800200c9a66"
23+
index="2"
24+
layoutResId="@xml/qwerty_with_symbols"
25+
nameResId="@string/keyboard_name_ca" />
26+
<Keyboard
27+
defaultDictionaryLocale="fr"
28+
description="Created with d.nahmiasleonard"
29+
id="ef16b5bc-a376-434c-ba18-878751b26fd5"
30+
index="151"
31+
layoutResId="@xml/ca_fr_qwerty"
32+
nameResId="@string/fr_ca_keyboard"
33+
sentenceSeparators=".,)" />
34+
<Keyboard
35+
defaultDictionaryLocale="fr"
36+
description="@string/bepo_keyboard_description"
37+
id="f6599b5b-df00-4ea8-a958-61b0217ef917"
38+
index="3"
39+
layoutResId="@xml/bepo"
40+
nameResId="@string/bepo_keyboard"
41+
sentenceSeparators=".,)" />
1842
</Keyboards>

0 commit comments

Comments
 (0)