diff options
76 files changed, 966 insertions, 983 deletions
diff --git a/about/README.md b/about/README.md index 77a329d..ccde4e6 100644 --- a/about/README.md +++ b/about/README.md @@ -18,8 +18,9 @@ Note that the viewpager by default will keep all panels in memory, so it's best You may easily launch the activity through the binder: ``` -Activity.kauLaunchAbout(YourClass::class.java) +Activity.kauLaunchAbout<T>() ``` +where `T` extends `AboutActivityBase` Be sure to include the activity in your Manifest and have it extend `Kau.About`, or any other style that achieves the same look. 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> diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/adapters/AdapterUtils.kt b/adapter/src/main/kotlin/ca/allanwang/kau/adapters/AdapterUtils.kt index dae2862..14be76b 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/adapters/AdapterUtils.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/adapters/AdapterUtils.kt @@ -3,7 +3,6 @@ package ca.allanwang.kau.adapters import com.mikepenz.fastadapter.FastAdapter import com.mikepenz.fastadapter.IAdapter import com.mikepenz.fastadapter.IItem -import com.mikepenz.fastadapter.commons.adapters.FastItemAdapter /** * Created by Allan Wang on 2017-11-08. diff --git a/adapter/src/main/res-public/values/public.xml b/adapter/src/main/res-public/values/public.xml index cf14680..4d16c2a 100644 --- a/adapter/src/main/res-public/values/public.xml +++ b/adapter/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='dummy' type='id' /> </resources>
\ No newline at end of file diff --git a/core/build.gradle b/core/build.gradle index 23ed412..8879c62 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -16,7 +16,7 @@ dependencies { api "com.mikepenz:google-material-typeface:${IICON_GOOGLE}.original@aar" api "com.afollestad.material-dialogs:core:${MATERIAL_DIALOG}" - + api "org.jetbrains.anko:anko-commons:${ANKO}" } diff --git a/core/src/androidTest/kotlin/ca/allanwang/kau/xml/ChangelogTest.kt b/core/src/androidTest/kotlin/ca/allanwang/kau/xml/ChangelogTest.kt index e3b3170..1a0eaac 100644 --- a/core/src/androidTest/kotlin/ca/allanwang/kau/xml/ChangelogTest.kt +++ b/core/src/androidTest/kotlin/ca/allanwang/kau/xml/ChangelogTest.kt @@ -11,7 +11,7 @@ import org.junit.runner.RunWith @MediumTest class ChangelogTest { -// @Test //todo internal function sharing is only available on gradle 3.0.0+ + // @Test //todo internal function sharing is only available on gradle 3.0.0+ fun simpleTest() { // val data = parse(InstrumentationRegistry.getTargetContext(), R.xml.test_changelog) } diff --git a/core/src/androidTest/kotlin/ca/allanwang/kau/xml/FaqTest.kt b/core/src/androidTest/kotlin/ca/allanwang/kau/xml/FaqTest.kt index 1b185f3..c2ffa8a 100644 --- a/core/src/androidTest/kotlin/ca/allanwang/kau/xml/FaqTest.kt +++ b/core/src/androidTest/kotlin/ca/allanwang/kau/xml/FaqTest.kt @@ -17,8 +17,7 @@ class FaqTest { @Test fun simpleTest() { - InstrumentationRegistry.getTargetContext().kauParseFaq(R.xml.test_faq) { - data -> + InstrumentationRegistry.getTargetContext().kauParseFaq(R.xml.test_faq) { data -> assertEquals(2, data.size, "FAQ size is incorrect") assertEquals("1. This is a question", data.first().first.toString(), "First question does not match") assertEquals("This is an answer", data.first().second.toString(), "First answer does not match") @@ -29,8 +28,7 @@ class FaqTest { @Test fun withoutNumbering() { - InstrumentationRegistry.getTargetContext().kauParseFaq(R.xml.test_faq, false) { - data -> + InstrumentationRegistry.getTargetContext().kauParseFaq(R.xml.test_faq, false) { data -> assertEquals(2, data.size, "FAQ size is incorrect") assertEquals("This is a question", data.first().first.toString(), "First question does not match") assertEquals("This is an answer", data.first().second.toString(), "First answer does not match") diff --git a/core/src/androidTest/res/xml/test_changelog.xml b/core/src/androidTest/res/xml/test_changelog.xml index 2e90561..2c43d36 100644 --- a/core/src/androidTest/res/xml/test_changelog.xml +++ b/core/src/androidTest/res/xml/test_changelog.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <version title="v1.1"/> + <version title="v1.1" /> <item text="This is version 1.1" /> <item text="This is the last line to be displayed" /> <item text="" /> - <version title="v1.0"/> + <version title="v1.0" /> <item text="potato 1.0" /> </resources>
\ No newline at end of file diff --git a/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt b/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt index 94a79ab..6576657 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/email/EmailBuilder.kt @@ -60,7 +60,7 @@ class EmailBuilder(val email: String, val subject: String) { .append("\nApp Version Name: ").append(appInfo.versionName) .append("\nApp Version Code: ").append(appInfo.versionCode).append("\n") } catch (e: PackageManager.NameNotFoundException) { - KL.e{"EmailBuilder packageInfo not found"} + KL.e { "EmailBuilder packageInfo not found" } } } diff --git a/core/src/main/kotlin/ca/allanwang/kau/kotlin/Zip.kt b/core/src/main/kotlin/ca/allanwang/kau/kotlin/Zip.kt index cff520f..80cab09 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/kotlin/Zip.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/kotlin/Zip.kt @@ -79,8 +79,7 @@ inline fun Collection<(ZipEmptyCallback) -> Unit>.zip(crossinline onFinished: () */ inline fun Collection<() -> Unit>.zipAsync(crossinline onFinished: () -> Unit) { map { synchronousFun -> - { - callback: ZipEmptyCallback -> + { callback: ZipEmptyCallback -> doAsync { synchronousFun() callback() diff --git a/core/src/main/kotlin/ca/allanwang/kau/kpref/KPrefSingleDelegate.kt b/core/src/main/kotlin/ca/allanwang/kau/kpref/KPrefSingleDelegate.kt index af5c59b..ff08e3c 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/kpref/KPrefSingleDelegate.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/kpref/KPrefSingleDelegate.kt @@ -6,7 +6,7 @@ fun KPref.kprefSingle(key: String) = KPrefSingleDelegate(key, this) /** * Created by Allan Wang on 2017-06-07. - * + * * Singular KPref Delegate for booleans * When the shared pref is not initialized, it will return true then set the pref to false * All subsequent retrievals will be false diff --git a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt index 36a4445..3ea62b5 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt @@ -6,10 +6,12 @@ interface SwipeListener { * Percent is capped at 1.0, even if there is a slight overscroll for the pages */ fun onScroll(percent: Float, px: Int, edgeFlag: Int) + /** * Invoked when page first consumes the scroll events */ fun onEdgeTouch() + /** * Invoked when scroll percent over the threshold for the first time */ diff --git a/core/src/main/kotlin/ca/allanwang/kau/ui/views/RippleCanvas.kt b/core/src/main/kotlin/ca/allanwang/kau/ui/views/RippleCanvas.kt index f587e60..86aba6e 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/ui/views/RippleCanvas.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/ui/views/RippleCanvas.kt @@ -83,7 +83,7 @@ class RippleCanvas @JvmOverloads constructor( if (callback != null) animator.addListener(object : AnimatorListenerAdapter() { override fun onAnimationCancel(animation: Animator?) = callback() - override fun onAnimationEnd(animation: Animator?) = callback() + override fun onAnimationEnd(animation: Animator?) = callback() }) animator.start() } diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/AnimUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/AnimUtils.kt index 5cef0ac..a287cf2 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/AnimUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/AnimUtils.kt @@ -18,7 +18,8 @@ import android.widget.TextView */ @SuppressLint("NewApi") -@KauUtils fun View.circularReveal(x: Int = 0, y: Int = 0, offset: Long = 0L, radius: Float = -1.0f, duration: Long = 500L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { +@KauUtils +fun View.circularReveal(x: Int = 0, y: Int = 0, offset: Long = 0L, radius: Float = -1.0f, duration: Long = 500L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { if (!isAttachedToWindow) { onStart?.invoke() visible() @@ -45,7 +46,8 @@ import android.widget.TextView } @SuppressLint("NewApi") -@KauUtils fun View.circularHide(x: Int = 0, y: Int = 0, offset: Long = 0L, radius: Float = -1.0f, duration: Long = 500L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { +@KauUtils +fun View.circularHide(x: Int = 0, y: Int = 0, offset: Long = 0L, radius: Float = -1.0f, duration: Long = 500L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { if (!isAttachedToWindow) { onStart?.invoke() invisible() @@ -72,7 +74,8 @@ import android.widget.TextView anim.start() } -@KauUtils fun View.fadeIn(offset: Long = 0L, duration: Long = 200L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { +@KauUtils +fun View.fadeIn(offset: Long = 0L, duration: Long = 200L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { if (!isAttachedToWindow) { onStart?.invoke() visible() @@ -93,7 +96,8 @@ import android.widget.TextView startAnimation(anim) } -@KauUtils fun View.fadeOut(offset: Long = 0L, duration: Long = 200L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { +@KauUtils +fun View.fadeOut(offset: Long = 0L, duration: Long = 200L, onStart: (() -> Unit)? = null, onFinish: (() -> Unit)? = null) { if (!isAttachedToWindow) { onStart?.invoke() invisible() @@ -117,13 +121,16 @@ import android.widget.TextView startAnimation(anim) } -@KauUtils fun TextView.setTextWithFade(text: String, duration: Long = 200, onFinish: (() -> Unit)? = null) { +@KauUtils +fun TextView.setTextWithFade(text: String, duration: Long = 200, onFinish: (() -> Unit)? = null) { fadeOut(duration = duration, onFinish = { setText(text) fadeIn(duration = duration, onFinish = onFinish) }) } -@KauUtils fun TextView.setTextWithFade(@StringRes textId: Int, duration: Long = 200, onFinish: (() -> Unit)? = null) = setTextWithFade(context.getString(textId), duration, onFinish) +@KauUtils +fun TextView.setTextWithFade(@StringRes textId: Int, duration: Long = 200, onFinish: (() -> Unit)? = null) = setTextWithFade(context.getString(textId), duration, onFinish) -@KauUtils fun ViewPropertyAnimator.scaleXY(value: Float) = scaleX(value).scaleY(value)
\ No newline at end of file +@KauUtils +fun ViewPropertyAnimator.scaleXY(value: Float) = scaleX(value).scaleY(value)
\ No newline at end of file diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/FileUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/FileUtils.kt index 65c28f7..b97f4aa 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/FileUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/FileUtils.kt @@ -1,6 +1,5 @@ package ca.allanwang.kau.utils -import android.os.Bundle import java.io.File import java.io.InputStream diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/IIconUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/IIconUtils.kt index 4c71945..a8c710e 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/IIconUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/IIconUtils.kt @@ -11,7 +11,8 @@ import com.mikepenz.iconics.typeface.IIcon /** * Created by Allan Wang on 2017-05-29. */ -@KauUtils fun IIcon.toDrawable(c: Context, sizeDp: Int = 24, @ColorInt color: Int = Color.WHITE, builder: IconicsDrawable.() -> Unit = {}): Drawable { +@KauUtils +fun IIcon.toDrawable(c: Context, sizeDp: Int = 24, @ColorInt color: Int = Color.WHITE, builder: IconicsDrawable.() -> Unit = {}): Drawable { val state = ColorStateList.valueOf(color) val icon = IconicsDrawable(c).icon(this).sizeDp(sizeDp).color(state) icon.builder() diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt index ebd7161..77750d3 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/PackageUtils.kt @@ -17,7 +17,8 @@ import android.provider.Settings * @param packageName packageId * @return true if installed with activity, false otherwise */ -@KauUtils fun Context.isAppInstalled(packageName: String): Boolean { +@KauUtils +fun Context.isAppInstalled(packageName: String): Boolean { try { packageManager.getPackageInfo(packageName, PackageManager.GET_ACTIVITIES) return true @@ -26,7 +27,8 @@ import android.provider.Settings } } -@KauUtils fun Context.isAppEnabled(packageName: String): Boolean { +@KauUtils +fun Context.isAppEnabled(packageName: String): Boolean { try { return packageManager.getApplicationInfo(packageName, 0).enabled } catch (e: Exception) { @@ -34,7 +36,8 @@ import android.provider.Settings } } -@KauUtils fun Context.showAppInfo(packageName: String) { +@KauUtils +fun Context.showAppInfo(packageName: String) { try { //Open the specific App Info page: val intent = Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS) diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/TransitionUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/TransitionUtils.kt index 1f4536b..ec206ee 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/TransitionUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/TransitionUtils.kt @@ -23,7 +23,8 @@ class TransitionEndListener(val onEnd: (transition: Transition) -> Unit) : Trans } @RequiresApi(Build.VERSION_CODES.LOLLIPOP) -@KauUtils fun Transition.addEndListener(onEnd: (transition: Transition) -> Unit) { +@KauUtils +fun Transition.addEndListener(onEnd: (transition: Transition) -> Unit) { addListener(TransitionEndListener(onEnd)) } @@ -37,18 +38,21 @@ class SupportTransitionEndListener(val onEnd: (transition: SupportTransition) -> } @RequiresApi(Build.VERSION_CODES.LOLLIPOP) -@KauUtils fun SupportTransition.addEndListener(onEnd: (transition: SupportTransition) -> Unit) { +@KauUtils +fun SupportTransition.addEndListener(onEnd: (transition: SupportTransition) -> Unit) { addListener(SupportTransitionEndListener(onEnd)) } -@KauUtils fun ViewGroup.transitionAuto(builder: AutoTransition.() -> Unit = {}) { +@KauUtils +fun ViewGroup.transitionAuto(builder: AutoTransition.() -> Unit = {}) { if (!buildIsLollipopAndUp) return val transition = AutoTransition() transition.builder() TransitionManager.beginDelayedTransition(this, transition) } -@KauUtils fun ViewGroup.transitionDelayed(@TransitionRes id: Int, builder: android.support.transition.Transition.() -> Unit = {}) { +@KauUtils +fun ViewGroup.transitionDelayed(@TransitionRes id: Int, builder: android.support.transition.Transition.() -> Unit = {}) { if (!buildIsLollipopAndUp) return val transition = TransitionInflater.from(context).inflateTransition(id) transition.builder() diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/Utils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/Utils.kt index 8b32894..9a70ae7 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/Utils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/Utils.kt @@ -6,7 +6,6 @@ import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable -import android.os.Bundle import android.os.Handler import android.os.Looper import android.support.annotation.IntRange diff --git a/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt b/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt index f6a541b..1946dbc 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/utils/ViewUtils.kt @@ -72,11 +72,13 @@ fun View.snackbar(text: String, duration: Int = Snackbar.LENGTH_LONG, builder: S fun View.snackbar(@StringRes textId: Int, duration: Int = Snackbar.LENGTH_LONG, builder: Snackbar.() -> Unit = {}) = snackbar(context.string(textId), duration, builder) -@KauUtils fun TextView.setTextIfValid(@StringRes id: Int) { +@KauUtils +fun TextView.setTextIfValid(@StringRes id: Int) { if (id > 0) text = context.string(id) } -@KauUtils fun ImageView.setIcon(icon: IIcon?, sizeDp: Int = 24, @ColorInt color: Int = Color.WHITE, builder: IconicsDrawable.() -> Unit = {}) { +@KauUtils +fun ImageView.setIcon(icon: IIcon?, sizeDp: Int = 24, @ColorInt color: Int = Color.WHITE, builder: IconicsDrawable.() -> Unit = {}) { if (icon == null) return setImageDrawable(icon.toDrawable(context, sizeDp = sizeDp, color = color, builder = builder)) } @@ -87,42 +89,50 @@ fun FloatingActionButton.showIf(show: Boolean) = if (show) show() else hide() fun FloatingActionButton.hideIf(hide: Boolean) = if (hide) hide() else show() -@KauUtils fun ViewGroup.inflate(layoutId: Int, attachToRoot: Boolean = false): View = LayoutInflater.from(context).inflate(layoutId, this, attachToRoot) +@KauUtils +fun ViewGroup.inflate(layoutId: Int, attachToRoot: Boolean = false): View = LayoutInflater.from(context).inflate(layoutId, this, attachToRoot) /** * Set left margin to a value in px */ -@KauUtils fun View.setMarginLeft(margin: Int) = setMargins(margin, KAU_LEFT) +@KauUtils +fun View.setMarginLeft(margin: Int) = setMargins(margin, KAU_LEFT) /** * Set top margin to a value in px */ -@KauUtils fun View.setMarginTop(margin: Int) = setMargins(margin, KAU_TOP) +@KauUtils +fun View.setMarginTop(margin: Int) = setMargins(margin, KAU_TOP) /** * Set right margin to a value in px */ -@KauUtils fun View.setMarginRight(margin: Int) = setMargins(margin, KAU_RIGHT) +@KauUtils +fun View.setMarginRight(margin: Int) = setMargins(margin, KAU_RIGHT) /** * Set bottom margin to a value in px */ -@KauUtils fun View.setMarginBottom(margin: Int) = setMargins(margin, KAU_BOTTOM) +@KauUtils +fun View.setMarginBottom(margin: Int) = setMargins(margin, KAU_BOTTOM) /** * Set left and right margins to a value in px */ -@KauUtils fun View.setMarginHorizontal(margin: Int) = setMargins(margin, KAU_HORIZONTAL) +@KauUtils +fun View.setMarginHorizontal(margin: Int) = setMargins(margin, KAU_HORIZONTAL) /** * Set top and bottom margins to a value in px */ -@KauUtils fun View.setMarginVertical(margin: Int) = setMargins(margin, KAU_VERTICAL) +@KauUtils +fun View.setMarginVertical(margin: Int) = setMargins(margin, KAU_VERTICAL) /** * Set all margins to a value in px */ -@KauUtils fun View.setMargin(margin: Int) = setMargins(margin, KAU_ALL) +@KauUtils +fun View.setMargin(margin: Int) = setMargins(margin, KAU_ALL) /** * Base margin setter @@ -142,37 +152,44 @@ fun FloatingActionButton.hideIf(hide: Boolean) = if (hide) hide() else show() /** * Set left padding to a value in px */ -@KauUtils fun View.setPaddingLeft(padding: Int) = setPadding(padding, KAU_LEFT) +@KauUtils +fun View.setPaddingLeft(padding: Int) = setPadding(padding, KAU_LEFT) /** * Set top padding to a value in px */ -@KauUtils fun View.setPaddingTop(padding: Int) = setPadding(padding, KAU_TOP) +@KauUtils +fun View.setPaddingTop(padding: Int) = setPadding(padding, KAU_TOP) /** * Set right padding to a value in px */ -@KauUtils fun View.setPaddingRight(padding: Int) = setPadding(padding, KAU_RIGHT) +@KauUtils +fun View.setPaddingRight(padding: Int) = setPadding(padding, KAU_RIGHT) /** * Set bottom padding to a value in px */ -@KauUtils fun View.setPaddingBottom(padding: Int) = setPadding(padding, KAU_BOTTOM) +@KauUtils +fun View.setPaddingBottom(padding: Int) = setPadding(padding, KAU_BOTTOM) /** * Set left and right padding to a value in px */ -@KauUtils fun View.setPaddingHorizontal(padding: Int) = setPadding(padding, KAU_HORIZONTAL) +@KauUtils +fun View.setPaddingHorizontal(padding: Int) = setPadding(padding, KAU_HORIZONTAL) /** * Set top and bottom padding to a value in px */ -@KauUtils fun View.setPaddingVertical(padding: Int) = setPadding(padding, KAU_VERTICAL) +@KauUtils +fun View.setPaddingVertical(padding: Int) = setPadding(padding, KAU_VERTICAL) /** * Set all padding to a value in px */ -@KauUtils fun View.setPadding(padding: Int) = setPadding(padding, KAU_ALL) +@KauUtils +fun View.setPadding(padding: Int) = setPadding(padding, KAU_ALL) /** * Base padding setter @@ -186,19 +203,22 @@ fun FloatingActionButton.hideIf(hide: Boolean) = if (hide) hide() else show() ) } -@KauUtils fun View.hideKeyboard() { +@KauUtils +fun View.hideKeyboard() { clearFocus() (context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager).hideSoftInputFromWindow(windowToken, 0) } -@KauUtils fun View.showKeyboard() { +@KauUtils +fun View.showKeyboard() { requestFocus() (context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager).showSoftInput(this, InputMethodManager.SHOW_IMPLICIT) } @RequiresApi(Build.VERSION_CODES.LOLLIPOP) -@KauUtils fun View.setRippleBackground(@ColorInt foregroundColor: Int, @ColorInt backgroundColor: Int) { +@KauUtils +fun View.setRippleBackground(@ColorInt foregroundColor: Int, @ColorInt backgroundColor: Int) { background = createSimpleRippleDrawable(foregroundColor, backgroundColor) } diff --git a/core/src/main/kotlin/ca/allanwang/kau/xml/Changelog.kt b/core/src/main/kotlin/ca/allanwang/kau/xml/Changelog.kt index 58f1ccc..cbebd55 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/xml/Changelog.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/xml/Changelog.kt @@ -70,8 +70,7 @@ internal class ChangelogAdapter(val items: List<Pair<String, ChangelogType>>, @C internal fun parse(context: Context, @XmlRes xmlRes: Int): List<Pair<String, ChangelogType>> { val items = mutableListOf<Pair<String, ChangelogType>>() - context.resources.getXml(xmlRes).use { - parser: XmlResourceParser -> + context.resources.getXml(xmlRes).use { parser: XmlResourceParser -> var eventType = parser.eventType while (eventType != XmlPullParser.END_DOCUMENT) { if (eventType == XmlPullParser.START_TAG) diff --git a/core/src/main/kotlin/ca/allanwang/kau/xml/FAQ.kt b/core/src/main/kotlin/ca/allanwang/kau/xml/FAQ.kt index 07a0287..f804b70 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/xml/FAQ.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/xml/FAQ.kt @@ -28,8 +28,7 @@ fun Context.kauParseFaq( callback: (items: List<FaqItem>) -> Unit) { doAsync { val items = mutableListOf<FaqItem>() - resources.getXml(xmlRes).use { - parser: XmlResourceParser -> + resources.getXml(xmlRes).use { parser: XmlResourceParser -> var eventType = parser.eventType var question: Spanned? = null var flag = -1 //-1, 0, 1 -> invalid, question, answer diff --git a/core/src/main/res-public/values-de-rDE/strings_commons.xml b/core/src/main/res-public/values-de-rDE/strings_commons.xml index 2bc2666..015b612 100644 --- a/core/src/main/res-public/values-de-rDE/strings_commons.xml +++ b/core/src/main/res-public/values-de-rDE/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Über diese App</string> - <string name="kau_about_x">Über %s</string> - <string name="kau_add_account">Konto hinzufügen</string> - <string name="kau_back">Zurück</string> - <string name="kau_cancel">Abbrechen</string> - <string name="kau_changelog">Änderungsprotokoll</string> - <string name="kau_close">Schließen</string> - <string name="kau_contact_us">Kontaktiere uns</string> - <string name="kau_copy">Kopieren</string> - <string name="kau_custom">Benutzerdefiniert</string> - <string name="kau_dark">Dunkel</string> - <string name="kau_default">Standard</string> - <string name="kau_do_not_show_again">Nicht mehr anzeigen</string> - <string name="kau_done">Fertig</string> - <string name="kau_error">Fehler</string> - <string name="kau_exit">Beenden</string> - <string name="kau_exit_confirmation">Bist du sicher, dass du die App verlassen möchtest?</string> - <string name="kau_exit_confirmation_x">Bist du sicher, dass du die App verlassen möchtest? %s?</string> - <string name="kau_glass">Glas</string> - <string name="kau_got_it">Verstanden</string> - <string name="kau_great">Großartig</string> - <string name="kau_hide">Verstecken</string> - <string name="kau_light">Hell</string> - <string name="kau_login">Anmelden</string> - <string name="kau_logout">Abmelden</string> - <string name="kau_logout_confirm_as_x">Sind Sie sicher, dass Sie als %s abmelden wollen?</string> - <string name="kau_manage_account">Konto verwalten</string> - <string name="kau_maybe">Vielleicht</string> - <string name="kau_menu">Menü</string> - <string name="kau_no">Nein</string> - <string name="kau_no_results_found">Keine Ergebnisse gefunden</string> - <string name="kau_none">Keine</string> - <string name="kau_ok">Ok</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Bewerten</string> - <string name="kau_report_bug">Einen Fehler melden</string> - <string name="kau_search">Suchen</string> - <string name="kau_send_feedback">Feedback senden</string> - <string name="kau_send_via">Senden via</string> - <string name="kau_settings">Einstellungen</string> - <string name="kau_share">Teilen</string> - <string name="kau_text_copied">Text in Zwischenablage kopiert.</string> - <string name="kau_thank_you">Danke</string> - <string name="kau_uh_oh">Huch</string> - <string name="kau_warning">Warnung</string> - <plurals name="kau_x_days"> - <item quantity="one">%d Tag</item> - <item quantity="other">%d Tage</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d Stunde</item> - <item quantity="other">%d Stunden</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d Minute</item> - <item quantity="other">%d Minuten</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d Sekunde</item> - <item quantity="other">%d Sekunden</item> - </plurals> - <string name="kau_yes">Ja</string> - <string name="kau_permission_denied">Zugriff verweigert</string> + <string name="kau_about_app">Über diese App</string> + <string name="kau_about_x">Über %s</string> + <string name="kau_add_account">Konto hinzufügen</string> + <string name="kau_back">Zurück</string> + <string name="kau_cancel">Abbrechen</string> + <string name="kau_changelog">Änderungsprotokoll</string> + <string name="kau_close">Schließen</string> + <string name="kau_contact_us">Kontaktiere uns</string> + <string name="kau_copy">Kopieren</string> + <string name="kau_custom">Benutzerdefiniert</string> + <string name="kau_dark">Dunkel</string> + <string name="kau_default">Standard</string> + <string name="kau_do_not_show_again">Nicht mehr anzeigen</string> + <string name="kau_done">Fertig</string> + <string name="kau_error">Fehler</string> + <string name="kau_exit">Beenden</string> + <string name="kau_exit_confirmation">Bist du sicher, dass du die App verlassen möchtest?</string> + <string name="kau_exit_confirmation_x">Bist du sicher, dass du die App verlassen möchtest? %s?</string> + <string name="kau_glass">Glas</string> + <string name="kau_got_it">Verstanden</string> + <string name="kau_great">Großartig</string> + <string name="kau_hide">Verstecken</string> + <string name="kau_light">Hell</string> + <string name="kau_login">Anmelden</string> + <string name="kau_logout">Abmelden</string> + <string name="kau_logout_confirm_as_x">Sind Sie sicher, dass Sie als %s abmelden wollen?</string> + <string name="kau_manage_account">Konto verwalten</string> + <string name="kau_maybe">Vielleicht</string> + <string name="kau_menu">Menü</string> + <string name="kau_no">Nein</string> + <string name="kau_no_results_found">Keine Ergebnisse gefunden</string> + <string name="kau_none">Keine</string> + <string name="kau_ok">Ok</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Bewerten</string> + <string name="kau_report_bug">Einen Fehler melden</string> + <string name="kau_search">Suchen</string> + <string name="kau_send_feedback">Feedback senden</string> + <string name="kau_send_via">Senden via</string> + <string name="kau_settings">Einstellungen</string> + <string name="kau_share">Teilen</string> + <string name="kau_text_copied">Text in Zwischenablage kopiert.</string> + <string name="kau_thank_you">Danke</string> + <string name="kau_uh_oh">Huch</string> + <string name="kau_warning">Warnung</string> + <plurals name="kau_x_days"> + <item quantity="one">%d Tag</item> + <item quantity="other">%d Tage</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d Stunde</item> + <item quantity="other">%d Stunden</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d Minute</item> + <item quantity="other">%d Minuten</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d Sekunde</item> + <item quantity="other">%d Sekunden</item> + </plurals> + <string name="kau_yes">Ja</string> + <string name="kau_permission_denied">Zugriff verweigert</string> </resources> diff --git a/core/src/main/res-public/values-es-rES/strings_commons.xml b/core/src/main/res-public/values-es-rES/strings_commons.xml index 823fd03..7cab287 100644 --- a/core/src/main/res-public/values-es-rES/strings_commons.xml +++ b/core/src/main/res-public/values-es-rES/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Acerca de la aplicación</string> - <string name="kau_about_x">Acerca de %s</string> - <string name="kau_add_account">Agregar cuenta</string> - <string name="kau_back">Atrás</string> - <string name="kau_cancel">Cancelar</string> - <string name="kau_changelog">Registro de cambios</string> - <string name="kau_close">Cerrar</string> - <string name="kau_contact_us">Contáctanos</string> - <string name="kau_copy">Copiar</string> - <string name="kau_custom">Personalizado</string> - <string name="kau_dark">Oscuro</string> - <string name="kau_default">Predeterminado</string> - <string name="kau_do_not_show_again">No mostrar de nuevo</string> - <string name="kau_done">Listo</string> - <string name="kau_error">Error</string> - <string name="kau_exit">Salir</string> - <string name="kau_exit_confirmation">¿Estás seguro de querer salir?</string> - <string name="kau_exit_confirmation_x">¿Estás seguro de querer salir de %s?</string> - <string name="kau_glass">Cristal</string> - <string name="kau_got_it">Entendido</string> - <string name="kau_great">Genial</string> - <string name="kau_hide">Ocultar</string> - <string name="kau_light">Claro</string> - <string name="kau_login">Iniciar sesión</string> - <string name="kau_logout">Cerrar sesión</string> - <string name="kau_logout_confirm_as_x">¿Estás seguro de que quieres cerrar sesión %s?</string> - <string name="kau_manage_account">Administrar cuenta</string> - <string name="kau_maybe">Quizás</string> - <string name="kau_menu">Menú</string> - <string name="kau_no">No</string> - <string name="kau_no_results_found">No se encontraron resultados</string> - <string name="kau_none">Ninguno</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Calificar</string> - <string name="kau_report_bug">Informar de un error</string> - <string name="kau_search">Buscar</string> - <string name="kau_send_feedback">Enviar comentarios</string> - <string name="kau_send_via">Enviar vía</string> - <string name="kau_settings">Configuración</string> - <string name="kau_share">Compartir</string> - <string name="kau_text_copied">Texto copiado al portapapeles.</string> - <string name="kau_thank_you">Gracias</string> - <string name="kau_uh_oh">Oh, oh</string> - <string name="kau_warning">Advertencia</string> - <plurals name="kau_x_days"> - <item quantity="one">%d día</item> - <item quantity="other">%d días</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d hora</item> - <item quantity="other">%d horas</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minuto</item> - <item quantity="other">%d minutos</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d segundo</item> - <item quantity="other">%d segundos</item> - </plurals> - <string name="kau_yes">Sí</string> - <string name="kau_permission_denied">Permiso denegado</string> + <string name="kau_about_app">Acerca de la aplicación</string> + <string name="kau_about_x">Acerca de %s</string> + <string name="kau_add_account">Agregar cuenta</string> + <string name="kau_back">Atrás</string> + <string name="kau_cancel">Cancelar</string> + <string name="kau_changelog">Registro de cambios</string> + <string name="kau_close">Cerrar</string> + <string name="kau_contact_us">Contáctanos</string> + <string name="kau_copy">Copiar</string> + <string name="kau_custom">Personalizado</string> + <string name="kau_dark">Oscuro</string> + <string name="kau_default">Predeterminado</string> + <string name="kau_do_not_show_again">No mostrar de nuevo</string> + <string name="kau_done">Listo</string> + <string name="kau_error">Error</string> + <string name="kau_exit">Salir</string> + <string name="kau_exit_confirmation">¿Estás seguro de querer salir?</string> + <string name="kau_exit_confirmation_x">¿Estás seguro de querer salir de %s?</string> + <string name="kau_glass">Cristal</string> + <string name="kau_got_it">Entendido</string> + <string name="kau_great">Genial</string> + <string name="kau_hide">Ocultar</string> + <string name="kau_light">Claro</string> + <string name="kau_login">Iniciar sesión</string> + <string name="kau_logout">Cerrar sesión</string> + <string name="kau_logout_confirm_as_x">¿Estás seguro de que quieres cerrar sesión %s?</string> + <string name="kau_manage_account">Administrar cuenta</string> + <string name="kau_maybe">Quizás</string> + <string name="kau_menu">Menú</string> + <string name="kau_no">No</string> + <string name="kau_no_results_found">No se encontraron resultados</string> + <string name="kau_none">Ninguno</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Calificar</string> + <string name="kau_report_bug">Informar de un error</string> + <string name="kau_search">Buscar</string> + <string name="kau_send_feedback">Enviar comentarios</string> + <string name="kau_send_via">Enviar vía</string> + <string name="kau_settings">Configuración</string> + <string name="kau_share">Compartir</string> + <string name="kau_text_copied">Texto copiado al portapapeles.</string> + <string name="kau_thank_you">Gracias</string> + <string name="kau_uh_oh">Oh, oh</string> + <string name="kau_warning">Advertencia</string> + <plurals name="kau_x_days"> + <item quantity="one">%d día</item> + <item quantity="other">%d días</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d hora</item> + <item quantity="other">%d horas</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minuto</item> + <item quantity="other">%d minutos</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d segundo</item> + <item quantity="other">%d segundos</item> + </plurals> + <string name="kau_yes">Sí</string> + <string name="kau_permission_denied">Permiso denegado</string> </resources> diff --git a/core/src/main/res-public/values-fr-rFR/strings_commons.xml b/core/src/main/res-public/values-fr-rFR/strings_commons.xml index b9b2dca..2d681ff 100644 --- a/core/src/main/res-public/values-fr-rFR/strings_commons.xml +++ b/core/src/main/res-public/values-fr-rFR/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">À propos de l\'application</string> - <string name="kau_about_x">À propos de %s</string> - <string name="kau_add_account">Ajouter un compte</string> - <string name="kau_back">Retour</string> - <string name="kau_cancel">Annuler</string> - <string name="kau_changelog">Historiques des changements</string> - <string name="kau_close">Annuler</string> - <string name="kau_contact_us">Contactez nous</string> - <string name="kau_copy">Copier</string> - <string name="kau_custom">Personnalisé</string> - <string name="kau_dark">Sombre</string> - <string name="kau_default">Défaut</string> - <string name="kau_do_not_show_again">Ne plus afficher ce message</string> - <string name="kau_done">Terminé</string> - <string name="kau_error">Erreur</string> - <string name="kau_exit">Quitter</string> - <string name="kau_exit_confirmation">Êtes-vous sûr de vouloir quitter ?</string> - <string name="kau_exit_confirmation_x">Êtes-vous sûr de vouloir Quitter %s?</string> - <string name="kau_glass">Transparent</string> - <string name="kau_got_it">J\'ai compris</string> - <string name="kau_great">Super</string> - <string name="kau_hide">Masquer</string> - <string name="kau_light">Clair</string> - <string name="kau_login">Connexion</string> - <string name="kau_logout">Déconnexion</string> - <string name="kau_logout_confirm_as_x">Êtes-vous sûr(e) de vouloir vous déconnecter %s?</string> - <string name="kau_manage_account">Gérer compte</string> - <string name="kau_maybe">Peut-être</string> - <string name="kau_menu">Menu</string> - <string name="kau_no">Non</string> - <string name="kau_no_results_found">Aucun résultat trouvé</string> - <string name="kau_none">Aucun</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Noter</string> - <string name="kau_report_bug">Signaler un bug</string> - <string name="kau_search">Recherche</string> - <string name="kau_send_feedback">Envoyer un commentaire</string> - <string name="kau_send_via">Envoyer via</string> - <string name="kau_settings">Options</string> - <string name="kau_share">Partager</string> - <string name="kau_text_copied">Texte copié dans le Presse-papiers.</string> - <string name="kau_thank_you">Merci</string> - <string name="kau_uh_oh">Oups</string> - <string name="kau_warning">Attention</string> - <plurals name="kau_x_days"> - <item quantity="one">%d jour</item> - <item quantity="other">%d jours</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d heure</item> - <item quantity="other">%d heures</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minute</item> - <item quantity="other">%d minutes</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d seconde</item> - <item quantity="other">%d secondes</item> - </plurals> - <string name="kau_yes">Oui</string> - <string name="kau_permission_denied">Autorisation refusée</string> + <string name="kau_about_app">À propos de l\'application</string> + <string name="kau_about_x">À propos de %s</string> + <string name="kau_add_account">Ajouter un compte</string> + <string name="kau_back">Retour</string> + <string name="kau_cancel">Annuler</string> + <string name="kau_changelog">Historiques des changements</string> + <string name="kau_close">Annuler</string> + <string name="kau_contact_us">Contactez nous</string> + <string name="kau_copy">Copier</string> + <string name="kau_custom">Personnalisé</string> + <string name="kau_dark">Sombre</string> + <string name="kau_default">Défaut</string> + <string name="kau_do_not_show_again">Ne plus afficher ce message</string> + <string name="kau_done">Terminé</string> + <string name="kau_error">Erreur</string> + <string name="kau_exit">Quitter</string> + <string name="kau_exit_confirmation">Êtes-vous sûr de vouloir quitter ?</string> + <string name="kau_exit_confirmation_x">Êtes-vous sûr de vouloir Quitter %s?</string> + <string name="kau_glass">Transparent</string> + <string name="kau_got_it">J\'ai compris</string> + <string name="kau_great">Super</string> + <string name="kau_hide">Masquer</string> + <string name="kau_light">Clair</string> + <string name="kau_login">Connexion</string> + <string name="kau_logout">Déconnexion</string> + <string name="kau_logout_confirm_as_x">Êtes-vous sûr(e) de vouloir vous déconnecter %s?</string> + <string name="kau_manage_account">Gérer compte</string> + <string name="kau_maybe">Peut-être</string> + <string name="kau_menu">Menu</string> + <string name="kau_no">Non</string> + <string name="kau_no_results_found">Aucun résultat trouvé</string> + <string name="kau_none">Aucun</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Noter</string> + <string name="kau_report_bug">Signaler un bug</string> + <string name="kau_search">Recherche</string> + <string name="kau_send_feedback">Envoyer un commentaire</string> + <string name="kau_send_via">Envoyer via</string> + <string name="kau_settings">Options</string> + <string name="kau_share">Partager</string> + <string name="kau_text_copied">Texte copié dans le Presse-papiers.</string> + <string name="kau_thank_you">Merci</string> + <string name="kau_uh_oh">Oups</string> + <string name="kau_warning">Attention</string> + <plurals name="kau_x_days"> + <item quantity="one">%d jour</item> + <item quantity="other">%d jours</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d heure</item> + <item quantity="other">%d heures</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minute</item> + <item quantity="other">%d minutes</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d seconde</item> + <item quantity="other">%d secondes</item> + </plurals> + <string name="kau_yes">Oui</string> + <string name="kau_permission_denied">Autorisation refusée</string> </resources> diff --git a/core/src/main/res-public/values-gl-rES/strings_commons.xml b/core/src/main/res-public/values-gl-rES/strings_commons.xml index cb5f2e3..b9a5564 100644 --- a/core/src/main/res-public/values-gl-rES/strings_commons.xml +++ b/core/src/main/res-public/values-gl-rES/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Acerca da aplicación</string> - <string name="kau_about_x">Acerca de %s</string> - <string name="kau_add_account">Engadir conta</string> - <string name="kau_back">Volver</string> - <string name="kau_cancel">Cancelar</string> - <string name="kau_changelog">Rexistro de cambios</string> - <string name="kau_close">Pechar</string> - <string name="kau_contact_us">Contacta connosco</string> - <string name="kau_copy">Copiar</string> - <string name="kau_custom">Personalizar</string> - <string name="kau_dark">Escuro</string> - <string name="kau_default">Predefinido</string> - <string name="kau_do_not_show_again">Non volver mostrar máis</string> - <string name="kau_done">Feito</string> - <string name="kau_error">Erro</string> - <string name="kau_exit">Saír</string> - <string name="kau_exit_confirmation">Tes a certeza de querer saír?</string> - <string name="kau_exit_confirmation_x">Tes a certeza de querer saír de %s?</string> - <string name="kau_glass">Cristal</string> - <string name="kau_got_it">De acordo</string> - <string name="kau_great">Xenial</string> - <string name="kau_hide">Agochar</string> - <string name="kau_light">Claro</string> - <string name="kau_login">Iniciar sesión</string> - <string name="kau_logout">Pechar sesión</string> - <string name="kau_logout_confirm_as_x">Tes a certeza de querer saír como %s?</string> - <string name="kau_manage_account">Administrar conta</string> - <string name="kau_maybe">Quizais</string> - <string name="kau_menu">Menú</string> - <string name="kau_no">Non</string> - <string name="kau_no_results_found">Non se atoparon resultados</string> - <string name="kau_none">Ningún</string> - <string name="kau_ok">Aceptar</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Valorar</string> - <string name="kau_report_bug">Informar dun erro</string> - <string name="kau_search">Procurar</string> - <string name="kau_send_feedback">Enviar comentarios</string> - <string name="kau_send_via">Enviar vía</string> - <string name="kau_settings">Axustes</string> - <string name="kau_share">Compartir</string> - <string name="kau_text_copied">Texto copiado no portapapeis.</string> - <string name="kau_thank_you">Grazas</string> - <string name="kau_uh_oh">Vaites!</string> - <string name="kau_warning">Aviso</string> - <plurals name="kau_x_days"> - <item quantity="one">%d día</item> - <item quantity="other">%d días</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d hora</item> - <item quantity="other">%d horas</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minuto</item> - <item quantity="other">%d minutos</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d segundo</item> - <item quantity="other">%d segundos</item> - </plurals> - <string name="kau_yes">Si</string> - <string name="kau_permission_denied">Permiso denegado</string> + <string name="kau_about_app">Acerca da aplicación</string> + <string name="kau_about_x">Acerca de %s</string> + <string name="kau_add_account">Engadir conta</string> + <string name="kau_back">Volver</string> + <string name="kau_cancel">Cancelar</string> + <string name="kau_changelog">Rexistro de cambios</string> + <string name="kau_close">Pechar</string> + <string name="kau_contact_us">Contacta connosco</string> + <string name="kau_copy">Copiar</string> + <string name="kau_custom">Personalizar</string> + <string name="kau_dark">Escuro</string> + <string name="kau_default">Predefinido</string> + <string name="kau_do_not_show_again">Non volver mostrar máis</string> + <string name="kau_done">Feito</string> + <string name="kau_error">Erro</string> + <string name="kau_exit">Saír</string> + <string name="kau_exit_confirmation">Tes a certeza de querer saír?</string> + <string name="kau_exit_confirmation_x">Tes a certeza de querer saír de %s?</string> + <string name="kau_glass">Cristal</string> + <string name="kau_got_it">De acordo</string> + <string name="kau_great">Xenial</string> + <string name="kau_hide">Agochar</string> + <string name="kau_light">Claro</string> + <string name="kau_login">Iniciar sesión</string> + <string name="kau_logout">Pechar sesión</string> + <string name="kau_logout_confirm_as_x">Tes a certeza de querer saír como %s?</string> + <string name="kau_manage_account">Administrar conta</string> + <string name="kau_maybe">Quizais</string> + <string name="kau_menu">Menú</string> + <string name="kau_no">Non</string> + <string name="kau_no_results_found">Non se atoparon resultados</string> + <string name="kau_none">Ningún</string> + <string name="kau_ok">Aceptar</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Valorar</string> + <string name="kau_report_bug">Informar dun erro</string> + <string name="kau_search">Procurar</string> + <string name="kau_send_feedback">Enviar comentarios</string> + <string name="kau_send_via">Enviar vía</string> + <string name="kau_settings">Axustes</string> + <string name="kau_share">Compartir</string> + <string name="kau_text_copied">Texto copiado no portapapeis.</string> + <string name="kau_thank_you">Grazas</string> + <string name="kau_uh_oh">Vaites!</string> + <string name="kau_warning">Aviso</string> + <plurals name="kau_x_days"> + <item quantity="one">%d día</item> + <item quantity="other">%d días</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d hora</item> + <item quantity="other">%d horas</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minuto</item> + <item quantity="other">%d minutos</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d segundo</item> + <item quantity="other">%d segundos</item> + </plurals> + <string name="kau_yes">Si</string> + <string name="kau_permission_denied">Permiso denegado</string> </resources> diff --git a/core/src/main/res-public/values-hu-rHU/strings_commons.xml b/core/src/main/res-public/values-hu-rHU/strings_commons.xml index 67fdbbc..5488f1d 100644 --- a/core/src/main/res-public/values-hu-rHU/strings_commons.xml +++ b/core/src/main/res-public/values-hu-rHU/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Az appról</string> - <string name="kau_about_x">Erről: %s</string> - <string name="kau_add_account">Fiók hozzáadása</string> - <string name="kau_back">Vissza</string> - <string name="kau_cancel">Mégse</string> - <string name="kau_changelog">Újdonságok</string> - <string name="kau_close">Bezárás</string> - <string name="kau_contact_us">Lépjen kapcsolatba velünk</string> - <string name="kau_copy">Másolás</string> - <string name="kau_custom">Egyéni</string> - <string name="kau_dark">Sötét</string> - <string name="kau_default">Alapértelmezett</string> - <string name="kau_do_not_show_again">Ne jelenjen meg többet</string> - <string name="kau_done">Rendben</string> - <string name="kau_error">Hiba</string> - <string name="kau_exit">Kilépés</string> - <string name="kau_exit_confirmation">Biztosan ki akarsz lépni?</string> - <string name="kau_exit_confirmation_x">Biztosan kilépsz a következőből: %s?</string> - <string name="kau_glass">Üveg</string> - <string name="kau_got_it">Értem</string> - <string name="kau_great">Nagyszerű</string> - <string name="kau_hide">Elrejtés</string> - <string name="kau_light">Világos</string> - <string name="kau_login">Bejelentkezés</string> - <string name="kau_logout">Kijelentkezés</string> - <string name="kau_logout_confirm_as_x">Biztosan ki szeretnél jelentkezni a következőből: %s?</string> - <string name="kau_manage_account">Fiók kezelése</string> - <string name="kau_maybe">Talán</string> - <string name="kau_menu">Menü</string> - <string name="kau_no">Nem</string> - <string name="kau_no_results_found">Nincs találat</string> - <string name="kau_none">Egyik sem</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Áruház</string> - <string name="kau_rate">Értékelés</string> - <string name="kau_report_bug">Hibajelentés</string> - <string name="kau_search">Keresés</string> - <string name="kau_send_feedback">Visszajelzés küldése</string> - <string name="kau_send_via">Küldés a következővel</string> - <string name="kau_settings">Beállítások</string> - <string name="kau_share">Megosztás</string> - <string name="kau_text_copied">A szöveg vágólapra másolva.</string> - <string name="kau_thank_you">Köszönjük</string> - <string name="kau_uh_oh">Ajaj</string> - <string name="kau_warning">Figyelmeztetés</string> - <plurals name="kau_x_days"> - <item quantity="one">%d nap</item> - <item quantity="other">%d nap</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d óra</item> - <item quantity="other">%d óra</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d perc</item> - <item quantity="other">%d perc</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d másodperc</item> - <item quantity="other">%d másodperc</item> - </plurals> - <string name="kau_yes">Igen</string> - <string name="kau_permission_denied">Hozzáférés megtagadva</string> + <string name="kau_about_app">Az appról</string> + <string name="kau_about_x">Erről: %s</string> + <string name="kau_add_account">Fiók hozzáadása</string> + <string name="kau_back">Vissza</string> + <string name="kau_cancel">Mégse</string> + <string name="kau_changelog">Újdonságok</string> + <string name="kau_close">Bezárás</string> + <string name="kau_contact_us">Lépjen kapcsolatba velünk</string> + <string name="kau_copy">Másolás</string> + <string name="kau_custom">Egyéni</string> + <string name="kau_dark">Sötét</string> + <string name="kau_default">Alapértelmezett</string> + <string name="kau_do_not_show_again">Ne jelenjen meg többet</string> + <string name="kau_done">Rendben</string> + <string name="kau_error">Hiba</string> + <string name="kau_exit">Kilépés</string> + <string name="kau_exit_confirmation">Biztosan ki akarsz lépni?</string> + <string name="kau_exit_confirmation_x">Biztosan kilépsz a következőből: %s?</string> + <string name="kau_glass">Üveg</string> + <string name="kau_got_it">Értem</string> + <string name="kau_great">Nagyszerű</string> + <string name="kau_hide">Elrejtés</string> + <string name="kau_light">Világos</string> + <string name="kau_login">Bejelentkezés</string> + <string name="kau_logout">Kijelentkezés</string> + <string name="kau_logout_confirm_as_x">Biztosan ki szeretnél jelentkezni a következőből: %s?</string> + <string name="kau_manage_account">Fiók kezelése</string> + <string name="kau_maybe">Talán</string> + <string name="kau_menu">Menü</string> + <string name="kau_no">Nem</string> + <string name="kau_no_results_found">Nincs találat</string> + <string name="kau_none">Egyik sem</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Áruház</string> + <string name="kau_rate">Értékelés</string> + <string name="kau_report_bug">Hibajelentés</string> + <string name="kau_search">Keresés</string> + <string name="kau_send_feedback">Visszajelzés küldése</string> + <string name="kau_send_via">Küldés a következővel</string> + <string name="kau_settings">Beállítások</string> + <string name="kau_share">Megosztás</string> + <string name="kau_text_copied">A szöveg vágólapra másolva.</string> + <string name="kau_thank_you">Köszönjük</string> + <string name="kau_uh_oh">Ajaj</string> + <string name="kau_warning">Figyelmeztetés</string> + <plurals name="kau_x_days"> + <item quantity="one">%d nap</item> + <item quantity="other">%d nap</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d óra</item> + <item quantity="other">%d óra</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d perc</item> + <item quantity="other">%d perc</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d másodperc</item> + <item quantity="other">%d másodperc</item> + </plurals> + <string name="kau_yes">Igen</string> + <string name="kau_permission_denied">Hozzáférés megtagadva</string> </resources> diff --git a/core/src/main/res-public/values-it-rIT/strings_commons.xml b/core/src/main/res-public/values-it-rIT/strings_commons.xml index 054fcf9..821191e 100644 --- a/core/src/main/res-public/values-it-rIT/strings_commons.xml +++ b/core/src/main/res-public/values-it-rIT/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Info sull\'app</string> - <string name="kau_about_x">Informazioni su %s</string> - <string name="kau_add_account">Aggiungi Account</string> - <string name="kau_back">Indietro</string> - <string name="kau_cancel">Annulla</string> - <string name="kau_changelog">Novità</string> - <string name="kau_close">Chiudi</string> - <string name="kau_contact_us">Contattaci</string> - <string name="kau_copy">Copia</string> - <string name="kau_custom">Personalizzato</string> - <string name="kau_dark">Scuro</string> - <string name="kau_default">Predefinito</string> - <string name="kau_do_not_show_again">Non mostrare più</string> - <string name="kau_done">Fatto</string> - <string name="kau_error">Errore</string> - <string name="kau_exit">Esci</string> - <string name="kau_exit_confirmation">Confermi di voler uscire?</string> - <string name="kau_exit_confirmation_x">Confermi di voler uscire da %s?</string> - <string name="kau_glass">Vetro</string> - <string name="kau_got_it">Tutto chiaro</string> - <string name="kau_great">Ottimo</string> - <string name="kau_hide">Nascondi</string> - <string name="kau_light">Chiaro</string> - <string name="kau_login">Accedi</string> - <string name="kau_logout">Disconnetti</string> - <string name="kau_logout_confirm_as_x">Confermi di voler disconnettere %s?</string> - <string name="kau_manage_account">Gestisci Account</string> - <string name="kau_maybe">Forse</string> - <string name="kau_menu">Menu</string> - <string name="kau_no">No</string> - <string name="kau_no_results_found">Nessun risultato trovato</string> - <string name="kau_none">Nulla</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Recensisci</string> - <string name="kau_report_bug">Segnala un malfunzionamento</string> - <string name="kau_search">Cerca</string> - <string name="kau_send_feedback">Invia feedback</string> - <string name="kau_send_via">Invia tramite</string> - <string name="kau_settings">Impostazioni</string> - <string name="kau_share">Condividi</string> - <string name="kau_text_copied">Testo copiato negli appunti.</string> - <string name="kau_thank_you">Grazie</string> - <string name="kau_uh_oh">Uh Oh</string> - <string name="kau_warning">Attenzione</string> - <plurals name="kau_x_days"> - <item quantity="one">%d giorno</item> - <item quantity="other">%d giorni</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d ora</item> - <item quantity="other">%d ore</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minuto</item> - <item quantity="other">%d minuti</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d secondo</item> - <item quantity="other">%d secondi</item> - </plurals> - <string name="kau_yes">Sì</string> - <string name="kau_permission_denied">Permesso negato</string> + <string name="kau_about_app">Info sull\'app</string> + <string name="kau_about_x">Informazioni su %s</string> + <string name="kau_add_account">Aggiungi Account</string> + <string name="kau_back">Indietro</string> + <string name="kau_cancel">Annulla</string> + <string name="kau_changelog">Novità</string> + <string name="kau_close">Chiudi</string> + <string name="kau_contact_us">Contattaci</string> + <string name="kau_copy">Copia</string> + <string name="kau_custom">Personalizzato</string> + <string name="kau_dark">Scuro</string> + <string name="kau_default">Predefinito</string> + <string name="kau_do_not_show_again">Non mostrare più</string> + <string name="kau_done">Fatto</string> + <string name="kau_error">Errore</string> + <string name="kau_exit">Esci</string> + <string name="kau_exit_confirmation">Confermi di voler uscire?</string> + <string name="kau_exit_confirmation_x">Confermi di voler uscire da %s?</string> + <string name="kau_glass">Vetro</string> + <string name="kau_got_it">Tutto chiaro</string> + <string name="kau_great">Ottimo</string> + <string name="kau_hide">Nascondi</string> + <string name="kau_light">Chiaro</string> + <string name="kau_login">Accedi</string> + <string name="kau_logout">Disconnetti</string> + <string name="kau_logout_confirm_as_x">Confermi di voler disconnettere %s?</string> + <string name="kau_manage_account">Gestisci Account</string> + <string name="kau_maybe">Forse</string> + <string name="kau_menu">Menu</string> + <string name="kau_no">No</string> + <string name="kau_no_results_found">Nessun risultato trovato</string> + <string name="kau_none">Nulla</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Recensisci</string> + <string name="kau_report_bug">Segnala un malfunzionamento</string> + <string name="kau_search">Cerca</string> + <string name="kau_send_feedback">Invia feedback</string> + <string name="kau_send_via">Invia tramite</string> + <string name="kau_settings">Impostazioni</string> + <string name="kau_share">Condividi</string> + <string name="kau_text_copied">Testo copiato negli appunti.</string> + <string name="kau_thank_you">Grazie</string> + <string name="kau_uh_oh">Uh Oh</string> + <string name="kau_warning">Attenzione</string> + <plurals name="kau_x_days"> + <item quantity="one">%d giorno</item> + <item quantity="other">%d giorni</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d ora</item> + <item quantity="other">%d ore</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minuto</item> + <item quantity="other">%d minuti</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d secondo</item> + <item quantity="other">%d secondi</item> + </plurals> + <string name="kau_yes">Sì</string> + <string name="kau_permission_denied">Permesso negato</string> </resources> diff --git a/core/src/main/res-public/values-ko-rKR/strings_commons.xml b/core/src/main/res-public/values-ko-rKR/strings_commons.xml index 685efac..112e8d5 100644 --- a/core/src/main/res-public/values-ko-rKR/strings_commons.xml +++ b/core/src/main/res-public/values-ko-rKR/strings_commons.xml @@ -1,67 +1,65 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">이 앱에 대하여</string> - <string name="kau_about_x">%s 에 대하여</string> - <string name="kau_add_account">계정 추가</string> - <string name="kau_back">뒤로</string> - <string name="kau_cancel">취소</string> - <string name="kau_changelog">변경 사항</string> - <string name="kau_close">닫기</string> - <string name="kau_contact_us">문의하기</string> - <string name="kau_copy">복사</string> - <string name="kau_custom">사용자 지정</string> - <string name="kau_dark">어두움</string> - <string name="kau_default">기본</string> - <string name="kau_do_not_show_again">다시 보지 않기</string> - <string name="kau_done">완료</string> - <string name="kau_error">오류</string> - <string name="kau_exit">나가기</string> - <string name="kau_exit_confirmation">정말로 종료하시겠습니까?</string> - <string name="kau_exit_confirmation_x">정말로 %s 를 종료하시겠습니까?</string> - <string name="kau_glass">유리</string> - <string name="kau_got_it">확인</string> - <string name="kau_great">좋아요</string> - <string name="kau_hide">숨기기</string> - <string name="kau_light">밝음</string> - <string name="kau_login">로그인</string> - <string name="kau_logout">로그아웃</string> - <string name="kau_logout_confirm_as_x">%s 를 로그아웃 하시겠습니까?</string> - <string name="kau_manage_account">계정 관리</string> - <string name="kau_maybe">애매함</string> - <string name="kau_menu">메뉴</string> - <string name="kau_no">아니요</string> - <string name="kau_no_results_found">결과를 찾을 수 없습니다.</string> - <string name="kau_none">없음</string> - <string name="kau_ok">확인</string> - <string name="kau_play_store">Play 스토어</string> - <string name="kau_rate">평가</string> - <string name="kau_report_bug">버그 제보</string> - <string name="kau_search">검색</string> - <string name="kau_send_feedback">피드백 전송</string> - <string name="kau_send_via">전송 방법</string> - <string name="kau_settings">설정</string> - <string name="kau_share">공유</string> - <string name="kau_text_copied">텍스트가 클립보드에 복사되었습니다.</string> - <string name="kau_thank_you">감사합니다</string> - <string name="kau_uh_oh">이런</string> - <string name="kau_warning">경고</string> - <plurals name="kau_x_days"> - <item quantity="other">%d 일</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="other">%d 시간</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="other">%d 분</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="other">%d 초</item> - </plurals> - <string name="kau_yes">예</string> - <string name="kau_permission_denied">권한이 없습니다.</string> + <string name="kau_about_app">이 앱에 대하여</string> + <string name="kau_about_x">%s 에 대하여</string> + <string name="kau_add_account">계정 추가</string> + <string name="kau_back">뒤로</string> + <string name="kau_cancel">취소</string> + <string name="kau_changelog">변경 사항</string> + <string name="kau_close">닫기</string> + <string name="kau_contact_us">문의하기</string> + <string name="kau_copy">복사</string> + <string name="kau_custom">사용자 지정</string> + <string name="kau_dark">어두움</string> + <string name="kau_default">기본</string> + <string name="kau_do_not_show_again">다시 보지 않기</string> + <string name="kau_done">완료</string> + <string name="kau_error">오류</string> + <string name="kau_exit">나가기</string> + <string name="kau_exit_confirmation">정말로 종료하시겠습니까?</string> + <string name="kau_exit_confirmation_x">정말로 %s 를 종료하시겠습니까?</string> + <string name="kau_glass">유리</string> + <string name="kau_got_it">확인</string> + <string name="kau_great">좋아요</string> + <string name="kau_hide">숨기기</string> + <string name="kau_light">밝음</string> + <string name="kau_login">로그인</string> + <string name="kau_logout">로그아웃</string> + <string name="kau_logout_confirm_as_x">%s 를 로그아웃 하시겠습니까?</string> + <string name="kau_manage_account">계정 관리</string> + <string name="kau_maybe">애매함</string> + <string name="kau_menu">메뉴</string> + <string name="kau_no">아니요</string> + <string name="kau_no_results_found">결과를 찾을 수 없습니다.</string> + <string name="kau_none">없음</string> + <string name="kau_ok">확인</string> + <string name="kau_play_store">Play 스토어</string> + <string name="kau_rate">평가</string> + <string name="kau_report_bug">버그 제보</string> + <string name="kau_search">검색</string> + <string name="kau_send_feedback">피드백 전송</string> + <string name="kau_send_via">전송 방법</string> + <string name="kau_settings">설정</string> + <string name="kau_share">공유</string> + <string name="kau_text_copied">텍스트가 클립보드에 복사되었습니다.</string> + <string name="kau_thank_you">감사합니다</string> + <string name="kau_uh_oh">이런</string> + <string name="kau_warning">경고</string> + <plurals name="kau_x_days"> + <item quantity="other">%d 일</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="other">%d 시간</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="other">%d 분</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="other">%d 초</item> + </plurals> + <string name="kau_yes">예</string> + <string name="kau_permission_denied">권한이 없습니다.</string> </resources> diff --git a/core/src/main/res-public/values-no-rNO/strings_commons.xml b/core/src/main/res-public/values-no-rNO/strings_commons.xml index c9e00ef..c18b439 100644 --- a/core/src/main/res-public/values-no-rNO/strings_commons.xml +++ b/core/src/main/res-public/values-no-rNO/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Om appen</string> - <string name="kau_about_x">Om %s</string> - <string name="kau_add_account">Legg til en konto</string> - <string name="kau_back">Tilbake</string> - <string name="kau_cancel">Avbryt</string> - <string name="kau_changelog">Endringslogg</string> - <string name="kau_close">Lukk</string> - <string name="kau_contact_us">Kontakt oss</string> - <string name="kau_copy">Kopiér</string> - <string name="kau_custom">Tilpass</string> - <string name="kau_dark">Mørkt</string> - <string name="kau_default">Standard</string> - <string name="kau_do_not_show_again">Ikke vis meg dette igjen</string> - <string name="kau_done">Ferdig</string> - <string name="kau_error">Feil</string> - <string name="kau_exit">Avslutt</string> - <string name="kau_exit_confirmation">Er du sikker på at du vil avslutte?</string> - <string name="kau_exit_confirmation_x">Er du sikker på at du vil avslutte %s?</string> - <string name="kau_glass">Glass</string> - <string name="kau_got_it">Har det</string> - <string name="kau_great">Flott</string> - <string name="kau_hide">Gjem</string> - <string name="kau_light">Lyst</string> - <string name="kau_login">Logg inn</string> - <string name="kau_logout">Logg ut</string> - <string name="kau_logout_confirm_as_x">Er du sikker på at du vil logge ut som %s?</string> - <string name="kau_manage_account">Administrér konto</string> - <string name="kau_maybe">Kanskje</string> - <string name="kau_menu">Meny</string> - <string name="kau_no">Nei</string> - <string name="kau_no_results_found">Ingen resultater funnet</string> - <string name="kau_none">Ingen</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Butikk</string> - <string name="kau_rate">Vurdér</string> - <string name="kau_report_bug">Rapportér en feil</string> - <string name="kau_search">Søk</string> - <string name="kau_send_feedback">Send en tilbakemelding</string> - <string name="kau_send_via">Send via</string> - <string name="kau_settings">Innstillinger</string> - <string name="kau_share">Del</string> - <string name="kau_text_copied">Tekst kopiert til utklippstavlen.</string> - <string name="kau_thank_you">Tusen takk</string> - <string name="kau_uh_oh">Uff da</string> - <string name="kau_warning">Advarsel</string> - <plurals name="kau_x_days"> - <item quantity="one">%d dag</item> - <item quantity="other">%d dager</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d time</item> - <item quantity="other">%d timer</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minutt</item> - <item quantity="other">%d minutter</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d sekund</item> - <item quantity="other">%d sekunder</item> - </plurals> - <string name="kau_yes">Ja</string> - <string name="kau_permission_denied">Adgang nektet</string> + <string name="kau_about_app">Om appen</string> + <string name="kau_about_x">Om %s</string> + <string name="kau_add_account">Legg til en konto</string> + <string name="kau_back">Tilbake</string> + <string name="kau_cancel">Avbryt</string> + <string name="kau_changelog">Endringslogg</string> + <string name="kau_close">Lukk</string> + <string name="kau_contact_us">Kontakt oss</string> + <string name="kau_copy">Kopiér</string> + <string name="kau_custom">Tilpass</string> + <string name="kau_dark">Mørkt</string> + <string name="kau_default">Standard</string> + <string name="kau_do_not_show_again">Ikke vis meg dette igjen</string> + <string name="kau_done">Ferdig</string> + <string name="kau_error">Feil</string> + <string name="kau_exit">Avslutt</string> + <string name="kau_exit_confirmation">Er du sikker på at du vil avslutte?</string> + <string name="kau_exit_confirmation_x">Er du sikker på at du vil avslutte %s?</string> + <string name="kau_glass">Glass</string> + <string name="kau_got_it">Har det</string> + <string name="kau_great">Flott</string> + <string name="kau_hide">Gjem</string> + <string name="kau_light">Lyst</string> + <string name="kau_login">Logg inn</string> + <string name="kau_logout">Logg ut</string> + <string name="kau_logout_confirm_as_x">Er du sikker på at du vil logge ut som %s?</string> + <string name="kau_manage_account">Administrér konto</string> + <string name="kau_maybe">Kanskje</string> + <string name="kau_menu">Meny</string> + <string name="kau_no">Nei</string> + <string name="kau_no_results_found">Ingen resultater funnet</string> + <string name="kau_none">Ingen</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Butikk</string> + <string name="kau_rate">Vurdér</string> + <string name="kau_report_bug">Rapportér en feil</string> + <string name="kau_search">Søk</string> + <string name="kau_send_feedback">Send en tilbakemelding</string> + <string name="kau_send_via">Send via</string> + <string name="kau_settings">Innstillinger</string> + <string name="kau_share">Del</string> + <string name="kau_text_copied">Tekst kopiert til utklippstavlen.</string> + <string name="kau_thank_you">Tusen takk</string> + <string name="kau_uh_oh">Uff da</string> + <string name="kau_warning">Advarsel</string> + <plurals name="kau_x_days"> + <item quantity="one">%d dag</item> + <item quantity="other">%d dager</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d time</item> + <item quantity="other">%d timer</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minutt</item> + <item quantity="other">%d minutter</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d sekund</item> + <item quantity="other">%d sekunder</item> + </plurals> + <string name="kau_yes">Ja</string> + <string name="kau_permission_denied">Adgang nektet</string> </resources> diff --git a/core/src/main/res-public/values-pt-rBR/strings_commons.xml b/core/src/main/res-public/values-pt-rBR/strings_commons.xml index fde08cf..716e373 100644 --- a/core/src/main/res-public/values-pt-rBR/strings_commons.xml +++ b/core/src/main/res-public/values-pt-rBR/strings_commons.xml @@ -1,71 +1,69 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Sobre o Aplicativo</string> - <string name="kau_about_x">Sobre %s</string> - <string name="kau_add_account">Adicionar Conta</string> - <string name="kau_back">Voltar</string> - <string name="kau_cancel">Cancelar</string> - <string name="kau_changelog">Histórico de Alterações</string> - <string name="kau_close">Fechar</string> - <string name="kau_contact_us">Fale Conosco</string> - <string name="kau_copy">Copiar</string> - <string name="kau_custom">Personalizado</string> - <string name="kau_dark">Escuro</string> - <string name="kau_default">Padrão</string> - <string name="kau_do_not_show_again">Não mostrar novamente</string> - <string name="kau_done">Pronto</string> - <string name="kau_error">Erro</string> - <string name="kau_exit">Sair</string> - <string name="kau_exit_confirmation">Tem certeza que deseja sair?</string> - <string name="kau_exit_confirmation_x">Tem certeza que deseja sair do %s?</string> - <string name="kau_glass">Vidro</string> - <string name="kau_got_it">Entendi</string> - <string name="kau_great">Ótimo</string> - <string name="kau_hide">Esconder</string> - <string name="kau_light">Claro</string> - <string name="kau_login">Entrar</string> - <string name="kau_logout">Sair</string> - <string name="kau_logout_confirm_as_x">Tem certeza que deseja sair como %s?</string> - <string name="kau_manage_account">Gerenciar Conta</string> - <string name="kau_maybe">Talvez</string> - <string name="kau_menu">Menu</string> - <string name="kau_no">Não</string> - <string name="kau_no_results_found">Nenhum Resultado Encontrado</string> - <string name="kau_none">Nenhum</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Play Store</string> - <string name="kau_rate">Avaliar</string> - <string name="kau_report_bug">Relatar um Bug</string> - <string name="kau_search">Pesquisar</string> - <string name="kau_send_feedback">Enviar Feedback</string> - <string name="kau_send_via">Enviar via</string> - <string name="kau_settings">Configurações</string> - <string name="kau_share">Compartilhar</string> - <string name="kau_text_copied">Texto copiado para área de transferência.</string> - <string name="kau_thank_you">Obrigado</string> - <string name="kau_uh_oh">Uh Oh</string> - <string name="kau_warning">Aviso</string> - <plurals name="kau_x_days"> - <item quantity="one">%d dia</item> - <item quantity="other">%d dias</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="one">%d hora</item> - <item quantity="other">%d horas</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="one">%d minuto</item> - <item quantity="other">%d minutos</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="one">%d segundo</item> - <item quantity="other">%d segundos</item> - </plurals> - <string name="kau_yes">Sim</string> - <string name="kau_permission_denied">Permissão negada</string> + <string name="kau_about_app">Sobre o Aplicativo</string> + <string name="kau_about_x">Sobre %s</string> + <string name="kau_add_account">Adicionar Conta</string> + <string name="kau_back">Voltar</string> + <string name="kau_cancel">Cancelar</string> + <string name="kau_changelog">Histórico de Alterações</string> + <string name="kau_close">Fechar</string> + <string name="kau_contact_us">Fale Conosco</string> + <string name="kau_copy">Copiar</string> + <string name="kau_custom">Personalizado</string> + <string name="kau_dark">Escuro</string> + <string name="kau_default">Padrão</string> + <string name="kau_do_not_show_again">Não mostrar novamente</string> + <string name="kau_done">Pronto</string> + <string name="kau_error">Erro</string> + <string name="kau_exit">Sair</string> + <string name="kau_exit_confirmation">Tem certeza que deseja sair?</string> + <string name="kau_exit_confirmation_x">Tem certeza que deseja sair do %s?</string> + <string name="kau_glass">Vidro</string> + <string name="kau_got_it">Entendi</string> + <string name="kau_great">Ótimo</string> + <string name="kau_hide">Esconder</string> + <string name="kau_light">Claro</string> + <string name="kau_login">Entrar</string> + <string name="kau_logout">Sair</string> + <string name="kau_logout_confirm_as_x">Tem certeza que deseja sair como %s?</string> + <string name="kau_manage_account">Gerenciar Conta</string> + <string name="kau_maybe">Talvez</string> + <string name="kau_menu">Menu</string> + <string name="kau_no">Não</string> + <string name="kau_no_results_found">Nenhum Resultado Encontrado</string> + <string name="kau_none">Nenhum</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Play Store</string> + <string name="kau_rate">Avaliar</string> + <string name="kau_report_bug">Relatar um Bug</string> + <string name="kau_search">Pesquisar</string> + <string name="kau_send_feedback">Enviar Feedback</string> + <string name="kau_send_via">Enviar via</string> + <string name="kau_settings">Configurações</string> + <string name="kau_share">Compartilhar</string> + <string name="kau_text_copied">Texto copiado para área de transferência.</string> + <string name="kau_thank_you">Obrigado</string> + <string name="kau_uh_oh">Uh Oh</string> + <string name="kau_warning">Aviso</string> + <plurals name="kau_x_days"> + <item quantity="one">%d dia</item> + <item quantity="other">%d dias</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="one">%d hora</item> + <item quantity="other">%d horas</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="one">%d minuto</item> + <item quantity="other">%d minutos</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="one">%d segundo</item> + <item quantity="other">%d segundos</item> + </plurals> + <string name="kau_yes">Sim</string> + <string name="kau_permission_denied">Permissão negada</string> </resources> diff --git a/core/src/main/res-public/values-vi-rVN/strings_commons.xml b/core/src/main/res-public/values-vi-rVN/strings_commons.xml index e42087d..767e628 100644 --- a/core/src/main/res-public/values-vi-rVN/strings_commons.xml +++ b/core/src/main/res-public/values-vi-rVN/strings_commons.xml @@ -1,67 +1,65 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">Giới thiệu</string> - <string name="kau_about_x">Giới thiệu về %s</string> - <string name="kau_add_account">Thêm tài khoản</string> - <string name="kau_back">Quay lại</string> - <string name="kau_cancel">Bỏ</string> - <string name="kau_changelog">Nhật ký thay đổi</string> - <string name="kau_close">Đóng</string> - <string name="kau_contact_us">Liên hệ với chúng tôi</string> - <string name="kau_copy">Sao chép</string> - <string name="kau_custom">Khác</string> - <string name="kau_dark">Tối</string> - <string name="kau_default">Mặc định</string> - <string name="kau_do_not_show_again">Không hiện lại</string> - <string name="kau_done">Xong</string> - <string name="kau_error">Lỗi</string> - <string name="kau_exit">Thoát</string> - <string name="kau_exit_confirmation">Bạn chắc chắn muốn thoát?</string> - <string name="kau_exit_confirmation_x">Bạn chắc chắn muốn thoát %s?</string> - <string name="kau_glass">Trong suốt</string> - <string name="kau_got_it">Được rồi</string> - <string name="kau_great">Tuyệt</string> - <string name="kau_hide">Ẩn</string> - <string name="kau_light">Sáng</string> - <string name="kau_login">Đăng nhập</string> - <string name="kau_logout">Đăng xuất</string> - <string name="kau_logout_confirm_as_x">Bạn chắc chắn muốn đăng xuất %s?</string> - <string name="kau_manage_account">Quản lý tài khoản</string> - <string name="kau_maybe">Có thể</string> - <string name="kau_menu">Menu</string> - <string name="kau_no">Không</string> - <string name="kau_no_results_found">Không tìm thấy kết quả nào</string> - <string name="kau_none">Trống</string> - <string name="kau_ok">OK</string> - <string name="kau_play_store">Cửa hàng Play</string> - <string name="kau_rate">Đánh giá</string> - <string name="kau_report_bug">Báo cáo lỗi</string> - <string name="kau_search">Tìm</string> - <string name="kau_send_feedback">Gửi phản hồi</string> - <string name="kau_send_via">Gửi bằng</string> - <string name="kau_settings">Thiết lập</string> - <string name="kau_share">Chia sẻ</string> - <string name="kau_text_copied">Đã chép vào bộ nhớ tạm.</string> - <string name="kau_thank_you">Cảm ơn</string> - <string name="kau_uh_oh">Ồ…</string> - <string name="kau_warning">Cảnh báo</string> - <plurals name="kau_x_days"> - <item quantity="other">%d ngày</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="other">%d giờ</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="other">%d phút</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="other">%d giây</item> - </plurals> - <string name="kau_yes">Đồng ý</string> - <string name="kau_permission_denied">Quyền bị từ chối</string> + <string name="kau_about_app">Giới thiệu</string> + <string name="kau_about_x">Giới thiệu về %s</string> + <string name="kau_add_account">Thêm tài khoản</string> + <string name="kau_back">Quay lại</string> + <string name="kau_cancel">Bỏ</string> + <string name="kau_changelog">Nhật ký thay đổi</string> + <string name="kau_close">Đóng</string> + <string name="kau_contact_us">Liên hệ với chúng tôi</string> + <string name="kau_copy">Sao chép</string> + <string name="kau_custom">Khác</string> + <string name="kau_dark">Tối</string> + <string name="kau_default">Mặc định</string> + <string name="kau_do_not_show_again">Không hiện lại</string> + <string name="kau_done">Xong</string> + <string name="kau_error">Lỗi</string> + <string name="kau_exit">Thoát</string> + <string name="kau_exit_confirmation">Bạn chắc chắn muốn thoát?</string> + <string name="kau_exit_confirmation_x">Bạn chắc chắn muốn thoát %s?</string> + <string name="kau_glass">Trong suốt</string> + <string name="kau_got_it">Được rồi</string> + <string name="kau_great">Tuyệt</string> + <string name="kau_hide">Ẩn</string> + <string name="kau_light">Sáng</string> + <string name="kau_login">Đăng nhập</string> + <string name="kau_logout">Đăng xuất</string> + <string name="kau_logout_confirm_as_x">Bạn chắc chắn muốn đăng xuất %s?</string> + <string name="kau_manage_account">Quản lý tài khoản</string> + <string name="kau_maybe">Có thể</string> + <string name="kau_menu">Menu</string> + <string name="kau_no">Không</string> + <string name="kau_no_results_found">Không tìm thấy kết quả nào</string> + <string name="kau_none">Trống</string> + <string name="kau_ok">OK</string> + <string name="kau_play_store">Cửa hàng Play</string> + <string name="kau_rate">Đánh giá</string> + <string name="kau_report_bug">Báo cáo lỗi</string> + <string name="kau_search">Tìm</string> + <string name="kau_send_feedback">Gửi phản hồi</string> + <string name="kau_send_via">Gửi bằng</string> + <string name="kau_settings">Thiết lập</string> + <string name="kau_share">Chia sẻ</string> + <string name="kau_text_copied">Đã chép vào bộ nhớ tạm.</string> + <string name="kau_thank_you">Cảm ơn</string> + <string name="kau_uh_oh">Ồ…</string> + <string name="kau_warning">Cảnh báo</string> + <plurals name="kau_x_days"> + <item quantity="other">%d ngày</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="other">%d giờ</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="other">%d phút</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="other">%d giây</item> + </plurals> + <string name="kau_yes">Đồng ý</string> + <string name="kau_permission_denied">Quyền bị từ chối</string> </resources> diff --git a/core/src/main/res-public/values-zh-rCN/strings_commons.xml b/core/src/main/res-public/values-zh-rCN/strings_commons.xml index aa8de17..47ddbda 100644 --- a/core/src/main/res-public/values-zh-rCN/strings_commons.xml +++ b/core/src/main/res-public/values-zh-rCN/strings_commons.xml @@ -1,67 +1,65 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!--Generated by crowdin.com--> -<!-- +<?xml version="1.0" encoding="utf-8" standalone="no"?><!--Generated by crowdin.com--><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> <resources> - <string name="kau_about_app">关于应用程序</string> - <string name="kau_about_x">关于 %s</string> - <string name="kau_add_account">添加帐户</string> - <string name="kau_back">后退</string> - <string name="kau_cancel">取消</string> - <string name="kau_changelog">更新日志</string> - <string name="kau_close">关闭</string> - <string name="kau_contact_us">联系我们</string> - <string name="kau_copy">复制</string> - <string name="kau_custom">自定义</string> - <string name="kau_dark">暗</string> - <string name="kau_default">默认</string> - <string name="kau_do_not_show_again">不再显示</string> - <string name="kau_done">完成</string> - <string name="kau_error">错误</string> - <string name="kau_exit">退出</string> - <string name="kau_exit_confirmation">您确定要退出吗?</string> - <string name="kau_exit_confirmation_x">您确定要退出%s吗?</string> - <string name="kau_glass">玻璃</string> - <string name="kau_got_it">已了解</string> - <string name="kau_great">太棒了</string> - <string name="kau_hide">隐藏</string> - <string name="kau_light">亮</string> - <string name="kau_login">登录</string> - <string name="kau_logout">注销</string> - <string name="kau_logout_confirm_as_x">您确定要退出%s吗?</string> - <string name="kau_manage_account">管理帐户</string> - <string name="kau_maybe">可能吧</string> - <string name="kau_menu">菜单</string> - <string name="kau_no">否</string> - <string name="kau_no_results_found">未找到任何結果</string> - <string name="kau_none">无</string> - <string name="kau_ok">确定</string> - <string name="kau_play_store">Play 商店</string> - <string name="kau_rate">评分</string> - <string name="kau_report_bug">报告Bug</string> - <string name="kau_search">搜索</string> - <string name="kau_send_feedback">发送反馈信息</string> - <string name="kau_send_via">发送至</string> - <string name="kau_settings">设置</string> - <string name="kau_share">分享</string> - <string name="kau_text_copied">文本已复制到剪贴板。</string> - <string name="kau_thank_you">谢谢</string> - <string name="kau_uh_oh">啊呃!</string> - <string name="kau_warning">警告</string> - <plurals name="kau_x_days"> - <item quantity="other">%d 天</item> - </plurals> - <plurals name="kau_x_hours"> - <item quantity="other">%d 小时</item> - </plurals> - <plurals name="kau_x_minutes"> - <item quantity="other">%d 分钟</item> - </plurals> - <plurals name="kau_x_seconds"> - <item quantity="other">%d 秒</item> - </plurals> - <string name="kau_yes">是的</string> - <string name="kau_permission_denied">权限被拒绝</string> + <string name="kau_about_app">关于应用程序</string> + <string name="kau_about_x">关于 %s</string> + <string name="kau_add_account">添加帐户</string> + <string name="kau_back">后退</string> + <string name="kau_cancel">取消</string> + <string name="kau_changelog">更新日志</string> + <string name="kau_close">关闭</string> + <string name="kau_contact_us">联系我们</string> + <string name="kau_copy">复制</string> + <string name="kau_custom">自定义</string> + <string name="kau_dark">暗</string> + <string name="kau_default">默认</string> + <string name="kau_do_not_show_again">不再显示</string> + <string name="kau_done">完成</string> + <string name="kau_error">错误</string> + <string name="kau_exit">退出</string> + <string name="kau_exit_confirmation">您确定要退出吗?</string> + <string name="kau_exit_confirmation_x">您确定要退出%s吗?</string> + <string name="kau_glass">玻璃</string> + <string name="kau_got_it">已了解</string> + <string name="kau_great">太棒了</string> + <string name="kau_hide">隐藏</string> + <string name="kau_light">亮</string> + <string name="kau_login">登录</string> + <string name="kau_logout">注销</string> + <string name="kau_logout_confirm_as_x">您确定要退出%s吗?</string> + <string name="kau_manage_account">管理帐户</string> + <string name="kau_maybe">可能吧</string> + <string name="kau_menu">菜单</string> + <string name="kau_no">否</string> + <string name="kau_no_results_found">未找到任何結果</string> + <string name="kau_none">无</string> + <string name="kau_ok">确定</string> + <string name="kau_play_store">Play 商店</string> + <string name="kau_rate">评分</string> + <string name="kau_report_bug">报告Bug</string> + <string name="kau_search">搜索</string> + <string name="kau_send_feedback">发送反馈信息</string> + <string name="kau_send_via">发送至</string> + <string name="kau_settings">设置</string> + <string name="kau_share">分享</string> + <string name="kau_text_copied">文本已复制到剪贴板。</string> + <string name="kau_thank_you">谢谢</string> + <string name="kau_uh_oh">啊呃!</string> + <string name="kau_warning">警告</string> + <plurals name="kau_x_days"> + <item quantity="other">%d 天</item> + </plurals> + <plurals name="kau_x_hours"> + <item quantity="other">%d 小时</item> + </plurals> + <plurals name="kau_x_minutes"> + <item quantity="other">%d 分钟</item> + </plurals> + <plurals name="kau_x_seconds"> + <item quantity="other">%d 秒</item> + </plurals> + <string name="kau_yes">是的</string> + <string name="kau_permission_denied">权限被拒绝</string> </resources> diff --git a/core/src/main/res-public/values/public.xml b/core/src/main/res-public/values/public.xml index f831c6d..c309a70 100644 --- a/core/src/main/res-public/values/public.xml +++ b/core/src/main/res-public/values/public.xml @@ -1,5 +1,5 @@ <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_exit_slide_bottom' type='transition' /> <public name='kau_exit_slide_left' type='transition' /> <public name='kau_enter_slide_right' type='transition' /> diff --git a/core/src/main/res-public/values/strings_commons.xml b/core/src/main/res-public/values/strings_commons.xml index bb95d23..7dc32e7 100644 --- a/core/src/main/res-public/values/strings_commons.xml +++ b/core/src/main/res-public/values/strings_commons.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- +<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- A collection of common string values Most resources are verbatim and x represents a formatted item --> diff --git a/core/src/main/res-public/values/styles.xml b/core/src/main/res-public/values/styles.xml index bdbc84f..318c427 100644 --- a/core/src/main/res-public/values/styles.xml +++ b/core/src/main/res-public/values/styles.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8" standalone="no"?> <resources> - <style name="Kau" parent="Theme.AppCompat.NoActionBar"/> + + <style name="Kau" parent="Theme.AppCompat.NoActionBar" /> <style name="Kau.Translucent"> <item name="android:windowBackground">@color/kau_shadow_overlay</item> diff --git a/core/src/main/res-public/values/styles_animations.xml b/core/src/main/res-public/values/styles_animations.xml index b98add9..d650a9e 100644 --- a/core/src/main/res-public/values/styles_animations.xml +++ b/core/src/main/res-public/values/styles_animations.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <resources> + <style name="KauFadeIn" parent="@android:style/Animation.Activity"> <item name="android:activityOpenEnterAnimation">@anim/kau_fade_in</item> <item name="android:activityCloseEnterAnimation">@anim/kau_fade_in</item> diff --git a/core/src/main/res/values/attr.xml b/core/src/main/res/values/attr.xml index f02c219..b100e6d 100644 --- a/core/src/main/res/values/attr.xml +++ b/core/src/main/res/values/attr.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="utf-8" standalone="no"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> <declare-styleable name="MeasureSpecDelegate"> - <attr format="float" name="relativeWidth"/> - <attr format="float" name="relativeWidthToParent"/> - <attr format="float" name="postRelativeWidth"/> - <attr format="float" name="relativeHeight"/> - <attr format="float" name="relativeHeightToParent"/> - <attr format="float" name="postRelativeHeight"/> + <attr format="float" name="relativeWidth" /> + <attr format="float" name="relativeWidthToParent" /> + <attr format="float" name="postRelativeWidth" /> + <attr format="float" name="relativeHeight" /> + <attr format="float" name="relativeHeightToParent" /> + <attr format="float" name="postRelativeHeight" /> </declare-styleable> </resources> diff --git a/core/src/main/res/values/ids.xml b/core/src/main/res/values/ids.xml index 28ff9d9..48fe66f 100644 --- a/core/src/main/res/values/ids.xml +++ b/core/src/main/res/values/ids.xml @@ -1,22 +1,22 @@ <?xml version="1.0" encoding="utf-8" standalone="no"?> <resources> - <item name="kau_item_about_main" type="id"/> - <item name="kau_item_account" type="id"/> - <item name="kau_item_card" type="id"/> - <item name="kau_item_cutout" type="id"/> - <item name="kau_item_header_big_margin_top" type="id"/> - <item name="kau_item_library" type="id"/> - <item name="kau_item_faq" type="id"/> + <item name="kau_item_about_main" type="id" /> + <item name="kau_item_account" type="id" /> + <item name="kau_item_card" type="id" /> + <item name="kau_item_cutout" type="id" /> + <item name="kau_item_header_big_margin_top" type="id" /> + <item name="kau_item_library" type="id" /> + <item name="kau_item_faq" type="id" /> - <item name="kau_item_pref_checkbox" type="id"/> - <item name="kau_item_pref_color_picker" type="id"/> - <item name="kau_item_pref_header" type="id"/> - <item name="kau_item_pref_plain_text" type="id"/> - <item name="kau_item_pref_seekbar" type="id"/> - <item name="kau_item_pref_sub_item" type="id"/> - <item name="kau_item_pref_time_picker" type="id"/> - <item name="kau_item_pref_text" type="id"/> - <item name="kau_item_search" type="id"/> - <item name="kau_pref_inner_content" type="id"/> - <item name="kau_pref_lower_content" type="id"/> + <item name="kau_item_pref_checkbox" type="id" /> + <item name="kau_item_pref_color_picker" type="id" /> + <item name="kau_item_pref_header" type="id" /> + <item name="kau_item_pref_plain_text" type="id" /> + <item name="kau_item_pref_seekbar" type="id" /> + <item name="kau_item_pref_sub_item" type="id" /> + <item name="kau_item_pref_time_picker" type="id" /> + <item name="kau_item_pref_text" type="id" /> + <item name="kau_item_search" type="id" /> + <item name="kau_pref_inner_content" type="id" /> + <item name="kau_pref_lower_content" type="id" /> </resources> diff --git a/core/src/test/kotlin/ca/allanwang/kau/kotlin/ZipTest.kt b/core/src/test/kotlin/ca/allanwang/kau/kotlin/ZipTest.kt index 4a04142..7eeffaf 100644 --- a/core/src/test/kotlin/ca/allanwang/kau/kotlin/ZipTest.kt +++ b/core/src/test/kotlin/ca/allanwang/kau/kotlin/ZipTest.kt @@ -24,8 +24,7 @@ class ZipTest { val latch = CountDownLatch(1) val rnd = Random() (0..10).map { - { - callback: ZipCallback<Int> -> + { callback: ZipCallback<Int> -> doAsync { val sleepTime = rnd.nextInt(100) + 200L p("Task $it will sleep for ${sleepTime}ms") @@ -35,8 +34,7 @@ class ZipTest { callback(it) }; Unit } - }.zip(-1) { - results -> + }.zip(-1) { results -> val finish = System.currentTimeMillis() println("Results ${results.contentToString()} received in ${finish - start}ms at $finish") assertTrue((0..10).toList().toTypedArray().contentEquals(results), "Basic zip results do not match") diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt index 88692c4..708c133 100644 --- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt +++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefCheckbox.kt @@ -1,7 +1,6 @@ package ca.allanwang.kau.kpref.activity.items import android.support.v7.widget.AppCompatCheckBox -import android.view.View import android.widget.CheckBox import ca.allanwang.kau.kpref.activity.KClick import ca.allanwang.kau.kpref.activity.R diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt index e0bea4f..bbf4d5c 100644 --- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt +++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefColorPicker.kt @@ -7,7 +7,6 @@ import ca.allanwang.kau.colorpicker.colorPickerDialog import ca.allanwang.kau.kpref.activity.GlobalOptions import ca.allanwang.kau.kpref.activity.KClick import ca.allanwang.kau.kpref.activity.R -import ca.allanwang.kau.utils.string /** * Created by Allan Wang on 2017-06-07. diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt index 3135bb3..10da26d 100644 --- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt +++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefHeader.kt @@ -1,6 +1,5 @@ package ca.allanwang.kau.kpref.activity.items -import android.view.View import ca.allanwang.kau.kpref.activity.R /** diff --git a/kpref-activity/src/main/res-public/values/ids.xml b/kpref-activity/src/main/res-public/values/ids.xml index 3bd69ed..8622e21 100644 --- a/kpref-activity/src/main/res-public/values/ids.xml +++ b/kpref-activity/src/main/res-public/values/ids.xml @@ -1,19 +1,19 @@ <?xml version="1.0" encoding="utf-8" standalone="no"?> <resources> - <item name="kau_pref_barrier" type="id"/> - <item name="kau_pref_container" type="id"/> - <item name="kau_pref_desc" type="id"/> - <item name="kau_pref_icon" type="id"/> - <item name="kau_pref_inner_content" type="id"/> - <item name="kau_pref_inner_frame" type="id"/> - <item name="kau_pref_item_checkbox" type="id"/> - <item name="kau_pref_item_color_picker" type="id"/> - <item name="kau_pref_item_header" type="id"/> - <item name="kau_pref_item_plain_text" type="id"/> - <item name="kau_pref_item_seekbar" type="id"/> - <item name="kau_pref_item_sub_item" type="id"/> - <item name="kau_pref_item_text" type="id"/> - <item name="kau_pref_lower_content" type="id"/> - <item name="kau_pref_lower_frame" type="id"/> - <item name="kau_pref_title" type="id"/> + <item name="kau_pref_barrier" type="id" /> + <item name="kau_pref_container" type="id" /> + <item name="kau_pref_desc" type="id" /> + <item name="kau_pref_icon" type="id" /> + <item name="kau_pref_inner_content" type="id" /> + <item name="kau_pref_inner_frame" type="id" /> + <item name="kau_pref_item_checkbox" type="id" /> + <item name="kau_pref_item_color_picker" type="id" /> + <item name="kau_pref_item_header" type="id" /> + <item name="kau_pref_item_plain_text" type="id" /> + <item name="kau_pref_item_seekbar" type="id" /> + <item name="kau_pref_item_sub_item" type="id" /> + <item name="kau_pref_item_text" type="id" /> + <item name="kau_pref_lower_content" type="id" /> + <item name="kau_pref_lower_frame" type="id" /> + <item name="kau_pref_title" type="id" /> </resources> diff --git a/kpref-activity/src/main/res-public/values/public.xml b/kpref-activity/src/main/res-public/values/public.xml index b5fb383..bd4f615 100644 --- a/kpref-activity/src/main/res-public/values/public.xml +++ b/kpref-activity/src/main/res-public/values/public.xml @@ -1,5 +1,5 @@ <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_pref_barrier' type='id' /> <public name='kau_pref_container' type='id' /> <public name='kau_pref_desc' type='id' /> diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt index bf58a30..87f5a42 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt @@ -19,9 +19,9 @@ import com.bumptech.glide.request.RequestOptions /** * Image picker launchers */ -fun Activity.kauLaunchMediaPicker(clazz: Class<out MediaPickerCore<*>>, requestCode: Int) { - startActivityForResult(clazz, requestCode, bundleBuilder = { - if (MediaPickerActivityOverlayBase::class.java.isAssignableFrom(clazz)) +inline fun <reified T : MediaPickerCore<*>> Activity.kauLaunchMediaPicker(requestCode: Int) { + startActivityForResult<T>(requestCode, bundleBuilder = { + if (MediaPickerActivityOverlayBase::class.java.isAssignableFrom(T::class.java)) withSceneTransitionAnimation(this@kauLaunchMediaPicker) }) } diff --git a/mediapicker/src/main/res-public/values/public.xml b/mediapicker/src/main/res-public/values/public.xml index 3c6f0fa..41bcbfd 100644 --- a/mediapicker/src/main/res-public/values/public.xml +++ b/mediapicker/src/main/res-public/values/public.xml @@ -1,5 +1,5 @@ <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.MediaPicker' type='style' /> <public name='Kau.MediaPicker.Overlay' type='style' /> <public name='kau_blurred_image_selection_overlay' type='color' /> diff --git a/mediapicker/src/main/res/values-de-rDE/strings_mediapicker.xml b/mediapicker/src/main/res/values-de-rDE/strings_mediapicker.xml index 85b99f3..ae441cc 100644 --- a/mediapicker/src/main/res/values-de-rDE/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-de-rDE/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Keine Elemente gefunden</string> - <string name="kau_no_items_selected">Keine Datei ausgewählt</string> - <string name="kau_no_items_loaded">Keine Datei geladen</string> - <string name="kau_no_camera_found">Keine Kamera gefunden</string> - <string name="kau_no_camera_found_content">Bitte installieren Sie eine Kamera App und versuchen es erneut.</string> - <string name="kau_temp_file_creation_failed">Temporäre Datei konnte nicht erstellt werden.</string> - <string name="kau_select_media">Wähle Mediendatei</string> + <string name="kau_no_items_found">Keine Elemente gefunden</string> + <string name="kau_no_items_selected">Keine Datei ausgewählt</string> + <string name="kau_no_items_loaded">Keine Datei geladen</string> + <string name="kau_no_camera_found">Keine Kamera gefunden</string> + <string name="kau_no_camera_found_content">Bitte installieren Sie eine Kamera App und versuchen es erneut.</string> + <string name="kau_temp_file_creation_failed">Temporäre Datei konnte nicht erstellt werden.</string> + <string name="kau_select_media">Wähle Mediendatei</string> </resources> diff --git a/mediapicker/src/main/res/values-es-rES/strings_mediapicker.xml b/mediapicker/src/main/res/values-es-rES/strings_mediapicker.xml index b7e164b..21da558 100644 --- a/mediapicker/src/main/res/values-es-rES/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-es-rES/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">No se encontraron elementos</string> - <string name="kau_no_items_selected">No se han seleccionado elementos</string> - <string name="kau_no_items_loaded">No hay elementos cargados</string> - <string name="kau_no_camera_found">No se ha encontrado ninguna cámara</string> - <string name="kau_no_camera_found_content">Por favor, instala una app de la cámara y vuelve a intentarlo.</string> - <string name="kau_temp_file_creation_failed">Error al crear archivo temporal.</string> - <string name="kau_select_media">Seleccionar medios</string> + <string name="kau_no_items_found">No se encontraron elementos</string> + <string name="kau_no_items_selected">No se han seleccionado elementos</string> + <string name="kau_no_items_loaded">No hay elementos cargados</string> + <string name="kau_no_camera_found">No se ha encontrado ninguna cámara</string> + <string name="kau_no_camera_found_content">Por favor, instala una app de la cámara y vuelve a intentarlo.</string> + <string name="kau_temp_file_creation_failed">Error al crear archivo temporal.</string> + <string name="kau_select_media">Seleccionar medios</string> </resources> diff --git a/mediapicker/src/main/res/values-fr-rFR/strings_mediapicker.xml b/mediapicker/src/main/res/values-fr-rFR/strings_mediapicker.xml index e32ad05..1705e9e 100644 --- a/mediapicker/src/main/res/values-fr-rFR/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-fr-rFR/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Aucun élément trouvé</string> - <string name="kau_no_items_selected">Aucun élément n\'a été sélectionné</string> - <string name="kau_no_items_loaded">Aucun élément chargé</string> - <string name="kau_no_camera_found">Aucune caméra trouvée</string> - <string name="kau_no_camera_found_content">Veuillez installer un application photo et ré-essayez.</string> - <string name="kau_temp_file_creation_failed">Impossible de créer un fichier temporaire.</string> - <string name="kau_select_media">Sélectionner un média</string> + <string name="kau_no_items_found">Aucun élément trouvé</string> + <string name="kau_no_items_selected">Aucun élément n\'a été sélectionné</string> + <string name="kau_no_items_loaded">Aucun élément chargé</string> + <string name="kau_no_camera_found">Aucune caméra trouvée</string> + <string name="kau_no_camera_found_content">Veuillez installer un application photo et ré-essayez.</string> + <string name="kau_temp_file_creation_failed">Impossible de créer un fichier temporaire.</string> + <string name="kau_select_media">Sélectionner un média</string> </resources> diff --git a/mediapicker/src/main/res/values-gl-rES/strings_mediapicker.xml b/mediapicker/src/main/res/values-gl-rES/strings_mediapicker.xml index bc09ebe..1ad6650 100644 --- a/mediapicker/src/main/res/values-gl-rES/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-gl-rES/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Ningún elemento atopado</string> - <string name="kau_no_items_selected">Ningún elemento seleccionado</string> - <string name="kau_no_items_loaded">Ningún elemento cargado</string> - <string name="kau_no_camera_found">Non se atopou a cámara</string> - <string name="kau_no_camera_found_content">Instala unha app da cámara e téntao de novo.</string> - <string name="kau_temp_file_creation_failed">Erro ao crear un ficheiro temporal.</string> - <string name="kau_select_media">Seleccionar multimedia</string> + <string name="kau_no_items_found">Ningún elemento atopado</string> + <string name="kau_no_items_selected">Ningún elemento seleccionado</string> + <string name="kau_no_items_loaded">Ningún elemento cargado</string> + <string name="kau_no_camera_found">Non se atopou a cámara</string> + <string name="kau_no_camera_found_content">Instala unha app da cámara e téntao de novo.</string> + <string name="kau_temp_file_creation_failed">Erro ao crear un ficheiro temporal.</string> + <string name="kau_select_media">Seleccionar multimedia</string> </resources> diff --git a/mediapicker/src/main/res/values-hu-rHU/strings_mediapicker.xml b/mediapicker/src/main/res/values-hu-rHU/strings_mediapicker.xml index b2d8dc6..b191d61 100644 --- a/mediapicker/src/main/res/values-hu-rHU/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-hu-rHU/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Nem található elem</string> - <string name="kau_no_items_selected">Nincs kijelölt elem</string> - <string name="kau_no_items_loaded">Nincs betöltött elem</string> - <string name="kau_no_camera_found">Kamera nem található</string> - <string name="kau_no_camera_found_content">Kérem telepítse a kamera alkalmazást, majd próbálja újra.</string> - <string name="kau_temp_file_creation_failed">Nem sikerült létrehozni az ideiglenes fájlt.</string> - <string name="kau_select_media">Média kiválasztása</string> + <string name="kau_no_items_found">Nem található elem</string> + <string name="kau_no_items_selected">Nincs kijelölt elem</string> + <string name="kau_no_items_loaded">Nincs betöltött elem</string> + <string name="kau_no_camera_found">Kamera nem található</string> + <string name="kau_no_camera_found_content">Kérem telepítse a kamera alkalmazást, majd próbálja újra.</string> + <string name="kau_temp_file_creation_failed">Nem sikerült létrehozni az ideiglenes fájlt.</string> + <string name="kau_select_media">Média kiválasztása</string> </resources> diff --git a/mediapicker/src/main/res/values-it-rIT/strings_mediapicker.xml b/mediapicker/src/main/res/values-it-rIT/strings_mediapicker.xml index 7482c48..4b795b1 100644 --- a/mediapicker/src/main/res/values-it-rIT/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-it-rIT/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Nessun elemento trovato</string> - <string name="kau_no_items_selected">Non è stato selezionato alcun elemento</string> - <string name="kau_no_items_loaded">Nessun elemento caricato</string> - <string name="kau_no_camera_found">Nessuna fotocamera è stata trovata</string> - <string name="kau_no_camera_found_content">Reinstalla l\'app fotocamera e riprova.</string> - <string name="kau_temp_file_creation_failed">Impossibile creare file temporaneo.</string> - <string name="kau_select_media">Seleziona media</string> + <string name="kau_no_items_found">Nessun elemento trovato</string> + <string name="kau_no_items_selected">Non è stato selezionato alcun elemento</string> + <string name="kau_no_items_loaded">Nessun elemento caricato</string> + <string name="kau_no_camera_found">Nessuna fotocamera è stata trovata</string> + <string name="kau_no_camera_found_content">Reinstalla l\'app fotocamera e riprova.</string> + <string name="kau_temp_file_creation_failed">Impossibile creare file temporaneo.</string> + <string name="kau_select_media">Seleziona media</string> </resources> diff --git a/mediapicker/src/main/res/values-ko-rKR/strings_mediapicker.xml b/mediapicker/src/main/res/values-ko-rKR/strings_mediapicker.xml index 484edfd..aab5e63 100644 --- a/mediapicker/src/main/res/values-ko-rKR/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-ko-rKR/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">항목이 없습니다.</string> - <string name="kau_no_items_selected">선택된 항목이 없습니다.</string> - <string name="kau_no_items_loaded">가져온 항목이 없습니다.</string> - <string name="kau_no_camera_found">카메라를 찾을 수 없습니다.</string> - <string name="kau_no_camera_found_content">카메라 앱을 설치하고 다시 시도하세요.</string> - <string name="kau_temp_file_creation_failed">임시 파일을 만들지 못했습니다.</string> - <string name="kau_select_media">미디어 선택</string> + <string name="kau_no_items_found">항목이 없습니다.</string> + <string name="kau_no_items_selected">선택된 항목이 없습니다.</string> + <string name="kau_no_items_loaded">가져온 항목이 없습니다.</string> + <string name="kau_no_camera_found">카메라를 찾을 수 없습니다.</string> + <string name="kau_no_camera_found_content">카메라 앱을 설치하고 다시 시도하세요.</string> + <string name="kau_temp_file_creation_failed">임시 파일을 만들지 못했습니다.</string> + <string name="kau_select_media">미디어 선택</string> </resources> diff --git a/mediapicker/src/main/res/values-no-rNO/strings_mediapicker.xml b/mediapicker/src/main/res/values-no-rNO/strings_mediapicker.xml index 18e6295..7b251bc 100644 --- a/mediapicker/src/main/res/values-no-rNO/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-no-rNO/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Ingen elementer funnet</string> - <string name="kau_no_items_selected">Ingen elementer har blitt valgt</string> - <string name="kau_no_items_loaded">Ingen elementer lastet</string> - <string name="kau_no_camera_found">Ingen kameraer funnet</string> - <string name="kau_no_camera_found_content">Vennligst installér en kameraapp og prøv på nytt.</string> - <string name="kau_temp_file_creation_failed">Kunne ikke opprette en midlertidig fil.</string> - <string name="kau_select_media">Velg media</string> + <string name="kau_no_items_found">Ingen elementer funnet</string> + <string name="kau_no_items_selected">Ingen elementer har blitt valgt</string> + <string name="kau_no_items_loaded">Ingen elementer lastet</string> + <string name="kau_no_camera_found">Ingen kameraer funnet</string> + <string name="kau_no_camera_found_content">Vennligst installér en kameraapp og prøv på nytt.</string> + <string name="kau_temp_file_creation_failed">Kunne ikke opprette en midlertidig fil.</string> + <string name="kau_select_media">Velg media</string> </resources> diff --git a/mediapicker/src/main/res/values-pt-rBR/strings_mediapicker.xml b/mediapicker/src/main/res/values-pt-rBR/strings_mediapicker.xml index fdf1e92..bac9913 100644 --- a/mediapicker/src/main/res/values-pt-rBR/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-pt-rBR/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Nenhum item encontrado</string> - <string name="kau_no_items_selected">Nenhum item foi selecionado</string> - <string name="kau_no_items_loaded">Nenhum item carregado</string> - <string name="kau_no_camera_found">Nenhuma câmera encontrada</string> - <string name="kau_no_camera_found_content">Instale um aplicativo da câmera e tente novamente.</string> - <string name="kau_temp_file_creation_failed">Falha ao criar um arquivo temporário.</string> - <string name="kau_select_media">Selecione mídia</string> + <string name="kau_no_items_found">Nenhum item encontrado</string> + <string name="kau_no_items_selected">Nenhum item foi selecionado</string> + <string name="kau_no_items_loaded">Nenhum item carregado</string> + <string name="kau_no_camera_found">Nenhuma câmera encontrada</string> + <string name="kau_no_camera_found_content">Instale um aplicativo da câmera e tente novamente.</string> + <string name="kau_temp_file_creation_failed">Falha ao criar um arquivo temporário.</string> + <string name="kau_select_media">Selecione mídia</string> </resources> diff --git a/mediapicker/src/main/res/values-vi-rVN/strings_mediapicker.xml b/mediapicker/src/main/res/values-vi-rVN/strings_mediapicker.xml index 6dfcb82..dae9f41 100644 --- a/mediapicker/src/main/res/values-vi-rVN/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-vi-rVN/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">Không tìm thấy mục nào</string> - <string name="kau_no_items_selected">Chưa chọn mục nào</string> - <string name="kau_no_items_loaded">Không có mục nào</string> - <string name="kau_no_camera_found">Không tìm thấy máy ảnh</string> - <string name="kau_no_camera_found_content">Hãy cài một ứng dụng máy ảnh và thử lại.</string> - <string name="kau_temp_file_creation_failed">Không thể tạo tập tin tạm thời.</string> - <string name="kau_select_media">Chọn kiểu</string> + <string name="kau_no_items_found">Không tìm thấy mục nào</string> + <string name="kau_no_items_selected">Chưa chọn mục nào</string> + <string name="kau_no_items_loaded">Không có mục nào</string> + <string name="kau_no_camera_found">Không tìm thấy máy ảnh</string> + <string name="kau_no_camera_found_content">Hãy cài một ứng dụng máy ảnh và thử lại.</string> + <string name="kau_temp_file_creation_failed">Không thể tạo tập tin tạm thời.</string> + <string name="kau_select_media">Chọn kiểu</string> </resources> diff --git a/mediapicker/src/main/res/values-zh-rCN/strings_mediapicker.xml b/mediapicker/src/main/res/values-zh-rCN/strings_mediapicker.xml index 86e85d5..2be3fc0 100644 --- a/mediapicker/src/main/res/values-zh-rCN/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-zh-rCN/strings_mediapicker.xml @@ -1,11 +1,10 @@ -<?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_no_items_found">未找到项目</string> - <string name="kau_no_items_selected">没有选择任何项目</string> - <string name="kau_no_items_loaded">未载入任何项目</string> - <string name="kau_no_camera_found">找不到摄像头</string> - <string name="kau_no_camera_found_content">请安装一个摄像头应用程序,然后重试。</string> - <string name="kau_temp_file_creation_failed">创建临时文件失败。</string> - <string name="kau_select_media">选择媒体</string> + <string name="kau_no_items_found">未找到项目</string> + <string name="kau_no_items_selected">没有选择任何项目</string> + <string name="kau_no_items_loaded">未载入任何项目</string> + <string name="kau_no_camera_found">找不到摄像头</string> + <string name="kau_no_camera_found_content">请安装一个摄像头应用程序,然后重试。</string> + <string name="kau_temp_file_creation_failed">创建临时文件失败。</string> + <string name="kau_select_media">选择媒体</string> </resources> diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt index 2ba3366..c0f928f 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt @@ -50,7 +50,7 @@ class AnimActivity : KauBaseActivity() { } override fun onBackPressed() { - startActivity(MainActivity::class.java, bundleBuilder = { + startActivity<MainActivity>(bundleBuilder = { withSlideOut(this@AnimActivity) }) } diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt index e735b38..6784705 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -162,22 +162,23 @@ class MainActivity : KPrefActivity() { } plainText(R.string.image_showcase) { - onClick = { kauLaunchMediaPicker(ImagePickerActivity::class.java, REQUEST_MEDIA) } + onClick = { kauLaunchMediaPicker<ImagePickerActivity>(REQUEST_MEDIA) } } plainText(R.string.video_overlay_showcase) { - onClick = { kauLaunchMediaPicker(VideoPickerActivityOverlay::class.java, REQUEST_MEDIA) } + onClick = { kauLaunchMediaPicker<VideoPickerActivityOverlay>(REQUEST_MEDIA) } } plainText(R.string.adapter_showcase) { - onClick = { startActivity(AdapterActivity::class.java, bundleBuilder = { + onClick = { + startActivity<AdapterActivity>(bundleBuilder = { withSceneTransitionAnimation(this@MainActivity) }) } } plainText(R.string.kau_about_app) { - onClick = { kauLaunchAbout(AboutActivity::class.java) } + onClick = { kauLaunchAbout<AboutActivity>() } } header(R.string.long_prefs) @@ -268,7 +269,7 @@ class MainActivity : KPrefActivity() { backgroundColor(KPrefSample.bgColor) positiveColor(KPrefSample.accentColor) } - R.id.action_settings -> startActivity(AnimActivity::class.java) + R.id.action_settings -> startActivity<AnimActivity>() R.id.action_email -> sendEmail(R.string.your_email, R.string.your_subject) else -> return super.onOptionsItemSelected(item) } diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt index 8853c86..6060245 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt @@ -1,7 +1,6 @@ package ca.allanwang.kau.sample import android.app.Application -import ca.allanwang.kau.logging.KL /** * Created by Allan Wang on 2017-06-08. diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt index da088cf..bc2d4a4 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/SwipeActivity.kt @@ -15,7 +15,7 @@ import ca.allanwang.kau.utils.* private const val SWIPE_EDGE = "swipe_edge" fun Activity.startActivityWithEdge(flag: Int) { - startActivity(SwipeActivity::class.java) { + startActivity<SwipeActivity> { putExtra(SWIPE_EDGE, flag) } } diff --git a/sample/src/main/res/xml/kau_faq.xml b/sample/src/main/res/xml/kau_faq.xml index 5230a31..859b040 100644 --- a/sample/src/main/res/xml/kau_faq.xml +++ b/sample/src/main/res/xml/kau_faq.xml @@ -4,7 +4,8 @@ <question>This is a FAQ question</question> <answer>This is a FAQ answer</answer> <question><![CDATA[Supports <b>HTML</b> <i>tags</i>]]></question> - <answer><![CDATA[Both <u>questions</u> and <u>answers</u> are automatically parsed with <b>HTML</b>]]></answer> + <answer> + <![CDATA[Both <u>questions</u> and <u>answers</u> are automatically parsed with <b>HTML</b>]]></answer> <question>Links</question> <answer><![CDATA[<ul> <li><a href="https://github.com/AllanWang/KAU">Github</a><li> |