Skip to content

Commit

Permalink
feat(YouTube): DeArrow alternative domain (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
OLAF74 authored Jul 1, 2024
1 parent 3dfcadb commit ac46f0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Tap here to learn more about DeArrow."</string>
<string name="revanced_alt_thumbnail_stills_time_entry_3">End of video</string>
<string name="revanced_alt_thumbnail_stills_time_title">Video time to take still captures from</string>
<string name="revanced_alt_thumbnail_subscriptions_title">Subscriptions tab</string>
<string name="revanced_alt_thumbnail_alternative_domain_enable_title">Use alternative domain for all original pictures</string>
<string name="revanced_alt_thumbnail_alternative_domain_enable_summary">This option allows you to replace the domain from which YouTube receives original avatars, images of community publications, etc.</string>
<string name="revanced_alt_thumbnail_alternative_domain_title">Set domain</string>
<string name="revanced_alt_thumbnail_alternative_domain_summary">NOTE: put only domain name, without \"https\:\/\/\" prefix</string>
<string name="revanced_append_time_stamp_information_summary_off">Information is not appended to the timestamp.</string>
<string name="revanced_append_time_stamp_information_summary_on">Information is appended to the timestamp.</string>
<string name="revanced_append_time_stamp_information_title">Append timestamp information</string>
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<Preference android:title="@string/revanced_alt_thumbnail_stills_about_title" android:selectable="false" android:summary="@string/revanced_alt_thumbnail_stills_about_summary" />
<SwitchPreference android:title="@string/revanced_alt_thumbnail_stills_fast_title" android:key="revanced_alt_thumbnail_stills_fast" android:defaultValue="false" android:summaryOn="@string/revanced_alt_thumbnail_stills_fast_summary_on" android:summaryOff="@string/revanced_alt_thumbnail_stills_fast_summary_off" />
<ListPreference android:entries="@array/revanced_alt_thumbnail_stills_time_entries" android:title="@string/revanced_alt_thumbnail_stills_time_title" android:key="revanced_alt_thumbnail_stills_time" android:entryValues="@array/revanced_alt_thumbnail_stills_time_entry_values" />
<SwitchPreference android:title="@string/revanced_alt_thumbnail_alternative_domain_enable_title" android:key="revanced_alt_thumbnail_alternative_domain_enable" android:summary="@string/revanced_alt_thumbnail_alternative_domain_enable_summary"/>
<app.revanced.integrations.shared.settings.preference.ResettableEditTextPreference android:hint="yt4.ggpht.com" android:title="@string/revanced_alt_thumbnail_alternative_domain_title" android:key="revanced_alt_thumbnail_alternative_domain_name" android:summary="@string/revanced_alt_thumbnail_alternative_domain_summary" android:inputType="textUri"/>
</PreferenceScreen>PREFERENCE_SCREEN: ALTERNATIVE_THUMBNAILS -->


Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/youtube/translations/ru-rRU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<string name="revanced_alt_thumbnail_stills_time_entry_3">Конец видео</string>
<string name="revanced_alt_thumbnail_stills_time_title">Время захвата миниатюры</string>
<string name="revanced_alt_thumbnail_subscriptions_title">Подписки</string>
<string name="revanced_alt_thumbnail_alternative_domain_enable_title">Использовать альтернативный домен для оригинальных картинок</string>
<string name="revanced_alt_thumbnail_alternative_domain_enable_summary">Этот параметр позволяет заменить домен, с которого YouTube получает оригинальные аватары, изображения публикаций сообщества и т.д.</string>
<string name="revanced_alt_thumbnail_alternative_domain_title">Установить домен</string>
<string name="revanced_alt_thumbnail_alternative_domain_summary">ВАЖНО: вводите только деменное имя, без \"https\:\/\/\"</string>
<string name="revanced_append_time_stamp_information_summary_off">Информация метки времени отключена.</string>
<string name="revanced_append_time_stamp_information_summary_on">Информация метки времени включена.</string>
<string name="revanced_append_time_stamp_information_title">Информация метки времени</string>
Expand Down

0 comments on commit ac46f0a

Please sign in to comment.