diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt index 667b5862b..df0324e07 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt @@ -42,7 +42,7 @@ class SettingsActivity : SimpleActivity() { setupAutoplayVideos() setupRememberLastVideo() setupLoopVideos() - setupOpenVideosOnNewScreen() + setupOpenVideosOnSeparateScreen() setupAnimateGifs() setupMaxBrightness() setupCropThumbnails() @@ -175,11 +175,11 @@ class SettingsActivity : SimpleActivity() { } } - private fun setupOpenVideosOnNewScreen() { - settings_open_videos_on_new_screen.isChecked = config.openVideosOnNewScreen - settings_open_videos_on_new_screen_holder.setOnClickListener { - settings_open_videos_on_new_screen.toggle() - config.openVideosOnNewScreen = settings_open_videos_on_new_screen.isChecked + private fun setupOpenVideosOnSeparateScreen() { + settings_open_videos_on_separate_screen.isChecked = config.openVideosOnSeparateScreen + settings_open_videos_on_separate_screen_holder.setOnClickListener { + settings_open_videos_on_separate_screen.toggle() + config.openVideosOnSeparateScreen = settings_open_videos_on_separate_screen.isChecked } } diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt index f1e9ad4ee..d886598a9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt @@ -180,9 +180,9 @@ class Config(context: Context) : BaseConfig(context) { get() = prefs.getBoolean(LOOP_VIDEOS, false) set(loop) = prefs.edit().putBoolean(LOOP_VIDEOS, loop).apply() - var openVideosOnNewScreen: Boolean - get() = prefs.getBoolean(OPEN_VIDEOS_ON_NEW_SCREEN, false) - set(openVideosOnNewScreen) = prefs.edit().putBoolean(OPEN_VIDEOS_ON_NEW_SCREEN, openVideosOnNewScreen).apply() + var openVideosOnSeparateScreen: Boolean + get() = prefs.getBoolean(OPEN_VIDEOS_ON_SEPARATE_SCREEN, false) + set(openVideosOnSeparateScreen) = prefs.edit().putBoolean(OPEN_VIDEOS_ON_SEPARATE_SCREEN, openVideosOnSeparateScreen).apply() var displayFileNames: Boolean get() = prefs.getBoolean(DISPLAY_FILE_NAMES, false) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt index cfbf66ad0..8dcc57e1a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt @@ -13,7 +13,7 @@ const val IS_THIRD_PARTY_INTENT = "is_third_party_intent" const val AUTOPLAY_VIDEOS = "autoplay_videos" const val REMEMBER_LAST_VIDEO_POSITION = "remember_last_video_position" const val LOOP_VIDEOS = "loop_videos" -const val OPEN_VIDEOS_ON_NEW_SCREEN = "open_videos_on_new_screen" +const val OPEN_VIDEOS_ON_SEPARATE_SCREEN = "open_videos_on_separate_screen" const val ANIMATE_GIFS = "animate_gifs" const val MAX_BRIGHTNESS = "max_brightness" const val CROP_THUMBNAILS = "crop_thumbnails" diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 64dd79f50..5a8762ee1 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -281,7 +281,7 @@ diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 6957eba5e..96ab1111a 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -176,7 +176,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures المصغرات diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index cafe1b12a..e6e3830c5 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Thumbnails diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index f28d0db42..8ce23735c 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -172,7 +172,7 @@ Mostra la paperera de reciclatge com a últim element a la pantalla principal Permet tancar la vista de pantalla completa amb un gest avall Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatures diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index c14f1f321..ef3cf1dfa 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -172,7 +172,7 @@ Zobrazit odpadkový koš jako poslední položku na hlavní obrazovce Povolit zavírání celoobrazovkového režimu tažením prstu dolů Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Náhledy diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 5dd760616..44843347c 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -172,7 +172,7 @@ Vis papirkurven som sidste element på hovedskærmen Luk fuldskærmsvisning ved at swipe ned Tillad 1:1 zooming med to dobbelttryk - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniaturer diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index dcaab1763..466bf63e3 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -172,7 +172,7 @@ Zeige den Papierkorb als letztes Element auf dem Hauptbildschirm Erlaube das Schließen der Vollbildansicht mit einer Abwärtsgeste Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Thumbnails diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 041254944..031ac83d4 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -172,7 +172,7 @@ Εμφάνιση του Κάδου ως τελευταίο στοιχείο στην κύρια οθόνη Επιτρέψτε το κλείσιμο προβολής πλήρους οθόνης με χειρονομία προς τα κάτω Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Εικονίδια diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 945e3ee9c..8042a210a 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -172,7 +172,7 @@ Mostrar la Papelera de reciclaje como el último elemento en la pantalla principal Permite cerrar la vista de pantalla completa con un gesto hacia abajo. Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniaturas diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 09575b139..e5a81d617 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Esikatselukuvat diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index c82fc80eb..4b8dd1501 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -172,7 +172,7 @@ Afficher la corbeille en dernière place sur l\'écran principal Fermeture de la vue plein écran par un geste vers le bas Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatures diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 3d8b00fcc..12121d648 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Iconas diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index b8c9f916d..fda764b84 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -172,7 +172,7 @@ Prikaži koš za smeće kao posljednju stavku na glavnom zaslonu Omogućite zatvaranje prikaza preko cijelog zaslona pokretom prema dolje Dopusti zumiranje 1: 1 s dva dvostruka dodira - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Sličice diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 49f22c00f..0b10ff1a7 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -173,7 +173,7 @@ Mutassa a Lomtárat a fő képernyő utolsó elemeként Engedélyezi a teljes képernyős nézetet a lefelé mozdulattal Engedélyezi az 1:1 nagyítást két dupla érintéssel - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatűrök diff --git a/app/src/main/res/values-id/strings.xml b/app/src/main/res/values-id/strings.xml index 48c71c89a..9cdf9fb68 100644 --- a/app/src/main/res/values-id/strings.xml +++ b/app/src/main/res/values-id/strings.xml @@ -172,7 +172,7 @@ Tampilkan Sampah sebagai item terakhir di layar utama Izinkan keluar dari layar penuh dengan menggeser kebawah Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Thumbnail diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 57d4aea18..64e8411eb 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -172,7 +172,7 @@ Mostra il cestino come ultimo elemento nella schermata principale Chiudi la visuale a schermo intero con un gesto verso il basso Permetti l\'ingrandimento 1:1 con un doppio tasto - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Anteprime diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 13812c793..c5f5fe84c 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -172,7 +172,7 @@ ごみ箱をメイン画面の最後に表示 Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures サムネイル設定 diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index 98cf71409..5e71f4a72 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures 섬네일 diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 87ff914c3..23debda8c 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatiūros diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml index f0dda7155..9c121cb44 100644 --- a/app/src/main/res/values-nb/strings.xml +++ b/app/src/main/res/values-nb/strings.xml @@ -172,7 +172,7 @@ Vis papirkurven som siste element på hovedskjermen Tillat lukking av mediavisningen med en nedoverbevegelse Tillat å zoome 1:1 med to dobbeltrykk - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Minibilder diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 3f32ae25f..5e586e2f4 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -172,7 +172,7 @@ Prullenbak als laatste item tonen Naar beneden vegen om volledig scherm af te sluiten 1:1 zoomen na 2x dubbelklikken - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatuurvoorbeelden diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 3097d8607..650f84c84 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -172,7 +172,7 @@ Pokazuj kosz jako ostatni element na głównym ekranie Zezwalaj na zamykanie pełnoekranowego widoku gestem pociągnięcia w dół Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures    Miniatury diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 5d91d7424..8433070e7 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniaturas diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index e164e11df..a428fc891 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -172,7 +172,7 @@ Mostrar a reciclagem como o último item do ecrã principal Sair de ecrã completo com um gesto para baixo Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniaturas diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 4d20e8fe7..14c78484f 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -172,7 +172,7 @@ Показывать корзину как последний элемент на главном экране Выходить из полноэкранного режима жестом вниз Масштаб 1:1 двумя двойными нажатиями - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Миниатюры diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index f097481eb..5c16611b5 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -172,7 +172,7 @@ Zobraziť odpadkový kôš ako poslednú položku na hlavnej obrazovke Povoliť zatváranie celoobrazovkového režimu potiahnutím prsta dole Povoliť 1:1 priblíženie dvojnásobným dvojklikom - Vždy otvárať videá na novej obrazovke + Vždy otvárať videá na vlastnej obrazovke s novými vodorovnými gestami Náhľady diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index d8d07020a..ded2b9270 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -172,7 +172,7 @@ Prikaži Koš kot zadnji element na glavnem zaslonu Dovoli zapiranje celozaslonskega načina z gesto navzdol Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Sličice diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index e6225eec7..28a2519ab 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -172,7 +172,7 @@ Visa Papperskorgen som det sista objektet i huvudvyn Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Miniatyrer diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index f82a1f623..98ce6c484 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -172,7 +172,7 @@ Geri dönüşüm kutusu\'nu ana ekranda son öğe olarak göster Tam ekran görünümünü aşağı hareketi ile kapatmaya izin ver Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Küçük resimler diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 54e3ca415..c13346e74 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -172,7 +172,7 @@ Показувати \"Кошик\" останнім елементом на головному екрані Дозволити закриття повноекранного перегляду свайпом згори вниз Дозволити масштабування до 1:1 подвійним тапом - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Ескізи diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 278c5d0cb..3b44839e0 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -172,7 +172,7 @@ 在主屏幕界面的最后一项显示回收站 使用下滑手势关闭全屏视图 双击两次后 1:1 放大图像 - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures 缩略图 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 16c84b736..dfee2752f 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -172,7 +172,7 @@ 回收桶顯示在主畫面最後一項 允許用下滑手勢來關閉全螢幕檢視 允許用兩次雙擊來1:1縮放 - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures 縮圖 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 31c9426b6..671b3bb2e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -172,7 +172,7 @@ Show the Recycle Bin as the last item on the main screen Allow closing the fullscreen view with a down gesture Allow 1:1 zooming in with two double taps - Always open videos on a new screen + Always open videos on a separate screen with new horizontal gestures Thumbnails