Merge branch 'develop' of https://github.com/ciderapp/Cider into develop
This commit is contained in:
commit
34c956fe99
4 changed files with 37 additions and 8 deletions
|
@ -34,6 +34,7 @@
|
||||||
"term.about": "关于",
|
"term.about": "关于",
|
||||||
"term.privateSession": "私人聆听",
|
"term.privateSession": "私人聆听",
|
||||||
"term.queue": "队列",
|
"term.queue": "队列",
|
||||||
|
"term.history": "播放历史",
|
||||||
"term.search": "搜索",
|
"term.search": "搜索",
|
||||||
"term.library": "资料库",
|
"term.library": "资料库",
|
||||||
"term.listenNow": "现在就听",
|
"term.listenNow": "现在就听",
|
||||||
|
@ -111,13 +112,15 @@
|
||||||
"term.clearAll": "清空",
|
"term.clearAll": "清空",
|
||||||
"term.recentStations": "最近播放的频道",
|
"term.recentStations": "最近播放的频道",
|
||||||
"term.language": "语言",
|
"term.language": "语言",
|
||||||
"term.noLyrics": "加载中... / 搜索无结果 / 纯音乐",
|
"term.funLanguages": "恶搞",
|
||||||
|
"term.noLyrics": "加载中... / 无搜索结果 / 纯音乐",
|
||||||
"term.copyright": "版权所有",
|
"term.copyright": "版权所有",
|
||||||
"term.rightsReserved": "保留所有权利。",
|
"term.rightsReserved": "保留所有权利。",
|
||||||
"term.sponsor": "赞助",
|
"term.sponsor": "赞助",
|
||||||
"term.ciderTeam": "Cider 团队",
|
"term.ciderTeam": "Cider 团队",
|
||||||
"term.developer": "开发者",
|
"term.developer": "开发者",
|
||||||
"term.socialTeam": "媒体团队",
|
"term.socialTeam": "媒体团队",
|
||||||
|
"term.socials": "媒体",
|
||||||
"term.contributors": "贡献者",
|
"term.contributors": "贡献者",
|
||||||
"term.equalizer": "均衡器",
|
"term.equalizer": "均衡器",
|
||||||
"term.reset": "重置",
|
"term.reset": "重置",
|
||||||
|
@ -137,7 +140,7 @@
|
||||||
"term.defaultPresets": "默认预设",
|
"term.defaultPresets": "默认预设",
|
||||||
"term.userPresets": "用户预设",
|
"term.userPresets": "用户预设",
|
||||||
"term.requestError": "请求出现一个问题。",
|
"term.requestError": "请求出现一个问题。",
|
||||||
"term.song.link.generate": "获取 song.link 共享URL...",
|
"term.song.link.generate": "获取 song.link 共享链接...",
|
||||||
"term.musicVideos": "音乐视频", // Search page friendlyTypes
|
"term.musicVideos": "音乐视频", // Search page friendlyTypes
|
||||||
"term.stations": "电台",
|
"term.stations": "电台",
|
||||||
//"term.curators": "Curators",
|
//"term.curators": "Curators",
|
||||||
|
@ -147,6 +150,8 @@
|
||||||
"term.videoExtras": "视频特辑",
|
"term.videoExtras": "视频特辑",
|
||||||
//"term.top": "Top",
|
//"term.top": "Top",
|
||||||
"term.version": "版本",
|
"term.version": "版本",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Home
|
// Home
|
||||||
"home.title": "主页",
|
"home.title": "主页",
|
||||||
|
@ -186,6 +191,7 @@
|
||||||
"action.removeFromQueue": "从加入待播清单中移除",
|
"action.removeFromQueue": "从加入待播清单中移除",
|
||||||
"action.removeFromQueue.success": "已从加入待播清单中移除",
|
"action.removeFromQueue.success": "已从加入待播清单中移除",
|
||||||
"action.removeFromQueue.error": "从加入待播清单中移除的过程发生了错误",
|
"action.removeFromQueue.error": "从加入待播清单中移除的过程发生了错误",
|
||||||
|
"action.createPlaylist": "新建播放列表",
|
||||||
"action.addToPlaylist": "加入播放列表",
|
"action.addToPlaylist": "加入播放列表",
|
||||||
"action.removeFromPlaylist": "从播放列表中移除",
|
"action.removeFromPlaylist": "从播放列表中移除",
|
||||||
"action.addToFavorites": "加至收藏",
|
"action.addToFavorites": "加至收藏",
|
||||||
|
@ -221,7 +227,7 @@
|
||||||
"action.copy": "复制",
|
"action.copy": "复制",
|
||||||
"action.newpreset": "新建预设...", // Equalizer Preset
|
"action.newpreset": "新建预设...", // Equalizer Preset
|
||||||
"action.deletepreset": "删除预设",
|
"action.deletepreset": "删除预设",
|
||||||
|
|
||||||
// Settings - General
|
// Settings - General
|
||||||
"settings.header.general": "通用",
|
"settings.header.general": "通用",
|
||||||
"settings.header.general.description": "调整 Cider 的通用设置",
|
"settings.header.general.description": "调整 Cider 的通用设置",
|
||||||
|
@ -257,6 +263,8 @@
|
||||||
"settings.option.audio.enableAdvancedFunctionality.description": "启用 AudioContext 将解锁例如音量标准化和音频空间化的功能,但可能会在小部分设备上出现音频上的卡顿。",
|
"settings.option.audio.enableAdvancedFunctionality.description": "启用 AudioContext 将解锁例如音量标准化和音频空间化的功能,但可能会在小部分设备上出现音频上的卡顿。",
|
||||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE": "Cider 数字增强引擎™️", // Toggle
|
"settings.option.audio.enableAdvancedFunctionality.ciderPPE": "Cider 数字增强引擎™️", // Toggle
|
||||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.description": "将欺骗您的大脑来感知到近似无损音频的效果。",
|
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.description": "将欺骗您的大脑来感知到近似无损音频的效果。",
|
||||||
|
"settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength": "数字增强引擎强度", // Toggle
|
||||||
|
"settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.description": "改变音频处理的强度。(激进选项可能产生杂音)",
|
||||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization": "音量标准化", // Toggle
|
"settings.option.audio.enableAdvancedFunctionality.audioNormalization": "音量标准化", // Toggle
|
||||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization.description": "使所感知到的音频响度统一",
|
"settings.option.audio.enableAdvancedFunctionality.audioNormalization.description": "使所感知到的音频响度统一",
|
||||||
"settings.option.audio.enableAdvancedFunctionality.audioSpatialization": "音频空间化", // Toggle
|
"settings.option.audio.enableAdvancedFunctionality.audioSpatialization": "音频空间化", // Toggle
|
||||||
|
@ -265,7 +273,7 @@
|
||||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.aggressive": "激进",
|
"settings.option.audio.enableAdvancedFunctionality.ciderPPEStrength.aggressive": "激进",
|
||||||
"settings.warn.audio.enableAdvancedFunctionality.audioSpatialization.compatibility": "空间音频与数字增强引擎不兼容,请先停用数字增强引擎",
|
"settings.warn.audio.enableAdvancedFunctionality.audioSpatialization.compatibility": "空间音频与数字增强引擎不兼容,请先停用数字增强引擎",
|
||||||
|
|
||||||
|
|
||||||
// Settings - Visual
|
// Settings - Visual
|
||||||
"settings.header.visual": "外观",
|
"settings.header.visual": "外观",
|
||||||
"settings.header.visual.description": "调整 Cider 的外观",
|
"settings.header.visual.description": "调整 Cider 的外观",
|
||||||
|
@ -290,6 +298,8 @@
|
||||||
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
||||||
"settings.header.visual.theme": "主题",
|
"settings.header.visual.theme": "主题",
|
||||||
"settings.option.visual.theme.github.download": "通过GitHub URL安装",
|
"settings.option.visual.theme.github.download": "通过GitHub URL安装",
|
||||||
|
"settings.option.visual.theme.github.explore": "浏览 GitHub 上的主题",
|
||||||
|
"settings.option.visual.theme.github.install.confirm": "确定要安装 {{ repo }}?",
|
||||||
"settings.prompt.visual.theme.github.URL": "请输入欲安装主题的URL",
|
"settings.prompt.visual.theme.github.URL": "请输入欲安装主题的URL",
|
||||||
"settings.notyf.visual.theme.install.success": "主题安装成功",
|
"settings.notyf.visual.theme.install.success": "主题安装成功",
|
||||||
"settings.notyf.visual.theme.install.error": "主题安装失败",
|
"settings.notyf.visual.theme.install.error": "主题安装失败",
|
||||||
|
|
|
@ -276,6 +276,7 @@
|
||||||
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
||||||
"settings.header.visual.theme": "主題",
|
"settings.header.visual.theme": "主題",
|
||||||
"settings.option.visual.theme.github.download" : "從 GitHub 網址安裝" ,
|
"settings.option.visual.theme.github.download" : "從 GitHub 網址安裝" ,
|
||||||
|
"settings.option.visual.theme.github.explore": "瀏覽 GitHub 上的主題",
|
||||||
"settings.prompt.visual.theme.github.URL" : "輸入你要安裝的主題網址" ,
|
"settings.prompt.visual.theme.github.URL" : "輸入你要安裝的主題網址" ,
|
||||||
"settings.notyf.visual.theme.install.success" : "主題成功安裝" ,
|
"settings.notyf.visual.theme.install.success" : "主題成功安裝" ,
|
||||||
"settings.notyf.visual.theme.install.error" : "主題安裝失敗" ,
|
"settings.notyf.visual.theme.install.error" : "主題安裝失敗" ,
|
||||||
|
|
|
@ -672,6 +672,15 @@ export class BrowserWindow {
|
||||||
await win_autoUpdater.checkForUpdatesAndNotify()
|
await win_autoUpdater.checkForUpdatesAndNotify()
|
||||||
await linux_autoUpdater.checkForUpdatesAndNotify()
|
await linux_autoUpdater.checkForUpdatesAndNotify()
|
||||||
});
|
});
|
||||||
|
ipcMain.on('disable-update', (event) => {
|
||||||
|
// Check if using app store builds so people don't get pissy wen button go bonk
|
||||||
|
if (app.isPackaged && !process.mas || !process.windowsStore) {
|
||||||
|
event.returnValue = false
|
||||||
|
} else {
|
||||||
|
event.returnValue = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
ipcMain.on('share-menu', async (_event, url) => {
|
ipcMain.on('share-menu', async (_event, url) => {
|
||||||
if (process.platform != 'darwin') return;
|
if (process.platform != 'darwin') return;
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.advanced.ciderPPE" v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
<input type="checkbox" v-model="app.cfg.advanced.ciderPPE" :disabled="app.cfg.audio.spatial === true" v-on:change="CiderAudio.hierarchical_loading();" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext && app.cfg.advanced.ciderPPE === true">
|
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext && app.cfg.advanced.ciderPPE === true">
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.audioSpatialization.description')}}</small>
|
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.audioSpatialization.description')}}</small>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto">
|
<div class="md-option-segment md-option-segment_auto">
|
||||||
<input type="checkbox" v-model="app.cfg.audio.spatial" v-on:change="toggleSpatial" switch/>
|
<input type="checkbox" v-model="app.cfg.audio.spatial" :disabled="app.cfg.advanced.ciderPPE === true" v-on:change="toggleSpatial" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -656,7 +656,7 @@
|
||||||
<input type="checkbox" v-model="app.cfg.general.close_button_hide" switch/>
|
<input type="checkbox" v-model="app.cfg.general.close_button_hide" switch/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line">
|
<div class="md-option-line update-check">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
{{$root.getLz('settings.option.general.updateCider')}}
|
{{$root.getLz('settings.option.general.updateCider')}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -666,7 +666,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-line">
|
<div class="md-option-line update-check">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
{{$root.getLz('settings.option.general.updateCider.branch')}}<br>
|
{{$root.getLz('settings.option.general.updateCider.branch')}}<br>
|
||||||
<small>({{$root.getLz('settings.option.general.updateCider.branch.description')}})</small>
|
<small>({{$root.getLz('settings.option.general.updateCider.branch.description')}})</small>
|
||||||
|
@ -852,6 +852,15 @@
|
||||||
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
|
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
|
||||||
// setStoreValue does not change plugin store values somehow
|
// setStoreValue does not change plugin store values somehow
|
||||||
ipcRenderer.invoke('update-store-mtt', app.cfg.general.close_behavior);
|
ipcRenderer.invoke('update-store-mtt', app.cfg.general.close_behavior);
|
||||||
|
},
|
||||||
|
checkIfUpdateDisabled() {
|
||||||
|
if (ipcRenderer.sendSync('disable-update')) {
|
||||||
|
let updateFields = document.getElementsByClassName('update-check');
|
||||||
|
for (var i=0; i < updateFields.length; i++) {
|
||||||
|
updateFields[i].style = "opacity: 0.5; pointer-events: none;";
|
||||||
|
updateFields[i].title = "Not available on this type of build";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue