aboutsummaryrefslogtreecommitdiff
path: root/about/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-01 23:22:51 -0500
committerAllan Wang <me@allanwang.ca>2018-01-01 23:22:51 -0500
commit71f5dc2f7ce5b8183421586e6a77be65040a4dff (patch)
treefedd18e271463ce2430637a9913e8470e84181ce /about/src
parentf94d6f9694973c2a323e565794d948002593df0a (diff)
downloadkau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.gz
kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.bz2
kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.zip
Format everything and use reified generics
Diffstat (limited to 'about/src')
-rw-r--r--about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt4
-rw-r--r--about/src/main/res-public/values/public.xml2
-rw-r--r--about/src/main/res-public/values/styles.xml2
-rw-r--r--about/src/main/res/values-de-rDE/strings_about.xml7
-rw-r--r--about/src/main/res/values-es-rES/strings_about.xml7
-rw-r--r--about/src/main/res/values-fr-rFR/strings_about.xml7
-rw-r--r--about/src/main/res/values-gl-rES/strings_about.xml7
-rw-r--r--about/src/main/res/values-hu-rHU/strings_about.xml7
-rw-r--r--about/src/main/res/values-it-rIT/strings_about.xml7
-rw-r--r--about/src/main/res/values-ko-rKR/strings_about.xml7
-rw-r--r--about/src/main/res/values-no-rNO/strings_about.xml7
-rw-r--r--about/src/main/res/values-pt-rBR/strings_about.xml7
-rw-r--r--about/src/main/res/values-vi-rVN/strings_about.xml7
-rw-r--r--about/src/main/res/values-zh-rCN/strings_about.xml7
14 files changed, 37 insertions, 48 deletions
diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
index 0380479..a5f5318 100644
--- a/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
+++ b/about/src/main/kotlin/ca/allanwang/kau/about/AboutBinder.kt
@@ -11,8 +11,8 @@ import ca.allanwang.kau.utils.withSceneTransitionAnimation
/**
* About activity launcher
*/
-fun Activity.kauLaunchAbout(clazz: Class<out AboutActivityBase>) {
- startActivity(clazz, bundleBuilder = {
+inline fun <reified T : AboutActivityBase> Activity.kauLaunchAbout() {
+ startActivity<T>(bundleBuilder = {
withSceneTransitionAnimation(this@kauLaunchAbout)
})
} \ No newline at end of file
diff --git a/about/src/main/res-public/values/public.xml b/about/src/main/res-public/values/public.xml
index 2db68c4..3739dd1 100644
--- a/about/src/main/res-public/values/public.xml
+++ b/about/src/main/res-public/values/public.xml
@@ -1,4 +1,4 @@
<resources xmlns:tools='http://schemas.android.com/tools' tools:ignore='ResourceName'>
-<!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
+ <!-- AUTO-GENERATED FILE. DO NOT MODIFY. public.xml is generated by the generatepublicxml gradle task -->
<public name='Kau.About' type='style' />
</resources> \ No newline at end of file
diff --git a/about/src/main/res-public/values/styles.xml b/about/src/main/res-public/values/styles.xml
index c395e9f..e9ef931 100644
--- a/about/src/main/res-public/values/styles.xml
+++ b/about/src/main/res-public/values/styles.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <style name="Kau.About" parent="Kau.Translucent.SlideTop"/>
+ <style name="Kau.About" parent="Kau.Translucent.SlideTop" />
</resources> \ No newline at end of file
diff --git a/about/src/main/res/values-de-rDE/strings_about.xml b/about/src/main/res/values-de-rDE/strings_about.xml
index b4f42a7..5d7bc28 100644
--- a/about/src/main/res/values-de-rDE/strings_about.xml
+++ b/about/src/main/res/values-de-rDE/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Diese App wäre nicht möglich ohne die folgenden großartigen Bibliotheken.</string>
- <string name="kau_about_faq_intro">Häufige Fragen / FAQ</string>
+ <string name="kau_about_libraries_intro">Diese App wäre nicht möglich ohne die folgenden großartigen Bibliotheken.</string>
+ <string name="kau_about_faq_intro">Häufige Fragen / FAQ</string>
</resources>
diff --git a/about/src/main/res/values-es-rES/strings_about.xml b/about/src/main/res/values-es-rES/strings_about.xml
index 4a171e0..3fb0bed 100644
--- a/about/src/main/res/values-es-rES/strings_about.xml
+++ b/about/src/main/res/values-es-rES/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Esta aplicación no sería posible sin las siguientes geniales librerías.</string>
- <string name="kau_about_faq_intro">Preguntas Frecuentes</string>
+ <string name="kau_about_libraries_intro">Esta aplicación no sería posible sin las siguientes geniales librerías.</string>
+ <string name="kau_about_faq_intro">Preguntas Frecuentes</string>
</resources>
diff --git a/about/src/main/res/values-fr-rFR/strings_about.xml b/about/src/main/res/values-fr-rFR/strings_about.xml
index 8750a9e..91db02c 100644
--- a/about/src/main/res/values-fr-rFR/strings_about.xml
+++ b/about/src/main/res/values-fr-rFR/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Ce soft ne serait pas possible sans ces super bibliothèques.</string>
- <string name="kau_about_faq_intro">FAQ</string>
+ <string name="kau_about_libraries_intro">Ce soft ne serait pas possible sans ces super bibliothèques.</string>
+ <string name="kau_about_faq_intro">FAQ</string>
</resources>
diff --git a/about/src/main/res/values-gl-rES/strings_about.xml b/about/src/main/res/values-gl-rES/strings_about.xml
index d3d4784..fe64f7f 100644
--- a/about/src/main/res/values-gl-rES/strings_about.xml
+++ b/about/src/main/res/values-gl-rES/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Esta aplicación non sería posible sen a existencia destas fantásticas librarías.</string>
- <string name="kau_about_faq_intro">Preguntas frecuentes</string>
+ <string name="kau_about_libraries_intro">Esta aplicación non sería posible sen a existencia destas fantásticas librarías.</string>
+ <string name="kau_about_faq_intro">Preguntas frecuentes</string>
</resources>
diff --git a/about/src/main/res/values-hu-rHU/strings_about.xml b/about/src/main/res/values-hu-rHU/strings_about.xml
index 02eaa1c..d57e13d 100644
--- a/about/src/main/res/values-hu-rHU/strings_about.xml
+++ b/about/src/main/res/values-hu-rHU/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Ez az app nem jöhetett volna létre a következő könyvtárak nélkül.</string>
- <string name="kau_about_faq_intro">GyIK</string>
+ <string name="kau_about_libraries_intro">Ez az app nem jöhetett volna létre a következő könyvtárak nélkül.</string>
+ <string name="kau_about_faq_intro">GyIK</string>
</resources>
diff --git a/about/src/main/res/values-it-rIT/strings_about.xml b/about/src/main/res/values-it-rIT/strings_about.xml
index 21335bc..170ff15 100644
--- a/about/src/main/res/values-it-rIT/strings_about.xml
+++ b/about/src/main/res/values-it-rIT/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Questa applicazione non sarebbe possibile senza queste fantastiche librerie.</string>
- <string name="kau_about_faq_intro">Domande frequenti</string>
+ <string name="kau_about_libraries_intro">Questa applicazione non sarebbe possibile senza queste fantastiche librerie.</string>
+ <string name="kau_about_faq_intro">Domande frequenti</string>
</resources>
diff --git a/about/src/main/res/values-ko-rKR/strings_about.xml b/about/src/main/res/values-ko-rKR/strings_about.xml
index f24b2c9..f6b4413 100644
--- a/about/src/main/res/values-ko-rKR/strings_about.xml
+++ b/about/src/main/res/values-ko-rKR/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">이 앱은 아래의 라이브러리가 없었다면 만들 수 없었습니다.</string>
- <string name="kau_about_faq_intro">FAQ</string>
+ <string name="kau_about_libraries_intro">이 앱은 아래의 라이브러리가 없었다면 만들 수 없었습니다.</string>
+ <string name="kau_about_faq_intro">FAQ</string>
</resources>
diff --git a/about/src/main/res/values-no-rNO/strings_about.xml b/about/src/main/res/values-no-rNO/strings_about.xml
index d231a77..2cffcbc 100644
--- a/about/src/main/res/values-no-rNO/strings_about.xml
+++ b/about/src/main/res/values-no-rNO/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Denne appens eksistens ville ikke vært mulig uten de flotte, følgende bibliotekene.</string>
- <string name="kau_about_faq_intro">Spørsmål og svar</string>
+ <string name="kau_about_libraries_intro">Denne appens eksistens ville ikke vært mulig uten de flotte, følgende bibliotekene.</string>
+ <string name="kau_about_faq_intro">Spørsmål og svar</string>
</resources>
diff --git a/about/src/main/res/values-pt-rBR/strings_about.xml b/about/src/main/res/values-pt-rBR/strings_about.xml
index 06d5d35..e6feb8d 100644
--- a/about/src/main/res/values-pt-rBR/strings_about.xml
+++ b/about/src/main/res/values-pt-rBR/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Este aplicativo não seria possível sem as seguintes excelentes bibliotecas.</string>
- <string name="kau_about_faq_intro">Perguntas Frequentes</string>
+ <string name="kau_about_libraries_intro">Este aplicativo não seria possível sem as seguintes excelentes bibliotecas.</string>
+ <string name="kau_about_faq_intro">Perguntas Frequentes</string>
</resources>
diff --git a/about/src/main/res/values-vi-rVN/strings_about.xml b/about/src/main/res/values-vi-rVN/strings_about.xml
index 57696a1..a71d127 100644
--- a/about/src/main/res/values-vi-rVN/strings_about.xml
+++ b/about/src/main/res/values-vi-rVN/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">Ứng dụng này ra đời nhờ những thư viện tuyệt vời dưới đây.</string>
- <string name="kau_about_faq_intro">CÂU HỎI THƯỜNG GẶP</string>
+ <string name="kau_about_libraries_intro">Ứng dụng này ra đời nhờ những thư viện tuyệt vời dưới đây.</string>
+ <string name="kau_about_faq_intro">CÂU HỎI THƯỜNG GẶP</string>
</resources>
diff --git a/about/src/main/res/values-zh-rCN/strings_about.xml b/about/src/main/res/values-zh-rCN/strings_about.xml
index 7e9bb04..8625ef7 100644
--- a/about/src/main/res/values-zh-rCN/strings_about.xml
+++ b/about/src/main/res/values-zh-rCN/strings_about.xml
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--Generated by crowdin.com-->
+<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com-->
<resources>
- <string name="kau_about_libraries_intro">没有以下的大数据库,这个应用程序不会运行。</string>
- <string name="kau_about_faq_intro">常见问题</string>
+ <string name="kau_about_libraries_intro">没有以下的大数据库,这个应用程序不会运行。</string>
+ <string name="kau_about_faq_intro">常见问题</string>
</resources>