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

Commit 5027031

Browse files
committed
Galician language pack base. WIP, pending dictionary generation.
Signed-off-by: Isaac Salgueiro <isalgueiro@gmail.com>
1 parent 0480a68 commit 5027031

30 files changed

Lines changed: 54848 additions & 143 deletions

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Galician dictionary from ???. Galician flag image from [ic_launcherWikipedia](https://en.wikipedia.org/wiki/Galicia_(Spain)#/media/File:Flag_of_Galicia.svg)
2+
13
This is the common template for language Packs for the [AnySoftKeyboard](https://github.com/AnySoftKeyboard/AnySoftKeyboard) app for Android devices.
24
Each pack can contain and provide multiple keyboards or dictionaries for auto correction.
35
Most packs are maintained here as [branches of the repository](https://github.com/AnySoftKeyboard/LanguagePack/branches) and published to Google Play Store and F-Droid repository. There are some packs maintained as community forks, here on GitHub or not open source at all. Some of these are:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ buildscript {
1717
maven { url "https://plugins.gradle.org/m2/" }
1818
}
1919
dependencies {
20-
classpath 'com.android.tools.build:gradle:2.3.3'
20+
classpath 'com.android.tools.build:gradle:3.0.1'
2121

2222
classpath 'com.github.AnySoftKeyboard.AnySoftKeyboardTools:makedictionary:287fe7812294918636359e4d28dbcbc931f3dab8'
2323
classpath 'com.github.AnySoftKeyboard.AnySoftKeyboardTools:generatewordslist:287fe7812294918636359e4d28dbcbc931f3dab8'
@@ -54,7 +54,7 @@ android {
5454
buildToolsVersion '26.0.0'
5555

5656
defaultConfig {
57-
applicationId "com.anysoftkeyboard.languagepack.languagepack"
57+
applicationId "com.anysoftkeyboard.languagepack.galician"
5858
minSdkVersion 7
5959
targetSdkVersion 26
6060
versionName versionData.versionName

checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</module>
9494

9595
<module name="RegexpSingleline">
96-
<property name="format" value="com.anysoftkeyboard.languagepack.languagepack" />
96+
<property name="format" value="com.anysoftkeyboard.languagepack.galician" />
9797
<property name="message"
9898
value="You should create a new package id for your language pack, and not 'com.anysoftkeyboard.languagepack.languagepack'." />
9999
</module>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Jul 09 16:48:45 EDT 2017
1+
#Fri Feb 02 22:40:06 CET 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.anysoftkeyboard.languagepack.languagepack">
3+
package="com.anysoftkeyboard.languagepack.galician">
44

55
<supports-screens
66
android:anyDensity="true"
@@ -14,7 +14,7 @@
1414
android:icon="@mipmap/ic_launcher"
1515
android:label="@string/app_name">
1616
<receiver
17-
android:name="com.anysoftkeyboard.languagepack.languagepack.PackBroadcastReceiver"
17+
android:name="com.anysoftkeyboard.languagepack.galician.PackBroadcastReceiver"
1818
android:exported="true">
1919
<intent-filter>
2020
<action android:name="com.menny.android.anysoftkeyboard.KEYBOARD" />

src/main/java/com/anysoftkeyboard/languagepack/languagepack/PackBroadcastReceiver.java renamed to src/main/java/com/anysoftkeyboard/languagepack/galician/PackBroadcastReceiver.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
package com.anysoftkeyboard.languagepack.languagepack;
2-
3-
import android.content.BroadcastReceiver;
4-
import android.content.Context;
5-
import android.content.Intent;
6-
7-
public class PackBroadcastReceiver extends BroadcastReceiver {
8-
9-
@Override
10-
public void onReceive(Context arg0, Intent arg1) {
11-
12-
}
13-
14-
}
1+
package com.anysoftkeyboard.languagepack.galician;
2+
3+
import android.content.BroadcastReceiver;
4+
import android.content.Context;
5+
import android.content.Intent;
6+
7+
public class PackBroadcastReceiver extends BroadcastReceiver {
8+
9+
@Override
10+
public void onReceive(Context arg0, Intent arg1) {
11+
12+
}
13+
14+
}
37.8 KB
Loading
39.2 KB
Loading

src/main/res/drawable/flag.png

31.1 KB
Loading
3.6 KB
Loading

0 commit comments

Comments
 (0)