add some strings related to thumbnail croping and autorotating screen

This commit is contained in:
tibbi 2017-03-23 20:21:02 +01:00
parent b4290375b8
commit 33667ff857
18 changed files with 43 additions and 1 deletions

View file

@ -124,6 +124,14 @@ class Config(context: Context) : BaseConfig(context) {
get() = prefs.getBoolean(MAX_BRIGHTNESS, false)
set(maxBrightness) = prefs.edit().putBoolean(MAX_BRIGHTNESS, maxBrightness).apply()
var cropThumbnails: Boolean
get() = prefs.getBoolean(CROP_THUMBNAILS, true)
set(cropThumbnails) = prefs.edit().putBoolean(CROP_THUMBNAILS, cropThumbnails).apply()
var autoRotateScreen: Boolean
get() = prefs.getBoolean(AUTO_ROTATE_SCREEN, false)
set(autoRotateScreen) = prefs.edit().putBoolean(AUTO_ROTATE_SCREEN, autoRotateScreen).apply()
var loopVideos: Boolean
get() = prefs.getBoolean(LOOP_VIDEOS, false)
set(loop) = prefs.edit().putBoolean(LOOP_VIDEOS, loop).apply()

View file

@ -10,6 +10,8 @@ val AUTOPLAY_VIDEOS = "autoplay_videos"
val LOOP_VIDEOS = "loop_videos"
val ANIMATE_GIFS = "animate_gifs"
val MAX_BRIGHTNESS = "max_brightness"
val CROP_THUMBNAILS = "crop_thumbnails"
val AUTO_ROTATE_SCREEN = "auto_rotate_screen"
val DISPLAY_FILE_NAMES = "display_file_names"
val PINNED_FOLDERS = "pinned_folders"
val DIR_COLUMN_CNT = "dir_column_cnt"

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Přehrávat videa ve smyčce</string>
<string name="animate_gifs">Animovat náhledy souborů GIF</string>
<string name="max_brightness">Nastavit jas obrazovky na maximum při zobrazení médií</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Video Endlos-Schleife</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Reproducción continua de vídeos</string>
<string name="animate_gifs">Animar las miniaturas de gifs</string>
<string name="max_brightness">Brillo máximo cuando se muestran los medios</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Tourner en boucle les vidéos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Loop videos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Loop videos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Loop videos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Pętla wideo</string>
<string name="animate_gifs">Animowanie gify z miniaturkami</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Vídeos em ciclo</string>
<string name="animate_gifs">Animação de gifs nas miniaturas</string>
<string name="max_brightness">Brilho máximo permitido</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Повторять видео</string>
<string name="animate_gifs">Анимировать эскизы gif-файлов</string>
<string name="max_brightness">Максимальная яркость при просмотре файлов</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -86,7 +86,9 @@
<string name="images_and_videos">Obrázky aj videá</string>
<string name="loop_videos">Automaticky reštartovať videá</string>
<string name="animate_gifs">Animovať gif súbory pri náhľade</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="max_brightness">Maximálny jas pri prezeraní médií</string>
<string name="crop_thumbnails">Orezať náhľady na štvorce</string>
<string name="auto_rotate_screen">Automaticky otáčať obrazovku pri celoobrazovkovom zobrazení</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Återspela videos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Videolar döngüsü</string>
<string name="animate_gifs">Küçük resimlerde gif\'leri canlandırın</string>
<string name="max_brightness">Ortam görüntülerken azami parlaklık</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">循环播放视频</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">迴圈播放影片</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->

View file

@ -87,6 +87,8 @@
<string name="loop_videos">Loop videos</string>
<string name="animate_gifs">Animate gifs at thumbnails</string>
<string name="max_brightness">Maximum brightness when viewing media</string>
<string name="crop_thumbnails">Crop thumbnails into squares</string>
<string name="auto_rotate_screen">Auto-rotate screen at fullscreen view</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->