diff options
Diffstat (limited to 'mediapicker/src/main')
9 files changed, 66 insertions, 30 deletions
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 87f5a42..50fe7ae 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerBinder.kt @@ -39,6 +39,5 @@ internal const val MEDIA_PICKER_RESULT = "media_picker_result" internal const val ANIMATION_DURATION = 200L internal const val ANIMATION_SCALE = 0.95f -internal fun <T> RequestBuilder<T>.applyMediaOptions(context: Context) - = apply(RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE).centerCrop().override(MediaPickerCore.viewSize(context))) +internal fun <T> RequestBuilder<T>.applyMediaOptions(context: Context) = apply(RequestOptions().diskCacheStrategy(DiskCacheStrategy.RESOURCE).centerCrop().override(MediaPickerCore.viewSize(context))) diff --git a/mediapicker/src/main/res-public/values/public.xml b/mediapicker/src/main/res-public/values/public.xml index 7b8064a..cadfa07 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_image_minimum_size' type='dimen' /> diff --git a/mediapicker/src/main/res/values-da-rDK/strings_mediapicker.xml b/mediapicker/src/main/res/values-da-rDK/strings_mediapicker.xml new file mode 100644 index 0000000..d3636d3 --- /dev/null +++ b/mediapicker/src/main/res/values-da-rDK/strings_mediapicker.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com--> +<resources> + <string name="kau_no_items_found">Ingen elementer fundet</string> + <string name="kau_no_items_selected">Ingen elementer er valgt</string> + <string name="kau_no_items_loaded">Ingen elementer er indlæst</string> + <string name="kau_no_camera_found">Intet kamera fundet</string> + <string name="kau_no_camera_found_content">Installer venligst en kamera-app og prøv igen.</string> + <string name="kau_temp_file_creation_failed">Kunne ikke oprette en midlertidig fil.</string> + <string name="kau_select_media">Vælg medie</string> +</resources> diff --git a/mediapicker/src/main/res/values-in-rID/strings_mediapicker.xml b/mediapicker/src/main/res/values-in-rID/strings_mediapicker.xml index 2414c75..8f64d74 100644 --- a/mediapicker/src/main/res/values-in-rID/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-in-rID/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">Item tidak ditemukan</string> - <string name="kau_no_items_selected">Tidak ada item yang dipilih</string> - <string name="kau_no_items_loaded">Tidak ada item yang dimuat</string> - <string name="kau_no_camera_found">Kamera tidak ditemukan</string> - <string name="kau_no_camera_found_content">Mohon pasang aplikasi kamera dan coba lagi.</string> - <string name="kau_temp_file_creation_failed">Gagal membuat file sementara.</string> - <string name="kau_select_media">Pilih Media</string> + <string name="kau_no_items_found">Item tidak ditemukan</string> + <string name="kau_no_items_selected">Tidak ada item yang dipilih</string> + <string name="kau_no_items_loaded">Tidak ada item yang dimuat</string> + <string name="kau_no_camera_found">Kamera tidak ditemukan</string> + <string name="kau_no_camera_found_content">Mohon pasang aplikasi kamera dan coba lagi.</string> + <string name="kau_temp_file_creation_failed">Gagal membuat file sementara.</string> + <string name="kau_select_media">Pilih Media</string> </resources> diff --git a/mediapicker/src/main/res/values-pl-rPL/strings_mediapicker.xml b/mediapicker/src/main/res/values-pl-rPL/strings_mediapicker.xml new file mode 100644 index 0000000..5aaaae1 --- /dev/null +++ b/mediapicker/src/main/res/values-pl-rPL/strings_mediapicker.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com--> +<resources> + <string name="kau_no_items_found">Brak pozycji</string> + <string name="kau_no_items_selected">Brak wybranych pozycji</string> + <string name="kau_no_items_loaded">Brak załadowanych pozycji</string> + <string name="kau_no_camera_found">Brak aparatu</string> + <string name="kau_no_camera_found_content">Zainstaluj aplikację aparatu i spróbuj ponownie.</string> + <string name="kau_temp_file_creation_failed">Nie udało się utworzyć tymczasowego pliku.</string> + <string name="kau_select_media">Wybierz media</string> +</resources> diff --git a/mediapicker/src/main/res/values-sv-rSE/strings_mediapicker.xml b/mediapicker/src/main/res/values-sv-rSE/strings_mediapicker.xml new file mode 100644 index 0000000..15f991f --- /dev/null +++ b/mediapicker/src/main/res/values-sv-rSE/strings_mediapicker.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?><!--Generated by crowdin.com--> +<resources> + <string name="kau_no_items_found">Inga objekt hittades</string> + <string name="kau_no_items_selected">Inga objekt har valts</string> + <string name="kau_no_items_loaded">Inga objekt laddades</string> + <string name="kau_no_camera_found">Ingen kamera hittades</string> + <string name="kau_no_camera_found_content">Var snäll installera en kameraapp och försök igen.</string> + <string name="kau_temp_file_creation_failed">Kunde inte skapa en tillfällig fil.</string> + <string name="kau_select_media">Välj Media</string> +</resources> diff --git a/mediapicker/src/main/res/values-th-rTH/strings_mediapicker.xml b/mediapicker/src/main/res/values-th-rTH/strings_mediapicker.xml index 3c5340b..3e97c66 100644 --- a/mediapicker/src/main/res/values-th-rTH/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-th-rTH/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-tr-rTR/strings_mediapicker.xml b/mediapicker/src/main/res/values-tr-rTR/strings_mediapicker.xml index 19114fe..55e90b4 100644 --- a/mediapicker/src/main/res/values-tr-rTR/strings_mediapicker.xml +++ b/mediapicker/src/main/res/values-tr-rTR/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">Hiç bir öge bulunamadı</string> - <string name="kau_no_items_selected">Hiç bir öge seçilmemişti</string> - <string name="kau_no_items_loaded">Hiç bir öge yüklenmedi</string> - <string name="kau_no_camera_found">Kamera bulunamadı</string> - <string name="kau_no_camera_found_content">Lütfen bir kamera uygulaması yükleyin ve tekrar deneyin.</string> - <string name="kau_temp_file_creation_failed">Geçici bir dosya oluşturulamadı.</string> - <string name="kau_select_media">Medya Seç</string> + <string name="kau_no_items_found">Hiç bir öge bulunamadı</string> + <string name="kau_no_items_selected">Hiç bir öge seçilmemişti</string> + <string name="kau_no_items_loaded">Hiç bir öge yüklenmedi</string> + <string name="kau_no_camera_found">Kamera bulunamadı</string> + <string name="kau_no_camera_found_content">Lütfen bir kamera uygulaması yükleyin ve tekrar deneyin.</string> + <string name="kau_temp_file_creation_failed">Geçici bir dosya oluşturulamadı.</string> + <string name="kau_select_media">Medya Seç</string> </resources> diff --git a/mediapicker/src/main/res/values-uk-rUA/strings_mediapicker.xml b/mediapicker/src/main/res/values-uk-rUA/strings_mediapicker.xml new file mode 100644 index 0000000..6dc767e --- /dev/null +++ b/mediapicker/src/main/res/values-uk-rUA/strings_mediapicker.xml @@ -0,0 +1,10 @@ +<?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> +</resources> |