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 76666d9b3..0937894ce 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt @@ -56,10 +56,10 @@ class SettingsActivity : SimpleActivity() { } private fun setupShowHiddenFolders() { - settings_show_hidden_folders.isChecked = config.showHiddenFolders + settings_show_hidden_folders.isChecked = config.showHiddenMedia settings_show_hidden_folders_holder.setOnClickListener { settings_show_hidden_folders.toggle() - config.showHiddenFolders = settings_show_hidden_folders.isChecked + config.showHiddenMedia = settings_show_hidden_folders.isChecked } } 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 71392866b..a702b1237 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Config.kt @@ -40,11 +40,11 @@ class Config(context: Context) : BaseConfig(context) { get() = prefs.getBoolean(HIDE_FOLDER_TOOLTIP_SHOWN, false) set(wasShown) = prefs.edit().putBoolean(HIDE_FOLDER_TOOLTIP_SHOWN, wasShown).apply() - var shouldShowHidden = showHiddenFolders || temporarilyShowHidden + var shouldShowHidden = showHiddenMedia || temporarilyShowHidden - var showHiddenFolders: Boolean - get() = prefs.getBoolean(SHOW_HIDDEN_FOLDERS, false) - set(showHiddenFolders) = prefs.edit().putBoolean(SHOW_HIDDEN_FOLDERS, showHiddenFolders).apply() + var showHiddenMedia: Boolean + get() = prefs.getBoolean(SHOW_HIDDEN_MEDIA, false) + set(showHiddenFolders) = prefs.edit().putBoolean(SHOW_HIDDEN_MEDIA, showHiddenFolders).apply() var temporarilyShowHidden: Boolean get() = prefs.getBoolean(TEMPORARILY_SHOW_HIDDEN, false) 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 cb82d3a55..b148245a8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/Constants.kt @@ -4,7 +4,7 @@ package com.simplemobiletools.gallery.helpers val SORT_ORDER = "sort_order" val DIRECTORY_SORT_ORDER = "directory_sort_order" val SORT_FOLDER_PREFIX = "sort_folder_" -val SHOW_HIDDEN_FOLDERS = "show_hidden_folders" +val SHOW_HIDDEN_MEDIA = "show_hidden_media" val TEMPORARILY_SHOW_HIDDEN = "temporarily_show_hidden" val AUTOPLAY_VIDEOS = "autoplay_videos" val LOOP_VIDEOS = "loop_videos" diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 97aad5b3d..9d1f0c530 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -84,7 +84,7 @@ android:clickable="false" android:paddingLeft="@dimen/medium_margin" android:paddingStart="@dimen/medium_margin" - android:text="@string/show_hidden_folders"/> + android:text="@string/show_hidden_media"/> diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index c984651e4..f6ff4fd16 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Zobrazit skryté složky + Zobrazit skryté média Automaticky přehrávat videa Přepnout viditelnost názvů souborů Zobrazit média diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index d8f1a3b02..534eb38ce 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -77,7 +77,7 @@ Querformat - Versteckte Ordner zeigen + Versteckte Ordner zeigen Videos automatisch abspielen Beschriftungen ein/aus Medien auswählen diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 0c32b1e6e..ebf047f58 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Mostrar carpetas ocultas + Mostrar carpetas ocultas Reproducir vídeos automáticamente Cambiar la visibilidad del nombre de archivo Mostrar medios diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index e5d960ea2..14ed8b590 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Afficher les dossiers cachés + Afficher les dossiers cachés Lecture automatique des vidéos Permutter la visibilité des noms de fichier Afficher les médias diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 18bc812bb..662d2a244 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Show hidden folders + Show hidden media Play videos automatically Toggle filename visibility Show media diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index bdcfa6de1..06efff882 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Mostra cartelle nascoste + Mostra cartelle nascoste Riproduci video automaticamente Visibilità nome del file Show media diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 7b5575b76..4daae9769 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - 非表示フォルダーを表示 + 非表示フォルダーを表示 自動的にビデオを再生 ファイル名の表示を切り替え Show media diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 2ce945c37..a48a850cc 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Pokaż ukryte foldery + Pokaż ukryte foldery Odtwarzaj pliki wideo automatycznie Włącz widoczność nazwy pliku Wybierz co pokazywać diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index a9800a9af..7656191a9 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -77,7 +77,7 @@ Paisagem - Mostrar pastas ocultas + Mostrar pastas ocultas Reproduzir vídeos automaticamente Mostrar/ocultar nome do arquivo Mostrar mídia diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 36029f7e9..9c2c1b68e 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -77,7 +77,7 @@ proporção na horizontal - Mostrar pastas ocultas + Mostrar pastas ocultas Reproduzir vídeos automaticamente Mostrar/ocultar nome do ficheiro Mostrar multimédia diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index fac022d2f..fac1fa588 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -77,7 +77,7 @@ Пейзажное соотношение сторон - Показать скрытые папки + Показать скрытые папки Воспроизводить видео автоматически Переключить отображение имени файла Отображать diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index c826a6c53..05d48fc24 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -77,7 +77,7 @@ Orientácia naležato - Zobraziť skryté priečinky + Zobraziť skryté médiá Spúšťať videá automaticky Prepnúť viditeľnosť názvov súborov Zobraziť médiá diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 6683525bc..92c9605c3 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Visa dolda mappar + Visa dolda mappar Spela upp videos automatiskt Visa/dölj filnamnen Visa media diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index c27f31d0e..196d32994 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Gizli klasörleri göster + Gizli klasörleri göster Videoları otomatik olarak oynat Dosya adı görünürlüğünü değiştir Medyayı göster diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index fd49c2ea1..cea570f05 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - 显示所有 + 显示所有 自动播放 显示文件名 显示多媒体文件 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 6dcb7cb4a..aa90f5978 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - 秀出隱藏資料夾 + 秀出隱藏資料夾 自動播放影片 顯示檔案名稱 秀出多媒體檔案 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 52c3ab790..3bb05ed5f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -77,7 +77,7 @@ Landscape aspect ratio - Show hidden folders + Show hidden media Play videos automatically Toggle filename visibility Show media