diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-12 11:30:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-12 11:30:40 -0400 |
commit | 3f1d6746fd7bcc8d01ef367455628d291d07f434 (patch) | |
tree | abfd1dfa4fa599ec1620e323db327c4570202789 | |
parent | b87c75d607956393ad3b07751eb59ccf41726863 (diff) | |
download | kau-3f1d6746fd7bcc8d01ef367455628d291d07f434.tar.gz kau-3f1d6746fd7bcc8d01ef367455628d291d07f434.tar.bz2 kau-3f1d6746fd7bcc8d01ef367455628d291d07f434.zip |
Translations (#84)
* Rename string files
* Add translations to readme
* Check job scheduler null check against travis lint
* Remove bad spacing
* Update badges
* Use vector zenhub badge
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | about/src/main/res/values/strings.xml | 5 | ||||
-rw-r--r-- | about/src/main/res/values/strings_about.xml | 23 | ||||
-rw-r--r-- | about/src/main/res/values/strings_about_kau.xml | 20 | ||||
-rw-r--r-- | colorpicker/src/main/res/values/strings_colorpicker.xml (renamed from colorpicker/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | mediapicker/src/main/res/values/strings_mediapicker.xml (renamed from mediapicker/src/main/res/values/strings.xml) | 0 | ||||
-rw-r--r-- | sample/src/main/res/values/strings_sample.xml (renamed from sample/src/main/res/values/strings.xml) | 0 |
9 files changed, 34 insertions, 27 deletions
@@ -1,6 +1,7 @@ *.iml /.idea .gradle +/crowdin.properties /local.properties .DS_Store /build @@ -16,8 +16,9 @@ KAU is available on JitPack [![](https://jitpack.io/v/ca.allanwang/kau.svg)](https://jitpack.io/#ca.allanwang/kau) [![Build Status](https://travis-ci.org/AllanWang/KAU.svg?branch=master)](https://travis-ci.org/AllanWang/KAU) +[![Crowdin](https://d322cqt584bo4o.cloudfront.net/kotlin-android-utils/localized.svg)](https://crowdin.com/project/kotlin-android-utils) [![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/KotlinBy/awesome-kotlin) -[![Stories in Ready](https://badge.waffle.io/AllanWang/KAU.png?label=ready&title=Ready)](https://waffle.io/AllanWang/KAU?utm_source=badge) +[![ZenHub](https://img.shields.io/badge/Shipping%20faster%20with-ZenHub-45529A.svg)](https://app.zenhub.com/workspace/o/allanwang/kau/boards) [![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/AllanWang/KAU/master/LICENSE) To apply, add the following to your root build.gradle: @@ -140,4 +141,9 @@ To resolve that, add `multiDexEnabled true` under your `app.gradle > android > d Likewise, it is highly recommended to use proguard to clean up your project upon release. All KAU components support proguard out of the box. -Some may have extra requirements for certain features, which will be detailed in their respective README.
\ No newline at end of file +Some may have extra requirements for certain features, which will be detailed in their respective README. + +## Translations + +KAU depends on translations crowdsourced by the general public. +If you would like to contribute, please visit [here](https://crwd.in/kotlin-android-utils) diff --git a/about/src/main/res/values/strings.xml b/about/src/main/res/values/strings.xml deleted file mode 100644 index 164c0c8..0000000 --- a/about/src/main/res/values/strings.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <string name="kau_about_libraries_intro">This app would not be possible without the following great libraries.</string> - <string name="kau_about_faq_intro">FAQ</string> -</resources>
\ No newline at end of file diff --git a/about/src/main/res/values/strings_about.xml b/about/src/main/res/values/strings_about.xml index 592f9f4..164c0c8 100644 --- a/about/src/main/res/values/strings_about.xml +++ b/about/src/main/res/values/strings_about.xml @@ -1,20 +1,5 @@ -<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> - <string name="define_kau"/> - <string name="library_kau_author">Allan Wang</string> - <string name="library_kau_authorWebsite">https://www.allanwang.ca/dev/</string> - <string name="library_kau_libraryVersion">@string/kau_version_code</string> - <string name="library_kau_libraryName">KAU</string> - <string name="library_kau_libraryDescription"> - <![CDATA[ - An extensive collection of Kotlin Android Utilities. - <br/><br/> - KAU aims to make many common functions executable in one line. It adds numerous extensions to match Kotlin\'s DSL, - and supports completely customizable view groups that are usable in any app project. - ]]> - </string> - <string name="library_kau_libraryWebsite">https://allanwang.github.io/KAU/</string> - <string name="library_kau_isOpenSource">true</string> - <string name="library_kau_repositoryLink">https://github.com/AllanWang/KAU</string> - <string name="library_kau_classPath">ca.allanwang.kau</string> - <string name="library_kau_licenseId">apache_2_0</string> +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="kau_about_libraries_intro">This app would not be possible without the following great libraries.</string> + <string name="kau_about_faq_intro">FAQ</string> </resources>
\ No newline at end of file diff --git a/about/src/main/res/values/strings_about_kau.xml b/about/src/main/res/values/strings_about_kau.xml new file mode 100644 index 0000000..592f9f4 --- /dev/null +++ b/about/src/main/res/values/strings_about_kau.xml @@ -0,0 +1,20 @@ +<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> + <string name="define_kau"/> + <string name="library_kau_author">Allan Wang</string> + <string name="library_kau_authorWebsite">https://www.allanwang.ca/dev/</string> + <string name="library_kau_libraryVersion">@string/kau_version_code</string> + <string name="library_kau_libraryName">KAU</string> + <string name="library_kau_libraryDescription"> + <![CDATA[ + An extensive collection of Kotlin Android Utilities. + <br/><br/> + KAU aims to make many common functions executable in one line. It adds numerous extensions to match Kotlin\'s DSL, + and supports completely customizable view groups that are usable in any app project. + ]]> + </string> + <string name="library_kau_libraryWebsite">https://allanwang.github.io/KAU/</string> + <string name="library_kau_isOpenSource">true</string> + <string name="library_kau_repositoryLink">https://github.com/AllanWang/KAU</string> + <string name="library_kau_classPath">ca.allanwang.kau</string> + <string name="library_kau_licenseId">apache_2_0</string> +</resources>
\ No newline at end of file diff --git a/colorpicker/src/main/res/values/strings.xml b/colorpicker/src/main/res/values/strings_colorpicker.xml index 5a6f89b..5a6f89b 100644 --- a/colorpicker/src/main/res/values/strings.xml +++ b/colorpicker/src/main/res/values/strings_colorpicker.xml diff --git a/gradle.properties b/gradle.properties index 4e690c7..9a45266 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ ANDROID_SUPPORT_LIBS=26.1.0 VERSION_NAME=3.4.3 -KOTLIN=1.1.4-3 +KOTLIN=1.1.51 ABOUT_LIBRARIES=5.9.7 ANKO=0.10.1 BLURRY=2.1.1 diff --git a/mediapicker/src/main/res/values/strings.xml b/mediapicker/src/main/res/values/strings_mediapicker.xml index 717e12b..717e12b 100644 --- a/mediapicker/src/main/res/values/strings.xml +++ b/mediapicker/src/main/res/values/strings_mediapicker.xml diff --git a/sample/src/main/res/values/strings.xml b/sample/src/main/res/values/strings_sample.xml index 1e3361e..1e3361e 100644 --- a/sample/src/main/res/values/strings.xml +++ b/sample/src/main/res/values/strings_sample.xml |