refactor: 更新 eslint 和 prettier 配置 格式化代码

This commit is contained in:
alger
2025-07-23 23:54:35 +08:00
parent d1f5c8af84
commit c08c2cbf19
134 changed files with 3887 additions and 3301 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ export default {
noTasks: 'No import tasks',
clearTasks: 'Clear Tasks',
clearTasksConfirmTitle: 'Confirm Clear',
clearTasksConfirmContent: 'Are you sure you want to clear all import task records? This action cannot be undone.',
clearTasksConfirmContent:
'Are you sure you want to clear all import task records? This action cannot be undone.',
confirm: 'Confirm',
cancel: 'Cancel',
clearTasksSuccess: 'Task list cleared',
+3 -2
View File
@@ -63,7 +63,7 @@ export default {
favorite: 'Favorite {name}',
unFavorite: 'Unfavorite {name}',
playbackSpeed: 'Playback Speed',
advancedControls: 'Advanced Controls',
advancedControls: 'Advanced Controls'
},
eq: {
title: 'Equalizer',
@@ -117,6 +117,7 @@ export default {
cleared: 'Playlist cleared',
empty: 'Playlist is empty',
clearConfirmTitle: 'Clear Playlist',
clearConfirmContent: 'This will clear all songs in the playlist and stop the current playback. Continue?'
clearConfirmContent:
'This will clear all songs in the playlist and stop the current playback. Continue?'
}
};
+9 -7
View File
@@ -66,11 +66,13 @@ export default {
configureMusicSources: 'Configure Sources',
selectedMusicSources: 'Selected sources:',
noMusicSources: 'No sources selected',
gdmusicInfo: 'GD Music Station intelligently resolves music from multiple platforms automatically',
gdmusicInfo:
'GD Music Station intelligently resolves music from multiple platforms automatically',
autoPlay: 'Auto Play',
autoPlayDesc: 'Auto resume playback when reopening the app',
showStatusBar: "Show Status Bar",
showStatusBarContent: "You can display the music control function in your mac status bar (effective after a restart)"
showStatusBar: 'Show Status Bar',
showStatusBarContent:
'You can display the music control function in your mac status bar (effective after a restart)'
},
application: {
closeAction: 'Close Action',
@@ -232,9 +234,9 @@ export default {
'spotify-green': 'Spotify Green',
'apple-blue': 'Apple Blue',
'youtube-red': 'YouTube Red',
'orange': 'Vibrant Orange',
'purple': 'Mystic Purple',
'pink': 'Cherry Pink'
orange: 'Vibrant Orange',
purple: 'Mystic Purple',
pink: 'Cherry Pink'
},
tooltips: {
openColorPicker: 'Open Color Picker',
@@ -280,6 +282,6 @@ export default {
addIp: 'Add IP',
emptyListHint: 'Empty list means allow all IPs',
saveSuccess: 'Remote control settings saved',
accessInfo: 'Remote control access address:',
accessInfo: 'Remote control access address:'
}
};
+2 -2
View File
@@ -8,7 +8,7 @@ export default {
unfavorite: 'Unlike',
removeFromPlaylist: 'Remove from Playlist',
dislike: 'Dislike',
undislike: 'Undislike',
undislike: 'Undislike'
},
message: {
downloading: 'Downloading, please wait...',
@@ -18,7 +18,7 @@ export default {
getUrlFailed: 'Failed to get music download URL, please check if logged in'
},
dialog: {
dislike:{
dislike: {
title: 'Dislike',
content: 'Are you sure you want to dislike this song?',
positiveText: 'Dislike',
+3 -3
View File
@@ -20,14 +20,14 @@ export default {
noFollowings: 'No Followings',
loadMore: 'Load More',
noSignature: 'This guy is lazy, nothing left',
userFollowsTitle: '\'s Followings',
userFollowsTitle: "'s Followings",
myFollowsTitle: 'My Followings'
},
follower: {
title: 'Follower List',
noFollowers: 'No Followers',
loadMore: 'Load More',
userFollowersTitle: '\'s Followers',
userFollowersTitle: "'s Followers",
myFollowersTitle: 'My Followers'
},
detail: {
@@ -38,7 +38,7 @@ export default {
artist: 'Artist',
noSignature: 'This guy is lazy, nothing left',
invalidUserId: 'Invalid User ID',
noRecordPermission: '{name} doesn\'t let you see your listening history'
noRecordPermission: "{name} doesn't let you see your listening history"
},
message: {
loadFailed: 'Failed to load user page',
+1 -1
View File
@@ -64,7 +64,7 @@ export default {
unFavorite: '已取消收藏{name}',
miniPlayBar: '迷你播放栏',
playbackSpeed: '播放速度',
advancedControls: '更多设置s',
advancedControls: '更多设置s'
},
eq: {
title: '均衡器',
+5 -5
View File
@@ -70,7 +70,7 @@ export default {
autoPlay: '自动播放',
autoPlayDesc: '重新打开应用时是否自动继续播放',
showStatusBar: '是否显示状态栏控制功能',
showStatusBarContent: '可以在您的mac状态栏显示音乐控制功能(重启后生效)',
showStatusBarContent: '可以在您的mac状态栏显示音乐控制功能(重启后生效)'
},
application: {
closeAction: '关闭行为',
@@ -232,9 +232,9 @@ export default {
'spotify-green': 'Spotify 绿',
'apple-blue': '苹果蓝',
'youtube-red': 'YouTube 红',
'orange': '活力橙',
'purple': '神秘紫',
'pink': '樱花粉'
orange: '活力橙',
purple: '神秘紫',
pink: '樱花粉'
},
tooltips: {
openColorPicker: '打开色板',
@@ -280,6 +280,6 @@ export default {
addIp: '添加IP',
emptyListHint: '空列表表示允许所有IP访问',
saveSuccess: '远程控制设置已保存',
accessInfo: '远程控制访问地址:',
accessInfo: '远程控制访问地址:'
}
};
+1 -1
View File
@@ -8,7 +8,7 @@ export default {
unfavorite: '取消喜欢',
removeFromPlaylist: '从歌单中删除',
dislike: '不喜欢',
undislike: '取消不喜欢',
undislike: '取消不喜欢'
},
message: {
downloading: '正在下载中,请稍候...',
+1 -1
View File
@@ -2,4 +2,4 @@ export default {
hotSongs: '熱門歌曲',
albums: '專輯',
description: '藝人介紹'
};
};
+1 -1
View File
@@ -53,4 +53,4 @@ export default {
play: '播放',
favorite: '收藏'
}
};
};
+1 -1
View File
@@ -187,4 +187,4 @@ export default {
mv: 'MV',
home: '首頁',
search: '搜尋'
};
};
+1 -1
View File
@@ -5,4 +5,4 @@ export default {
toDonateList: '請我喝杯咖啡',
noMessage: '暫無留言',
title: '捐贈列表'
};
};
+1 -1
View File
@@ -84,4 +84,4 @@ export default {
albumName: '專輯名'
}
}
};
};
+1 -1
View File
@@ -10,4 +10,4 @@ export default {
selectSongsFirst: '請先選擇要下載的歌曲',
descending: '降',
ascending: '升'
};
};
+1 -1
View File
@@ -2,4 +2,4 @@ export default {
title: '播放歷史',
playCount: '{count}',
getHistoryFailed: '取得歷史記錄失敗'
};
};
+1 -1
View File
@@ -26,4 +26,4 @@ export default {
download,
comp,
artist
};
};
+1 -1
View File
@@ -19,4 +19,4 @@ export default {
loadError: '載入登入資訊時出錯',
qrCheckError: '檢查二維碼狀態時出錯'
}
};
};
+2 -2
View File
@@ -64,7 +64,7 @@ export default {
unFavorite: '已取消收藏{name}',
miniPlayBar: '迷你播放列',
playbackSpeed: '播放速度',
advancedControls: '更多設定s',
advancedControls: '更多設定s'
},
eq: {
title: '等化器',
@@ -120,4 +120,4 @@ export default {
clearConfirmTitle: '清空播放清單',
clearConfirmContent: '這將清空所有播放清單中的歌曲並停止目前播放。是否繼續?'
}
};
};
+1 -1
View File
@@ -24,4 +24,4 @@ export default {
mv: 'MV',
bilibili: 'B站'
}
};
};
+5 -5
View File
@@ -70,7 +70,7 @@ export default {
autoPlay: '自動播放',
autoPlayDesc: '重新開啟應用程式時是否自動繼續播放',
showStatusBar: '是否顯示狀態列控制功能',
showStatusBarContent: '可以在您的mac狀態列顯示音樂控制功能(重啟後生效)',
showStatusBarContent: '可以在您的mac狀態列顯示音樂控制功能(重啟後生效)'
},
application: {
closeAction: '關閉行為',
@@ -212,9 +212,9 @@ export default {
'spotify-green': 'Spotify 綠',
'apple-blue': '蘋果藍',
'youtube-red': 'YouTube 紅',
'orange': '活力橙',
'purple': '神秘紫',
'pink': '櫻花粉'
orange: '活力橙',
purple: '神秘紫',
pink: '櫻花粉'
},
tooltips: {
openColorPicker: '開啟色板',
@@ -222,4 +222,4 @@ export default {
},
placeholder: '#1db954'
}
};
};
+2 -2
View File
@@ -8,7 +8,7 @@ export default {
unfavorite: '取消喜歡',
removeFromPlaylist: '從播放清單中刪除',
dislike: '不喜歡',
undislike: '取消不喜歡',
undislike: '取消不喜歡'
},
message: {
downloading: '正在下載中,請稍候...',
@@ -25,4 +25,4 @@ export default {
negativeText: '取消'
}
}
};
};
+1 -1
View File
@@ -45,4 +45,4 @@ export default {
deleteSuccess: '刪除成功',
deleteFailed: '刪除失敗'
}
};
};