新增“添加歌曲到列表时的位置”设置

pull/590/head
lyswhut 2021-06-11 15:45:09 +08:00
parent 56201d6a01
commit cd3140a9c7
7 changed files with 359 additions and 352 deletions

View File

@ -1,3 +1,8 @@
### 新增 ### 新增
- 添加 win arm64 架构的安装包构建 - 添加 win arm64 架构的安装包构建
- 新增“添加歌曲到列表时的位置”设置,可选项为列表的“顶部”与“底部”
### 变更
- 添加歌曲到列表时从原来的底部改为顶部,若想要恢复原来的行为则可以去更改“添加歌曲到列表时的位置”设置项

View File

@ -2,7 +2,7 @@ const path = require('path')
const os = require('os') const os = require('os')
const defaultSetting = { const defaultSetting = {
version: '1.0.41', version: '1.0.42',
player: { player: {
togglePlayMethod: 'listLoop', togglePlayMethod: 'listLoop',
highQuality: false, highQuality: false,
@ -36,6 +36,7 @@ const defaultSetting = {
isShowSource: true, isShowSource: true,
prevSelectListId: 'default', prevSelectListId: 'default',
isSaveScrollLocation: true, isSaveScrollLocation: true,
addMusicLocationType: 'top',
}, },
download: { download: {
enable: false, enable: false,

View File

@ -1,154 +1,143 @@
{ {
"about": "About lx-music-desktop",
"backup": "Backup and restore",
"backup_all": "All data (list data and setting data)",
"backup_all_export": "Export",
"backup_all_export_desc": "Select the backup to...",
"backup_all_import": "Import",
"backup_all_import_desc": "Select a backup file",
"backup_part": "Partial data (list data includes audition list, favorite list, user-defined list, setting data does not include shortcut key settings)",
"backup_part_export_list": "Export lists",
"backup_part_export_list_desc": "Save the list to...",
"backup_part_export_setting": "Export settings",
"backup_part_export_setting_desc": "Save the list to...",
"backup_part_import_list": "Import lists",
"backup_part_import_list_desc": "Select a list backup",
"backup_part_import_setting": "Import settings",
"backup_part_import_setting_desc": "Select the Settings file",
"basic": "General", "basic": "General",
"basic_theme": "Theme",
"basic_show_animation": "Show switching animation",
"basic_animation": "Random pop-up animation", "basic_animation": "Random pop-up animation",
"basic_source_title": "Choose a music source",
"basic_source_test": "Test API (Available for most software features)",
"basic_source_temp": "Temporary API (some features not available; workaround if Test API unavailable)",
"basic_source": "Music source",
"basic_sourcename_title": "Select the name of music source",
"basic_sourcename_real": "Original",
"basic_sourcename_alias": "Aliases",
"basic_sourcename": "Source name",
"basic_source_status_success": "Initialization successful",
"basic_source_status_initing": "Initializing",
"basic_source_status_failed": "Initialization failed",
"basic_source_user_api_btn": "Custom Source Management",
"basic_window_size_title": "Set the window size",
"basic_window_size": "Window size",
"basic_window_size_smaller": "Smaller",
"basic_window_size_small": "Small",
"basic_window_size_medium": "Medium",
"basic_window_size_big": "Large",
"basic_window_size_larger": "Larger",
"basic_window_size_oversized": "Oversized",
"basic_window_size_huge": "Huge",
"basic_to_tray": "Do not exit the software when closing the software and minimize it to the system tray",
"basic_lang_title": "The language displayed in the software",
"basic_lang": "Language",
"basic_control_btn_position": "Control Button Position", "basic_control_btn_position": "Control Button Position",
"basic_control_btn_position_left": "Left", "basic_control_btn_position_left": "Left",
"basic_control_btn_position_right": "Right", "basic_control_btn_position_right": "Right",
"basic_lang": "Language",
"play": "Play", "basic_lang_title": "The language displayed in the software",
"play_save_play_time": "Remember playback progress", "basic_show_animation": "Show switching animation",
"play_lyric_transition": "Show lyrics translation", "basic_source": "Music source",
"play_lyric_lxlrc": "Use Karaoke-style lyrics playback (if supported)", "basic_source_status_failed": "Initialization failed",
"play_quality": "Play 320K quality songs first (if supported)", "basic_source_status_initing": "Initializing",
"play_task_bar": "Show playing progress on the taskbar", "basic_source_status_success": "Initialization successful",
"play_mediaDevice_title": "Select a media device for audio output", "basic_source_temp": "Temporary API (some features not available; workaround if Test API unavailable)",
"play_mediaDevice": "Audio output", "basic_source_test": "Test API (Available for most software features)",
"play_mediaDevice_remove_stop_play": "Pause the song when the current sound output device is changed", "basic_source_title": "Choose a music source",
"basic_source_user_api_btn": "Custom Source Management",
"basic_sourcename": "Source name",
"basic_sourcename_alias": "Aliases",
"basic_sourcename_real": "Original",
"basic_sourcename_title": "Select the name of music source",
"basic_theme": "Theme",
"basic_to_tray": "Do not exit the software when closing the software and minimize it to the system tray",
"basic_window_size": "Window size",
"basic_window_size_big": "Large",
"basic_window_size_huge": "Huge",
"basic_window_size_larger": "Larger",
"basic_window_size_medium": "Medium",
"basic_window_size_oversized": "Oversized",
"basic_window_size_small": "Small",
"basic_window_size_smaller": "Smaller",
"basic_window_size_title": "Set the window size",
"click_copy": "Click to copy",
"click_open": "Click to open",
"desktop_lyric": "Desktop Lyric Settings", "desktop_lyric": "Desktop Lyric Settings",
"desktop_lyric_always_on_top": "Make the lyrics always above other windows",
"desktop_lyric_enable": "Display lyrics", "desktop_lyric_enable": "Display lyrics",
"desktop_lyric_lock": "Lock lyrics", "desktop_lyric_lock": "Lock lyrics",
"desktop_lyric_always_on_top": "Make the lyrics always above other windows",
"desktop_lyric_lock_screen": "It is not allowed to drag the lyrics window out of the main screen", "desktop_lyric_lock_screen": "It is not allowed to drag the lyrics window out of the main screen",
"search": "Search",
"search_hot": "Top Searches",
"search_history": "Search history",
"search_focus_search_box": "Automatically focus the search box on startup",
"list": "List",
"list_source": "Show song source (only valid for my music category)",
"list_scroll": "Remember the position of the scroll bar of the playlist (only valid for my music classification)",
"download": "Download", "download": "Download",
"download_enable": "Whether to enable download function",
"download_path_title": "Define the path to downloading",
"download_path": "Download path",
"download_path_label": "Current: ",
"download_path_open_label": "Click to open this path",
"download_path_change_btn": "Change",
"download_name_title": "Select the music naming method for downloading",
"download_name": "Music file naming",
"download_data_embed": "Whether to embed the following content in the audio file", "download_data_embed": "Whether to embed the following content in the audio file",
"download_embed_pic": "Embedding cover",
"download_embed_lyric": "Embedding lyric", "download_embed_lyric": "Embedding lyric",
"download_lyric_title": "Select whether to download the lyrics file", "download_embed_pic": "Embedding cover",
"download_enable": "Whether to enable download function",
"download_lyric": "Lyrics download", "download_lyric": "Lyrics download",
"download_lyric_title": "Select whether to download the lyrics file",
"download_name": "Music file naming",
"download_name1": "Title - Artist", "download_name1": "Title - Artist",
"download_name2": "Artist - Title", "download_name2": "Artist - Title",
"download_name3": "Title only", "download_name3": "Title only",
"download_use_other_source": "Automatically change the source to download (when the song cannot be downloaded from the original source, try to switch to another source to download. Note: this function does not 100% guarantee that the version of the song after the source is changed is the same as the original version)", "download_name_title": "Select the music naming method for downloading",
"download_path": "Download path",
"download_path_change_btn": "Change",
"download_path_label": "Current: ",
"download_path_open_label": "Click to open this path",
"download_path_title": "Define the path to downloading",
"download_select_save_path": "Select the save path", "download_select_save_path": "Select the save path",
"download_use_other_source": "Automatically change the source to download (when the song cannot be downloaded from the original source, try to switch to another source to download. Note: this function does not 100% guarantee that the version of the song after the source is changed is the same as the original version)",
"hot_key": "Shortcut Key Settings", "hot_key": "Shortcut Key Settings",
"hot_key_local_title": "Shortcut Keys in Software",
"hot_key_global_title": "Global Shortcut Key",
"hot_key_tip_input": "Please enter a new key",
"hot_key_unset_input": "Not Set",
"hot_key_common_toggle_close": "Quit Program",
"hot_key_common_toggle_min": "Minimize/Restore Program",
"hot_key_common_min": "Minimize the program",
"hot_key_common_toggle_hide": "Show/Hide Program",
"hot_key_common_focus_search_input": "Focus Search Box", "hot_key_common_focus_search_input": "Focus Search Box",
"hot_key_player_toggle_play": "Play/Pause Control", "hot_key_common_min": "Minimize the program",
"hot_key_player_prev": "Previous Song", "hot_key_common_toggle_close": "Quit Program",
"hot_key_common_toggle_hide": "Show/Hide Program",
"hot_key_common_toggle_min": "Minimize/Restore Program",
"hot_key_desktop_lyric_toggle_always_top": "Top Desktop Lyrics Switch",
"hot_key_desktop_lyric_toggle_lock": "Desktop Lyric Lock Switch",
"hot_key_desktop_lyric_toggle_visible": "Turn on/off desktop lyrics",
"hot_key_global_title": "Global Shortcut Key",
"hot_key_local_title": "Shortcut Keys in Software",
"hot_key_player_next": "Next Song", "hot_key_player_next": "Next Song",
"hot_key_player_volume_up": "Increase Volume", "hot_key_player_prev": "Previous Song",
"hot_key_player_toggle_play": "Play/Pause Control",
"hot_key_player_volume_down": "Reduce Volume", "hot_key_player_volume_down": "Reduce Volume",
"hot_key_player_volume_mute": "Mute Switch", "hot_key_player_volume_mute": "Mute Switch",
"hot_key_desktop_lyric_toggle_visible": "Turn on/off desktop lyrics", "hot_key_player_volume_up": "Increase Volume",
"hot_key_desktop_lyric_toggle_lock": "Desktop Lyric Lock Switch", "hot_key_tip_input": "Please enter a new key",
"hot_key_desktop_lyric_toggle_always_top": "Top Desktop Lyrics Switch", "hot_key_unset_input": "Not Set",
"is_enable": "Enabled",
"is_show": "Showed",
"list": "List",
"list_add_music_location_type": "Position when adding a song to the list",
"list_add_music_location_type_bottom": "Bottom",
"list_add_music_location_type_top": "Top",
"list_scroll": "Remember the position of the scroll bar of the playlist (only valid for my music classification)",
"list_source": "Show song source (only valid for my music category)",
"network": "Network", "network": "Network",
"network_proxy_title": "HTTP Proxy (False setting would block Internet connections)",
"network_proxy_host": "Host", "network_proxy_host": "Host",
"network_proxy_port": "Port",
"network_proxy_username": "Username",
"network_proxy_password": "Password", "network_proxy_password": "Password",
"network_proxy_port": "Port",
"network_proxy_title": "HTTP Proxy (False setting would block Internet connections)",
"network_proxy_username": "Username",
"odc": "Auto clear", "odc": "Auto clear",
"odc_clear_search_input": "Clear the search box when you are not searching", "odc_clear_search_input": "Clear the search box when you are not searching",
"odc_clear_search_list": "Clear the search list when you are not searching", "odc_clear_search_list": "Clear the search list when you are not searching",
"backup": "Backup and restore",
"backup_part": "Partial data (list data includes audition list, favorite list, user-defined list, setting data does not include shortcut key settings)",
"backup_part_import_list": "Import lists",
"backup_part_export_list": "Export lists",
"backup_part_import_setting": "Import settings",
"backup_part_export_setting": "Export settings",
"backup_all": "All data (list data and setting data)",
"backup_all_import": "Import",
"backup_all_export": "Export",
"backup_all_import_desc": "Select a backup file",
"backup_all_export_desc": "Select the backup to...",
"backup_part_import_setting_desc": "Select the Settings file",
"backup_part_export_setting_desc": "Save the list to...",
"backup_part_import_list_desc": "Select a list backup",
"backup_part_export_list_desc": "Save the list to...",
"other": "Extras", "other": "Extras",
"other_play_list_cache": "List cache management (links to songs that have been cached in my list, alternative sources for playback, after cleaning up, you need to re-acquire them when you play and download songs, and do not clean up if there are no issues related to song playback)",
"other_play_list_cache_clear_btn": "Clear list cache information",
"other_resource_cache": "Resource cache management (pictures, audios and other caches, pictures and other resources will need to be downloaded again after cleaning up, it is not recommended to clean up, the software will dynamically manage the cache size according to the disk space)",
"other_resource_cache_clear_btn": "Clear resource cache",
"other_resource_cache_label": "The software has used cache size: ",
"other_tray_theme": "Tray Icon Style", "other_tray_theme": "Tray Icon Style",
"other_tray_theme_native": "Solid Color", "other_tray_theme_native": "Solid Color",
"other_tray_theme_origin": "Primary Color", "other_tray_theme_origin": "Primary Color",
"other_resource_cache": "Resource cache management (pictures, audios and other caches, pictures and other resources will need to be downloaded again after cleaning up, it is not recommended to clean up, the software will dynamically manage the cache size according to the disk space)", "play": "Play",
"other_resource_cache_label": "The software has used cache size: ", "play_lyric_lxlrc": "Use Karaoke-style lyrics playback (if supported)",
"other_resource_cache_clear_btn": "Clear resource cache", "play_lyric_transition": "Show lyrics translation",
"other_play_list_cache": "List cache management (links to songs that have been cached in my list, alternative sources for playback, after cleaning up, you need to re-acquire them when you play and download songs, and do not clean up if there are no issues related to song playback)", "play_mediaDevice": "Audio output",
"other_play_list_cache_clear_btn": "Clear list cache information", "play_mediaDevice_remove_stop_play": "Pause the song when the current sound output device is changed",
"play_mediaDevice_title": "Select a media device for audio output",
"play_quality": "Play 320K quality songs first (if supported)",
"play_save_play_time": "Remember playback progress",
"play_task_bar": "Show playing progress on the taskbar",
"search": "Search",
"search_focus_search_box": "Automatically focus the search box on startup",
"search_history": "Search history",
"search_hot": "Top Searches",
"update": "Update", "update": "Update",
"update_latest_label": "Latest version: ", "update_checking": "Checking for updates...",
"update_unknown": "Unknown",
"update_current_label": "Current version: ", "update_current_label": "Current version: ",
"update_downloading": "Update is found and being downloaded...⏳", "update_downloading": "Update is found and being downloaded...⏳",
"update_progress": "Download progress: ",
"update_latest": "The software is up-to-date, enjoy yourself!🥂",
"update_open_version_modal_btn": "Open the update window🚀",
"update_checking": "Checking for updates...",
"update_init": "Processing update...", "update_init": "Processing update...",
"update_latest": "The software is up-to-date, enjoy yourself!🥂",
"about": "About lx-music-desktop", "update_latest_label": "Latest version: ",
"update_open_version_modal_btn": "Open the update window🚀",
"update_progress": "Download progress: ",
"is_enable": "Enabled", "update_unknown": "Unknown"
"is_show": "Showed",
"click_open": "Click to open",
"click_copy": "Click to copy"
} }

View File

@ -1,154 +1,143 @@
{ {
"about": "关于洛雪音乐",
"backup": "备份与恢复",
"backup_all": "所有数据(列表数据与设置数据)",
"backup_all_export": "导出",
"backup_all_export_desc": "选择备份保存位置",
"backup_all_import": "导入",
"backup_all_import_desc": "选择备份文件",
"backup_part": "部分数据(列表数据包括试听列表、收藏列表、用户自定义列表,设置数据不包括快捷键设置)",
"backup_part_export_list": "导出列表",
"backup_part_export_list_desc": "选择歌单保存位置",
"backup_part_export_setting": "导出设置",
"backup_part_export_setting_desc": "选择设置保存位置",
"backup_part_import_list": "导入列表",
"backup_part_import_list_desc": "选择列表文件",
"backup_part_import_setting": "导入设置",
"backup_part_import_setting_desc": "选择配置文件",
"basic": "基本设置", "basic": "基本设置",
"basic_theme": "主题颜色",
"basic_animation": "弹出层随机动画", "basic_animation": "弹出层随机动画",
"basic_show_animation": "显示切换动画",
"basic_source_title": "选择音乐来源",
"basic_source_test": "测试接口(几乎软件的所有功能都可用)",
"basic_source_temp": "临时接口(软件的某些功能不可用,建议测试接口不可用再使用本接口)",
"basic_source": "音乐来源",
"basic_sourcename_title": "选择音源名字类型",
"basic_sourcename_real": "原名",
"basic_sourcename_alias": "别名",
"basic_sourcename": "音源名字",
"basic_source_status_success": "初始化成功",
"basic_source_status_initing": "初始化中",
"basic_source_status_failed": "初始化失败",
"basic_source_user_api_btn": "自定义源管理",
"basic_window_size_title": "设置软件窗口尺寸",
"basic_window_size": "窗口尺寸",
"basic_window_size_smaller": "较小",
"basic_window_size_small": "小",
"basic_window_size_medium": "中",
"basic_window_size_big": "大",
"basic_window_size_larger": "较大",
"basic_window_size_oversized": "超大",
"basic_window_size_huge": "巨大",
"basic_to_tray": "关闭软件时不退出软件将其最小化到系统托盘",
"basic_lang_title": "软件显示的语言",
"basic_lang": "语言",
"basic_control_btn_position": "控制按钮位置", "basic_control_btn_position": "控制按钮位置",
"basic_control_btn_position_left": "左边", "basic_control_btn_position_left": "左边",
"basic_control_btn_position_right": "右边", "basic_control_btn_position_right": "右边",
"basic_lang": "语言",
"play": "播放设置", "basic_lang_title": "软件显示的语言",
"play_save_play_time": "记住播放进度", "basic_show_animation": "显示切换动画",
"play_lyric_transition": "显示歌词翻译", "basic_source": "音乐来源",
"play_lyric_lxlrc": "使用卡拉OK式歌词播放如果支持", "basic_source_status_failed": "初始化失败",
"play_quality": "优先播放320K品质的歌曲如果支持", "basic_source_status_initing": "初始化中",
"play_task_bar": "在任务栏上显示当前歌曲播放进度", "basic_source_status_success": "初始化成功",
"play_mediaDevice_title": "选择声音输出的媒体设备", "basic_source_temp": "临时接口(软件的某些功能不可用,建议测试接口不可用再使用本接口)",
"play_mediaDevice": "音频输出", "basic_source_test": "测试接口(几乎软件的所有功能都可用)",
"play_mediaDevice_remove_stop_play": "当前的声音输出设备被改变时暂停播放歌曲", "basic_source_title": "选择音乐来源",
"basic_source_user_api_btn": "自定义源管理",
"basic_sourcename": "音源名字",
"basic_sourcename_alias": "别名",
"basic_sourcename_real": "原名",
"basic_sourcename_title": "选择音源名字类型",
"basic_theme": "主题颜色",
"basic_to_tray": "关闭软件时不退出软件将其最小化到系统托盘",
"basic_window_size": "窗口尺寸",
"basic_window_size_big": "大",
"basic_window_size_huge": "巨大",
"basic_window_size_larger": "较大",
"basic_window_size_medium": "中",
"basic_window_size_oversized": "超大",
"basic_window_size_small": "小",
"basic_window_size_smaller": "较小",
"basic_window_size_title": "设置软件窗口尺寸",
"click_copy": "点击复制",
"click_open": "点击打开",
"desktop_lyric": "桌面歌词设置", "desktop_lyric": "桌面歌词设置",
"desktop_lyric_always_on_top": "使歌词总是在其他窗口之上",
"desktop_lyric_enable": "显示歌词", "desktop_lyric_enable": "显示歌词",
"desktop_lyric_lock": "锁定歌词", "desktop_lyric_lock": "锁定歌词",
"desktop_lyric_always_on_top": "使歌词总是在其他窗口之上",
"desktop_lyric_lock_screen": "不允许歌词窗口拖出主屏幕之外", "desktop_lyric_lock_screen": "不允许歌词窗口拖出主屏幕之外",
"search": "搜索设置",
"search_hot": "显示热门搜索",
"search_history": "显示历史搜索记录",
"search_focus_search_box": "启动时自动聚焦搜索框",
"list": "列表设置",
"list_source": "显示歌曲源(仅对我的音乐分类有效)",
"list_scroll": "记住播放列表滚动条位置(仅对我的音乐分类有效)",
"download": "下载设置", "download": "下载设置",
"download_enable": "是否启用下载功能",
"download_path_title": "下载歌曲保存的路径",
"download_path": "下载路径",
"download_path_label": "当前下载路径:",
"download_path_open_label": "点击打开当前路径",
"download_path_change_btn": "更改",
"download_name_title": "下载歌曲时的命名方式",
"download_name": "文件命名方式",
"download_data_embed": "是否将以下内容嵌入到音频文件中", "download_data_embed": "是否将以下内容嵌入到音频文件中",
"download_embed_pic": "封面嵌入",
"download_embed_lyric": "歌词嵌入", "download_embed_lyric": "歌词嵌入",
"download_lyric_title": "是否同时下载歌词文件", "download_embed_pic": "封面嵌入",
"download_enable": "是否启用下载功能",
"download_lyric": "歌词下载", "download_lyric": "歌词下载",
"download_lyric_title": "是否同时下载歌词文件",
"download_name": "文件命名方式",
"download_name1": "歌名 - 歌手", "download_name1": "歌名 - 歌手",
"download_name2": "歌手 - 歌名", "download_name2": "歌手 - 歌名",
"download_name3": "歌名", "download_name3": "歌名",
"download_use_other_source": "自动换源下载当无法从歌曲的原始源下载时尝试切换到其他源下载此功能不100%保证换源后的歌曲版本与原版一致)", "download_name_title": "下载歌曲时的命名方式",
"download_path": "下载路径",
"download_path_change_btn": "更改",
"download_path_label": "当前下载路径:",
"download_path_open_label": "点击打开当前路径",
"download_path_title": "下载歌曲保存的路径",
"download_select_save_path": "选择歌曲保存路径", "download_select_save_path": "选择歌曲保存路径",
"download_use_other_source": "自动换源下载当无法从歌曲的原始源下载时尝试切换到其他源下载此功能不100%保证换源后的歌曲版本与原版一致)",
"hot_key": "快捷键设置", "hot_key": "快捷键设置",
"hot_key_local_title": "软件内快捷键",
"hot_key_global_title": "全局快捷键",
"hot_key_tip_input": "请输入新的按键",
"hot_key_unset_input": "未设置",
"hot_key_common_toggle_close": "退出程序",
"hot_key_common_toggle_min": "最小化/还原程序",
"hot_key_common_min": "最小化程序",
"hot_key_common_toggle_hide": "显示/隐藏程序",
"hot_key_common_focus_search_input": "聚焦搜索框", "hot_key_common_focus_search_input": "聚焦搜索框",
"hot_key_player_toggle_play": "播放/暂停控制", "hot_key_common_min": "最小化程序",
"hot_key_player_prev": "上一首歌曲", "hot_key_common_toggle_close": "退出程序",
"hot_key_common_toggle_hide": "显示/隐藏程序",
"hot_key_common_toggle_min": "最小化/还原程序",
"hot_key_desktop_lyric_toggle_always_top": "桌面歌词置顶切换",
"hot_key_desktop_lyric_toggle_lock": "桌面歌词锁定切换",
"hot_key_desktop_lyric_toggle_visible": "开/关桌面歌词",
"hot_key_global_title": "全局快捷键",
"hot_key_local_title": "软件内快捷键",
"hot_key_player_next": "下一首歌曲", "hot_key_player_next": "下一首歌曲",
"hot_key_player_volume_up": "增加音量", "hot_key_player_prev": "上一首歌曲",
"hot_key_player_toggle_play": "播放/暂停控制",
"hot_key_player_volume_down": "减少音量", "hot_key_player_volume_down": "减少音量",
"hot_key_player_volume_mute": "静音切换", "hot_key_player_volume_mute": "静音切换",
"hot_key_desktop_lyric_toggle_visible": "开/关桌面歌词", "hot_key_player_volume_up": "增加音量",
"hot_key_desktop_lyric_toggle_lock": "桌面歌词锁定切换", "hot_key_tip_input": "请输入新的按键",
"hot_key_desktop_lyric_toggle_always_top": "桌面歌词置顶切换", "hot_key_unset_input": "未设置",
"is_enable": "是否启用",
"is_show": "是否显示",
"list": "列表设置",
"list_add_music_location_type": "添加歌曲到列表时的位置",
"list_add_music_location_type_bottom": "底部",
"list_add_music_location_type_top": "顶部",
"list_scroll": "记住播放列表滚动条位置(仅对我的音乐分类有效)",
"list_source": "显示歌曲源(仅对我的音乐分类有效)",
"network": "网络设置", "network": "网络设置",
"network_proxy_title": "HTTP代理设置乱设置软件将无法联网",
"network_proxy_host": "主机", "network_proxy_host": "主机",
"network_proxy_port": "端口",
"network_proxy_username": "用户名",
"network_proxy_password": "密码", "network_proxy_password": "密码",
"network_proxy_port": "端口",
"network_proxy_title": "HTTP代理设置乱设置软件将无法联网",
"network_proxy_username": "用户名",
"odc": "强迫症设置", "odc": "强迫症设置",
"odc_clear_search_input": "离开搜索界面时清空搜索框", "odc_clear_search_input": "离开搜索界面时清空搜索框",
"odc_clear_search_list": "离开搜索界面时清空搜索列表", "odc_clear_search_list": "离开搜索界面时清空搜索列表",
"backup": "备份与恢复",
"backup_part": "部分数据(列表数据包括试听列表、收藏列表、用户自定义列表,设置数据不包括快捷键设置)",
"backup_part_import_list": "导入列表",
"backup_part_export_list": "导出列表",
"backup_part_import_setting": "导入设置",
"backup_part_export_setting": "导出设置",
"backup_all": "所有数据(列表数据与设置数据)",
"backup_all_import": "导入",
"backup_all_export": "导出",
"backup_all_import_desc": "选择备份文件",
"backup_all_export_desc": "选择备份保存位置",
"backup_part_import_setting_desc": "选择配置文件",
"backup_part_export_setting_desc": "选择设置保存位置",
"backup_part_import_list_desc": "选择列表文件",
"backup_part_export_list_desc": "选择歌单保存位置",
"other": "其他", "other": "其他",
"other_play_list_cache": "列表缓存管理(我的列表中已缓存的歌曲链接、播放代替源,清理后播放、下载歌曲时需要重新获取,没有歌曲播放相关的问题不要清理)",
"other_play_list_cache_clear_btn": "清理列表缓存信息",
"other_resource_cache": "资源缓存管理(图片、音频等缓存,清理后图片等资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小)",
"other_resource_cache_clear_btn": "清理资源缓存",
"other_resource_cache_label": "软件已使用缓存大小:",
"other_tray_theme": "托盘图标样式", "other_tray_theme": "托盘图标样式",
"other_tray_theme_native": "纯色", "other_tray_theme_native": "纯色",
"other_tray_theme_origin": "原色", "other_tray_theme_origin": "原色",
"other_resource_cache": "资源缓存管理(图片、音频等缓存,清理后图片等资源将需要重新下载,不建议清理,软件会根据磁盘空间动态管理缓存大小)", "play": "播放设置",
"other_resource_cache_label": "软件已使用缓存大小:", "play_lyric_lxlrc": "使用卡拉OK式歌词播放如果支持",
"other_resource_cache_clear_btn": "清理资源缓存", "play_lyric_transition": "显示歌词翻译",
"other_play_list_cache": "列表缓存管理(我的列表中已缓存的歌曲链接、播放代替源,清理后播放、下载歌曲时需要重新获取,没有歌曲播放相关的问题不要清理)", "play_mediaDevice": "音频输出",
"other_play_list_cache_clear_btn": "清理列表缓存信息", "play_mediaDevice_remove_stop_play": "当前的声音输出设备被改变时暂停播放歌曲",
"play_mediaDevice_title": "选择声音输出的媒体设备",
"play_quality": "优先播放320K品质的歌曲如果支持",
"play_save_play_time": "记住播放进度",
"play_task_bar": "在任务栏上显示当前歌曲播放进度",
"search": "搜索设置",
"search_focus_search_box": "启动时自动聚焦搜索框",
"search_history": "显示历史搜索记录",
"search_hot": "显示热门搜索",
"update": "软件更新", "update": "软件更新",
"update_latest_label": "最新版本:", "update_checking": "检查更新中...",
"update_unknown": "未知",
"update_current_label": "当前版本:", "update_current_label": "当前版本:",
"update_downloading": "发现新版本并在努力下载中,请稍后...⏳", "update_downloading": "发现新版本并在努力下载中,请稍后...⏳",
"update_progress": "下载进度:",
"update_latest": "软件已是最新,尽情地体验吧~🥂",
"update_open_version_modal_btn": "打开更新窗口 🚀",
"update_checking": "检查更新中...",
"update_init": "处理更新中...", "update_init": "处理更新中...",
"update_latest": "软件已是最新,尽情地体验吧~🥂",
"about": "关于洛雪音乐", "update_latest_label": "最新版本:",
"update_open_version_modal_btn": "打开更新窗口 🚀",
"update_progress": "下载进度:",
"is_enable": "是否启用", "update_unknown": "未知"
"is_show": "是否显示",
"click_open": "点击打开",
"click_copy": "点击复制"
} }

View File

@ -1,154 +1,143 @@
{ {
"about": "關於洛雪音樂",
"backup": "備份與恢復",
"backup_all": "所有數據(列表數據與設置數據)",
"backup_all_export": "導出",
"backup_all_export_desc": "選擇備份保存位置",
"backup_all_import": "導入",
"backup_all_import_desc": "選擇備份文件",
"backup_part": "部分數據(列表數據包括試聽列表、收藏列表、用戶自定義列表,設置數據不包括快捷鍵設置)",
"backup_part_export_list": "導出列表",
"backup_part_export_list_desc": "選擇歌單保存位置",
"backup_part_export_setting": "導出設置",
"backup_part_export_setting_desc": "選擇設置保存位置",
"backup_part_import_list": "導入列表",
"backup_part_import_list_desc": "選擇列表文件",
"backup_part_import_setting": "導入設置",
"backup_part_import_setting_desc": "選擇配置文件",
"basic": "基本設置", "basic": "基本設置",
"basic_theme": "主題顏色",
"basic_animation": "彈出層隨機動畫", "basic_animation": "彈出層隨機動畫",
"basic_show_animation": "顯示切換動畫",
"basic_source_title": "選擇音樂來源",
"basic_source_test": "測試接口(幾乎軟件的所有功能都可用)",
"basic_source_temp": "臨時接口(軟件的某些功能不可用,建議測試接口不可用再使用本接口)",
"basic_source": "音樂來源",
"basic_sourcename_title": "選擇音源名字類型",
"basic_sourcename_real": "原名",
"basic_sourcename_alias": "別名",
"basic_sourcename": "音源名字",
"basic_source_status_success": "初始化成功",
"basic_source_status_initing": "初始化中",
"basic_source_status_failed": "初始化失敗",
"basic_source_user_api_btn": "自定義源管理",
"basic_window_size_title": "設置軟件窗口尺寸",
"basic_window_size": "窗口尺寸",
"basic_window_size_smaller": "較小",
"basic_window_size_small": "小",
"basic_window_size_medium": "中",
"basic_window_size_big": "大",
"basic_window_size_larger": "較大",
"basic_window_size_oversized": "超大",
"basic_window_size_huge": "巨大",
"basic_to_tray": "關閉軟件時不退出軟件將其最小化到系統托盤",
"basic_lang_title": "軟件顯示的語言",
"basic_lang": "語言",
"basic_control_btn_position": "控制按鈕位置", "basic_control_btn_position": "控制按鈕位置",
"basic_control_btn_position_left": "左邊", "basic_control_btn_position_left": "左邊",
"basic_control_btn_position_right": "右邊", "basic_control_btn_position_right": "右邊",
"basic_lang": "語言",
"play": "播放設置", "basic_lang_title": "軟件顯示的語言",
"play_save_play_time": "記住播放進度", "basic_show_animation": "顯示切換動畫",
"play_lyric_transition": "顯示歌詞翻譯", "basic_source": "音樂來源",
"play_lyric_lxlrc": "使用卡拉OK式歌詞播放如果支持", "basic_source_status_failed": "初始化失敗",
"play_quality": "優先播放320K品質的歌曲如果支持", "basic_source_status_initing": "初始化中",
"play_task_bar": "在任務欄上顯示當前歌曲播放進度", "basic_source_status_success": "初始化成功",
"play_mediaDevice_title": "選擇聲音輸出的媒體設備", "basic_source_temp": "臨時接口(軟件的某些功能不可用,建議測試接口不可用再使用本接口)",
"play_mediaDevice": "音頻輸出", "basic_source_test": "測試接口(幾乎軟件的所有功能都可用)",
"play_mediaDevice_remove_stop_play": "當前的聲音輸出設備被改變時暫停播放歌曲", "basic_source_title": "選擇音樂來源",
"basic_source_user_api_btn": "自定義源管理",
"basic_sourcename": "音源名字",
"basic_sourcename_alias": "別名",
"basic_sourcename_real": "原名",
"basic_sourcename_title": "選擇音源名字類型",
"basic_theme": "主題顏色",
"basic_to_tray": "關閉軟件時不退出軟件將其最小化到系統托盤",
"basic_window_size": "窗口尺寸",
"basic_window_size_big": "大",
"basic_window_size_huge": "巨大",
"basic_window_size_larger": "較大",
"basic_window_size_medium": "中",
"basic_window_size_oversized": "超大",
"basic_window_size_small": "小",
"basic_window_size_smaller": "較小",
"basic_window_size_title": "設置軟件窗口尺寸",
"click_copy": "點擊複製",
"click_open": "點擊打開",
"desktop_lyric": "桌面歌詞設置", "desktop_lyric": "桌面歌詞設置",
"desktop_lyric_always_on_top": "使歌詞總是在其他窗口之上",
"desktop_lyric_enable": "顯示歌詞", "desktop_lyric_enable": "顯示歌詞",
"desktop_lyric_lock": "鎖定歌詞", "desktop_lyric_lock": "鎖定歌詞",
"desktop_lyric_always_on_top": "使歌詞總是在其他窗口之上",
"desktop_lyric_lock_screen": "不允許歌詞窗口拖出主屏幕之外", "desktop_lyric_lock_screen": "不允許歌詞窗口拖出主屏幕之外",
"search": "搜索設置",
"search_hot": "顯示熱門搜索",
"search_history": "顯示歷史搜索記錄",
"search_focus_search_box": "啟動時自動聚焦搜索框",
"list": "列表設置",
"list_source": "顯示歌曲源(僅對我的音樂分類有效)",
"list_scroll": "記住播放列表滾動條位置(僅對我的音樂分類有效)",
"download": "下載設置", "download": "下載設置",
"download_enable": "是否啟用下載功能",
"download_path_title": "下載歌曲保存的路徑",
"download_path": "下載路徑",
"download_path_label": "當前下載路徑:",
"download_path_open_label": "點擊打開當前路徑",
"download_path_change_btn": "更改",
"download_name_title": "下載歌曲時的命名方式",
"download_name": "文件命名方式",
"download_data_embed": "是否將以下內容嵌入到音頻文件中", "download_data_embed": "是否將以下內容嵌入到音頻文件中",
"download_embed_pic": "封面嵌入",
"download_embed_lyric": "歌詞嵌入", "download_embed_lyric": "歌詞嵌入",
"download_lyric_title": "是否同時下載歌詞文件", "download_embed_pic": "封面嵌入",
"download_enable": "是否啟用下載功能",
"download_lyric": "歌詞下載", "download_lyric": "歌詞下載",
"download_lyric_title": "是否同時下載歌詞文件",
"download_name": "文件命名方式",
"download_name1": "歌名 - 歌手", "download_name1": "歌名 - 歌手",
"download_name2": "歌手 - 歌名", "download_name2": "歌手 - 歌名",
"download_name3": "歌名", "download_name3": "歌名",
"download_use_other_source": "自動換源下載當無法從歌曲的原始源下載時嘗試切換到其他源下載此功能不100%保證換源後的歌曲版本與原版一致)", "download_name_title": "下載歌曲時的命名方式",
"download_path": "下載路徑",
"download_path_change_btn": "更改",
"download_path_label": "當前下載路徑:",
"download_path_open_label": "點擊打開當前路徑",
"download_path_title": "下載歌曲保存的路徑",
"download_select_save_path": "選擇歌曲保存路徑", "download_select_save_path": "選擇歌曲保存路徑",
"download_use_other_source": "自動換源下載當無法從歌曲的原始源下載時嘗試切換到其他源下載此功能不100%保證換源後的歌曲版本與原版一致)",
"hot_key": "快捷鍵設置", "hot_key": "快捷鍵設置",
"hot_key_local_title": "軟件內快捷鍵",
"hot_key_global_title": "全局快捷鍵",
"hot_key_tip_input": "請輸入新的按鍵",
"hot_key_unset_input": "未設置",
"hot_key_common_toggle_close": "退出程序",
"hot_key_common_toggle_min": "最小化/還原程序",
"hot_key_common_min": "最小化程序",
"hot_key_common_toggle_hide": "顯示/隱藏程序",
"hot_key_common_focus_search_input": "聚焦搜索框", "hot_key_common_focus_search_input": "聚焦搜索框",
"hot_key_player_toggle_play": "播放/暫停控制​​", "hot_key_common_min": "最小化程序",
"hot_key_player_prev": "上一首歌曲", "hot_key_common_toggle_close": "退出程序",
"hot_key_common_toggle_hide": "顯示/隱藏程序",
"hot_key_common_toggle_min": "最小化/還原程序",
"hot_key_desktop_lyric_toggle_always_top": "桌面歌詞置頂切換",
"hot_key_desktop_lyric_toggle_lock": "桌面歌詞鎖定切換",
"hot_key_desktop_lyric_toggle_visible": "開/關桌面歌詞",
"hot_key_global_title": "全局快捷鍵",
"hot_key_local_title": "軟件內快捷鍵",
"hot_key_player_next": "下一首歌曲", "hot_key_player_next": "下一首歌曲",
"hot_key_player_volume_up": "增加音量", "hot_key_player_prev": "上一首歌曲",
"hot_key_player_toggle_play": "播放/暫停控制​​",
"hot_key_player_volume_down": "減少音量", "hot_key_player_volume_down": "減少音量",
"hot_key_player_volume_mute": "靜音切換", "hot_key_player_volume_mute": "靜音切換",
"hot_key_desktop_lyric_toggle_visible": "開/關桌面歌詞", "hot_key_player_volume_up": "增加音量",
"hot_key_desktop_lyric_toggle_lock": "桌面歌詞鎖定切換", "hot_key_tip_input": "請輸入新的按鍵",
"hot_key_desktop_lyric_toggle_always_top": "桌面歌詞置頂切換", "hot_key_unset_input": "未設置",
"is_enable": "是否啟用",
"is_show": "是否顯示",
"list": "列表設置",
"list_add_music_location_type": "添加歌曲到列表時的位置",
"list_add_music_location_type_bottom": "底部",
"list_add_music_location_type_top": "頂部",
"list_scroll": "記住播放列表滾動條位置(僅對我的音樂分類有效)",
"list_source": "顯示歌曲源(僅對我的音樂分類有效)",
"network": "網絡設置", "network": "網絡設置",
"network_proxy_title": "HTTP代理設置亂設置軟件將無法聯網",
"network_proxy_host": "主機", "network_proxy_host": "主機",
"network_proxy_port": "端口",
"network_proxy_username": "用戶名",
"network_proxy_password": "密碼", "network_proxy_password": "密碼",
"network_proxy_port": "端口",
"network_proxy_title": "HTTP代理設置亂設置軟件將無法聯網",
"network_proxy_username": "用戶名",
"odc": "強迫症設置", "odc": "強迫症設置",
"odc_clear_search_input": "離開搜索界面時清空搜索框", "odc_clear_search_input": "離開搜索界面時清空搜索框",
"odc_clear_search_list": "離開搜索界面時清空搜索列表", "odc_clear_search_list": "離開搜索界面時清空搜索列表",
"backup": "備份與恢復",
"backup_part": "部分數據(列表數據包括試聽列表、收藏列表、用戶自定義列表,設置數據不包括快捷鍵設置)",
"backup_part_import_list": "導入列表",
"backup_part_export_list": "導出列表",
"backup_part_import_setting": "導入設置",
"backup_part_export_setting": "導出設置",
"backup_all": "所有數據(列表數據與設置數據)",
"backup_all_import": "導入",
"backup_all_export": "導出",
"backup_all_import_desc": "選擇備份文件",
"backup_all_export_desc": "選擇備份保存位置",
"backup_part_import_setting_desc": "選擇配置文件",
"backup_part_export_setting_desc": "選擇設置保存位置",
"backup_part_import_list_desc": "選擇列表文件",
"backup_part_export_list_desc": "選擇歌單保存位置",
"other": "其他", "other": "其他",
"other_play_list_cache": "列表緩存管理(我的列表中已緩存的歌曲鏈接、播放代替源,清理後播放、下載歌曲時需要重新獲取,沒有歌曲播放相關的問題不要清理)",
"other_play_list_cache_clear_btn": "清理列表緩存信息",
"other_resource_cache": "資源緩存管理(圖片、音頻等緩存,清理後圖片等資源將需要重新下載,不建議清理,軟件會根據磁盤空間動態管理緩存大小)",
"other_resource_cache_clear_btn": "清理資源緩存",
"other_resource_cache_label": "軟件已使用緩存大小:",
"other_tray_theme": "托盤圖標樣式", "other_tray_theme": "托盤圖標樣式",
"other_tray_theme_native": "純色", "other_tray_theme_native": "純色",
"other_tray_theme_origin": "原色", "other_tray_theme_origin": "原色",
"other_resource_cache": "資源緩存管理(圖片、音頻等緩存,清理後圖片等資源將需要重新下載,不建議清理,軟件會根據磁盤空間動態管理緩存大小)", "play": "播放設置",
"other_resource_cache_label": "軟件已使用緩存大小:", "play_lyric_lxlrc": "使用卡拉OK式歌詞播放如果支持",
"other_resource_cache_clear_btn": "清理資源緩存", "play_lyric_transition": "顯示歌詞翻譯",
"other_play_list_cache": "列表緩存管理(我的列表中已緩存的歌曲鏈接、播放代替源,清理後播放、下載歌曲時需要重新獲取,沒有歌曲播放相關的問題不要清理)", "play_mediaDevice": "音頻輸出",
"other_play_list_cache_clear_btn": "清理列表緩存信息", "play_mediaDevice_remove_stop_play": "當前的聲音輸出設備被改變時暫停播放歌曲",
"play_mediaDevice_title": "選擇聲音輸出的媒體設備",
"play_quality": "優先播放320K品質的歌曲如果支持",
"play_save_play_time": "記住播放進度",
"play_task_bar": "在任務欄上顯示當前歌曲播放進度",
"search": "搜索設置",
"search_focus_search_box": "啟動時自動聚焦搜索框",
"search_history": "顯示歷史搜索記錄",
"search_hot": "顯示熱門搜索",
"update": "軟件更新", "update": "軟件更新",
"update_latest_label": "最新版本:", "update_checking": "檢查更新中...",
"update_unknown": "未知",
"update_current_label": "當前版本:", "update_current_label": "當前版本:",
"update_downloading": "發現新版本並在努力下載中,請稍後...⏳", "update_downloading": "發現新版本並在努力下載中,請稍後...⏳",
"update_progress": "下載進度:",
"update_latest": "軟件已是最新,盡情地體驗吧~🥂",
"update_open_version_modal_btn": "打開更新窗口 🚀",
"update_checking": "檢查更新中...",
"update_init": "處理更新中...", "update_init": "處理更新中...",
"update_latest": "軟件已是最新,盡情地體驗吧~🥂",
"about": "關於洛雪音樂", "update_latest_label": "最新版本:",
"update_open_version_modal_btn": "打開更新窗口 🚀",
"update_progress": "下載進度:",
"is_enable": "是否啟用", "update_unknown": "未知"
"is_show": "是否顯示",
"click_open": "點擊打開",
"click_copy": "點擊複製"
} }

View File

@ -94,7 +94,15 @@ const mutations = {
const targetList = allList[id] const targetList = allList[id]
if (!targetList) return if (!targetList) return
if (targetList.list.some(s => s.songmid === musicInfo.songmid)) return if (targetList.list.some(s => s.songmid === musicInfo.songmid)) return
targetList.list.push(musicInfo) switch (this.state.setting.list.addMusicLocationType) {
case 'top':
targetList.list.unshift(musicInfo)
break
case 'bottom':
default:
targetList.list.push(musicInfo)
break
}
}, },
listMove(state, { fromId, musicInfo, toId }) { listMove(state, { fromId, musicInfo, toId }) {
const fromList = allList[fromId] const fromList = allList[fromId]
@ -102,12 +110,31 @@ const mutations = {
if (!fromList || !toList) return if (!fromList || !toList) return
fromList.list.splice(fromList.list.indexOf(musicInfo), 1) fromList.list.splice(fromList.list.indexOf(musicInfo), 1)
let index = toList.list.findIndex(s => s.songmid === musicInfo.songmid) let index = toList.list.findIndex(s => s.songmid === musicInfo.songmid)
if (index < 0) toList.list.push(musicInfo) if (index < 0) {
switch (this.state.setting.list.addMusicLocationType) {
case 'top':
toList.list.unshift(musicInfo)
break
case 'bottom':
default:
toList.list.push(musicInfo)
break
}
}
}, },
listAddMultiple(state, { id, list }) { listAddMultiple(state, { id, list }) {
let targetList = allList[id] let targetList = allList[id]
if (!targetList) return if (!targetList) return
let newList = [...targetList.list, ...list] let newList
switch (this.state.setting.list.addMusicLocationType) {
case 'top':
newList = [...list, ...targetList.list]
break
case 'bottom':
default:
newList = [...targetList.list, ...list]
break
}
let map = {} let map = {}
let ids = [] let ids = []
for (const item of newList) { for (const item of newList) {

View File

@ -107,6 +107,13 @@ div(:class="$style.main")
material-checkbox(id="setting_list_showSource_enable" v-model="current_setting.list.isShowSource" :label="$t('view.setting.list_source')") material-checkbox(id="setting_list_showSource_enable" v-model="current_setting.list.isShowSource" :label="$t('view.setting.list_source')")
div(:class="$style.gapTop") div(:class="$style.gapTop")
material-checkbox(id="setting_list_scroll_enable" v-model="current_setting.list.isSaveScrollLocation" :label="$t('view.setting.list_scroll')") material-checkbox(id="setting_list_scroll_enable" v-model="current_setting.list.isSaveScrollLocation" :label="$t('view.setting.list_scroll')")
dd(:tips="$t('view.setting.basic_sourcename_title')")
h3#list_addMusicLocationType {{$t('view.setting.list_add_music_location_type')}}
div
material-checkbox(:class="$style.gapLeft" id="setting_list_add_music_location_type_top"
name="setting_list_add_music_location_type" need v-model="current_setting.list.addMusicLocationType" value="top" :label="$t('view.setting.list_add_music_location_type_top')")
material-checkbox(:class="$style.gapLeft" id="setting_list_add_music_location_type_bottom"
name="setting_list_add_music_location_type" need v-model="current_setting.list.addMusicLocationType" value="bottom" :label="$t('view.setting.list_add_music_location_type_bottom')")
//- dd(:tips="") //- dd(:tips="")
h3 专辑栏 h3 专辑栏
div div