Skip to content

Commit 51a19d4

Browse files
Edited the information available in the About page
This is an automated nightly publish.
2 parents 9cb0970 + 3a0fb7a commit 51a19d4

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

_scripts/cordova-build.js

+8
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ const archiver = require('archiver');
184184
rendererContent = rendererContent.replace(/const store (= localforage.createInstance)/g, 'const store = window.dataStore $1')
185185
rendererContent = rendererContent.replace(/{openExternalLink\({rootState:t},e\){/g, "{openExternalLink:window.openExternalLink,electronOpenExternalLink({rootState:t},e){")
186186
rendererContent = rendererContent.replace(/navigator.clipboard.writeText\(/g, "window.copyToClipboard\(")
187+
rendererContent = rendererContent.replace(/,async downloadMedia\({rootState:t,dispatch:e},{url:i,title:s,extension:n,fallingBackPath:a}\){/g,", downloadMedia(state, mediaFormat) { window.downloadExternalLink(state, mediaFormat.url); return new Promise(function (resolve, reject) { resolve() }) }, async oldDownloadMedia({rootState:t,dispatch:e},{url:i,title:s,extension:n,fallingBackPath:a}){")
187188
if (exportType === 'cordova') {
188189
rendererContent = rendererContent.replace(/this.invidiousGetVideoInformation\(this.videoId\).then\(/g, 'this.invidiousGetVideoInformation(this.videoId).then(updatePlayingVideo);this.invidiousGetVideoInformation\(this.videoId\).then(')
189190
rendererContent = rendererContent.replace('systemTheme:function(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}', 'systemTheme:function () { return window.isDarkMode }')
@@ -557,6 +558,13 @@ const archiver = require('archiver');
557558
a.setAttribute("target", "_blank");
558559
a.click();
559560
};
561+
window.downloadExternalLink = function ({ rootState }, link) {
562+
var a = document.createElement("a");
563+
a.setAttribute("href", link);
564+
a.setAttribute("target", "_blank");
565+
a.download = 'download';
566+
a.click();
567+
}
560568
` + ((exportType === 'cordova')
561569
? `
562570
window.copyToClipboard = function (content) {

src/renderer/components/watch-video-info/watch-video-info.sass

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@
8484
justify-content: flex-start
8585

8686
::v-deep .iconDropdown
87-
left: calc(50% - 20px)
87+
left: inherit !important
8888
right: auto
89+
margin-left: 100px

src/renderer/views/Channel/Channel.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ export default Vue.extend({
414414
this.channelDescription = autolinker.link(response.description)
415415
this.relatedChannels = response.relatedChannels.map((channel) => {
416416
channel.authorThumbnails[channel.authorThumbnails.length - 1].url = channel.authorThumbnails[channel.authorThumbnails.length - 1].url.replace('https://yt3.ggpht.com', `${this.currentInvidiousInstance}/ggpht/`)
417-
417+
// Mapping authorId to channelId
418+
channel.channelId = channel.authorId
418419
return channel
419420
})
420421
this.latestVideos = response.latestVideos

static/locales/ja.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Settings:
149149
Light: 'ライト'
150150
Dracula: 'ドラキュラ'
151151
System Default: 初期設定
152+
Catppuccin Mocha: Catppuccin Mocha
152153
Main Color Theme:
153154
Main Color Theme: 'テーマのメイン カラー'
154155
Red: ''
@@ -174,6 +175,20 @@ Settings:
174175
Dracula Purple: 'ドラキュラ 紫'
175176
Dracula Red: 'ドラキュラ 赤'
176177
Dracula Yellow: 'ドラキュラ 黄'
178+
Catppuccin Mocha Rosewater: Catppuccin Mocha Rosewater
179+
Catppuccin Mocha Flamingo: Catppuccin Mocha Flamingo
180+
Catppuccin Mocha Pink: Catppuccin Mocha Pink
181+
Catppuccin Mocha Mauve: Catppuccin Mocha Mauve
182+
Catppuccin Mocha Red: Catppuccin Mocha Red
183+
Catppuccin Mocha Maroon: Catppuccin Mocha Maroon
184+
Catppuccin Mocha Peach: Catppuccin Mocha Peach
185+
Catppuccin Mocha Yellow: Catppuccin Mocha Yellow
186+
Catppuccin Mocha Green: Catppuccin Mocha Green
187+
Catppuccin Mocha Teal: Catppuccin Mocha Teal
188+
Catppuccin Mocha Sky: Catppuccin Mocha Sky
189+
Catppuccin Mocha Sapphire: Catppuccin Mocha Sapphire
190+
Catppuccin Mocha Blue: Catppuccin Mocha Blue
191+
Catppuccin Mocha Lavender: Catppuccin Mocha Lavender
177192
Secondary Color Theme: 'テーマのアクセント カラー'
178193
#* Main Color Theme
179194
UI Scale: UI 縮尺率
@@ -365,6 +380,9 @@ Settings:
365380
Ignore Unsupported Action Warnings: 未対応のアクションの警告を無視
366381
External Player: 外部プレーヤー
367382
External Player Settings: 外部プレーヤーの設定
383+
Players:
384+
None:
385+
Name: なし
368386
Download Settings:
369387
Download Settings: ダウンロードの設定
370388
Ask Download Path: ダウンロードパスの設定

0 commit comments

Comments
 (0)