Skip to content

Commit

Permalink
Merge 'upstream/development' into development
Browse files Browse the repository at this point in the history
# Conflicts:
#	yarn.lock
  • Loading branch information
MarmadileManteater committed Oct 11, 2022
2 parents 0e605d9 + ae9d329 commit f4d73ca
Show file tree
Hide file tree
Showing 19 changed files with 252 additions and 1,785 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"electron": "^20.3.1",
"electron-builder": "^23.3.3",
"electron-builder": "^23.6.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function runApp() {
showCopyImageAddress: true,
prepend: (defaultActions, parameters, browserWindow) => [
{
label: 'Show Video Statistics',
label: 'Show / Hide Video Statistics',
visible: parameters.mediaType === 'video',
click: () => {
browserWindow.webContents.send('showVideoStatistics')
Expand Down
25 changes: 24 additions & 1 deletion src/renderer/components/ft-select/ft-select.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
font-family: inherit;
background-color: transparent;
color: var(--primary-text-color);
width: 200px;
width: 240px;
padding: 10px 10px 10px 0;
font-size: 18px;
border-radius: 0;
Expand Down Expand Up @@ -143,3 +143,26 @@
pointer-events: none;
opacity: 0.5;
}

@media only screen and (max-width: 1000px) {
.select .select-text {
max-width: 240px;
}
}

@media only screen and (max-width: 800px) {
.select {
width: 100%;
}
.select .select-text {
display:block;
max-width: 95%;
}
}

@media only screen and (max-width: 680px) {
.select {
padding: 0px;
margin-right: -15px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@
background-color: var(--card-bg-color)
width: 85%
margin: 0 auto
@media only screen and (max-width: 800px)
width: 100%

&[open]
padding-bottom: 15px

@media only screen and (max-width: 680px)
width: 90%
> div
width: 100%
padding: 0px 20px
box-sizing: border-box
> div:not(:last-child):not(.ft-flex-box)
@media only screen and (max-width: 800px)
margin-bottom: 20px

.sectionLine
width: 100%
Expand Down Expand Up @@ -52,3 +59,24 @@
@media only screen and (max-width: 500px)
:deep(.settingsFlexStart500px)
justify-content: flex-start

@media only screen and (max-width: 680px)
.settingsSection
> div
:deep(.text.bottom)
left: -85px
:deep(.switch-ctn.containsTooltip)
left: -10px
margin-right: 5px
padding: 0px 10px 0px 10px
:not(.select)
> :deep(.tooltip)
display: inline-block
position: absolute
right: -25px
top: 12px
.settingsFlexStart460px :deep(.tooltip)
right: 0px
top: -2px
:deep(.switch-ctn)
margin: 10px 7px
6 changes: 6 additions & 0 deletions src/renderer/components/ft-slider/ft-slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,9 @@
box-shadow: 0 0 0 1px rgb(var(--pure-material-surface-rgb, 255, 255, 255)) !important;
transform: scale(4, 4);
}

@media only screen and (max-width: 680px) {
.pure-material-slider {
width: 100%;
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.sponsorBlockCategory
margin-top: 30px
padding: 0 10px
@media only screen and (max-width: 680px)
width: 100%
.sponsorTitle
font-size: x-large
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@

.switch-input:disabled + &
background-color: #BDBDBD


@media (max-width: 680px)
max-width: 250px
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
class="switch-ctn"
:class="{
compact,
disabled: disabled
disabled: disabled,
containsTooltip: tooltip.length > 0
}"
>
<input
Expand Down
3 changes: 3 additions & 0 deletions static/locales/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ Settings:
All playlists has been successfully exported: تم تصدير جميع قوائم التشغيل بنجاح
Import Playlists: استيراد قوائم التشغيل
Export Playlists: تصدير قوائم التشغيل
Subscription File: Subscription ملف
History File: ملف التاريخ
Playlist File: Playlist ملف
Distraction Free Settings:
Hide Live Chat: اخفي الدردشة المباشرة
Hide Popular Videos: اخفي الفيديوهات الأكثر شعبية
Expand Down
5 changes: 4 additions & 1 deletion static/locales/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ Settings:
se han importado con éxito
All playlists has been successfully exported: Todas las listas de reproducción
se han exportado con éxito
Subscription File: Archivo de suscripción
Playlist File: Archivo de la lista de reproducción
History File: Archivo del historial
Advanced Settings:
Advanced Settings: 'Ajustes avanzados'
Enable Debug Mode (Prints data to the console): 'Activar modo de depuración (muestra
Expand Down Expand Up @@ -472,7 +475,7 @@ About:
room rules: reglas de la sala
Please read the: Por favor, lee las
Chat on Matrix: Chat en Matrix
Mastodon: Mastodon
Mastodon: Mastodon (Red Social)
Email: Correo electrónico
Blog: Blog
Website: Sitio web
Expand Down
38 changes: 26 additions & 12 deletions static/locales/gl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ Subscriptions:
'Getting Subscriptions. Please wait.': 'Obtendo subscricións. Por favor, agarda.'
Refresh Subscriptions: 'Actualizar subscricións'
Load More Videos: 'Cargar máis vídeos'
Error Channels: Canles con erros
Disabled Automatic Fetching: Desactivaches a obtención automática de subscricións.
Actualiza as subscricións para velos aquí.
Empty Channels: As túas canles subscritas actualmente non teñen ningún vídeo.
Trending:
Trending: 'Tendencias'
Most Popular: 'Máis populares'
Expand Down Expand Up @@ -576,12 +580,12 @@ Video:
video: vídeo
OpenInTemplate: Aberto en $
Sponsor Block category:
music offtopic: música fóra de tema
interaction: interacción
self-promotion: autopromoción
outro: outro
intro: intro
sponsor: patrocinador
music offtopic: Música Offtopic
interaction: Interacción
self-promotion: Autopromoción
outro: Outro
intro: Intro
sponsor: Patrocinador
Skipped segment: Segmento omitido
translated from English: traducido do inglés
Video has been removed from your saved list: Eliminouse este vídeo da lista de gardados
Expand Down Expand Up @@ -672,9 +676,8 @@ Tooltips:
FreeTube tentará utilizar a API secundaria automaticamente se é habilitado'
Thumbnail Preference: 'Tódalas miniaturas en FreeTube serán remplazadas cunha
imaxe do vídeo no canto da miniatura predeterminada'
Invidious Instance: 'A instancia de Invidious á que FreeTube se conectará para
as chamadas API. Limpa a instancia actual para veres unha listaxe de instancias
públicas'
Invidious Instance: 'A instancia de Invidious á que se conectará FreeTube para
as chamadas da aplicacion.'
Region for Trending: 'A rexión das tendencias permíteche escoller os vídeos máis
populares nun Estado. Non tódolos Estados que se amosan están soportados por
YouTube.'
Expand Down Expand Up @@ -708,9 +711,9 @@ Tooltips:
Custom External Player Executable: Por defecto, FreeTube asumirá que o reprodutor
externo elixido pode atoparse a través da variable de entorno PATH. Se é necesario,
pódese establecer un camiño personalizado aquí.
External Player: Se escolle un reprodutor externo, amosarase unha icona para abrir
o vídeo (unha lista de reprodución se é compatible) no reprodutor externo, na
miniatura.
External Player: Ao escoller un reprodutor externo, aparecerá unha icona para
abrilo vídeo (lista de reprodución se é compatible) no reprodutor externo, na
miniatura. Aviso, a configuración de Invidious non afecta aos reprodutores externos.
Local API Error (Click to copy): 'Erro de API local (Preme para copiar)'
Invidious API Error (Click to copy): 'Erro de API Invidious (Preme para copiar)'
Falling back to Invidious API: 'Recorrendo á API Invidious'
Expand Down Expand Up @@ -744,3 +747,14 @@ Unknown YouTube url type, cannot be opened in app: O tipo de URL de YouTube desc
non se pode abrir no aplicativo
More: Máis
Open New Window: Abrir nova xanela
New Window: Nova ventá
Channels:
Channels: Canles
Title: Lista de canles
Search bar placeholder: Busca canles
Count: $ canles atopadas.
Empty: A túa lista de canles atopase baleira.
Unsubscribe: Cancelar a subscrición
Search Bar:
Clear Input: Borrar entrada
Are you sure you want to open this link?: Estás seguro de que queres abrir esta ligazón?
3 changes: 3 additions & 0 deletions static/locales/it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ Settings:
con successo
All playlists has been successfully exported: Tutte le playlist sono state esportate
con successo
History File: File della cronologia
Subscription File: File delle iscrizioni
Playlist File: File delle playlist
Distraction Free Settings:
Hide Popular Videos: Nascondi i video più popolari
Hide Trending Videos: Nascondi le tendenze
Expand Down
3 changes: 3 additions & 0 deletions static/locales/ro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ Subscriptions:
profil are un număr mare de abonamente. Se forțează RSS pentru a evita limitarea
vitezei
Error Channels: Canale cu erori
Empty Channels: Canalele la care sunteți abonat(ă) nu au în prezent clipuri video.
Disabled Automatic Fetching: Ai dezactivat obținerea automată de abonamente. Reîmprospătează
abonamentele pentru a le vedea aici.
Trending:
Trending: 'Tendințe'
Trending Tabs: File în tendințe
Expand Down
3 changes: 3 additions & 0 deletions static/locales/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,9 @@ Settings:
Import Playlists: Oynatma Listelerini İçe Aktar
All playlists has been successfully exported: Tüm oynatma listeleri başarıyla
dışa aktarıldı
Playlist File: Oynatma Listesi Dosyası
Subscription File: Abonelik Dosyası
History File: Geçmiş Dosyası
Advanced Settings:
Advanced Settings: 'Gelişmiş Ayarlar'
Enable Debug Mode (Prints data to the console): 'Hata Ayıklama Modunu Etkinleştir
Expand Down
3 changes: 3 additions & 0 deletions static/locales/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ Settings:
Import Playlists: Імпорт добірок
Export Playlists: Експорт добірок
All playlists has been successfully imported: Усі добірки успішно імпортовано
Playlist File: Файл добірки
Subscription File: Файл підписки
History File: Файл історії
Advanced Settings:
Advanced Settings: ''
Enable Debug Mode (Prints data to the console): ''
Expand Down
31 changes: 16 additions & 15 deletions static/locales/vi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ Search Filters:
Fetching results. Please wait: 'Đang lấy kết quả. Xin hãy chờ'
Fetch more results: 'Lấy thêm kết quả'
# Sidebar
There are no more results for this search: Không còn kết quả gì thêm cho tìm kiếm
này
There are no more results for this search: Không còn kết quả nào cho tìm kiếm này
Subscriptions:
# On Subscriptions Page
Subscriptions: 'Đăng ký'
Expand Down Expand Up @@ -144,8 +143,8 @@ Settings:
Set Current Instance as Default: Đặt Phiên bản hiện tại làm Mặc định
Clear Default Instance: Xóa phiên bản mặc định
External Link Handling:
Open Link: Mở link
Ask Before Opening Link: Hỏi trước khi mở link
Open Link: Mở liên kết
Ask Before Opening Link: Hỏi trước khi mở liên kết
No Action: Không hành động
External Link Handling: Xử lý liên kết bên ngoài
View all Invidious instance information: Xem tất cả thông tin phiên bản Invidious
Expand Down Expand Up @@ -516,11 +515,12 @@ Channel:
của bạn
Video:
Open in YouTube: 'Mở trong Youtube'
Copy YouTube Link: 'Sao chép link Youtube'
Copy YouTube Link: 'Sao chép liên kết Youtube'
Open YouTube Embedded Player: 'Mở trình phát Youtube Embedded'
Copy YouTube Embedded Player Link: 'Sao chép link trình phát Youtube Embedded'
Copy YouTube Embedded Player Link: 'Sao chép liên kết trình phát YouTube đã được
nhúng vào'
Open in Invidious: 'Mở trong Invidious'
Copy Invidious Link: 'Sao chép link Invidious'
Copy Invidious Link: 'Sao chép liên kết Invidious'
View: 'Lượt xem'
Views: 'Lượt xem'
# Context is "X People Watching"
Expand Down Expand Up @@ -594,7 +594,7 @@ Video:
Shuffle Playlist: Trộn Playlist
Loop Playlist: Lặp lại Playlist
Open Channel in YouTube: Mở kênh này trên YouTube
Copy YouTube Channel Link: Sao chép Nối kết Kênh YouTube
Copy YouTube Channel Link: Sao chép liên kết của kênh
Skipped segment: Phân đoạn đã bỏ qua
Sponsor Block category:
sponsor: Nhà tài trợ
Expand Down Expand Up @@ -637,7 +637,7 @@ Video:
OpenInTemplate: Mở trong $
video: video
Open Channel in Invidious: Mở kênh ưu tiên
Copy Invidious Channel Link: Sao chép đường dẫn kênh ưu tiên
Copy Invidious Channel Link: Sao chép liên kết kênh Invidious
Video has been removed from your saved list: Video đã bị xoá khỏi danh sách lưu
trữ của bạn
Video has been saved: Video đã được lưu
Expand All @@ -658,9 +658,9 @@ Playlist:
Last Updated On: 'Update lần cuối vào'
Share Playlist:
Share Playlist: 'Chia sẻ danh sách phát'
Copy YouTube Link: 'Sao chép link Youtube'
Copy YouTube Link: 'Sao chép liên kết Youtube'
Open in YouTube: 'Mở trong Youtube'
Copy Invidious Link: 'Sao chép link Invidious'
Copy Invidious Link: 'Sao chép liên kết Invidious'
Open in Invidious: 'Mở trong Invidious'

# On Video Watch Page
Expand All @@ -679,8 +679,8 @@ Change Format:
này
Share:
Share Video: 'Chia sẻ video'
Copy Link: 'Sao chép link'
Open Link: 'Mở link'
Copy Link: 'Sao chép liên kết'
Open Link: 'Mở liên kết'
Copy Embed: 'Sao chép Embed'
Open Embed: 'Mở Embed'
# On Click
Expand All @@ -689,7 +689,7 @@ Share:
YouTube URL copied to clipboard: 'Youtube URL sao chép đến clipboard'
YouTube Embed URL copied to clipboard: 'Youtube Embed URL sao chép đến clipboard'
Include Timestamp: Có kèm dấu thời gian
YouTube Channel URL copied to clipboard: Đã copy link kênh Youtube
YouTube Channel URL copied to clipboard: Đã sao chép liên kết kênh Youtube
Invidious Channel URL copied to clipboard: URL của kênh ưu tiên đã được sao chép
Mini Player: 'Trình phát Mini'
Comments:
Expand Down Expand Up @@ -793,7 +793,8 @@ Open New Window: Mở cửa sổ mới
Search Bar:
Clear Input: Xóa đầu vào
More: Thêm
Are you sure you want to open this link?: Anh có chắc là muốn mở đường không?
Are you sure you want to open this link?: Bạn có chắc là bạn muốn mở liên kết này
không?
New Window: Cửa Sổ Mới
Channels:
Channels: Kênh
Expand Down
3 changes: 3 additions & 0 deletions static/locales/zh-CN.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ Settings:
Playlist insufficient data: '"$" 播放列表数据不足,正在跳过'
All playlists has been successfully imported: 已成功导入所有播放列表
All playlists has been successfully exported: 所有播放列表已成功导出
Playlist File: 播放列表文件
Subscription File: 订阅文件
History File: 历史文件
Distraction Free Settings:
Hide Popular Videos: 隐藏流行视频
Hide Trending Videos: 隐藏热门视频
Expand Down
3 changes: 3 additions & 0 deletions static/locales/zh-TW.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ Settings:
Export Playlists: 匯出播放清單
Playlist insufficient data: 「$」播放清單的資料不足,正在略過項目
All playlists has been successfully exported: 所有播放清單都已成功匯出
Subscription File: 訂閱檔案
History File: 歷史紀錄檔案
Playlist File: 播放清單檔案
Distraction Free Settings:
Hide Video Likes And Dislikes: 隱藏影片喜歡與不喜歡
Distraction Free Settings: 勿擾設定
Expand Down
Loading

0 comments on commit f4d73ca

Please sign in to comment.