diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt index c5e4d09c5..2d283888e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ExcludedFoldersActivity.kt @@ -5,6 +5,7 @@ import android.os.Bundle import android.view.Menu import android.view.MenuItem import com.simplemobiletools.commons.dialogs.FilePickerDialog +import com.simplemobiletools.commons.extensions.beVisibleIf import com.simplemobiletools.gallery.R import com.simplemobiletools.gallery.extensions.config import kotlinx.android.synthetic.main.activity_excluded_folders.* @@ -20,6 +21,9 @@ class ExcludedFoldersActivity : SimpleActivity() { private fun updateExcludedFolders() { excluded_folders_holder.removeAllViews() val folders = config.excludedFolders + excluded_folders_placeholder.beVisibleIf(folders.isEmpty()) + excluded_folders_placeholder.setTextColor(config.textColor) + for (folder in folders) { layoutInflater.inflate(R.layout.item_manage_folder, null, false).apply { managed_folder_title.apply { diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt index 53c45cf8a..7d3d0c33d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt @@ -5,6 +5,7 @@ import android.os.Bundle import android.view.Menu import android.view.MenuItem import com.simplemobiletools.commons.dialogs.FilePickerDialog +import com.simplemobiletools.commons.extensions.beVisibleIf import com.simplemobiletools.commons.extensions.scanPath import com.simplemobiletools.gallery.R import com.simplemobiletools.gallery.extensions.config @@ -21,6 +22,9 @@ class IncludedFoldersActivity : SimpleActivity() { private fun updateIncludedFolders() { included_folders_holder.removeAllViews() val folders = config.includedFolders + included_folders_placeholder.beVisibleIf(folders.isEmpty()) + included_folders_placeholder.setTextColor(config.textColor) + for (folder in folders) { layoutInflater.inflate(R.layout.item_manage_folder, null, false).apply { managed_folder_title.apply { diff --git a/app/src/main/res/layout/activity_excluded_folders.xml b/app/src/main/res/layout/activity_excluded_folders.xml index 7225406fe..64df37244 100644 --- a/app/src/main/res/layout/activity_excluded_folders.xml +++ b/app/src/main/res/layout/activity_excluded_folders.xml @@ -15,5 +15,16 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/> + + diff --git a/app/src/main/res/layout/activity_included_folders.xml b/app/src/main/res/layout/activity_included_folders.xml index 588635b99..527cdd94a 100644 --- a/app/src/main/res/layout/activity_included_folders.xml +++ b/app/src/main/res/layout/activity_included_folders.xml @@ -15,5 +15,16 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/> + + diff --git a/app/src/main/res/values-ca-rES/strings.xml b/app/src/main/res/values-ca-rES/strings.xml index 62790496a..95c473578 100644 --- a/app/src/main/res/values-ca-rES/strings.xml +++ b/app/src/main/res/values-ca-rES/strings.xml @@ -29,6 +29,7 @@ Gestionar carpetas excluidas Esto excluirá la selección junto con sus subcarpetas, solamente de Simple Gallery. Puede gestionar las carpetas excluidas en los Ajustes. ¿Excluir mejor la carpeta superior? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Eliminar todo ¿Eliminar todas las carpetas de la lista de excluidas? Esto no borrará las carpetas. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Redimensionar diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 40c902440..231f6c223 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Maybe you want to exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Größe ändern diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index 62790496a..95c473578 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -29,6 +29,7 @@ Gestionar carpetas excluidas Esto excluirá la selección junto con sus subcarpetas, solamente de Simple Gallery. Puede gestionar las carpetas excluidas en los Ajustes. ¿Excluir mejor la carpeta superior? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Eliminar todo ¿Eliminar todas las carpetas de la lista de excluidas? Esto no borrará las carpetas. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Redimensionar diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 466647a95..3e0022a78 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Redimensionner diff --git a/app/src/main/res/values-gl-rES/strings.xml b/app/src/main/res/values-gl-rES/strings.xml index 62790496a..95c473578 100644 --- a/app/src/main/res/values-gl-rES/strings.xml +++ b/app/src/main/res/values-gl-rES/strings.xml @@ -29,6 +29,7 @@ Gestionar carpetas excluidas Esto excluirá la selección junto con sus subcarpetas, solamente de Simple Gallery. Puede gestionar las carpetas excluidas en los Ajustes. ¿Excluir mejor la carpeta superior? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Eliminar todo ¿Eliminar todas las carpetas de la lista de excluidas? Esto no borrará las carpetas. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Redimensionar diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 050dd4d49..2e342f01e 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Resize diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index e10d7cc06..3119a8d3f 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Resize diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index c65da1b7e..8c56b0cab 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Resize diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 6038c358d..e21c11f99 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -29,6 +29,7 @@ Zarządzaj wykluczonymi folderami Działa na folderach Galerii. Możesz zarządzać wykluczonymi folderami w Menu/Ustawienia. Wykluczyć folder nadżędny ? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Usuń wszystko Usuń wszystkie foldery z listy wykluczone? To nie usuwa folderów. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Zmień rozmiar diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index c892939cc..addd73ab9 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -29,6 +29,7 @@ Gerir pastas excluídas Esta ação apenas exclui as pastas selecionadas da lista de pastas desta aplicação. Pode gerir as pastas excuídas nas Definições. Excluir antes a pasta superior? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remover todas Remover todas as pastas de lista de exclusões? Esta ação não apaga as pastas. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Redimensionar diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 2ac3b1989..83be5d201 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -29,6 +29,7 @@ Управление исключёнными папками Эта опция исключит выбранные папки вместе с подпапками только для Simple Gallery. Можно управлять исключёнными папками из настроек. Исключить только родительский каталог? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Удалить всё Очистить список исключённых? Сами папки не будут удалены. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Изменить размер diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index a3b95deae..153944a9a 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -29,6 +29,7 @@ Spravovať vylúčené priečinky Táto funkcia vylúči výber a jeho podpriečinky iba z Jednoduchej galérie. Spravovať vylúčené priečinky je možné v nastaveniach. Chcete ukryť rodičovský priečinok? + Vylúčené priečinky budú spolu s podpriečinkami ukryté iba pred Jednoduchou Galériou, ostatné aplikácie ich budú stále vidieť.\\n\\nAk ich chcete ukryť aj pred ostatnými aplikáciami, použite funkciu Skryť. Odstrániť všetky Odstrániť všetky priečinky zo zoznamu vylúčených? Táto operácia neodstráni samotný obsah priečinkov. @@ -36,6 +37,7 @@ Pridané priečinky Spravovať pridané priečinky Pridať priečinok + Ak máte nejaké priečinky obsahujúce médiá, ale neboli rozpoznané aplikáciou, môžete ich tu manuálne pridať. Zmeniť veľkosť diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 650014fe7..d89096366 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Ändra storlek diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index a050fc7b4..cd43ebb35 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -29,6 +29,7 @@ Hariç tutulan klasörleri yönet Bu, seçimi alt klasörleriyle birlikte yalnızca Basit Galeri\'den hariç tutacaktır. Dışlanan klasörleri Ayarlar\'dan yönetebilirsiniz. Bunun yerine ebeveynleri hariç tutun? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Hepsini sil Hariç tutulanlar listesinden tüm klasörleri kaldırmak mı istiyorsunuz? Bu, klasörler silinmez. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Yeniden boyutlandır diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index ff7f8d1ba..c84734503 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. 缩放 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 55084e560..169d0f9af 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\\n\\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. 縮放 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 050dd4d49..7ae2d5399 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -29,6 +29,7 @@ Manage excluded folders This will exclude the selection together with its subfolders from Simple Gallery only. You can manage excluded folders in Settings. Exclude a parent instead? + Excluding folders will make them together with their subfolders hidden just in Simple Gallery, they will still be visible in other applications.\n\nIf you want to hide them from other apps too, use the Hide function. Remove all Remove all folders from the list of excluded? This will not delete the folders. @@ -36,6 +37,7 @@ Included folders Manage included folders Add folder + If you have some folders which contain media, but were not recognized by the app, you can add them manually here. Resize