From e2ab34e390ff6c22a4392c7fc612b07fff741b5c Mon Sep 17 00:00:00 2001 From: chschtsch Date: Wed, 30 Dec 2015 13:11:04 +0300 Subject: [PATCH] add theme selection in settings --- app/src/main/res/values-de/strings.xml | 2 +- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 2 +- app/src/main/res/values-ja/strings.xml | 2 +- app/src/main/res/values-ko/strings.xml | 2 +- app/src/main/res/values-nl/strings.xml | 2 +- app/src/main/res/values-pl/strings.xml | 2 +- app/src/main/res/values-pt/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values-sl/strings.xml | 2 +- app/src/main/res/values-sr/strings.xml | 2 +- app/src/main/res/values/settings_keys.xml | 14 +++++++-- app/src/main/res/values/strings.xml | 15 ++++++---- app/src/main/res/xml/settings_screen.xml | 35 ++++++++++++++--------- 14 files changed, 54 insertions(+), 32 deletions(-) diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index d17fae7bd..0973c9f50 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -42,7 +42,7 @@ URL wird nicht unterstützt. Ähnliche Videos VIDEO & AUDIO - INFO + INFO ETC Bevorzugte Sprache Video-Vorschau-Bild diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 4800a7493..20a627bea 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -38,7 +38,7 @@ URL non supportée. Vidéos similaires VIDÉO & AUDIO - INFORMATION + INFORMATION DIVERS Miniature d\'aperçu vidéo diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 931afc6c2..0bd72240f 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -38,7 +38,7 @@ Video simili Lingua preferita dei contenuti VIDEO & AUDIO - INFO + INFO ETC Anteprima video diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 558918270..bb2ec8acd 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -38,7 +38,7 @@ 同様の動画 優先される言語 動画とオーディオ - 情報 + 情報 その他 %1$s ビュー ビデオ プレビュー サムネイル diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index bdb8b1084..486f28c91 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -38,7 +38,7 @@ 유사한 비디오 선호하는 컨텐츠 언어 비디오 & 오디오 - 정보 + 정보 기타 비디오 미리보기 썸네일 diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 0cf3b0dec..cd6599ba2 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -41,7 +41,7 @@ Gebruik externe videospeler Gebruik externe audiospeler VIDEO & GELUID - INFO + INFO ETC. Videovoorbeeld thumbnail diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 348a2e689..83705f4a1 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -36,7 +36,7 @@ Podobne wideo Preferowany język zawartości WIDEO & DŹWIĘK - INFO + INFO INNE "Szukaj strony: " %1$s wyświetleń diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 0a6cbe3c4..029832ab4 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -39,7 +39,7 @@ Vídeos similares Idioma preferencial do conteúdo Vídeo e áudio - Informações + Informações Outras Miniatura de vídeos diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 36368fe09..4d64ee32c 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -43,7 +43,7 @@ Показывать следующее и предложенные видео Предпочитаемый язык контента ВИДЕО И АУДИО - ИНФОРМАЦИЯ + ИНФОРМАЦИЯ ПРОЧЕЕ Миниатюра видео-превью diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index 91f54dc11..9c683bcb5 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -36,7 +36,7 @@ Podobni posnetki Prednostni jezik vsebine Video in Zvok - Podrobnosti + Podrobnosti Sličica predogleda videa Sličica predogleda videa Sličica pošiljalnika diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index 7ab3d8eaa..436dfd780 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -43,7 +43,7 @@ Слични видео Пожељни језик садржаја ВИДЕО И АУДИО - ПОДАЦИ + ПОДАЦИ ОСТАЛО Сличица видео прегледа Сличица видео прегледа diff --git a/app/src/main/res/values/settings_keys.xml b/app/src/main/res/values/settings_keys.xml index 8d33b8cbe..e03c1f8ad 100644 --- a/app/src/main/res/values/settings_keys.xml +++ b/app/src/main/res/values/settings_keys.xml @@ -2,8 +2,8 @@ settings_categoery_video_audio - settings_category_video_info - settings_category_etc + settings_category_appearance + settings_category_other download_path_preference use_external_video_player @@ -28,6 +28,16 @@ m4a m4a + theme + + @string/darkThemeDescription + @string/lightThemeDescription + + + 0 + 1 + + 0 show_next_video search_language diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 177280277..5b3d0c587 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -35,8 +35,11 @@ Displays an option to play a video via Kodi media center. Audio Default audio format - WebM - free format - m4a - better quality + WebM — free format + m4a — better quality + Default Resolution + Dark + Light Download Video @@ -47,10 +50,10 @@ URL not supported. Similar videos Preferable content language - VIDEO & AUDIO - INFO - ETC - %1$s - NewPipe + Video & Audio + Appearance + Other + %1$s — NewPipe Playing in background https://www.c3s.cc/ diff --git a/app/src/main/res/xml/settings_screen.xml b/app/src/main/res/xml/settings_screen.xml index 98399f778..e7fc82c3e 100644 --- a/app/src/main/res/xml/settings_screen.xml +++ b/app/src/main/res/xml/settings_screen.xml @@ -5,7 +5,8 @@ + android:title="@string/settingsCategoryVideoAudioTitle" + android:textAllCaps="true"> + android:key="@string/settingsCategoryAppearance" + android:title="@string/settingsCategoryAppearanceTitle" + android:textAllCaps="true"> + + - - - + android:key="@string/settingsCategoryOther" + android:title="@string/settingsCategoryOtherTitle" + android:textAllCaps="true"> + +