From 3c07e394323473891a9a69d5d91f9a7db94d1b9f Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 20 Oct 2018 19:17:39 +0200 Subject: [PATCH 01/15] adding some recyclerview item selection optimizations --- build.gradle | 2 +- .../commons/adapters/MyRecyclerViewAdapter.kt | 44 ++++++++++--------- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index dbe33a7a8..342011ffd 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 21 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '5.1.6' + propVersionName = '5.1.10' kotlin_version = '1.2.71' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/adapters/MyRecyclerViewAdapter.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/adapters/MyRecyclerViewAdapter.kt index 790ed8a4f..a83579f9e 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/adapters/MyRecyclerViewAdapter.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/adapters/MyRecyclerViewAdapter.kt @@ -83,9 +83,10 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc (selectedKeys.clone() as HashSet).forEach { val position = getItemKeyPosition(it) if (position != -1) { - toggleItemSelection(false, position) + toggleItemSelection(false, position, false) } } + updateTitle() selectedKeys.clear() actBarTextView?.text = "" actMode = null @@ -94,7 +95,7 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc } } - protected fun toggleItemSelection(select: Boolean, pos: Int) { + protected fun toggleItemSelection(select: Boolean, pos: Int, updateTitle: Boolean = true) { if (select && !getIsItemSelectable(pos)) { return } @@ -112,17 +113,18 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc notifyItemChanged(pos + positionOffset) - if (selectedKeys.isEmpty()) { - finishActMode() - return + if (updateTitle) { + updateTitle() } - updateTitle(selectedKeys.size) + if (selectedKeys.isEmpty()) { + finishActMode() + } } - private fun updateTitle(cnt: Int) { + private fun updateTitle() { val selectableItemCount = getSelectableItemCount() - val selectedCount = Math.min(cnt, selectableItemCount) + val selectedCount = Math.min(selectedKeys.size, selectableItemCount) val oldTitle = actBarTextView?.text val newTitle = "$selectedCount / $selectableItemCount" if (oldTitle != newTitle) { @@ -139,8 +141,9 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc val min = Math.min(lastLongPressedItem, position) val max = Math.max(lastLongPressedItem, position) for (i in min..max) { - toggleItemSelection(true, i) + toggleItemSelection(true, i, false) } + updateTitle() position } } @@ -166,16 +169,17 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc protected fun selectAll() { val cnt = itemCount - positionOffset for (i in 0 until cnt) { - toggleItemSelection(true, i) + toggleItemSelection(true, i, false) } lastLongPressedItem = -1 + updateTitle() } protected fun setupDragListener(enable: Boolean) { if (enable) { recyclerView.setupDragListener(object : MyRecyclerView.MyDragListener { override fun selectItem(position: Int) { - toggleItemSelection(true, position) + toggleItemSelection(true, position, true) } override fun selectRange(initialSelection: Int, lastDraggedIndex: Int, minReached: Int, maxReached: Int) { @@ -190,36 +194,36 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc protected fun selectItemRange(from: Int, to: Int, min: Int, max: Int) { if (from == to) { - (min..max).filter { it != from }.forEach { toggleItemSelection(false, it) } + (min..max).filter { it != from }.forEach { toggleItemSelection(false, it, true) } return } if (to < from) { for (i in to..from) { - toggleItemSelection(true, i) + toggleItemSelection(true, i, true) } if (min > -1 && min < to) { - (min until to).filter { it != from }.forEach { toggleItemSelection(false, it) } + (min until to).filter { it != from }.forEach { toggleItemSelection(false, it, true) } } if (max > -1) { for (i in from + 1..max) { - toggleItemSelection(false, i) + toggleItemSelection(false, i, true) } } } else { for (i in from..to) { - toggleItemSelection(true, i) + toggleItemSelection(true, i, true) } if (max > -1 && max > to) { - (to + 1..max).filter { it != from }.forEach { toggleItemSelection(false, it) } + (to + 1..max).filter { it != from }.forEach { toggleItemSelection(false, it, true) } } if (min > -1) { for (i in min until from) { - toggleItemSelection(false, i) + toggleItemSelection(false, i, true) } } } @@ -295,7 +299,7 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc if (actModeCallback.isSelectable) { val currentPosition = adapterPosition - positionOffset val isSelected = selectedKeys.contains(getItemSelectionKey(currentPosition)) - toggleItemSelection(!isSelected, currentPosition) + toggleItemSelection(!isSelected, currentPosition, true) } else { itemClick.invoke(any) } @@ -308,7 +312,7 @@ abstract class MyRecyclerViewAdapter(val activity: BaseSimpleActivity, val recyc activity.startSupportActionMode(actModeCallback) } - toggleItemSelection(true, currentPosition) + toggleItemSelection(true, currentPosition, true) itemLongClicked(currentPosition) } } From 8d3ec8058664081ece56261339a3edccd5f101ab Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 20 Oct 2018 21:05:32 +0200 Subject: [PATCH 02/15] show proper exposure values at long exposure photos --- build.gradle | 2 +- .../com/simplemobiletools/commons/extensions/String.kt | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 342011ffd..eee5ecc5f 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 21 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '5.1.10' + propVersionName = '5.1.12' kotlin_version = '1.2.71' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt index c9097c20e..4a3acc45f 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt @@ -87,8 +87,12 @@ fun String.getExifProperties(exif: ExifInterface): String { exif.getAttribute(ExifInterface.TAG_EXPOSURE_TIME).let { if (it?.isNotEmpty() == true) { - val exposureSec = Math.round(1 / it.toFloat()) - exifString += "1/${exposureSec}s " + val exposureValue = it.toFloat() + exifString += if (exposureValue > 1f) { + "${exposureValue}s " + } else { + "1/${Math.round(1 / exposureValue)}s " + } } } From 8bf518c99b602aba167edfe179461e7b82bcfb29 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 20 Oct 2018 22:11:26 +0200 Subject: [PATCH 03/15] adding some new strings related to simple batch renaming --- commons/src/main/res/values-ar/strings.xml | 2 ++ commons/src/main/res/values-az/strings.xml | 2 ++ commons/src/main/res/values-br/strings.xml | 2 ++ commons/src/main/res/values-ca/strings.xml | 2 ++ commons/src/main/res/values-cs/strings.xml | 2 ++ commons/src/main/res/values-da/strings.xml | 2 ++ commons/src/main/res/values-de/strings.xml | 2 ++ commons/src/main/res/values-el/strings.xml | 2 ++ commons/src/main/res/values-es/strings.xml | 2 ++ commons/src/main/res/values-fi/strings.xml | 2 ++ commons/src/main/res/values-fr/strings.xml | 2 ++ commons/src/main/res/values-gl/strings.xml | 2 ++ commons/src/main/res/values-hi-rIN/strings.xml | 2 ++ commons/src/main/res/values-hr/strings.xml | 2 ++ commons/src/main/res/values-hu/strings.xml | 2 ++ commons/src/main/res/values-id/strings.xml | 2 ++ commons/src/main/res/values-it/strings.xml | 2 ++ commons/src/main/res/values-iw/strings.xml | 2 ++ commons/src/main/res/values-ja/strings.xml | 2 ++ commons/src/main/res/values-ko-rKR/strings.xml | 2 ++ commons/src/main/res/values-lt/strings.xml | 2 ++ commons/src/main/res/values-nb/strings.xml | 2 ++ commons/src/main/res/values-nl/strings.xml | 2 ++ commons/src/main/res/values-no/strings.xml | 2 ++ commons/src/main/res/values-pl/strings.xml | 2 ++ commons/src/main/res/values-pt-rBR/strings.xml | 2 ++ commons/src/main/res/values-pt/strings.xml | 2 ++ commons/src/main/res/values-ru/strings.xml | 2 ++ commons/src/main/res/values-sk/strings.xml | 2 ++ commons/src/main/res/values-sl/strings.xml | 2 ++ commons/src/main/res/values-sv/strings.xml | 2 ++ commons/src/main/res/values-tr/strings.xml | 2 ++ commons/src/main/res/values-zh-rCN/strings.xml | 2 ++ commons/src/main/res/values-zh-rTW/strings.xml | 2 ++ commons/src/main/res/values/strings.xml | 2 ++ 35 files changed, 70 insertions(+) diff --git a/commons/src/main/res/values-ar/strings.xml b/commons/src/main/res/values-ar/strings.xml index de03483da..41e22a5b8 100644 --- a/commons/src/main/res/values-ar/strings.xml +++ b/commons/src/main/res/values-ar/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy diff --git a/commons/src/main/res/values-az/strings.xml b/commons/src/main/res/values-az/strings.xml index 76db14c2c..af8c74029 100644 --- a/commons/src/main/res/values-az/strings.xml +++ b/commons/src/main/res/values-az/strings.xml @@ -55,6 +55,8 @@ Fayl adı \'%s\' etibarsız simvollar ehtiva edir Uzantı boş ola bilməz Kök faylı %s yoxdur + Prepend filenames + Append filenames (before file extension) Kopyala diff --git a/commons/src/main/res/values-br/strings.xml b/commons/src/main/res/values-br/strings.xml index 0a16a6aac..fd88040d8 100644 --- a/commons/src/main/res/values-br/strings.xml +++ b/commons/src/main/res/values-br/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy diff --git a/commons/src/main/res/values-ca/strings.xml b/commons/src/main/res/values-ca/strings.xml index 457538b28..767ca366c 100644 --- a/commons/src/main/res/values-ca/strings.xml +++ b/commons/src/main/res/values-ca/strings.xml @@ -55,6 +55,8 @@ El nom de l\'arxiu \'%s\' conté caràcters no vàlids La extensió no pot estar buida El fitxer %s no existeix + Prepend filenames + Append filenames (before file extension) Copiar diff --git a/commons/src/main/res/values-cs/strings.xml b/commons/src/main/res/values-cs/strings.xml index 40edccb0c..1980f9796 100644 --- a/commons/src/main/res/values-cs/strings.xml +++ b/commons/src/main/res/values-cs/strings.xml @@ -55,6 +55,8 @@ Název souboru \'%s\' obsahuje neplatné znaky Přípona nemůže být prázdná Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Kopírovat diff --git a/commons/src/main/res/values-da/strings.xml b/commons/src/main/res/values-da/strings.xml index bc987e5ba..618b42d5c 100644 --- a/commons/src/main/res/values-da/strings.xml +++ b/commons/src/main/res/values-da/strings.xml @@ -55,6 +55,8 @@ Filnavnet \"%s\" indeholder ugyldige tegn Filtypen kan ikke stå tom Kildefilen %s eksisterer ikke + Prepend filenames + Append filenames (before file extension) Kopier diff --git a/commons/src/main/res/values-de/strings.xml b/commons/src/main/res/values-de/strings.xml index d9097ffc7..7a83f5c91 100644 --- a/commons/src/main/res/values-de/strings.xml +++ b/commons/src/main/res/values-de/strings.xml @@ -55,6 +55,8 @@ Dateiname \'%s\' anthält ungültige Zeichen Dateiendung darf nicht leer sein Quelldatei %s existiert nicht + Prepend filenames + Append filenames (before file extension) Kopieren diff --git a/commons/src/main/res/values-el/strings.xml b/commons/src/main/res/values-el/strings.xml index 33e4e31f9..c1c94d7ac 100644 --- a/commons/src/main/res/values-el/strings.xml +++ b/commons/src/main/res/values-el/strings.xml @@ -55,6 +55,8 @@ Το όνομα \'%s\' περιέχει μη έγκυρους χαρακτήρες Η επέκταση δεν μπορεί να είναι κενή To αρχείο προέλευσης %s δεν υπάρχει + Prepend filenames + Append filenames (before file extension) Αντιγραφή diff --git a/commons/src/main/res/values-es/strings.xml b/commons/src/main/res/values-es/strings.xml index 8346a9a2b..1b684a198 100644 --- a/commons/src/main/res/values-es/strings.xml +++ b/commons/src/main/res/values-es/strings.xml @@ -55,6 +55,8 @@ El nombre del archivo \'%s\' contiene caracteres no válidos La extensión no puede estar vacía El archivo %s no existe + Prepend filenames + Append filenames (before file extension) Copiar diff --git a/commons/src/main/res/values-fi/strings.xml b/commons/src/main/res/values-fi/strings.xml index a5cf5d2c1..2275ba787 100644 --- a/commons/src/main/res/values-fi/strings.xml +++ b/commons/src/main/res/values-fi/strings.xml @@ -55,6 +55,8 @@ Tiedostonimi \'%s\' sisältää kiellettyjä merkkejä Tiedostomuoto ei voi olla tyhjä Lähdetiedostoa %s ei löydy + Prepend filenames + Append filenames (before file extension) Kopioi diff --git a/commons/src/main/res/values-fr/strings.xml b/commons/src/main/res/values-fr/strings.xml index b198a8bf5..79ab0dc1d 100644 --- a/commons/src/main/res/values-fr/strings.xml +++ b/commons/src/main/res/values-fr/strings.xml @@ -55,6 +55,8 @@ Le nom de fichier \'%s\' contient des caractères invalides L\'extension ne peut pas rester vide Le fichier source %s n\'existe pas + Prepend filenames + Append filenames (before file extension) Copier diff --git a/commons/src/main/res/values-gl/strings.xml b/commons/src/main/res/values-gl/strings.xml index 01bad4c34..158455c53 100644 --- a/commons/src/main/res/values-gl/strings.xml +++ b/commons/src/main/res/values-gl/strings.xml @@ -55,6 +55,8 @@ El nombre del archivo \'%s\' contiene caracteres no válidos La extensión no puede estar vacía El archivo %s no existe + Prepend filenames + Append filenames (before file extension) Copiar diff --git a/commons/src/main/res/values-hi-rIN/strings.xml b/commons/src/main/res/values-hi-rIN/strings.xml index 8e47a767b..6acb10f33 100644 --- a/commons/src/main/res/values-hi-rIN/strings.xml +++ b/commons/src/main/res/values-hi-rIN/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy diff --git a/commons/src/main/res/values-hr/strings.xml b/commons/src/main/res/values-hr/strings.xml index 142314a3b..33c2da30e 100644 --- a/commons/src/main/res/values-hr/strings.xml +++ b/commons/src/main/res/values-hr/strings.xml @@ -55,6 +55,8 @@ Naziv datoteke \'%s\' sadrži nevažeće znakove Ekstenzija ne smije biti prazna Izvorišna datoteka %s ne postoji + Prepend filenames + Append filenames (before file extension) Kopiraj diff --git a/commons/src/main/res/values-hu/strings.xml b/commons/src/main/res/values-hu/strings.xml index 876c16e03..360752a06 100644 --- a/commons/src/main/res/values-hu/strings.xml +++ b/commons/src/main/res/values-hu/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy diff --git a/commons/src/main/res/values-id/strings.xml b/commons/src/main/res/values-id/strings.xml index 7a8159a39..9a0cc690d 100644 --- a/commons/src/main/res/values-id/strings.xml +++ b/commons/src/main/res/values-id/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension Tidak Boleh Kosong Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Salin diff --git a/commons/src/main/res/values-it/strings.xml b/commons/src/main/res/values-it/strings.xml index 28a3f6850..12faf69b9 100644 --- a/commons/src/main/res/values-it/strings.xml +++ b/commons/src/main/res/values-it/strings.xml @@ -55,6 +55,8 @@ Il nome del file \'%s\' contiene caratteri non validi L\'estensione non può essere vuota Il file di origine %s non esiste + Prepend filenames + Append filenames (before file extension) Copia diff --git a/commons/src/main/res/values-iw/strings.xml b/commons/src/main/res/values-iw/strings.xml index c8a22e212..797215d24 100644 --- a/commons/src/main/res/values-iw/strings.xml +++ b/commons/src/main/res/values-iw/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy diff --git a/commons/src/main/res/values-ja/strings.xml b/commons/src/main/res/values-ja/strings.xml index 132a11365..d684b5e17 100644 --- a/commons/src/main/res/values-ja/strings.xml +++ b/commons/src/main/res/values-ja/strings.xml @@ -55,6 +55,8 @@ ファイル名 \'%s\' に無効な文字が含まれています 拡張子は省略できません ソースファイル %s が存在しません + Prepend filenames + Append filenames (before file extension) コピー diff --git a/commons/src/main/res/values-ko-rKR/strings.xml b/commons/src/main/res/values-ko-rKR/strings.xml index 1eb1d61ed..468da2d1f 100644 --- a/commons/src/main/res/values-ko-rKR/strings.xml +++ b/commons/src/main/res/values-ko-rKR/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters 확장자가 비어있으면 안됨 Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) 복사 diff --git a/commons/src/main/res/values-lt/strings.xml b/commons/src/main/res/values-lt/strings.xml index b77423bd0..92e4ac3b5 100644 --- a/commons/src/main/res/values-lt/strings.xml +++ b/commons/src/main/res/values-lt/strings.xml @@ -55,6 +55,8 @@ Bylos pavadinimas \'%s\' susideda iš negalimų simbolių Papildinys negali būti paliktas tuščias Šaltinio byla %s neegzistuoja + Prepend filenames + Append filenames (before file extension) Kopijuoti diff --git a/commons/src/main/res/values-nb/strings.xml b/commons/src/main/res/values-nb/strings.xml index eb184eee9..347c2b935 100644 --- a/commons/src/main/res/values-nb/strings.xml +++ b/commons/src/main/res/values-nb/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Kopier diff --git a/commons/src/main/res/values-nl/strings.xml b/commons/src/main/res/values-nl/strings.xml index 73345b5ee..05769d819 100644 --- a/commons/src/main/res/values-nl/strings.xml +++ b/commons/src/main/res/values-nl/strings.xml @@ -55,6 +55,8 @@ Bestandsnaam \'%s\' bevat ongeldige tekens Extensie mag niet leeg zijn Bronbestand %s bestaat niet + Prepend filenames + Append filenames (before file extension) Kopiëren diff --git a/commons/src/main/res/values-no/strings.xml b/commons/src/main/res/values-no/strings.xml index b44b0e31b..7035fcde2 100644 --- a/commons/src/main/res/values-no/strings.xml +++ b/commons/src/main/res/values-no/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Kopier diff --git a/commons/src/main/res/values-pl/strings.xml b/commons/src/main/res/values-pl/strings.xml index d46c85abb..1b22c95aa 100644 --- a/commons/src/main/res/values-pl/strings.xml +++ b/commons/src/main/res/values-pl/strings.xml @@ -55,6 +55,8 @@ Nazwa \'%s\' zawiera niedozwolone znaki Rozszerzenie pliku nie może być puste    Plik źródłowy nie istnieje + Prepend filenames + Append filenames (before file extension) Kopiuj diff --git a/commons/src/main/res/values-pt-rBR/strings.xml b/commons/src/main/res/values-pt-rBR/strings.xml index 1e7224344..efb5d97a6 100644 --- a/commons/src/main/res/values-pt-rBR/strings.xml +++ b/commons/src/main/res/values-pt-rBR/strings.xml @@ -55,6 +55,8 @@ O nome do arquivo \'%s\' contém caracteres inválidos A extensão não pode ficar em branco Arquivo de origem %s não existe + Prepend filenames + Append filenames (before file extension) Copiar diff --git a/commons/src/main/res/values-pt/strings.xml b/commons/src/main/res/values-pt/strings.xml index be5b6fa59..5fd241eac 100644 --- a/commons/src/main/res/values-pt/strings.xml +++ b/commons/src/main/res/values-pt/strings.xml @@ -55,6 +55,8 @@ O nome \'%s\' contém caracteres inválidos A extensão não pode estar vazia O ficheiro de origem %s não existe + Prepend filenames + Append filenames (before file extension) Copiar diff --git a/commons/src/main/res/values-ru/strings.xml b/commons/src/main/res/values-ru/strings.xml index 08648630e..7adff938b 100644 --- a/commons/src/main/res/values-ru/strings.xml +++ b/commons/src/main/res/values-ru/strings.xml @@ -55,6 +55,8 @@ Имя файла \"%s\" содержит недопустимые символы Расширение не может быть пустым Исходный файл \"%s\" не существует + Prepend filenames + Append filenames (before file extension) Копировать diff --git a/commons/src/main/res/values-sk/strings.xml b/commons/src/main/res/values-sk/strings.xml index 2bae0222a..40af2a5c9 100644 --- a/commons/src/main/res/values-sk/strings.xml +++ b/commons/src/main/res/values-sk/strings.xml @@ -55,6 +55,8 @@ Názov súboru \'%s\' obsahuje neplatné znaky Prípona nesmie byť prázdna Zdrojový súbor %s neexistuje + Pridať pred názvy súborov + Pridať za názvy súborov (pred prípony) Kopírovať diff --git a/commons/src/main/res/values-sl/strings.xml b/commons/src/main/res/values-sl/strings.xml index f973f5b03..a9016fad8 100644 --- a/commons/src/main/res/values-sl/strings.xml +++ b/commons/src/main/res/values-sl/strings.xml @@ -55,6 +55,8 @@ Ime \'%s\' vsebuje neveljavne znake Končnica ne more biti prazna Datoteka %s ne obstaja + Prepend filenames + Append filenames (before file extension) Kopiraj diff --git a/commons/src/main/res/values-sv/strings.xml b/commons/src/main/res/values-sv/strings.xml index f15a26ebf..22ffbd12d 100644 --- a/commons/src/main/res/values-sv/strings.xml +++ b/commons/src/main/res/values-sv/strings.xml @@ -55,6 +55,8 @@ Filnamnet \'%s\' innehåller ogiltiga tecken Filnamnstillägget får inte vara tomt Källfilen %s finns inte + Prepend filenames + Append filenames (before file extension) Kopiera diff --git a/commons/src/main/res/values-tr/strings.xml b/commons/src/main/res/values-tr/strings.xml index 5eaad9a0f..0e1432a88 100644 --- a/commons/src/main/res/values-tr/strings.xml +++ b/commons/src/main/res/values-tr/strings.xml @@ -55,6 +55,8 @@ Dosya adı \'%s\' geçersiz karakterler içeriyor Uzantı boş olamaz %s kaynak dosyası mevcut değil + Prepend filenames + Append filenames (before file extension) Kopyala diff --git a/commons/src/main/res/values-zh-rCN/strings.xml b/commons/src/main/res/values-zh-rCN/strings.xml index 645fda694..0d91f9ee0 100644 --- a/commons/src/main/res/values-zh-rCN/strings.xml +++ b/commons/src/main/res/values-zh-rCN/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters 扩展名不能为空 原文件 %s 不存在 + Prepend filenames + Append filenames (before file extension) 复制 diff --git a/commons/src/main/res/values-zh-rTW/strings.xml b/commons/src/main/res/values-zh-rTW/strings.xml index 1826bb43f..696f99400 100644 --- a/commons/src/main/res/values-zh-rTW/strings.xml +++ b/commons/src/main/res/values-zh-rTW/strings.xml @@ -55,6 +55,8 @@ 檔名 \'%s\' 包含無效字元 副檔名不得空白 原始檔案 %s 不存在 + Prepend filenames + Append filenames (before file extension) 複製 diff --git a/commons/src/main/res/values/strings.xml b/commons/src/main/res/values/strings.xml index 5c864aea8..4b5fe66f0 100644 --- a/commons/src/main/res/values/strings.xml +++ b/commons/src/main/res/values/strings.xml @@ -55,6 +55,8 @@ Filename \'%s\' contains invalid characters Extension cannot be empty Source file %s doesn\'t exist + Prepend filenames + Append filenames (before file extension) Copy From f624a5a7de43472e876012fef0ca303ab287ea37 Mon Sep 17 00:00:00 2001 From: Emanuele Petriglia Date: Sun, 21 Oct 2018 10:43:52 +0000 Subject: [PATCH 04/15] Update italian translation --- commons/src/main/res/values-it/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/src/main/res/values-it/strings.xml b/commons/src/main/res/values-it/strings.xml index 12faf69b9..61a9f23cd 100644 --- a/commons/src/main/res/values-it/strings.xml +++ b/commons/src/main/res/values-it/strings.xml @@ -55,8 +55,8 @@ Il nome del file \'%s\' contiene caratteri non validi L\'estensione non può essere vuota Il file di origine %s non esiste - Prepend filenames - Append filenames (before file extension) + Anteponi i nomi dei file + Appendi i nomi dei file (prima dell\'estensione) Copia From eeb55688df37fd09f06d3c4cdd8bbbd6856e6ad4 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Sun, 21 Oct 2018 15:36:04 +0200 Subject: [PATCH 05/15] Dutch --- commons/src/main/res/values-nl/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/src/main/res/values-nl/strings.xml b/commons/src/main/res/values-nl/strings.xml index 05769d819..a567089ca 100644 --- a/commons/src/main/res/values-nl/strings.xml +++ b/commons/src/main/res/values-nl/strings.xml @@ -55,8 +55,8 @@ Bestandsnaam \'%s\' bevat ongeldige tekens Extensie mag niet leeg zijn Bronbestand %s bestaat niet - Prepend filenames - Append filenames (before file extension) + Voor bestandsnaam + Na bestandsnaam (voor extensie) Kopiëren From 71231666733160ff8cb6de8fa6ddda45562d3aa3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 21 Oct 2018 21:10:50 +0200 Subject: [PATCH 06/15] remove MyBorderlessBackgroundStyle since there is no separate v21 version anymore --- build.gradle | 2 +- commons/src/main/res/values/styles.xml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index eee5ecc5f..b40b2c285 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { propMinSdkVersion = 21 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '5.1.12' + propVersionName = '5.1.13' kotlin_version = '1.2.71' } diff --git a/commons/src/main/res/values/styles.xml b/commons/src/main/res/values/styles.xml index cda2f9b40..c8e56d45a 100644 --- a/commons/src/main/res/values/styles.xml +++ b/commons/src/main/res/values/styles.xml @@ -53,10 +53,6 @@ @color/theme_dark_background_color - -