fdroiddata/metadata/com.anysoftkeyboard.languagepack.example/Example.patch

86 lines
3.5 KiB
Diff
Raw Normal View History

diff --git a/res/values/strings.xml b/res/values/strings.xml
index c4c53a1..0c8d7d7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name">AnySoftKeyboard - change_me Language Pack</string>
- <string name="keyboard_name">change_me keyboard</string>
- <string name="dictionary_name">change_me</string>
+ <string name="app_name">AnySoftKeyboard - example Language Pack</string>
+ <string name="keyboard_name">example keyboard</string>
+ <string name="dictionary_name">example</string>
</resources>
diff --git a/res/xml/dictionaries.xml b/res/xml/dictionaries.xml
index 1daa3d2..e470c6d 100644
--- a/res/xml/dictionaries.xml
+++ b/res/xml/dictionaries.xml
@@ -7,7 +7,7 @@
"dictionaryResourceId" : a reference to the raw resource of the words dictionary
"autoTextResourceId" : a reference to a common typing mistakes XML.
-->
- <Dictionary nameResId="@string/dictionary_name" locale="change_me" id="change_me" type="binary_resource"
+ <Dictionary nameResId="@string/dictionary_name" locale="example" id="example" type="binary_resource"
dictionaryResourceId="@array/words_dict_array" autoTextResourceId="@xml/autotext"
- description="change_me"/>
+ description="example"/>
</Dictionaries>
diff --git a/res/xml/keyboards.xml b/res/xml/keyboards.xml
index 84ba491..8a3fc55 100644
--- a/res/xml/keyboards.xml
+++ b/res/xml/keyboards.xml
@@ -7,6 +7,8 @@
"iconResId" : a reference to a drawable which can be used to show a flag in the notification bar.
"layoutResId" : a reference to a keyboard layout XML. See res/xml/qwerty.xml
-->
- <Keyboard nameResId="@string/keyboard_name" iconResId="change_me" layoutResId="@xml/qwerty"
- id="change_me" defaultDictionaryLocale="change_me" description="change_me" index="1"/>
-</Keyboards>
\ No newline at end of file
+ <Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.languagepack.example"
+ nameResId="@string/keyboard_name" iconResId="@drawable/app_icon" layoutResId="@xml/qwerty"
+ id="example" defaultDictionaryLocale="example" description="example" index="1"/>
+</Keyboards>
diff --git a/src/com/anysoftkeyboard/languagepack/change_me/PackBroadcastReceiver.java b/src/com/anysoftkeyboard/languagepack/change_me/PackBroadcastReceiver.java
deleted file mode 100644
index 15971b1..0000000
--- a/src/com/anysoftkeyboard/languagepack/change_me/PackBroadcastReceiver.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.anysoftkeyboard.languagepack.change_me;
-
-import android.content.BroadcastReceiver;
-import android.content.Context;
-import android.content.Intent;
-
-public class PackBroadcastReceiver extends BroadcastReceiver {
-
- @Override
- public void onReceive(Context arg0, Intent arg1) {
-
- }
-
-}
diff --git a/src/com/anysoftkeyboard/languagepack/example/PackBroadcastReceiver.java b/src/com/anysoftkeyboard/languagepack/example/PackBroadcastReceiver.java
new file mode 100644
index 0000000..789ac7f
--- /dev/null
+++ b/src/com/anysoftkeyboard/languagepack/example/PackBroadcastReceiver.java
@@ -0,0 +1,14 @@
+package com.anysoftkeyboard.languagepack.example;
+
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.Intent;
+
+public class PackBroadcastReceiver extends BroadcastReceiver {
+
+ @Override
+ public void onReceive(Context arg0, Intent arg1) {
+
+ }
+
+}