From 272d45b3f4ae9e821585351ba5b3f312140a76fc Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 28 Aug 2017 13:33:46 +0200 Subject: [PATCH] move the Media filtering from Settings to an actionmenu item --- .../gallery/activities/MainActivity.kt | 5 +++ .../gallery/activities/MediaActivity.kt | 17 +++++---- .../gallery/activities/SettingsActivity.kt | 26 ++------------ .../gallery/extensions/context.kt | 12 +++---- .../gallery/helpers/Config.kt | 6 ++-- .../gallery/helpers/Constants.kt | 13 ++++--- app/src/main/res/layout/activity_settings.xml | 35 ------------------- app/src/main/res/menu/menu_main.xml | 5 +++ app/src/main/res/menu/menu_media.xml | 5 +++ app/src/main/res/values-ca/strings.xml | 12 +++---- app/src/main/res/values-cs/strings.xml | 12 +++---- app/src/main/res/values-de/strings.xml | 12 +++---- app/src/main/res/values-es/strings.xml | 12 +++---- app/src/main/res/values-fr/strings.xml | 12 +++---- app/src/main/res/values-hu/strings.xml | 12 +++---- app/src/main/res/values-it/strings.xml | 12 +++---- app/src/main/res/values-ja/strings.xml | 12 +++---- app/src/main/res/values-pl/strings.xml | 12 +++---- app/src/main/res/values-pt-rBR/strings.xml | 15 ++++---- app/src/main/res/values-pt/strings.xml | 12 +++---- app/src/main/res/values-ru/strings.xml | 12 +++---- app/src/main/res/values-sk/strings.xml | 12 +++---- app/src/main/res/values-sv/strings.xml | 12 +++---- app/src/main/res/values-tr/strings.xml | 12 +++---- app/src/main/res/values-zh-rCN/strings.xml | 12 +++---- app/src/main/res/values-zh-rTW/strings.xml | 12 +++---- app/src/main/res/values/strings.xml | 12 +++---- 27 files changed, 153 insertions(+), 190 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 6952c945e..ed41ca45b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -95,6 +95,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { R.id.sort -> showSortingDialog() + R.id.filter -> showFilterMediaDialog() R.id.open_camera -> launchCamera() R.id.show_all -> showAllMedia() R.id.temporarily_show_hidden -> tryToggleTemporarilyShowHidden() @@ -201,6 +202,10 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { } } + private fun showFilterMediaDialog() { + + } + private fun showAllMedia() { config.showAll = true Intent(this, MediaActivity::class.java).apply { diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index 6229ffce7..87417c774 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -210,6 +210,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { R.id.sort -> showSortingDialog() + R.id.filter -> showFilterMediaDialog() R.id.toggle_filename -> toggleFilenameVisibility() R.id.open_camera -> launchCamera() R.id.folder_view -> switchToFolderView() @@ -227,18 +228,22 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { return true } - private fun toggleFilenameVisibility() { - config.displayFileNames = !config.displayFileNames - if (media_grid.adapter != null) - getRecyclerAdapter().updateDisplayFilenames(config.displayFileNames) - } - private fun showSortingDialog() { ChangeSortingDialog(this, false, !config.showAll, mPath) { getMedia() } } + private fun showFilterMediaDialog() { + + } + + private fun toggleFilenameVisibility() { + config.displayFileNames = !config.displayFileNames + if (media_grid.adapter != null) + getRecyclerAdapter().updateDisplayFilenames(config.displayFileNames) + } + private fun switchToFolderView() { config.showAll = false startActivity(Intent(this, MainActivity::class.java)) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt index b5125dff1..65205b02f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt @@ -11,7 +11,9 @@ import com.simplemobiletools.commons.helpers.SHOW_ALL_TABS import com.simplemobiletools.commons.models.RadioItem import com.simplemobiletools.gallery.R import com.simplemobiletools.gallery.extensions.config -import com.simplemobiletools.gallery.helpers.* +import com.simplemobiletools.gallery.helpers.ROTATE_BY_ASPECT_RATIO +import com.simplemobiletools.gallery.helpers.ROTATE_BY_DEVICE_ROTATION +import com.simplemobiletools.gallery.helpers.ROTATE_BY_SYSTEM_SETTING import kotlinx.android.synthetic.main.activity_settings.* class SettingsActivity : SimpleActivity() { @@ -40,7 +42,6 @@ class SettingsActivity : SimpleActivity() { setupScreenRotation() setupReplaceShare() setupPasswordProtection() - setupShowMedia() setupHideSystemUI() updateTextColors(settings_holder) } @@ -187,25 +188,4 @@ class SettingsActivity : SimpleActivity() { ROTATE_BY_DEVICE_ROTATION -> R.string.screen_rotation_device_rotation else -> R.string.screen_rotation_aspect_ratio }) - - private fun setupShowMedia() { - settings_show_media.text = getShowMediaText() - settings_show_media_holder.setOnClickListener { - val items = arrayListOf( - RadioItem(IMAGES_AND_VIDEOS, res.getString(R.string.images_and_videos)), - RadioItem(IMAGES, res.getString(R.string.images)), - RadioItem(VIDEOS, res.getString(R.string.videos))) - - RadioGroupDialog(this@SettingsActivity, items, config.showMedia) { - config.showMedia = it as Int - settings_show_media.text = getShowMediaText() - } - } - } - - private fun getShowMediaText() = getString(when (config.showMedia) { - IMAGES_AND_VIDEOS -> R.string.images_and_videos - IMAGES -> R.string.images - else -> R.string.videos - }) } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt index 2fd607c32..5dc6c7dc3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt @@ -73,13 +73,13 @@ fun Context.getFilesFrom(curPath: String, isPickImage: Boolean, isPickVideo: Boo private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isPickVideo: Boolean, curPath: String): ArrayList { val curMedia = ArrayList() val config = context.config - val showMedia = config.showMedia + val filterMedia = config.filterMedia val showHidden = config.shouldShowHidden val includedFolders = config.includedFolders val excludedFolders = config.excludedFolders val noMediaFolders = context.getNoMediaFolders() - cur.use { cur -> + cur.use { if (cur.moveToFirst()) { do { try { @@ -103,10 +103,10 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP if (!isImage && !isVideo) continue - if (isVideo && (isPickImage || showMedia == IMAGES)) + if (isVideo && (isPickImage || filterMedia and VIDEOS == 0)) continue - if (isImage && (isPickVideo || showMedia == VIDEOS)) + if (isImage && (isPickVideo || filterMedia and IMAGES == 0)) continue if (!showHidden && filename.startsWith('.')) @@ -164,10 +164,10 @@ private fun parseCursor(context: Context, cur: Cursor, isPickImage: Boolean, isP if (!isImage && !isVideo) continue - if (isVideo && (isPickImage || showMedia == IMAGES)) + if (isVideo && (isPickImage || filterMedia and VIDEOS == 0)) continue - if (isImage && (isPickVideo || showMedia == VIDEOS)) + if (isImage && (isPickVideo || filterMedia and IMAGES == 0)) continue val dateTaken = file.lastModified() diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt index 167988674..8ce4a8457 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt @@ -156,9 +156,9 @@ class Config(context: Context) : BaseConfig(context) { get() = prefs.getBoolean(DARK_BACKGROUND, false) set(darkBackground) = prefs.edit().putBoolean(DARK_BACKGROUND, darkBackground).apply() - var showMedia: Int - get() = prefs.getInt(SHOW_MEDIA, IMAGES_AND_VIDEOS) - set(showMedia) = prefs.edit().putInt(SHOW_MEDIA, showMedia).apply() + var filterMedia: Int + get() = prefs.getInt(FILTER_MEDIA, IMAGES or VIDEOS or GIFS) + set(filterMedia) = prefs.edit().putInt(FILTER_MEDIA, filterMedia).apply() var dirColumnCnt: Int get() = prefs.getInt(getDirectoryColumnsField(), getDefaultDirectoryColumnCount()) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt index 3efd48714..72ab0bc18 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt @@ -15,6 +15,7 @@ val SCREEN_ROTATION = "screen_rotation" val DISPLAY_FILE_NAMES = "display_file_names" val DARK_BACKGROUND = "dark_background" val PINNED_FOLDERS = "pinned_folders" +val FILTER_MEDIA = "filter_media" val DIR_COLUMN_CNT = "dir_column_cnt" val DIR_LANDSCAPE_COLUMN_CNT = "dir_landscape_column_cnt" val DIR_HORIZONTAL_COLUMN_CNT = "dir_horizontal_column_cnt" @@ -24,7 +25,6 @@ val MEDIA_LANDSCAPE_COLUMN_CNT = "media_landscape_column_cnt" val MEDIA_HORIZONTAL_COLUMN_CNT = "media_horizontal_column_cnt" val MEDIA_LANDSCAPE_HORIZONTAL_COLUMN_CNT = "media_landscape_horizontal_column_cnt" val SHOW_ALL = "show_all" // display images and videos from all folders together -val SHOW_MEDIA = "show_media" val SAVE_FOLDER_PREFIX = "folder2_" val HIDE_FOLDER_TOOLTIP_SHOWN = "hide_folder_tooltip_shown" val EXCLUDED_FOLDERS = "excluded_folders" @@ -57,11 +57,6 @@ val IS_VIEW_INTENT = "is_view_intent" val REQUEST_EDIT_IMAGE = 1 val REQUEST_SET_AS = 2 -// show media -val IMAGES_AND_VIDEOS = 0 -val IMAGES = 1 -val VIDEOS = 2 - // rotations val ROTATE_BY_SYSTEM_SETTING = 0 val ROTATE_BY_DEVICE_ROTATION = 1 @@ -70,4 +65,8 @@ val ROTATE_BY_ASPECT_RATIO = 2 val ORIENT_PORTRAIT = 0 val ORIENT_LANDSCAPE_LEFT = 1 val ORIENT_LANDSCAPE_RIGHT = 2 -val ORIENT_UPSIDE_DOWN = 3 + +// filter media +val IMAGES = 1 +val VIDEOS = 2 +val GIFS = 4 diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index ae31ddb62..db2c3fb3b 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -322,40 +322,5 @@ android:clickable="false"/> - - - - - - - - diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml index c32d48135..93770fe35 100644 --- a/app/src/main/res/menu/menu_main.xml +++ b/app/src/main/res/menu/menu_main.xml @@ -11,6 +11,11 @@ android:icon="@drawable/ic_camera" android:title="@string/open_camera" app:showAsAction="ifRoom"/> + + Volume Brightness + + Filter media + Images + Videos + GIFs + This function hides the folder by adding a \'.nomedia\' file into it, it will hide all subfolders too. You can see them by toggling the \'Show hidden folders\' option in Settings. Continue? Exclude @@ -96,12 +102,6 @@ Show hidden media Play videos automatically Toggle filename visibility - Show media - Images only - Videos only - GIFs only - Images, videos, GIFs - Images and videos Loop videos Animate GIFs at thumbnails Max brightness when viewing media diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 3b88dc92d..0d5b5652c 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Tato funkce skryje složku, včetně podsložek, přidáním souboru \'.nomedia\'. Zobrazíte je zvolením možnosti \'Zobrazit skryté složky\' v nastavení. Pokračovat? Vyloučit @@ -96,12 +102,6 @@ Zobrazit skryté média Automaticky přehrávat videa Přepnout viditelnost názvů souborů - Zobrazit média - Jen obrázky - Jen videa - GIFs only - Images, videos, GIFs - Obrázky i videa Přehrávat videa ve smyčce Animovat náhledy souborů GIF Nastavit jas obrazovky na max při zobrazení médií diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index ba4a39d71..205a86c71 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -26,6 +26,12 @@ Lautstärke Helligkeit + + Filter media + Images + Videos + GIFs + Diese Funktion versteckt ausgewählte Ordner (auch für andere Apps), indem dort im Dateisystem eine \'.nomedia\'-Datei abgelegt wird. Dadurch werden auch deren Unterordner versteckt. Solche Ordner werden nur gezeigt, wenn die Einstellung \'Versteckte Ordner zeigen\' aktiv ist (auch andere Apps bieten üblicherweise eine solche Option). Fortfahren? Ordner ausblenden @@ -96,12 +102,6 @@ Versteckte Ordner zeigen Videos automatisch abspielen Beschriftungen ein/aus - Medien auswählen - Nur Bilder - Nur Videos - Nur GIFs - Bilder, Videos und GIFs - Bilder und Videos Videos in Endlosschleife spielen Kacheln von GIFs animieren Helligkeit beim Betrachten maximieren diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index b5bc78a3a..a56b9ba8c 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Esta función oculta la carpeta agregando un archivo \'.nomedia\' en ella, y ocultará también las subcarpetas. Puede mostrarlas cambiando la opción \'Mostrar carpetas ocultas\' en los Ajustes. ¿Continuar? Excluir @@ -96,12 +102,6 @@ Mostrar carpetas ocultas Reproducir vídeos automáticamente Cambiar la visibilidad del nombre de archivo - Mostrar multimedia - Solo imágenes - Solo vídeos - solo GIFs - Imágenes, vídeos, GIFs - Imágenes y vídeos Reproducción continua de vídeos Animar las miniaturas de GIFs Brillo máximo cuando se muestra multimedia diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 09c8d563c..556037f3f 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -26,6 +26,12 @@ Volume Luminosité + + Filter media + Images + Videos + GIFs + Cette option masque le dossier en ajoutant un fichier \'.nomedia\' à l\'intérieur, cela masquera aussi tous les sous-dossiers. Vous pouvez les voir en modifiant l\'option \'Afficher les dossiers cachés\' dans les Paramètres. Continuer ? Exclure @@ -96,12 +102,6 @@ Afficher les dossiers cachés Lecture automatique des vidéos Permuter la visibilité des noms de fichier - Afficher les médias - Seulement les images - Vidéos uniquement - GIFs seulement - Images, vidéos, GIFs - Images et vidéos Tourner en boucle les vidéos GIFs animés sur les miniatures Luminosité maximale lors de l\'affichage de media diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 8921e7214..1c4b04c34 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + This function hides the folder by adding a \'.nomedia\' file into it, it will hide all subfolders too. You can see them by toggling the \'Show hidden folders\' option in Settings. Continue? Exclude @@ -96,12 +102,6 @@ Show hidden media Play videos automatically Toggle filename visibility - Show media - Images only - Videos only - GIFs only - Images, videos, GIFs - Images and videos Loop videos Animate GIFs at thumbnails Max brightness when viewing media diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index b70a13b6c..a1b48cf8c 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -26,6 +26,12 @@ Volume Luminosità + + Filter media + Images + Videos + GIFs + Questa funzione nasconde la cartella aggiungendo un file \'.nomedia\' all\'interno, nasconderà anche tutte le sottocartelle. Puoi vederle attivando l\'opzione \'Mostra cartelle nascoste\' nelle impostazioni. Continuare? Escludi @@ -96,12 +102,6 @@ Mostra cartelle nascoste Riproduci video automaticamente Visibilità nome del file - Mostra tipo di media - Solo immagini - Solo video - Solo GIF - Immagini, video, GIF - Immagini e video Ripeti i video Anima le GIF in miniatura Luminosità max durante visualizzazione diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index a1f649c3a..0a56bc8bd 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + This function hides the folder by adding a \'.nomedia\' file into it, it will hide all subfolders too. You can see them by toggling the \'Show hidden folders\' option in Settings. Continue? Exclude @@ -96,12 +102,6 @@ 非表示フォルダーを表示 自動的にビデオを再生 ファイル名の表示を切り替え - Show media - Images only - Videos only - GIFs only - Images, videos, GIFs - Images and videos Loop videos Animate GIFs at thumbnails Max brightness when viewing media diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 81cbaaae6..722416c06 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -26,6 +26,12 @@ Głośność Jasność + + Filter media + Images + Videos + GIFs + Ta funkcja ukrywa foldery dodając do nich pusty plik .nomedia. Aby móc je zobaczyć, należy włączyć opcję \'Pokazuj ukryte foldery\' w ustawieniach. Kontyntynuować? Wyklucz @@ -96,12 +102,6 @@ Pokazuj ukryte foldery Odtwarzaj filmy automatycznie Pokazuj / ukrywaj nazwy plików - Pokazywane typy multimediów - Tylko obrazy - Tylko filmy - Tylko GIFy - Obrazy, filmy i GIFy - Obrazy i filmy Zapętlaj odtwarzanie filmów Animowane miniatury GIFów Maksymalna jasność podczas wyświetlania multimediów diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index ab1b9691c..24b7e10d4 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -5,8 +5,7 @@ Editar Abrir câmera Abrir com - Nenhum aplicativo encontrado -     + Nenhum aplicativo encontrado     (oculto) Fixar pasta Desfixar pasta @@ -27,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Esta opção oculta uma pasta com a adição de um arquivo \'.nomedia\' dentro dela, e irá ocultar todas as subpastas que estejam dentro da mesma. Você poderá rever essas pastas com a opção \'Mostrar pastas ocultas\'. Continuar? Excluir @@ -97,12 +102,6 @@ Mostrar pastas ocultas Reproduzir vídeos automaticamente Mostrar/ocultar nome do arquivo - Mostrar mídia - Apenas imagens - Apenas vídeos - Apenas GIFS - Imagens, vídeos, GIFs - Imagens e vídeos Reproduzir vídeos em ciclo Animação de GIFs nas miniaturas Brilho máximo ao visualizar mídia diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 300f156b1..d70a29e5b 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -26,6 +26,12 @@ Volume Brilho + + Filter media + Images + Videos + GIFs + Esta opção oculta uma pasta com a adição de um ficheiro \'.nomedia\' na pasta, e irá ocultar todas as subpastas existentes. Pode ver as pastas com a opção \'Mostrar pastas ocultas\'. Continuar? Exclusão @@ -96,12 +102,6 @@ Mostrar pastas ocultas Reproduzir vídeos automaticamente Mostrar/ocultar nome do ficheiro - Mostrar multimédia - Apenas imagens - Apenas vídeos - Apenas GIFs - Imagens, vídeos e GIFs - Imagens e vídeos Vídeos em ciclo Animação de GIFs nas miniaturas Brilho máximo permitido diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 700fc831e..1071d67d1 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Эта опция скрывает папку, добавляя в неё файл \'.nomedia\'; будут скрыты все подпапки. Можно показывать их, переключая \'Показать скрытые папки\' в настройках. Продолжить? Исключить @@ -96,12 +102,6 @@ Показать скрытые папки Воспроизводить видео автоматически Переключить отображение имени файла - Отображать - Только изображения - Только видео - GIFs only - Images, videos, GIFs - Изображения и видео Повторять видео Анимировать эскизы GIF-файлов Максимальная яркость при просмотре файлов diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index b9b0ea85c..9b6c25cd4 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -26,6 +26,12 @@ Hlasitosť Jas + + Filter médií + Obrázky + Videá + GIFká + Táto funkcia skryje priečinok pridaním súboru \'.nomedia\', skryté budú aj podpriečinky. Môžete ich vidieť zvolením možnosti \'Zobraziť skryté priečinky\' v nastaveniach. Pokračovať? Vylúčiť @@ -96,12 +102,6 @@ Zobraziť skryté médiá Spúšťať videá automaticky Prepnúť viditeľnosť názvov súborov - Zobraziť médiá - Iba obrázky - Iba videá - Iba GIFká - Obrázky, videá, GIFká - Obrázky aj videá Automaticky reštartovať videá Animovať GIF súbory pri náhľade Maximálny jas pri prezeraní médií diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 68558ac8c..d709b0a1c 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Denna funktion döljer mappen och alla dess undermappar genom att lägga till en \'.nomedia\'-fil i den. Du kan se dem genom att växla \'Visa dolda mappar\'-alternativet i Inställningar. Vill du fortsätta? Uteslut @@ -96,12 +102,6 @@ Visa dolda mappar Spela upp videos automatiskt Visa/dölj filnamnen - Visa media - Endast bilder - Endast videos - Bara GIF-bilder - Bilder, videor, GIF-bilder - Bilder och videos Återspela videos Animera GIF-bilders miniatyrer Maximal ljusstyrka när media visas diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 087a7d896..f8d3f75d8 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + Bu işlev, klasöre\'.medya yok\'dosyası ekleyerek gizler; tüm alt klasörleri de gizler. Bunları Ayarlar\'da\'Gizli klasörleri göster\'seçeneğine basarak görebilirsiniz. Devam et? Dışlama @@ -96,12 +102,6 @@ Gizli klasörleri göster Videoları otomatik olarak oynat Dosya adı görünürlüğünü değiştir - Medyayı göster - Yalnızca resimler - Yalnızca videolar - GIFs only - Images, videos, GIFs - Resimler ve videolar Videolar döngüsü Küçük resimlerde GIF\'leri canlandırın Ortam görüntülerken azami parlaklık diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 0dcda3787..52ad95db9 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -26,6 +26,12 @@ 音量 亮度 + + Filter media + Images + Videos + GIFs + 通过添加文件 \'.nomedia\' 到目录,可以防止目录及其子目录下的所有媒体被扫描。您可以通过设置中的 \'显示隐藏目录\' 选项改变设置,是否继续? 排除 @@ -96,12 +102,6 @@ 显示所有 自动播放 显示文件名 - 显示多媒体文件 - 仅图片 - 仅视频 - 仅 GIF - 图片,视频,GIF - 图片和视频 循环播放视频 GIF 缩略图 浏览时最大亮度 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 61cc68907..e21f9c4ec 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -26,6 +26,12 @@ 音量 亮度 + + Filter media + Images + Videos + GIFs + 這功能藉由添加一個\'.nomedia\'檔案,來隱藏資料夾和所有子資料夾。您可以透過設定中的「顯示隱藏的資料夾」選項來查看。\n是否繼續? 排除 @@ -96,12 +102,6 @@ 顯示隱藏的媒體檔案 自動播放影片 顯示檔案名稱 - 顯示媒體檔案 - 只有圖片 - 只有影片 - 只有GIF - 圖片、影片、GIF - 圖片和影片 影片循環播放 縮圖顯示GIF動畫 瀏覽時最大亮度 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 496fb5445..a1f884953 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -26,6 +26,12 @@ Volume Brightness + + Filter media + Images + Videos + GIFs + This function hides the folder by adding a \'.nomedia\' file into it, it will hide all subfolders too. You can see them by toggling the \'Show hidden folders\' option in Settings. Continue? Exclude @@ -96,12 +102,6 @@ Show hidden media Play videos automatically Toggle filename visibility - Show media - Images only - Videos only - GIFs only - Images, videos, GIFs - Images and videos Loop videos Animate GIFs at thumbnails Max brightness when viewing media