diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-16 21:22:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 21:22:42 -0400 |
commit | 681effece90ff4e892506ee5f5057bee4776c48b (patch) | |
tree | 4b98fbca594089a7e90d7c617ebb3b2a230678cf | |
parent | 75132277968b513d4ac0e7b99c59ad0748cbb675 (diff) | |
download | kau-681effece90ff4e892506ee5f5057bee4776c48b.tar.gz kau-681effece90ff4e892506ee5f5057bee4776c48b.tar.bz2 kau-681effece90ff4e892506ee5f5057bee4776c48b.zip |
Translations (#89)
* Update strings
* Delete extra file
* Update strings
6 files changed, 7 insertions, 7 deletions
diff --git a/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/ColorPickerDialog.kt b/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/ColorPickerDialog.kt index e987c2c..a3dcc2d 100644 --- a/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/ColorPickerDialog.kt +++ b/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/ColorPickerDialog.kt @@ -19,7 +19,7 @@ class ColorBuilder : ColorContract { override var backText: Int = R.string.kau_back override var cancelText: Int = R.string.kau_cancel override var presetText: Int = R.string.kau_md_presets - override var customText: Int = R.string.kau_md_custom + override var customText: Int = R.string.kau_custom get() = if (allowCustom) field else 0 override var dynamicButtonColors: Boolean = true override var circleSizeRes: Int = R.dimen.kau_color_circle_size diff --git a/colorpicker/src/main/res/values/strings_colorpicker.xml b/colorpicker/src/main/res/values/strings_colorpicker.xml index 5a6f89b..a470390 100644 --- a/colorpicker/src/main/res/values/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values/strings_colorpicker.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName"> <string name="kau_md_color_palette">Color Palette</string> - <string name="kau_md_custom">Custom</string> <string name="kau_md_presets">Presets</string> </resources> diff --git a/core/src/main/res-public/values/strings_commons.xml b/core/src/main/res-public/values/strings_commons.xml index 6bea9a6..bb95d23 100644 --- a/core/src/main/res-public/values/strings_commons.xml +++ b/core/src/main/res-public/values/strings_commons.xml @@ -69,6 +69,6 @@ Most resources are verbatim and x represents a formatted item </plurals> <string name="kau_yes">Yes</string> <string name="kau_permission_denied">Permission denied</string> - <string name="kau_0">0</string> - <string name="kau_bullet_point">•</string> + <string name="kau_0" translatable="false">0</string> + <string name="kau_bullet_point" translatable="false">•</string> </resources> diff --git a/kpref-activity/src/main/res/layout/kau_pref_core.xml b/kpref-activity/src/main/res/layout/kau_pref_core.xml index 183c53e..498dce3 100644 --- a/kpref-activity/src/main/res/layout/kau_pref_core.xml +++ b/kpref-activity/src/main/res/layout/kau_pref_core.xml @@ -34,7 +34,8 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" - tools:layout_editor_absoluteX="0dp" /> + tools:layout_editor_absoluteX="0dp" + tools:ignore="RtlSymmetry" /> <android.support.v7.widget.AppCompatTextView android:id="@id/kau_pref_title" diff --git a/kpref-activity/src/main/res/values/strings.xml b/kpref-activity/src/main/res/values/strings.xml index de6c42f..1cbb783 100644 --- a/kpref-activity/src/main/res/values/strings.xml +++ b/kpref-activity/src/main/res/values/strings.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <string name="kau_pref_icon">Pref Icon</string> + <string name="kau_pref_icon" translatable="false">KPref Icon</string> </resources>
\ No newline at end of file diff --git a/mediapicker/src/main/res/values/strings_mediapicker.xml b/mediapicker/src/main/res/values/strings_mediapicker.xml index 717e12b..e724d45 100644 --- a/mediapicker/src/main/res/values/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values/strings_mediapicker.xml @@ -2,7 +2,7 @@ <resources> <string name="kau_no_items_found">No items found</string> <string name="kau_no_items_selected">No items have been selected</string> - <string name="kau_blurrable_imageview">Blurrable ImageView</string> + <string name="kau_blurrable_imageview" translatable="false">Blurrable ImageView</string> <string name="kau_no_items_loaded">No items loaded</string> <string name="kau_no_camera_found">No camera found</string> |