mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-14 14:50:50 +08:00
Compare commits
176 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0b3eb3326 | ||
|
|
4a50886a68 | ||
|
|
f9222b699d | ||
|
|
030a1f1c85 | ||
|
|
3f31278131 | ||
|
|
33fc4f768c | ||
|
|
8e3e4e610c | ||
|
|
03b52cd6e2 | ||
|
|
8726af556a | ||
|
|
0ab784024c | ||
|
|
ad2df12957 | ||
|
|
a407045527 | ||
|
|
38723165a0 | ||
|
|
042b8ba6f8 | ||
|
|
eb801cfbfd | ||
|
|
0cfec3dd82 | ||
|
|
167f081ee6 | ||
|
|
c28368f783 | ||
|
|
bc46024499 | ||
|
|
59f71148af | ||
|
|
c5417a12ec | ||
|
|
b6d08b9660 | ||
|
|
3fd8bff7b4 | ||
|
|
2ef08412cf | ||
|
|
8e1dcd5c06 | ||
|
|
91ecad7f3d | ||
|
|
2b8378bbae | ||
|
|
7f0b3c6469 | ||
|
|
2f05663093 | ||
|
|
0ea3ac5b60 | ||
|
|
bf3155b80a | ||
|
|
8a83281d1b | ||
|
|
a3f91c45f0 | ||
|
|
68b3700f3f | ||
|
|
b86661ca11 | ||
|
|
51910011c8 | ||
|
|
24aa574176 | ||
|
|
239229a60c | ||
|
|
2182c295c1 | ||
|
|
66b5aac224 | ||
|
|
a7b05e6d02 | ||
|
|
915f4f8965 | ||
|
|
292706a821 | ||
|
|
baabb0c273 | ||
|
|
87a4773ece | ||
|
|
c8ba6cbd44 | ||
|
|
c4b178f925 | ||
|
|
345da7d9e8 | ||
|
|
f36f777e65 | ||
|
|
3e6f981379 | ||
|
|
57a441312f | ||
|
|
067868f786 | ||
|
|
479db66eb0 | ||
|
|
1c222971d5 | ||
|
|
ec8a07576f | ||
|
|
72fabc6d12 | ||
|
|
b5bac30258 | ||
|
|
bf341fa7c8 | ||
|
|
a62e6d256e | ||
|
|
b02ca859de | ||
|
|
958549dfb9 | ||
|
|
c714860c96 | ||
|
|
92877d86e9 | ||
|
|
e64e97c7bf | ||
|
|
15f7e10609 | ||
|
|
e77e0ce62b | ||
|
|
19092647d1 | ||
|
|
36917a979d | ||
|
|
bb2dbc3f00 | ||
|
|
16b2a1cece | ||
|
|
ae20f78ec0 | ||
|
|
e53a035ebc | ||
|
|
b955e95edc | ||
|
|
0e47c127fe | ||
|
|
292751643f | ||
|
|
fab29e5c79 | ||
|
|
feb041f5c2 | ||
|
|
7b32bcd3ab | ||
|
|
754e17b864 | ||
|
|
423167b9b3 | ||
|
|
83a6e9381c | ||
|
|
1d3b065af6 | ||
|
|
6b5382e37a | ||
|
|
b06459f10d | ||
|
|
6ff2a0337a | ||
|
|
2ef9c1afda | ||
|
|
44929dbfe4 | ||
|
|
ab901e633b | ||
|
|
3a3820cf52 | ||
|
|
a44addef22 | ||
|
|
70c7b35a86 | ||
|
|
14e35c7667 | ||
|
|
cd1c09889f | ||
|
|
939dc85d7d | ||
|
|
c4831966c1 | ||
|
|
50aebcf8de | ||
|
|
75d1225b40 | ||
|
|
c251ec9dcf | ||
|
|
00a251b5b6 | ||
|
|
7e59cfee05 | ||
|
|
c3dd03cc13 | ||
|
|
999cd6526b | ||
|
|
77bb06c0d6 | ||
|
|
85302c611a | ||
|
|
0f42bfc6cb | ||
|
|
5bcef29f10 | ||
|
|
a9fb487332 | ||
|
|
8e1259d2aa | ||
|
|
70f1044dd9 | ||
|
|
e2ebbe12e4 | ||
|
|
af9117ee5f | ||
|
|
6bc168c5bd | ||
|
|
89c6b11110 | ||
|
|
b9287e1c36 | ||
|
|
1a0e449e13 | ||
|
|
07f6152c56 | ||
|
|
56adac0d4e | ||
|
|
452e1d1129 | ||
|
|
34ba2250bf | ||
|
|
1005718c07 | ||
|
|
3527da17da | ||
|
|
9bf513d35d | ||
|
|
35b798b69e | ||
|
|
9535183405 | ||
|
|
6d7ba6dbae | ||
|
|
a9adb6be36 | ||
|
|
bee5445b6e | ||
|
|
316d5932e3 | ||
|
|
a5d3ff359c | ||
|
|
77f3069e67 | ||
|
|
f3a9f8b979 | ||
|
|
29ba231a7d | ||
|
|
cb2baeadf5 | ||
|
|
4575e4f26d | ||
|
|
dc8957dcf2 | ||
|
|
c83ad48ef4 | ||
|
|
67370b9072 | ||
|
|
93022691e2 | ||
|
|
0df86b583b | ||
|
|
df3a7994cb | ||
|
|
8fb4c4df68 | ||
|
|
56922caa40 | ||
|
|
abbbf7e771 | ||
|
|
6d9235902a | ||
|
|
659c9f9a4c | ||
|
|
8f0728d9db | ||
|
|
8f9c989815 | ||
|
|
d8734f8302 | ||
|
|
74b9d73241 | ||
|
|
10421fa4d2 | ||
|
|
d05a63c5e3 | ||
|
|
a9f76c7952 | ||
|
|
70677dfb14 | ||
|
|
e9ef7123e7 | ||
|
|
5fbe4c3ad4 | ||
|
|
bce02532ef | ||
|
|
9003de8d4b | ||
|
|
c98f5bb608 | ||
|
|
6e67263766 | ||
|
|
e91667a2e6 | ||
|
|
7306722fcf | ||
|
|
76db7e3ad6 | ||
|
|
8aaabf4b65 | ||
|
|
292ab56be8 | ||
|
|
5ab3143fdd | ||
|
|
08f7e5adfe | ||
|
|
2a8d0f2066 | ||
|
|
fb8b4c9341 | ||
|
|
dc99331911 | ||
|
|
7ae6e041b5 | ||
|
|
1171e0f9e7 | ||
|
|
df236e491c | ||
|
|
4368c05b80 | ||
|
|
d24d3d63b8 | ||
|
|
ad57673129 | ||
|
|
ad51f57bd7 |
116
.github/workflows/build.yml
vendored
116
.github/workflows/build.yml
vendored
@@ -6,12 +6,25 @@ on:
|
|||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
include:
|
||||||
|
- id: mac-x64
|
||||||
|
os: macos-latest
|
||||||
|
build_command: npm run build:mac:x64
|
||||||
|
- id: mac-arm64
|
||||||
|
os: macos-latest
|
||||||
|
build_command: npm run build:mac:arm64
|
||||||
|
- id: windows
|
||||||
|
os: windows-latest
|
||||||
|
build_command: npm run build:win
|
||||||
|
- id: linux
|
||||||
|
os: ubuntu-latest
|
||||||
|
build_command: npm run build:linux
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
@@ -20,69 +33,82 @@ jobs:
|
|||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 24
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
# MacOS Build
|
- name: Install Linux build dependencies
|
||||||
- name: Build MacOS
|
|
||||||
if: matrix.os == 'macos-latest'
|
|
||||||
run: |
|
|
||||||
export ELECTRON_BUILDER_EXTRA_ARGS="--universal"
|
|
||||||
npm run build:mac
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
CSC_IDENTITY_AUTO_DISCOVERY: false
|
|
||||||
DEBUG: electron-builder
|
|
||||||
|
|
||||||
# Windows Build
|
|
||||||
- name: Build Windows
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
run: npm run build:win
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# Linux Build
|
|
||||||
- name: Build Linux
|
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||||
npm run build:linux
|
|
||||||
|
- name: Build artifacts
|
||||||
|
run: ${{ matrix.build_command }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
CSC_IDENTITY_AUTO_DISCOVERY: false
|
||||||
|
|
||||||
# Get version from tag
|
- name: Prepare mac update metadata
|
||||||
- name: Get version from tag
|
if: startsWith(matrix.id, 'mac-')
|
||||||
id: get_version
|
run: rm -f dist/latest-mac.yml
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
# Read release notes
|
- name: Upload release bundle
|
||||||
- name: Read release notes
|
uses: actions/upload-artifact@v4
|
||||||
id: release_notes
|
|
||||||
run: |
|
|
||||||
NOTES=$(awk "/## \[v${{ env.VERSION }}\]/{p=1;print;next} /## \[v/{p=0}p" CHANGELOG.md)
|
|
||||||
echo "NOTES<<EOF" >> $GITHUB_ENV
|
|
||||||
echo "$NOTES" >> $GITHUB_ENV
|
|
||||||
echo "EOF" >> $GITHUB_ENV
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
# Upload artifacts
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
with:
|
||||||
files: |
|
name: ${{ matrix.id }}
|
||||||
|
if-no-files-found: error
|
||||||
|
path: |
|
||||||
dist/*.dmg
|
dist/*.dmg
|
||||||
|
dist/*.zip
|
||||||
dist/*.exe
|
dist/*.exe
|
||||||
dist/*.deb
|
dist/*.deb
|
||||||
dist/*.rpm
|
dist/*.rpm
|
||||||
dist/*.AppImage
|
dist/*.AppImage
|
||||||
dist/latest*.yml
|
dist/latest*.yml
|
||||||
dist/*.blockmap
|
dist/*.blockmap
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out Git repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get version from tag
|
||||||
|
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Read release notes
|
||||||
|
run: |
|
||||||
|
NOTES=$(awk "/## \[v${{ env.VERSION }}\]/{p=1;print;next} /## \[v/{p=0}p" CHANGELOG.md)
|
||||||
|
echo "NOTES<<EOF" >> $GITHUB_ENV
|
||||||
|
echo "$NOTES" >> $GITHUB_ENV
|
||||||
|
echo "EOF" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Download build artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
path: release-artifacts
|
||||||
|
|
||||||
|
- name: Prepare release files
|
||||||
|
run: |
|
||||||
|
mkdir -p release-upload
|
||||||
|
find release-artifacts -type f \
|
||||||
|
! -name 'latest-mac-x64.yml' \
|
||||||
|
! -name 'latest-mac-arm64.yml' \
|
||||||
|
-exec cp {} release-upload/ \;
|
||||||
|
node scripts/merge_latest_mac_yml.mjs \
|
||||||
|
release-artifacts/mac-x64/latest-mac-x64.yml \
|
||||||
|
release-artifacts/mac-arm64/latest-mac-arm64.yml \
|
||||||
|
release-upload/latest-mac.yml
|
||||||
|
|
||||||
|
- name: Publish GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
body: ${{ env.NOTES }}
|
body: ${{ env.NOTES }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
files: release-upload/*
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -13,9 +13,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '24'
|
||||||
|
|
||||||
- name: 创建环境变量文件
|
- name: 创建环境变量文件
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
71
.github/workflows/pr-check.yml
vendored
Normal file
71
.github/workflows/pr-check.yml
vendored
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
name: PR Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
types: [opened, edited, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# 检查 PR 标题是否符合 Conventional Commits 规范
|
||||||
|
pr-title:
|
||||||
|
name: PR Title
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Install commitlint
|
||||||
|
run: npm install --no-save @commitlint/cli @commitlint/config-conventional
|
||||||
|
|
||||||
|
- name: Validate PR title
|
||||||
|
env:
|
||||||
|
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||||
|
run: echo "$PR_TITLE" | npx commitlint
|
||||||
|
|
||||||
|
# 检查所有提交信息是否符合 Conventional Commits 规范
|
||||||
|
commit-messages:
|
||||||
|
name: Commit Messages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Install commitlint
|
||||||
|
run: npm install --no-save @commitlint/cli @commitlint/config-conventional
|
||||||
|
|
||||||
|
- name: Validate commit messages
|
||||||
|
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
|
||||||
|
|
||||||
|
# 运行 lint 和类型检查
|
||||||
|
code-quality:
|
||||||
|
name: Code Quality
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: npx eslint --max-warnings 0 "src/**/*.{ts,tsx,vue,js}"
|
||||||
|
|
||||||
|
- name: Type check
|
||||||
|
run: npm run typecheck
|
||||||
|
|
||||||
|
- name: I18n check
|
||||||
|
run: npm run lint:i18n
|
||||||
14
.gitignore
vendored
14
.gitignore
vendored
@@ -30,9 +30,21 @@ resources/android/**/*
|
|||||||
android/app/release
|
android/app/release
|
||||||
|
|
||||||
.cursor
|
.cursor
|
||||||
|
.windsurf
|
||||||
|
.agent
|
||||||
|
.agents
|
||||||
|
.claude
|
||||||
|
.kiro
|
||||||
|
CLAUDE.md
|
||||||
|
AGENTS.md
|
||||||
|
.sisyphus
|
||||||
|
|
||||||
|
.worktrees
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.auto-imports.d.ts
|
.auto-imports.d.ts
|
||||||
.components.d.ts
|
.components.d.ts
|
||||||
|
|
||||||
src/renderer/auto-imports.d.ts
|
src/renderer/auto-imports.d.ts
|
||||||
src/renderer/components.d.ts
|
src/renderer/components.d.ts
|
||||||
|
|||||||
1
.husky/commit-msg
Executable file
1
.husky/commit-msg
Executable file
@@ -0,0 +1 @@
|
|||||||
|
npx --no -- commitlint --edit "$1"
|
||||||
@@ -1,2 +1,10 @@
|
|||||||
|
echo "对已暂存文件运行 lint-staged..."
|
||||||
|
npx lint-staged
|
||||||
|
|
||||||
echo "运行类型检查..."
|
echo "运行类型检查..."
|
||||||
npm run typecheck
|
npm run typecheck
|
||||||
|
|
||||||
|
echo "运行国际化检查..."
|
||||||
|
npm run lint:i18n
|
||||||
|
|
||||||
|
echo "所有检查通过,准备提交..."
|
||||||
@@ -1,2 +1,7 @@
|
|||||||
|
echo "对已暂存文件运行 lint-staged..."
|
||||||
|
npx lint-staged
|
||||||
|
|
||||||
echo "运行类型检查..."
|
echo "运行类型检查..."
|
||||||
npm run typecheck
|
npm run typecheck
|
||||||
|
|
||||||
|
echo "所有检查通过,准备提交..."
|
||||||
110
CHANGELOG.md
110
CHANGELOG.md
@@ -1,38 +1,106 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
## v4.9.0
|
## v5.1.0
|
||||||
|
|
||||||
### ✨ 新功能
|
### ✨ 新功能
|
||||||
|
|
||||||
- 重新设计pc端歌词页面Mini播放栏
|
- 新增本地音乐扫描播放功能
|
||||||
- 添加清除歌曲自定义解析功能
|
- 新增播客页面与组件
|
||||||
- 添加Cookie登录功能及自动获取等相关管理设置 ([16aeaf2](https://github.com/algerkong/AlgerMusicPlayer/commit/16aeaf2)) - 支持通过Cookie方式登录,提供更便捷的登录体验
|
- 新增专辑页面
|
||||||
- 添加UID登录功能,优化登录流程 ([daa8e75](https://github.com/algerkong/AlgerMusicPlayer/commit/daa8e75)) - 新增用户ID直接登录方式
|
- 桌面歌词新增 单行/双行/滚动 三种显示模式,支持翻译开关和双行分组淡出动画
|
||||||
- 添加主题根据系统切换功能 ([d5ba218](https://github.com/algerkong/AlgerMusicPlayer/commit/d5ba218)) - 支持跟随系统主题自动切换明暗模式
|
- 重构自动更新系统,使用 electron-updater 替代手动下载
|
||||||
- 桌面歌词添加主题颜色面板组件 ([d1f5c8a](https://github.com/algerkong/AlgerMusicPlayer/commit/d1f5c8a)) - 为桌面歌词提供丰富的主题颜色自定义选项
|
- 设置页新增音频设备配置
|
||||||
- 增强播放速度控制,添加滑块控制并改善播放安全性 ([8fb382e](https://github.com/algerkong/AlgerMusicPlayer/commit/8fb382e)) 感谢[Qumo](https://github.com/Hellodwadawd12312312)的pr
|
- 快捷键整体重构优化
|
||||||
- 添加日语和韩语国际化支持,并优化语言相关代码 ([3062156](https://github.com/algerkong/AlgerMusicPlayer/commit/3062156))
|
- 重构 SearchBar,集成标题滚动显示功能
|
||||||
- 添加繁体中文本地化支持 ([2cc03cb](https://github.com/algerkong/AlgerMusicPlayer/commit/2cc03cb)) 感谢[dongguacute](https://github.com/dongguacute)的pr
|
- 优化音源解析策略与播放逻辑
|
||||||
- 播放速度设置弹窗标题添加速度显示 ([aeb7f03](https://github.com/algerkong/AlgerMusicPlayer/commit/aeb7f03))
|
- 优化移动端适配与 UI 布局
|
||||||
|
|
||||||
### 🐛 Bug 修复
|
### 🐛 Bug 修复
|
||||||
|
|
||||||
- 修复mac快捷键关闭窗口报错的问题 ([67ef4d7](https://github.com/algerkong/AlgerMusicPlayer/commit/67ef4d7))
|
- 修复自动播放循环与暂停失效问题
|
||||||
- 修复mini窗口恢复时导致的应用窗口变小问题 ([9b3019d](https://github.com/algerkong/AlgerMusicPlayer/commit/9b3019d))
|
- 修复桌面歌词窗口首次打开无歌词问题
|
||||||
- 修复歌单列表页面翻页类型问题 ([e489ab4](https://github.com/algerkong/AlgerMusicPlayer/commit/e489ab4))
|
- 修复播放并发控制死代码、shallowRef 响应式丢失、歌词 IPC 高频调用
|
||||||
- 修复歌曲初始化问题 ([b7a58a0](https://github.com/algerkong/AlgerMusicPlayer/commit/b7a58a0))
|
- 修复 AppMenu 错误主题色
|
||||||
- 修复音量调整不同步的问题 ([679089e](https://github.com/algerkong/AlgerMusicPlayer/commit/679089e))
|
- 修复播放列表抽屉关闭动画使用 setTimeout 不可靠问题
|
||||||
- 修复菜单显示不全的问题,添加滚动条 ([09ccd9f](https://github.com/algerkong/AlgerMusicPlayer/commit/09ccd9f))
|
- 修复搜索结果滚动加载触发距离过大
|
||||||
|
- 修复本地音乐元数据解析并发限流与封面体积限制
|
||||||
|
- 修复本地音乐扫描增量判断逻辑
|
||||||
|
- 修复 preload 层 ipc.on 解绑监听器失效
|
||||||
|
- 修复歌词缓存 IPC 通道未接入初始化
|
||||||
|
- 修复歌词组件卸载时 groupFadeTimer 未清理导致内存泄漏
|
||||||
|
- 补全 MV/排行榜/歌单/搜索/专辑页面缺失的国际化
|
||||||
|
- 修复 NeteaseCloudMusicApi anonymous_token 文件不存在导致启动崩溃
|
||||||
|
- 修复移动端全屏歌词前奏阶段第一句歌词不可见
|
||||||
|
- 修复移动端音乐列表页按钮尺寸过大
|
||||||
|
- 登录页扫码登录改为默认首选
|
||||||
|
- 设置桌面端最小窗口尺寸为 900×640 防止内容截断
|
||||||
|
- 移除首页顶部多余 padding
|
||||||
|
- HomeHero 快捷导航仅移动端显示
|
||||||
|
|
||||||
|
### 🔒 安全
|
||||||
|
|
||||||
|
- 本地音乐 API 仅监听回环地址,防止外部访问
|
||||||
|
- LX Music 脚本执行隔离到 Worker 沙箱
|
||||||
|
|
||||||
### 🎨 优化
|
### 🎨 优化
|
||||||
|
|
||||||
- 更新 eslint 和 prettier 配置,格式化代码 ([c08c2cb](https://github.com/algerkong/AlgerMusicPlayer/commit/c08c2cb))
|
- 全面重构 UI:播放器、播放条、通用组件、列表项、布局、标题栏、搜索页等
|
||||||
- 优化类型处理和登录功能 ([3ba85f3](https://github.com/algerkong/AlgerMusicPlayer/commit/3ba85f3))
|
- 重构首页 UI
|
||||||
- 优化Cookie相关文字描述 ([1597fbf](https://github.com/algerkong/AlgerMusicPlayer/commit/1597fbf))
|
- 设置页拆分为 7 个独立 Tab 组件,优化捐赠列表性能
|
||||||
|
- 重构音乐和歌词缓存逻辑,支持可配置缓存目录
|
||||||
|
- 统一进度追踪机制,移除重复的 rAF 更新循环
|
||||||
|
- 优化播放列表持久化,精简序列化字段并添加防抖写入
|
||||||
|
- 优化骨架屏加载效果,修复用户页左侧黑色背景
|
||||||
|
- 统一 SongItem 圆角与 hover 背景色
|
||||||
|
- 重构历史记录模块
|
||||||
|
- 调整主题主色
|
||||||
|
- 扩展数据层与播放能力
|
||||||
|
- 增加 i18n 检查脚本与提交钩子
|
||||||
|
- 重构 i18n 键值检查并增加引用告警模式
|
||||||
|
|
||||||
|
## v5.0.0
|
||||||
|
|
||||||
|
### ✨ 新功能
|
||||||
|
|
||||||
|
- LX Music 音源脚本导入
|
||||||
|
- 逐字歌词,支持全屏歌词和桌面歌词同步显示
|
||||||
|
- 心动模式播放
|
||||||
|
- 移动设备整体页面风格和效果优化
|
||||||
|
- 移动端添加平板模式设置
|
||||||
|
- 歌词页面样式控制优化 支持背景、宽度、字体粗细等个性化设置
|
||||||
|
- 历史日推查看
|
||||||
|
- 播放记录热力图
|
||||||
|
- 历史记录支持本地和云端记录
|
||||||
|
- 用户页面收藏专辑展示
|
||||||
|
- 添加 GPU 硬件加速设置
|
||||||
|
- 菜单展开状态保存 - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
- 搜索建议 - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
- 歌词繁体中文翻译模块,集成 OpenCC 引擎 - 感谢 [Leko](https://github.com/lekoOwO) 的贡献
|
||||||
|
- 自定义 API源 支持 [自定义源文档](https://github.com/algerkong/AlgerMusicPlayer/blob/main/docs/custom-api-readme.md) - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
|
||||||
|
### 🐛 Bug 修复
|
||||||
|
|
||||||
|
- 修复随机播放顺序异常
|
||||||
|
- 修复音源解析错误处理
|
||||||
|
- 修复 Mini 播放栏主题颜色问题
|
||||||
|
- 修复桌面歌词透明模式标题栏显示
|
||||||
|
- 修复逐字歌词字间距
|
||||||
|
- 修复远程控制设置无法保存
|
||||||
|
- 修复下载无损格式返回 HiRes 音质 - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
- 兼容 pnpm 包管理器 - 感谢 [Leko](https://github.com/lekoOwO) 的贡献
|
||||||
|
|
||||||
|
### 🎨 优化
|
||||||
|
|
||||||
|
- 音源解析缓存
|
||||||
|
- 完善多语言国际化
|
||||||
|
- 优化播放检测和错误处理
|
||||||
|
- FLAC 元数据和封面图片处理 - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
- 日推不感兴趣调用官方接口 - 感谢 [harenchi](https://github.com/souvenp) 的贡献
|
||||||
|
- 代码提交流程优化,添加 lint-staged
|
||||||
|
|
||||||
## 赞赏支持☕️
|
## 赞赏支持☕️
|
||||||
|
|
||||||
[赞赏列表](http://donate.alger.fun/)
|
[赞赏列表](https://donate.alger.fun/donate)
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
4
DEV.md
4
DEV.md
@@ -15,7 +15,7 @@
|
|||||||
- **国际化**:vue-i18n
|
- **国际化**:vue-i18n
|
||||||
- **HTTP 客户端**:axios
|
- **HTTP 客户端**:axios
|
||||||
- **本地存储**:electron-store localstorage
|
- **本地存储**:electron-store localstorage
|
||||||
- **网易云音乐 API**:netease-cloud-music-api
|
- **音乐 API**:netease-cloud-music-api
|
||||||
- **音乐解锁**:@unblockneteasemusic/server
|
- **音乐解锁**:@unblockneteasemusic/server
|
||||||
|
|
||||||
### 项目结构
|
### 项目结构
|
||||||
@@ -93,7 +93,7 @@ AlgerMusicPlayer/
|
|||||||
|
|
||||||
- **index.ts**: 应用主入口,负责创建窗口和应用生命周期管理
|
- **index.ts**: 应用主入口,负责创建窗口和应用生命周期管理
|
||||||
- **lyric.ts**: 歌词解析和处理
|
- **lyric.ts**: 歌词解析和处理
|
||||||
- **unblockMusic.ts**: 网易云音乐解锁功能
|
- **unblockMusic.ts**: 音乐解锁功能
|
||||||
- **server.ts**: 本地服务器
|
- **server.ts**: 本地服务器
|
||||||
|
|
||||||
#### 预加载脚本 (src/preload)
|
#### 预加载脚本 (src/preload)
|
||||||
|
|||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 Alger
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
主要功能如下
|
主要功能如下
|
||||||
|
|
||||||
- 🎵 音乐推荐
|
- 🎵 音乐推荐
|
||||||
- 🔐 网易云账号登录与同步
|
- 🔐 账号登录与同步
|
||||||
- 📝 功能
|
- 📝 功能
|
||||||
- 播放历史记录
|
- 播放历史记录
|
||||||
- 歌曲收藏管理
|
- 歌曲收藏管理
|
||||||
|
|||||||
12
commitlint.config.js
Normal file
12
commitlint.config.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
extends: ['@commitlint/config-conventional'],
|
||||||
|
rules: {
|
||||||
|
'type-enum': [
|
||||||
|
2,
|
||||||
|
'always',
|
||||||
|
['feat', 'fix', 'perf', 'refactor', 'docs', 'style', 'test', 'build', 'ci', 'chore', 'revert']
|
||||||
|
],
|
||||||
|
'subject-empty': [2, 'never'],
|
||||||
|
'type-empty': [2, 'never']
|
||||||
|
}
|
||||||
|
};
|
||||||
62
docs/custom-api-readme.md
Normal file
62
docs/custom-api-readme.md
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
## 🎵 自定义音源API配置
|
||||||
|
|
||||||
|
现在支持通过导入一个简单的 JSON 配置文件来对接第三方的音乐解析 API。这将提供极大的灵活性,可以接入任意第三方音源。
|
||||||
|
|
||||||
|
### 如何使用
|
||||||
|
|
||||||
|
1. 前往 **设置 -> 播放设置 -> 音源设置**。
|
||||||
|
2. 在 **自定义 API 设置** 区域,点击 **“导入 JSON 配置”** 按钮。
|
||||||
|
3. 选择你已经编写好的 `xxx.json` 配置文件。
|
||||||
|
4. 导入成功后,程序将优先使用你的自定义 API 进行解析。
|
||||||
|
|
||||||
|
### JSON 配置文件格式说明
|
||||||
|
|
||||||
|
导入的配置文件必须是一个合法的 JSON 文件,并包含以下字段:
|
||||||
|
|
||||||
|
| 字段名 | 类型 | 是否必须 | 描述 |
|
||||||
|
| ----------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `name` | `string` | 是 | API 名称,将显示在应用的 UI 界面上。 |
|
||||||
|
| `apiUrl` | `string` | 是 | API 的基础请求地址。 |
|
||||||
|
| `method` | `string` | 否 | HTTP 请求方法。可以是 `"GET"` 或 `"POST"`。**如果省略,默认为 "GET"**。 |
|
||||||
|
| `params` | `object` | 是 | 请求时需要发送的参数。对于 `GET` 请求,它们会作为查询字符串;对于 `POST` 请求,它们会作为请求体。 |
|
||||||
|
| `qualityMapping` | `object` | 否 | **音质映射表**。用于将应用内部的音质值(如 `"lossless"`)翻译成你的 API 需要的特定值。如果省略,则直接使用应用内部值。 |
|
||||||
|
| `responseUrlPath` | `string` | 是 | **URL提取路径**。用于从 API 返回的 JSON 响应中找到最终可播放的音乐链接。支持点 `.` 和方括号 `[]` 语法来访问嵌套对象和数组。 |
|
||||||
|
|
||||||
|
#### 占位符
|
||||||
|
|
||||||
|
在 `params` 对象的值中,你可以使用以下占位符,程序在请求时会自动替换它们:
|
||||||
|
|
||||||
|
- `{songId}`: 将被替换为当前歌曲的 ID。
|
||||||
|
- `{quality}`: 将被替换为当前用户设置的音质字符串 (例如, `"higher"`, `"lossless"`)。
|
||||||
|
|
||||||
|
#### 音质值列表
|
||||||
|
|
||||||
|
应用内部使用的音质值如下,你可以在 `qualityMapping` 中使用它们作为**键**:
|
||||||
|
`standard`, `higher`, `exhigh`, `lossless`, `hires`, `jyeffect`, `sky`, `dolby`, `jymaster`
|
||||||
|
|
||||||
|
### 示例
|
||||||
|
|
||||||
|
假设有一个 API 如下:
|
||||||
|
`https://api.example.com/music?song_id=12345&bitrate=320000`
|
||||||
|
它返回的 JSON 是:
|
||||||
|
`{ "code": 200, "data": { "play_url": "http://..." } }`
|
||||||
|
|
||||||
|
那么对应的 JSON 配置文件应该是:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"name": "Example API",
|
||||||
|
"apiUrl": "https://api.example.com/music",
|
||||||
|
"method": "GET",
|
||||||
|
"params": {
|
||||||
|
"song_id": "{songId}",
|
||||||
|
"bitrate": "{quality}"
|
||||||
|
},
|
||||||
|
"qualityMapping": {
|
||||||
|
"higher": "128000",
|
||||||
|
"exhigh": "320000",
|
||||||
|
"lossless": "999000"
|
||||||
|
},
|
||||||
|
"responseUrlPath": "data.play_url"
|
||||||
|
}
|
||||||
|
```
|
||||||
BIN
docs/image6.png
BIN
docs/image6.png
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 2.1 MiB |
@@ -1,45 +0,0 @@
|
|||||||
appId: com.electron.app
|
|
||||||
productName: electron-lan-file
|
|
||||||
directories:
|
|
||||||
buildResources: build
|
|
||||||
files:
|
|
||||||
- '!**/.vscode/*'
|
|
||||||
- '!src/*'
|
|
||||||
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
|
||||||
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
|
||||||
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
|
||||||
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
|
||||||
asarUnpack:
|
|
||||||
- resources/**
|
|
||||||
win:
|
|
||||||
executableName: electron-lan-file
|
|
||||||
nsis:
|
|
||||||
artifactName: ${name}-${version}-setup.${ext}
|
|
||||||
shortcutName: ${productName}
|
|
||||||
uninstallDisplayName: ${productName}
|
|
||||||
createDesktopShortcut: always
|
|
||||||
mac:
|
|
||||||
entitlementsInherit: build/entitlements.mac.plist
|
|
||||||
extendInfo:
|
|
||||||
- NSCameraUsageDescription: Application requests access to the device's camera.
|
|
||||||
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
|
||||||
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
|
||||||
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
|
||||||
notarize: false
|
|
||||||
dmg:
|
|
||||||
artifactName: ${name}-${version}.${ext}
|
|
||||||
linux:
|
|
||||||
target:
|
|
||||||
- AppImage
|
|
||||||
- snap
|
|
||||||
- deb
|
|
||||||
maintainer: electronjs.org
|
|
||||||
category: Utility
|
|
||||||
appImage:
|
|
||||||
artifactName: ${name}-${version}.${ext}
|
|
||||||
npmRebuild: false
|
|
||||||
publish:
|
|
||||||
provider: generic
|
|
||||||
url: https://example.com/auto-updates
|
|
||||||
electronDownload:
|
|
||||||
mirror: https://npmmirror.com/mirrors/electron/
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite';
|
import { defineConfig } from 'electron-vite';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import AutoImport from 'unplugin-auto-import/vite';
|
import AutoImport from 'unplugin-auto-import/vite';
|
||||||
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
|
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
|
||||||
@@ -8,12 +8,8 @@ import viteCompression from 'vite-plugin-compression';
|
|||||||
import VueDevTools from 'vite-plugin-vue-devtools';
|
import VueDevTools from 'vite-plugin-vue-devtools';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
main: {
|
main: {},
|
||||||
plugins: [externalizeDepsPlugin()]
|
preload: {},
|
||||||
},
|
|
||||||
preload: {
|
|
||||||
plugins: [externalizeDepsPlugin()]
|
|
||||||
},
|
|
||||||
renderer: {
|
renderer: {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
@@ -40,7 +36,8 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
publicDir: resolve('resources'),
|
publicDir: resolve('resources'),
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0',
|
||||||
|
port: 2389
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
21
fix-sandbox.js
Normal file
21
fix-sandbox.js
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* 修复 Linux 下 Electron sandbox 权限问题
|
||||||
|
* chrome-sandbox 需要 root 拥有且权限为 4755
|
||||||
|
*
|
||||||
|
* 注意:此脚本需要 sudo 权限,仅在 CI 环境或手动执行时使用
|
||||||
|
* 用法:sudo node fix-sandbox.js
|
||||||
|
*/
|
||||||
|
const { execSync } = require('child_process');
|
||||||
|
const fs = require('fs');
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
|
if (process.platform === 'linux') {
|
||||||
|
const sandboxPath = path.resolve('./node_modules/electron/dist/chrome-sandbox');
|
||||||
|
if (fs.existsSync(sandboxPath)) {
|
||||||
|
execSync(`sudo chown root:root ${sandboxPath}`);
|
||||||
|
execSync(`sudo chmod 4755 ${sandboxPath}`);
|
||||||
|
console.log('[fix-sandbox] chrome-sandbox permissions fixed');
|
||||||
|
} else {
|
||||||
|
console.log('[fix-sandbox] chrome-sandbox not found, skipping');
|
||||||
|
}
|
||||||
|
}
|
||||||
155
package.json
155
package.json
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "AlgerMusicPlayer",
|
"name": "AlgerMusicPlayer",
|
||||||
"version": "4.9.0",
|
"version": "5.1.0",
|
||||||
"description": "Alger Music Player",
|
"description": "Alger Music Player",
|
||||||
"author": "Alger <algerkc@qq.com>",
|
"author": "Alger <algerkc@qq.com>",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"homepage": "https://github.com/algerkong/AlgerMusicPlayer",
|
"homepage": "https://github.com/algerkong/AlgerMusicPlayer",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write ./src",
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint ./src --fix && npm run lint:i18n",
|
||||||
|
"lint:i18n": "bun scripts/check_i18n.ts",
|
||||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
"typecheck:web": "vue-tsc --noEmit -p tsconfig.web.json --composite false",
|
"typecheck:web": "vue-tsc --noEmit -p tsconfig.web.json --composite false",
|
||||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
||||||
@@ -17,85 +18,108 @@
|
|||||||
"dev:web": "vite dev",
|
"dev:web": "vite dev",
|
||||||
"build": "electron-vite build",
|
"build": "electron-vite build",
|
||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
|
"fix-sandbox": "node fix-sandbox.js",
|
||||||
"build:unpack": "npm run build && electron-builder --dir",
|
"build:unpack": "npm run build && electron-builder --dir",
|
||||||
"build:win": "npm run build && electron-builder --win",
|
"build:win": "npm run build && electron-builder --win --publish never",
|
||||||
"build:mac": "npm run build && electron-builder --mac",
|
"build:mac": "npm run build && electron-builder --mac --x64 --publish never && cp dist/latest-mac.yml dist/latest-mac-x64.yml && electron-builder --mac --arm64 --publish never && cp dist/latest-mac.yml dist/latest-mac-arm64.yml && node scripts/merge_latest_mac_yml.mjs dist/latest-mac-x64.yml dist/latest-mac-arm64.yml dist/latest-mac.yml",
|
||||||
"build:linux": "npm run build && electron-builder --linux"
|
"build:mac:x64": "npm run build && electron-builder --mac --x64 --publish never && cp dist/latest-mac.yml dist/latest-mac-x64.yml",
|
||||||
|
"build:mac:arm64": "npm run build && electron-builder --mac --arm64 --publish never && cp dist/latest-mac.yml dist/latest-mac-arm64.yml",
|
||||||
|
"build:linux": "npm run build && electron-builder --linux --publish never"
|
||||||
|
},
|
||||||
|
"lint-staged": {
|
||||||
|
"*.{ts,tsx,vue,js}": [
|
||||||
|
"eslint --fix"
|
||||||
|
],
|
||||||
|
"*.{ts,tsx,vue,js,css,scss,md,json}": [
|
||||||
|
"prettier --write"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@electron-toolkit/preload": "^3.0.1",
|
"@electron-toolkit/preload": "^3.0.2",
|
||||||
"@electron-toolkit/utils": "^4.0.0",
|
"@electron-toolkit/utils": "^4.0.0",
|
||||||
"@unblockneteasemusic/server": "^0.27.8-patch.1",
|
"@httptoolkit/dbus-native": "^0.1.5",
|
||||||
|
"@unblockneteasemusic/server": "^0.27.10",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"electron-store": "^8.1.0",
|
"crypto-js": "^4.2.0",
|
||||||
|
"electron-store": "^8.2.0",
|
||||||
"electron-updater": "^6.6.2",
|
"electron-updater": "^6.6.2",
|
||||||
"electron-window-state": "^5.0.3",
|
"electron-window-state": "^5.0.3",
|
||||||
"express": "^4.18.2",
|
"express": "^4.22.1",
|
||||||
"file-type": "^21.0.0",
|
"file-type": "^21.1.1",
|
||||||
"font-list": "^1.5.1",
|
"flac-tagger": "^1.0.7",
|
||||||
|
"font-list": "^1.6.0",
|
||||||
|
"form-data": "^4.0.5",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"music-metadata": "^11.2.3",
|
"jsencrypt": "^3.5.4",
|
||||||
"netease-cloud-music-api-alger": "^4.26.1",
|
"mpris-service": "^2.1.2",
|
||||||
|
"music-metadata": "^11.10.3",
|
||||||
|
"netease-cloud-music-api-alger": "^4.30.0",
|
||||||
|
"node-fetch": "^2.7.0",
|
||||||
"node-id3": "^0.2.9",
|
"node-id3": "^0.2.9",
|
||||||
"node-machine-id": "^1.1.12",
|
"node-machine-id": "^1.1.12",
|
||||||
"vue-i18n": "^11.1.3"
|
"pinia-plugin-persistedstate": "^4.7.1",
|
||||||
|
"vue-i18n": "^11.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@commitlint/cli": "^20.5.0",
|
||||||
|
"@commitlint/config-conventional": "^20.5.0",
|
||||||
"@electron-toolkit/eslint-config": "^2.1.0",
|
"@electron-toolkit/eslint-config": "^2.1.0",
|
||||||
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
||||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||||
"@eslint/js": "^9.31.0",
|
"@eslint/js": "^9.39.2",
|
||||||
"@rushstack/eslint-patch": "^1.10.3",
|
"@rushstack/eslint-patch": "^1.15.0",
|
||||||
"@tailwindcss/postcss7-compat": "^2.2.4",
|
|
||||||
"@types/howler": "^2.2.12",
|
"@types/howler": "^2.2.12",
|
||||||
"@types/node": "^20.14.8",
|
"@types/node": "^20.19.26",
|
||||||
|
"@types/node-fetch": "^2.6.13",
|
||||||
"@types/tinycolor2": "^1.4.6",
|
"@types/tinycolor2": "^1.4.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.30.1",
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
||||||
"@typescript-eslint/parser": "^8.30.1",
|
"@typescript-eslint/parser": "^8.49.0",
|
||||||
"@vitejs/plugin-vue": "^5.0.5",
|
"@vitejs/plugin-vue": "^5.2.4",
|
||||||
"@vue/compiler-sfc": "^3.5.0",
|
"@vue/compiler-sfc": "^3.5.25",
|
||||||
"@vue/eslint-config-prettier": "^10.2.0",
|
"@vue/eslint-config-prettier": "^10.2.0",
|
||||||
"@vue/eslint-config-typescript": "^14.5.0",
|
"@vue/eslint-config-typescript": "^14.6.0",
|
||||||
"@vue/runtime-core": "^3.5.0",
|
"@vue/runtime-core": "^3.5.25",
|
||||||
"@vueuse/core": "^11.3.0",
|
"@vueuse/core": "^11.3.0",
|
||||||
"@vueuse/electron": "^11.3.0",
|
"@vueuse/electron": "^13.9.0",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.22",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.13.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"electron": "^35.2.0",
|
"electron": "^40.1.0",
|
||||||
"electron-builder": "^25.1.8",
|
"electron-builder": "^26.0.12",
|
||||||
"electron-vite": "^3.1.0",
|
"electron-vite": "^5.0.0",
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^9.39.2",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-import": "^2.32.0",
|
"eslint-plugin-import": "^2.32.0",
|
||||||
"eslint-plugin-prettier": "^5.5.3",
|
"eslint-plugin-prettier": "^5.5.4",
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"eslint-plugin-vue": "^10.3.0",
|
"eslint-plugin-vue": "^10.6.2",
|
||||||
"eslint-plugin-vue-scoped-css": "^2.11.0",
|
"eslint-plugin-vue-scoped-css": "^2.12.0",
|
||||||
"globals": "^16.3.0",
|
"globals": "^16.5.0",
|
||||||
"howler": "^2.2.4",
|
"howler": "^2.2.4",
|
||||||
|
"lint-staged": "^15.5.2",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"marked": "^15.0.4",
|
"marked": "^15.0.12",
|
||||||
"naive-ui": "^2.41.0",
|
"naive-ui": "^2.43.2",
|
||||||
"pinia": "^3.0.1",
|
"pinia": "^3.0.4",
|
||||||
"pinyin-match": "^1.2.6",
|
"pinyin-match": "^1.2.10",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.6",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.7.4",
|
||||||
"remixicon": "^4.6.0",
|
"remixicon": "^4.7.0",
|
||||||
"sass": "^1.86.0",
|
"sass": "^1.96.0",
|
||||||
"tailwindcss": "^3.4.17",
|
"tailwindcss": "^3.4.19",
|
||||||
"tinycolor2": "^1.6.0",
|
"tinycolor2": "^1.6.0",
|
||||||
"tunajs": "^1.0.15",
|
"tunajs": "^1.0.15",
|
||||||
"typescript": "^5.5.2",
|
"typescript": "^5.9.3",
|
||||||
"unplugin-auto-import": "^19.1.1",
|
"unplugin-auto-import": "^19.3.0",
|
||||||
"unplugin-vue-components": "^28.4.1",
|
"unplugin-vue-components": "^28.8.0",
|
||||||
"vite": "^6.2.2",
|
"vite": "^6.4.1",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
"vite-plugin-vue-devtools": "7.7.2",
|
"vite-plugin-vue-devtools": "7.7.2",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.25",
|
||||||
"vue-router": "^4.5.0",
|
"vue-eslint-parser": "^10.2.0",
|
||||||
"vue-tsc": "^2.0.22"
|
"vue-router": "^4.6.4",
|
||||||
|
"vue-tsc": "^2.2.12"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.alger.music",
|
"appId": "com.alger.music",
|
||||||
@@ -119,12 +143,8 @@
|
|||||||
"mac": {
|
"mac": {
|
||||||
"icon": "resources/icon.icns",
|
"icon": "resources/icon.icns",
|
||||||
"target": [
|
"target": [
|
||||||
{
|
"dmg",
|
||||||
"target": "dmg",
|
"zip"
|
||||||
"arch": [
|
|
||||||
"universal"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
||||||
"darkModeSupport": true,
|
"darkModeSupport": true,
|
||||||
@@ -132,6 +152,11 @@
|
|||||||
"gatekeeperAssess": false,
|
"gatekeeperAssess": false,
|
||||||
"entitlements": "build/entitlements.mac.plist",
|
"entitlements": "build/entitlements.mac.plist",
|
||||||
"entitlementsInherit": "build/entitlements.mac.plist",
|
"entitlementsInherit": "build/entitlements.mac.plist",
|
||||||
|
"extendInfo": {
|
||||||
|
"NSCameraUsageDescription": "Application requests access to the device's camera.",
|
||||||
|
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",
|
||||||
|
"NSDownloadsFolderUsageDescription": "Application requests access to the user's Downloads folder."
|
||||||
|
},
|
||||||
"notarize": false,
|
"notarize": false,
|
||||||
"identity": null,
|
"identity": null,
|
||||||
"type": "distribution",
|
"type": "distribution",
|
||||||
@@ -191,7 +216,19 @@
|
|||||||
"createDesktopShortcut": true,
|
"createDesktopShortcut": true,
|
||||||
"createStartMenuShortcut": true,
|
"createStartMenuShortcut": true,
|
||||||
"shortcutName": "AlgerMusicPlayer",
|
"shortcutName": "AlgerMusicPlayer",
|
||||||
"include": "build/installer.nsh"
|
"include": "build/installer.nsh",
|
||||||
|
"deleteAppDataOnUninstall": true,
|
||||||
|
"uninstallDisplayName": "AlgerMusicPlayer"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"onlyBuiltDependencies": [
|
||||||
|
"electron",
|
||||||
|
"esbuild"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"jsbi": "^4.3.2",
|
||||||
|
"x11": "^2.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "Alger Music PWA",
|
"name": "Alger Music Player",
|
||||||
|
"short_name": "AlgerMusic",
|
||||||
|
"description": "AlgerMusicPlayer 音乐播放器,支持在线播放、歌词显示、音乐下载等功能。",
|
||||||
|
"start_url": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"theme_color": "#000000",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "./icon.png",
|
"src": "./icon.png",
|
||||||
|
|||||||
251
scripts/check_i18n.ts
Normal file
251
scripts/check_i18n.ts
Normal file
@@ -0,0 +1,251 @@
|
|||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
import { pathToFileURL } from 'url';
|
||||||
|
|
||||||
|
type TranslationObject = Record<string, unknown>;
|
||||||
|
type KeyValueMap = Map<string, string>;
|
||||||
|
type KeyReference = {
|
||||||
|
file: string;
|
||||||
|
line: number;
|
||||||
|
key: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
const SOURCE_LANG = 'zh-CN';
|
||||||
|
const TARGET_LANGS = ['en-US', 'ja-JP', 'ko-KR', 'zh-Hant'] as const;
|
||||||
|
const CHECK_EXTENSIONS = new Set(['.ts', '.vue']);
|
||||||
|
|
||||||
|
function isPlainObject(value: unknown): value is TranslationObject {
|
||||||
|
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
function flattenTranslations(
|
||||||
|
input: TranslationObject,
|
||||||
|
prefix = '',
|
||||||
|
output: KeyValueMap = new Map()
|
||||||
|
): KeyValueMap {
|
||||||
|
Object.entries(input).forEach(([key, value]) => {
|
||||||
|
const fullKey = prefix ? `${prefix}.${key}` : key;
|
||||||
|
if (isPlainObject(value)) {
|
||||||
|
flattenTranslations(value, fullKey, output);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
output.set(fullKey, String(value ?? ''));
|
||||||
|
});
|
||||||
|
return output;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function loadTranslationFile(filePath: string): Promise<TranslationObject | null> {
|
||||||
|
if (!fs.existsSync(filePath)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const moduleUrl = pathToFileURL(filePath).href;
|
||||||
|
const loaded = await import(moduleUrl);
|
||||||
|
const payload = loaded.default;
|
||||||
|
|
||||||
|
if (!isPlainObject(payload)) {
|
||||||
|
throw new Error(`翻译文件默认导出必须是对象: ${filePath}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
return payload;
|
||||||
|
}
|
||||||
|
|
||||||
|
function walkFiles(dirPath: string): string[] {
|
||||||
|
const results: string[] = [];
|
||||||
|
|
||||||
|
if (!fs.existsSync(dirPath)) {
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const entry of fs.readdirSync(dirPath, { withFileTypes: true })) {
|
||||||
|
const fullPath = path.join(dirPath, entry.name);
|
||||||
|
if (entry.isDirectory()) {
|
||||||
|
results.push(...walkFiles(fullPath));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (entry.isFile() && CHECK_EXTENSIONS.has(path.extname(entry.name))) {
|
||||||
|
results.push(fullPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getLineNumber(content: string, index: number): number {
|
||||||
|
let line = 1;
|
||||||
|
for (let i = 0; i < index; i += 1) {
|
||||||
|
if (content[i] === '\n') {
|
||||||
|
line += 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return line;
|
||||||
|
}
|
||||||
|
|
||||||
|
function collectReferencesFromContent(content: string, file: string): KeyReference[] {
|
||||||
|
const references: KeyReference[] = [];
|
||||||
|
const patterns = [
|
||||||
|
/\bt\(\s*['"`]([^'"`$]+)['"`]\s*[,)]/g,
|
||||||
|
/\bi18n\.global\.t\(\s*['"`]([^'"`$]+)['"`]\s*[,)]/g,
|
||||||
|
/\$t\(\s*['"`]([^'"`$]+)['"`]\s*[,)]/g
|
||||||
|
];
|
||||||
|
|
||||||
|
for (const pattern of patterns) {
|
||||||
|
let match: RegExpExecArray | null = pattern.exec(content);
|
||||||
|
while (match) {
|
||||||
|
references.push({
|
||||||
|
file,
|
||||||
|
line: getLineNumber(content, match.index),
|
||||||
|
key: match[1]
|
||||||
|
});
|
||||||
|
match = pattern.exec(content);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return references;
|
||||||
|
}
|
||||||
|
|
||||||
|
function collectTranslationReferences(projectRoot: string): KeyReference[] {
|
||||||
|
const scanDirs = ['src/renderer', 'src/main', 'src/preload'];
|
||||||
|
const references: KeyReference[] = [];
|
||||||
|
|
||||||
|
for (const scanDir of scanDirs) {
|
||||||
|
const absoluteDir = path.join(projectRoot, scanDir);
|
||||||
|
const files = walkFiles(absoluteDir);
|
||||||
|
|
||||||
|
for (const file of files) {
|
||||||
|
const content = fs.readFileSync(file, 'utf-8');
|
||||||
|
references.push(...collectReferencesFromContent(content, path.relative(projectRoot, file)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return references;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const projectRoot = process.cwd();
|
||||||
|
const langDir = path.join(projectRoot, 'src/i18n/lang');
|
||||||
|
const sourceDir = path.join(langDir, SOURCE_LANG);
|
||||||
|
const fileNames = fs
|
||||||
|
.readdirSync(sourceDir)
|
||||||
|
.filter((file) => file.endsWith('.ts'))
|
||||||
|
.sort();
|
||||||
|
|
||||||
|
const missingByLang: Record<string, Record<string, string[]>> = {};
|
||||||
|
const extraByLang: Record<string, Record<string, string[]>> = {};
|
||||||
|
const sourceKeys = new Set<string>();
|
||||||
|
const sourceValues = new Map<string, string>();
|
||||||
|
let hasBlockingIssue = false;
|
||||||
|
const strictMode = process.env.I18N_STRICT === '1';
|
||||||
|
|
||||||
|
for (const fileName of fileNames) {
|
||||||
|
const moduleName = fileName.replace(/\.ts$/, '');
|
||||||
|
const sourcePath = path.join(sourceDir, fileName);
|
||||||
|
const sourceObject = await loadTranslationFile(sourcePath);
|
||||||
|
if (!sourceObject) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
const sourceMap = flattenTranslations(sourceObject, moduleName);
|
||||||
|
const sourceMapKeys = new Set(sourceMap.keys());
|
||||||
|
|
||||||
|
sourceMap.forEach((value, key) => {
|
||||||
|
sourceKeys.add(key);
|
||||||
|
sourceValues.set(key, value);
|
||||||
|
});
|
||||||
|
|
||||||
|
for (const lang of TARGET_LANGS) {
|
||||||
|
if (!missingByLang[lang]) {
|
||||||
|
missingByLang[lang] = {};
|
||||||
|
}
|
||||||
|
if (!extraByLang[lang]) {
|
||||||
|
extraByLang[lang] = {};
|
||||||
|
}
|
||||||
|
|
||||||
|
const targetPath = path.join(langDir, lang, fileName);
|
||||||
|
const targetObject = await loadTranslationFile(targetPath);
|
||||||
|
const targetMap = targetObject
|
||||||
|
? flattenTranslations(targetObject, moduleName)
|
||||||
|
: new Map<string, string>();
|
||||||
|
const targetMapKeys = new Set(targetMap.keys());
|
||||||
|
|
||||||
|
const missing = Array.from(sourceMapKeys).filter((key) => !targetMapKeys.has(key));
|
||||||
|
const extra = Array.from(targetMapKeys).filter((key) => !sourceMapKeys.has(key));
|
||||||
|
|
||||||
|
if (missing.length > 0) {
|
||||||
|
missingByLang[lang][fileName] = missing;
|
||||||
|
hasBlockingIssue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (extra.length > 0) {
|
||||||
|
extraByLang[lang][fileName] = extra;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const allReferences = collectTranslationReferences(projectRoot);
|
||||||
|
const invalidReferences = allReferences.filter((item) => !sourceKeys.has(item.key));
|
||||||
|
|
||||||
|
const hasWarningIssue =
|
||||||
|
invalidReferences.length > 0 ||
|
||||||
|
Object.values(extraByLang).some((item) => Object.keys(item).length > 0);
|
||||||
|
const shouldFail = hasBlockingIssue || (strictMode && hasWarningIssue);
|
||||||
|
|
||||||
|
if (hasBlockingIssue || hasWarningIssue) {
|
||||||
|
console.error('发现国际化问题:');
|
||||||
|
|
||||||
|
for (const lang of TARGET_LANGS) {
|
||||||
|
const missingFiles = missingByLang[lang];
|
||||||
|
const extraFiles = extraByLang[lang];
|
||||||
|
const hasLangIssue =
|
||||||
|
Object.keys(missingFiles).length > 0 || Object.keys(extraFiles).length > 0;
|
||||||
|
|
||||||
|
if (!hasLangIssue) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
console.error(`\n语言: ${lang}`);
|
||||||
|
for (const fileName of Object.keys(missingFiles)) {
|
||||||
|
console.error(` 文件: ${fileName}`);
|
||||||
|
for (const key of missingFiles[fileName]) {
|
||||||
|
const sourceValue = sourceValues.get(key) ?? '';
|
||||||
|
console.error(` - 缺失键 [${key}]:${sourceValue}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const fileName of Object.keys(extraFiles)) {
|
||||||
|
console.error(` 文件: ${fileName}`);
|
||||||
|
for (const key of extraFiles[fileName]) {
|
||||||
|
console.error(` - 多余键 [${key}]`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (invalidReferences.length > 0) {
|
||||||
|
console.error('\n代码中引用了不存在的 i18n key:');
|
||||||
|
for (const item of invalidReferences) {
|
||||||
|
console.error(` - ${item.file}:${item.line} -> ${item.key}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strictMode && hasWarningIssue && !hasBlockingIssue) {
|
||||||
|
console.error('\n当前为严格模式,告警将导致失败(I18N_STRICT=1)。');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (shouldFail) {
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!hasBlockingIssue && !hasWarningIssue) {
|
||||||
|
console.log('所有国际化键值检查通过!');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log('国际化检查通过(含告警,建议尽快修复)');
|
||||||
|
}
|
||||||
|
|
||||||
|
main().catch((error) => {
|
||||||
|
console.error('国际化检查执行失败:', error);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
130
scripts/export_i18n_report.ts
Normal file
130
scripts/export_i18n_report.ts
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
async function main() {
|
||||||
|
const rootDir = process.cwd();
|
||||||
|
const langDir = path.join(rootDir, 'src/i18n/lang/zh-CN');
|
||||||
|
|
||||||
|
const definedKeys = new Set<string>();
|
||||||
|
const langFiles = fs.readdirSync(langDir).filter((f) => f.endsWith('.ts'));
|
||||||
|
|
||||||
|
function getKeys(obj: any, prefix = '') {
|
||||||
|
for (const key in obj) {
|
||||||
|
const fullKey = prefix ? `${prefix}.${key}` : key;
|
||||||
|
if (typeof obj[key] === 'object' && obj[key] !== null && !Array.isArray(obj[key])) {
|
||||||
|
getKeys(obj[key], fullKey);
|
||||||
|
} else {
|
||||||
|
definedKeys.add(fullKey);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const file of langFiles) {
|
||||||
|
const content = fs.readFileSync(path.join(langDir, file), 'utf-8');
|
||||||
|
const match = content.match(/export\s+default\s+([\s\S]+);/);
|
||||||
|
if (match) {
|
||||||
|
try {
|
||||||
|
const obj = eval(`(${match[1]})`);
|
||||||
|
getKeys(obj, file.replace('.ts', ''));
|
||||||
|
} catch (error) {
|
||||||
|
console.warn('Failed to parse i18n file:', file, error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
const glob = new Bun.Glob('src/renderer/**/*.{vue,ts,js}');
|
||||||
|
// @ts-ignore
|
||||||
|
const files = Array.from(
|
||||||
|
glob.scanSync({
|
||||||
|
cwd: rootDir,
|
||||||
|
onlyFiles: true
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
const report = {
|
||||||
|
hardcodedChinese: [] as any[],
|
||||||
|
missingKeys: [] as any[]
|
||||||
|
};
|
||||||
|
|
||||||
|
const chineseMatchRegex = /[\u4e00-\u9fa5]+/g;
|
||||||
|
const i18nRegex = /\bt\(['"]([^'"]+)['"]\)/g;
|
||||||
|
|
||||||
|
for (const relativeFile of files) {
|
||||||
|
const rel = relativeFile as string;
|
||||||
|
if (
|
||||||
|
rel.includes('node_modules') ||
|
||||||
|
rel.includes('android/') ||
|
||||||
|
rel.includes('resources/') ||
|
||||||
|
rel.includes('scripts/') ||
|
||||||
|
rel.endsWith('.d.ts')
|
||||||
|
)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
const file = path.join(rootDir, rel);
|
||||||
|
let content = fs.readFileSync(file, 'utf-8');
|
||||||
|
|
||||||
|
content = content.replace(/\/\*[\s\S]*?\*\//g, (match) => {
|
||||||
|
const lines = match.split('\n').length - 1;
|
||||||
|
return '\n'.repeat(lines);
|
||||||
|
});
|
||||||
|
|
||||||
|
content = content.replace(/<!--[\s\S]*?-->/g, (match) => {
|
||||||
|
const lines = match.split('\n').length - 1;
|
||||||
|
return '\n'.repeat(lines);
|
||||||
|
});
|
||||||
|
|
||||||
|
const lines = content.split('\n');
|
||||||
|
let isInConsole = false;
|
||||||
|
|
||||||
|
lines.forEach((line, index) => {
|
||||||
|
const lineNumber = index + 1;
|
||||||
|
const cleanLine = line.split('//')[0];
|
||||||
|
|
||||||
|
if (cleanLine.includes('console.')) {
|
||||||
|
isInConsole = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isInConsole && !cleanLine.includes('import')) {
|
||||||
|
const chineseMatches = cleanLine.match(chineseMatchRegex);
|
||||||
|
if (chineseMatches) {
|
||||||
|
chineseMatches.forEach((text) => {
|
||||||
|
report.hardcodedChinese.push({
|
||||||
|
file: rel,
|
||||||
|
line: lineNumber,
|
||||||
|
text: text.trim(),
|
||||||
|
context: line.trim()
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isInConsole && cleanLine.includes(');')) {
|
||||||
|
isInConsole = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
let i18nMatch;
|
||||||
|
while ((i18nMatch = i18nRegex.exec(cleanLine)) !== null) {
|
||||||
|
const key = i18nMatch[1];
|
||||||
|
if (!definedKeys.has(key)) {
|
||||||
|
report.missingKeys.push({
|
||||||
|
file: rel,
|
||||||
|
line: lineNumber,
|
||||||
|
key: key,
|
||||||
|
context: line.trim()
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const outputPath = path.join(rootDir, 'i18n_report.json');
|
||||||
|
fs.writeFileSync(outputPath, JSON.stringify(report, null, 2));
|
||||||
|
|
||||||
|
console.log(`\n报告生成成功!`);
|
||||||
|
console.log(`- 硬编码中文: ${report.hardcodedChinese.length} 处`);
|
||||||
|
console.log(`- 缺失的 Key: ${report.missingKeys.length} 处`);
|
||||||
|
console.log(`- 报告路径: ${outputPath}\n`);
|
||||||
|
}
|
||||||
|
|
||||||
|
main();
|
||||||
119
scripts/merge_latest_mac_yml.mjs
Normal file
119
scripts/merge_latest_mac_yml.mjs
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
||||||
|
import { dirname } from 'node:path';
|
||||||
|
|
||||||
|
function readScalar(line, prefix) {
|
||||||
|
return line.slice(prefix.length).trim().replace(/^'/, '').replace(/'$/, '');
|
||||||
|
}
|
||||||
|
|
||||||
|
function parseLatestMacYml(filePath) {
|
||||||
|
const content = readFileSync(filePath, 'utf8');
|
||||||
|
const lines = content.split(/\r?\n/);
|
||||||
|
const result = {
|
||||||
|
version: '',
|
||||||
|
files: [],
|
||||||
|
path: '',
|
||||||
|
sha512: '',
|
||||||
|
releaseDate: ''
|
||||||
|
};
|
||||||
|
|
||||||
|
let currentFile = null;
|
||||||
|
|
||||||
|
for (const line of lines) {
|
||||||
|
if (!line.trim()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith('version: ')) {
|
||||||
|
result.version = readScalar(line, 'version: ');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith('path: ')) {
|
||||||
|
result.path = readScalar(line, 'path: ');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith('sha512: ')) {
|
||||||
|
result.sha512 = readScalar(line, 'sha512: ');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith('releaseDate: ')) {
|
||||||
|
result.releaseDate = readScalar(line, 'releaseDate: ');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith(' - url: ')) {
|
||||||
|
currentFile = {
|
||||||
|
url: readScalar(line, ' - url: ')
|
||||||
|
};
|
||||||
|
result.files.push(currentFile);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith(' sha512: ') && currentFile) {
|
||||||
|
currentFile.sha512 = readScalar(line, ' sha512: ');
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (line.startsWith(' size: ') && currentFile) {
|
||||||
|
currentFile.size = Number.parseInt(readScalar(line, ' size: '), 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function uniqueFiles(files) {
|
||||||
|
const fileMap = new Map();
|
||||||
|
|
||||||
|
for (const file of files) {
|
||||||
|
fileMap.set(file.url, file);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Array.from(fileMap.values());
|
||||||
|
}
|
||||||
|
|
||||||
|
function stringifyLatestMacYml(data) {
|
||||||
|
const lines = [`version: ${data.version}`, 'files:'];
|
||||||
|
|
||||||
|
for (const file of data.files) {
|
||||||
|
lines.push(` - url: ${file.url}`);
|
||||||
|
lines.push(` sha512: ${file.sha512}`);
|
||||||
|
lines.push(` size: ${file.size}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
lines.push(`path: ${data.path}`);
|
||||||
|
lines.push(`sha512: ${data.sha512}`);
|
||||||
|
lines.push(`releaseDate: '${data.releaseDate}'`);
|
||||||
|
|
||||||
|
return `${lines.join('\n')}\n`;
|
||||||
|
}
|
||||||
|
|
||||||
|
const [x64Path, arm64Path, outputPath] = process.argv.slice(2);
|
||||||
|
|
||||||
|
if (!x64Path || !arm64Path || !outputPath) {
|
||||||
|
console.error(
|
||||||
|
'Usage: node scripts/merge_latest_mac_yml.mjs <latest-mac-x64.yml> <latest-mac-arm64.yml> <output.yml>'
|
||||||
|
);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
const x64Data = parseLatestMacYml(x64Path);
|
||||||
|
const arm64Data = parseLatestMacYml(arm64Path);
|
||||||
|
|
||||||
|
if (x64Data.version !== arm64Data.version) {
|
||||||
|
console.error(
|
||||||
|
`Version mismatch between mac update files: ${x64Data.version} !== ${arm64Data.version}`
|
||||||
|
);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
const mergedData = {
|
||||||
|
...x64Data,
|
||||||
|
files: uniqueFiles([...x64Data.files, ...arm64Data.files]),
|
||||||
|
releaseDate: arm64Data.releaseDate || x64Data.releaseDate
|
||||||
|
};
|
||||||
|
|
||||||
|
mkdirSync(dirname(outputPath), { recursive: true });
|
||||||
|
writeFileSync(outputPath, stringifyLatestMacYml(mergedData), 'utf8');
|
||||||
@@ -15,6 +15,7 @@ export default {
|
|||||||
hide: 'Hide',
|
hide: 'Hide',
|
||||||
confirm: 'Confirm',
|
confirm: 'Confirm',
|
||||||
cancel: 'Cancel',
|
cancel: 'Cancel',
|
||||||
|
clear: 'Clear',
|
||||||
configure: 'Configure',
|
configure: 'Configure',
|
||||||
open: 'Open',
|
open: 'Open',
|
||||||
modify: 'Modify',
|
modify: 'Modify',
|
||||||
@@ -27,6 +28,8 @@ export default {
|
|||||||
refresh: 'Refresh',
|
refresh: 'Refresh',
|
||||||
retry: 'Retry',
|
retry: 'Retry',
|
||||||
reset: 'Reset',
|
reset: 'Reset',
|
||||||
|
loadFailed: 'Load Failed',
|
||||||
|
noData: 'No data',
|
||||||
back: 'Back',
|
back: 'Back',
|
||||||
copySuccess: 'Copied to clipboard',
|
copySuccess: 'Copied to clipboard',
|
||||||
copyFailed: 'Copy failed',
|
copyFailed: 'Copy failed',
|
||||||
@@ -34,15 +37,18 @@ export default {
|
|||||||
required: 'This field is required',
|
required: 'This field is required',
|
||||||
invalidInput: 'Invalid input',
|
invalidInput: 'Invalid input',
|
||||||
selectRequired: 'Please select an option',
|
selectRequired: 'Please select an option',
|
||||||
numberRange: 'Please enter a number between {min} and {max}',
|
numberRange: 'Please enter a number between {min} and {max}'
|
||||||
ipAddress: 'Please enter a valid IP address',
|
|
||||||
portNumber: 'Please enter a valid port number (1-65535)'
|
|
||||||
},
|
},
|
||||||
viewMore: 'View More',
|
viewMore: 'View More',
|
||||||
noMore: 'No more',
|
noMore: 'No more',
|
||||||
|
selectAll: 'Select All',
|
||||||
|
playAll: 'Play All',
|
||||||
expand: 'Expand',
|
expand: 'Expand',
|
||||||
collapse: 'Collapse',
|
collapse: 'Collapse',
|
||||||
songCount: '{count} songs',
|
songCount: '{count} songs',
|
||||||
|
language: 'Language',
|
||||||
|
today: 'Today',
|
||||||
|
yesterday: 'Yesterday',
|
||||||
tray: {
|
tray: {
|
||||||
show: 'Show',
|
show: 'Show',
|
||||||
quit: 'Quit',
|
quit: 'Quit',
|
||||||
@@ -52,6 +58,5 @@ export default {
|
|||||||
pause: 'Pause',
|
pause: 'Pause',
|
||||||
play: 'Play',
|
play: 'Play',
|
||||||
favorite: 'Favorite'
|
favorite: 'Favorite'
|
||||||
},
|
}
|
||||||
language: 'Language'
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
|
more: 'More',
|
||||||
|
homeListItem: {
|
||||||
|
loading: 'Loading...'
|
||||||
|
},
|
||||||
installApp: {
|
installApp: {
|
||||||
description: 'Install the application for a better experience',
|
description: 'Install the application for a better experience',
|
||||||
noPrompt: 'Do not prompt again',
|
noPrompt: 'Do not prompt again',
|
||||||
@@ -33,11 +37,17 @@ export default {
|
|||||||
title: 'New version found',
|
title: 'New version found',
|
||||||
currentVersion: 'Current version',
|
currentVersion: 'Current version',
|
||||||
cancel: 'Do not update',
|
cancel: 'Do not update',
|
||||||
|
checking: 'Checking for updates...',
|
||||||
prepareDownload: 'Preparing to download...',
|
prepareDownload: 'Preparing to download...',
|
||||||
downloading: 'Downloading...',
|
downloading: 'Downloading...',
|
||||||
|
readyToInstall: 'The update package is ready to install',
|
||||||
nowUpdate: 'Update now',
|
nowUpdate: 'Update now',
|
||||||
downloadFailed: 'Download failed, please try again or download manually',
|
downloadFailed: 'Download failed, please try again or download manually',
|
||||||
startFailed: 'Start download failed, please try again or download manually',
|
startFailed: 'Start download failed, please try again or download manually',
|
||||||
|
autoUpdateFailed: 'Automatic update failed',
|
||||||
|
openOfficialSite: 'Open official download page',
|
||||||
|
manualFallbackHint:
|
||||||
|
'If automatic update fails, you can download the latest version from the official release page.',
|
||||||
noDownloadUrl:
|
noDownloadUrl:
|
||||||
'No suitable installation package found for the current system, please download manually',
|
'No suitable installation package found for the current system, please download manually',
|
||||||
installConfirmTitle: 'Install Update',
|
installConfirmTitle: 'Install Update',
|
||||||
@@ -52,6 +62,31 @@ export default {
|
|||||||
copyFailed: 'Copy failed',
|
copyFailed: 'Copy failed',
|
||||||
backgroundDownload: 'Background Download'
|
backgroundDownload: 'Background Download'
|
||||||
},
|
},
|
||||||
|
disclaimer: {
|
||||||
|
title: 'Terms of Use',
|
||||||
|
warning:
|
||||||
|
'This application is a development test version. Functions are not yet perfect, and there may be many problems and bugs. It is for learning and exchange only.',
|
||||||
|
item1:
|
||||||
|
'This application is for personal learning, research and technical exchange only. Please do not use it for any commercial purposes.',
|
||||||
|
item2:
|
||||||
|
'Please delete it within 24 hours after downloading. If you need to use it for a long time, please support the genuine music service.',
|
||||||
|
item3:
|
||||||
|
'By using this application, you understand and assume the relevant risks. The developer is not responsible for any loss.',
|
||||||
|
agree: 'I have read and agree',
|
||||||
|
disagree: 'Disagree and Exit'
|
||||||
|
},
|
||||||
|
donate: {
|
||||||
|
title: 'Support Developer',
|
||||||
|
subtitle: 'Your support is my motivation',
|
||||||
|
tip: 'Donation is completely voluntary. All functions can be used normally without donation. Thank you for your understanding and support!',
|
||||||
|
wechat: 'WeChat',
|
||||||
|
alipay: 'Alipay',
|
||||||
|
wechatQR: 'WeChat QR Code',
|
||||||
|
alipayQR: 'Alipay QR Code',
|
||||||
|
scanTip: 'Please use your phone to scan the QR code above to donate',
|
||||||
|
enterApp: 'Enter App',
|
||||||
|
noForce: 'No forced donation, click to enter'
|
||||||
|
},
|
||||||
coffee: {
|
coffee: {
|
||||||
title: 'Buy me a coffee',
|
title: 'Buy me a coffee',
|
||||||
alipay: 'Alipay',
|
alipay: 'Alipay',
|
||||||
@@ -79,7 +114,68 @@ export default {
|
|||||||
songlist: 'Daily Recommendation List'
|
songlist: 'Daily Recommendation List'
|
||||||
},
|
},
|
||||||
recommendSonglist: {
|
recommendSonglist: {
|
||||||
title: 'Weekly Hot Music'
|
title: 'Weekly Hot Music',
|
||||||
|
empty: 'No playlists available'
|
||||||
|
},
|
||||||
|
dailyRecommend: {
|
||||||
|
title: 'Daily Recommendation',
|
||||||
|
badge: 'Recommended',
|
||||||
|
empty: 'No recommended songs',
|
||||||
|
intelligenceHint: 'Turn on Intelligence Mode to discover more music you love'
|
||||||
|
},
|
||||||
|
recommendMV: {
|
||||||
|
title: 'Recommended MVs'
|
||||||
|
},
|
||||||
|
newAlbum: {
|
||||||
|
title: 'Albums',
|
||||||
|
empty: 'No new albums'
|
||||||
|
},
|
||||||
|
recommendNewMusic: {
|
||||||
|
title: 'New Songs'
|
||||||
|
},
|
||||||
|
privateContent: {
|
||||||
|
title: 'Exclusive Content'
|
||||||
|
},
|
||||||
|
djProgram: {
|
||||||
|
title: 'Recommended Radio'
|
||||||
|
},
|
||||||
|
homeHero: {
|
||||||
|
dailyRecommend: 'Daily Recommend',
|
||||||
|
songs: 'Songs',
|
||||||
|
playNow: 'Play Now',
|
||||||
|
intelligenceMode: 'Intelligence Mode',
|
||||||
|
intelligenceModeOn: 'On Air',
|
||||||
|
intelligenceModeDesc: 'Start smart recommendation',
|
||||||
|
intelligenceModeActiveDesc: 'Smart recommendations based on your taste',
|
||||||
|
startIntelligence: 'Start',
|
||||||
|
stopIntelligence: 'Stop',
|
||||||
|
playing: 'Playing',
|
||||||
|
toplistDesc: 'Trending now',
|
||||||
|
mvDesc: 'Music videos',
|
||||||
|
playlistDesc: 'Curated playlists',
|
||||||
|
personalFm: 'Personal FM',
|
||||||
|
discoverMusic: 'Discover Music',
|
||||||
|
personalFmDesc: 'Based on your taste',
|
||||||
|
recentPlays: 'Recent Plays',
|
||||||
|
viewAll: 'View All',
|
||||||
|
followedArtists: 'Followed Artists',
|
||||||
|
newSongs: ' new songs',
|
||||||
|
fromFollowedArtists: 'From artists you follow',
|
||||||
|
recommendNewMusic: 'New Music',
|
||||||
|
newSongExpress: 'New Releases',
|
||||||
|
discoverNewReleases: 'Discover the latest releases',
|
||||||
|
hotPlaylists: 'Hot Playlists',
|
||||||
|
hotArtists: 'Hot Artists',
|
||||||
|
hotArtistsTitle: 'Popular Artists',
|
||||||
|
hotArtistsDesc: 'Most popular artists right now',
|
||||||
|
fmTrash: 'Dislike',
|
||||||
|
fmNext: 'Next',
|
||||||
|
quickNav: {
|
||||||
|
myFavorite: 'My Favorites',
|
||||||
|
playHistory: 'History',
|
||||||
|
myProfile: 'My Profile',
|
||||||
|
toplist: 'Top Charts'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchBar: {
|
searchBar: {
|
||||||
login: 'Login',
|
login: 'Login',
|
||||||
@@ -94,7 +190,13 @@ export default {
|
|||||||
zoom: 'Zoom',
|
zoom: 'Zoom',
|
||||||
zoom100: 'Zoom 100%',
|
zoom100: 'Zoom 100%',
|
||||||
resetZoom: 'Reset Zoom',
|
resetZoom: 'Reset Zoom',
|
||||||
zoomDefault: 'Default Zoom'
|
zoomDefault: 'Default Zoom',
|
||||||
|
tabPlaylist: 'Playlist',
|
||||||
|
tabMv: 'MV',
|
||||||
|
tabCharts: 'Charts',
|
||||||
|
cancelSearch: 'Cancel',
|
||||||
|
intelligenceMode: 'Intelligence Mode',
|
||||||
|
exitIntelligence: 'Exit Intelligence Mode'
|
||||||
},
|
},
|
||||||
titleBar: {
|
titleBar: {
|
||||||
closeTitle: 'Choose how to close',
|
closeTitle: 'Choose how to close',
|
||||||
@@ -119,7 +221,15 @@ export default {
|
|||||||
addToPlaylist: 'Add to Playlist',
|
addToPlaylist: 'Add to Playlist',
|
||||||
addToPlaylistSuccess: 'Add to Playlist Success',
|
addToPlaylistSuccess: 'Add to Playlist Success',
|
||||||
operationFailed: 'Operation Failed',
|
operationFailed: 'Operation Failed',
|
||||||
songsAlreadyInPlaylist: 'Songs already in playlist'
|
songsAlreadyInPlaylist: 'Songs already in playlist',
|
||||||
|
locateCurrent: 'Locate current song',
|
||||||
|
scrollToTop: 'Scroll to top',
|
||||||
|
compactLayout: 'Compact layout',
|
||||||
|
normalLayout: 'Normal layout',
|
||||||
|
historyRecommend: 'Daily History',
|
||||||
|
fetchDatesFailed: 'Failed to fetch dates',
|
||||||
|
fetchSongsFailed: 'Failed to fetch songs',
|
||||||
|
noSongs: 'No songs'
|
||||||
},
|
},
|
||||||
playlist: {
|
playlist: {
|
||||||
import: {
|
import: {
|
||||||
@@ -145,6 +255,7 @@ export default {
|
|||||||
albumNamePlaceholder: 'Album Name',
|
albumNamePlaceholder: 'Album Name',
|
||||||
addSongButton: 'Add Song',
|
addSongButton: 'Add Song',
|
||||||
addLinkButton: 'Add Link',
|
addLinkButton: 'Add Link',
|
||||||
|
options: 'Options',
|
||||||
importToStarPlaylist: 'Import to My Favorite Music',
|
importToStarPlaylist: 'Import to My Favorite Music',
|
||||||
playlistNamePlaceholder: 'Enter playlist name',
|
playlistNamePlaceholder: 'Enter playlist name',
|
||||||
importButton: 'Start Import',
|
importButton: 'Start Import',
|
||||||
@@ -189,5 +300,41 @@ export default {
|
|||||||
list: 'Playlist',
|
list: 'Playlist',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
home: 'Home',
|
home: 'Home',
|
||||||
search: 'Search'
|
search: 'Search',
|
||||||
|
album: 'Album',
|
||||||
|
localMusic: 'Local Music',
|
||||||
|
pages: {
|
||||||
|
toplist: {
|
||||||
|
desc: 'The most authoritative music charts, discover the hottest music'
|
||||||
|
},
|
||||||
|
mv: {
|
||||||
|
desc: 'Explore amazing video content',
|
||||||
|
loadingMore: 'Loading more...',
|
||||||
|
noMore: '— All content loaded —',
|
||||||
|
area: {
|
||||||
|
all: 'All',
|
||||||
|
mainland: 'Mainland',
|
||||||
|
hktw: 'HK/TW',
|
||||||
|
western: 'Western',
|
||||||
|
japan: 'Japan',
|
||||||
|
korea: 'Korea'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
list: {
|
||||||
|
desc: 'Discover more great playlists',
|
||||||
|
dailyRecommend: 'Daily Picks'
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
desc: 'Explore the hottest search trends'
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
area: {
|
||||||
|
all: 'All',
|
||||||
|
chinese: 'Chinese',
|
||||||
|
western: 'Western',
|
||||||
|
korea: 'Korea',
|
||||||
|
japan: 'Japan'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -16,12 +16,25 @@ export default {
|
|||||||
progress: {
|
progress: {
|
||||||
total: 'Total Progress: {progress}%'
|
total: 'Total Progress: {progress}%'
|
||||||
},
|
},
|
||||||
items: 'items',
|
|
||||||
status: {
|
status: {
|
||||||
downloading: 'Downloading',
|
downloading: 'Downloading',
|
||||||
completed: 'Completed',
|
completed: 'Completed',
|
||||||
failed: 'Failed',
|
failed: 'Failed',
|
||||||
unknown: 'Unknown'
|
unknown: 'Unknown',
|
||||||
|
queued: 'Queued',
|
||||||
|
paused: 'Paused',
|
||||||
|
cancelled: 'Cancelled'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
pause: 'Pause',
|
||||||
|
resume: 'Resume',
|
||||||
|
cancel: 'Cancel',
|
||||||
|
cancelAll: 'Cancel All',
|
||||||
|
retrying: 'Re-resolving URL...'
|
||||||
|
},
|
||||||
|
batch: {
|
||||||
|
complete: 'Download complete: {success}/{total} songs succeeded',
|
||||||
|
allComplete: 'All downloads complete'
|
||||||
},
|
},
|
||||||
artist: {
|
artist: {
|
||||||
unknown: 'Unknown Artist'
|
unknown: 'Unknown Artist'
|
||||||
@@ -42,17 +55,26 @@ export default {
|
|||||||
'Are you sure you want to clear all download records? This will not delete the actual music files, but will clear all records.',
|
'Are you sure you want to clear all download records? This will not delete the actual music files, but will clear all records.',
|
||||||
confirm: 'Clear',
|
confirm: 'Clear',
|
||||||
cancel: 'Cancel',
|
cancel: 'Cancel',
|
||||||
success: 'Download records cleared'
|
success: 'Download records cleared',
|
||||||
|
failed: 'Failed to clear download records'
|
||||||
|
},
|
||||||
|
save: {
|
||||||
|
title: 'Save Settings',
|
||||||
|
message: 'Current download settings are not saved. Do you want to save the changes?',
|
||||||
|
confirm: 'Save',
|
||||||
|
cancel: 'Cancel',
|
||||||
|
discard: 'Discard',
|
||||||
|
saveSuccess: 'Download settings saved'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
downloadComplete: '{filename} download completed',
|
downloadComplete: '{filename} download completed',
|
||||||
downloadFailed: '{filename} download failed: {error}',
|
downloadFailed: '{filename} download failed: {error}'
|
||||||
alreadyDownloading: '{filename} is already downloading'
|
|
||||||
},
|
},
|
||||||
loading: 'Loading...',
|
loading: 'Loading...',
|
||||||
playStarted: 'Play started: {name}',
|
playStarted: 'Play started: {name}',
|
||||||
playFailed: 'Play failed: {name}',
|
playFailed: 'Play failed: {name}',
|
||||||
path: {
|
path: {
|
||||||
|
copy: 'Copy Path',
|
||||||
copied: 'Path copied to clipboard',
|
copied: 'Path copied to clipboard',
|
||||||
copyFailed: 'Failed to copy path'
|
copyFailed: 'Failed to copy path'
|
||||||
},
|
},
|
||||||
@@ -64,6 +86,8 @@ export default {
|
|||||||
noPathSelected: 'Please select download path first',
|
noPathSelected: 'Please select download path first',
|
||||||
select: 'Select Folder',
|
select: 'Select Folder',
|
||||||
open: 'Open Folder',
|
open: 'Open Folder',
|
||||||
|
saveLyric: 'Save Lyrics File',
|
||||||
|
saveLyricDesc: 'Save a separate .lrc lyrics file alongside the downloaded song',
|
||||||
fileFormat: 'Filename Format',
|
fileFormat: 'Filename Format',
|
||||||
fileFormatDesc: 'Set how downloaded music files will be named',
|
fileFormatDesc: 'Set how downloaded music files will be named',
|
||||||
customFormat: 'Custom Format',
|
customFormat: 'Custom Format',
|
||||||
@@ -76,6 +100,8 @@ export default {
|
|||||||
dragToArrange: 'Sort or use arrow buttons to arrange:',
|
dragToArrange: 'Sort or use arrow buttons to arrange:',
|
||||||
formatVariables: 'Available variables',
|
formatVariables: 'Available variables',
|
||||||
preview: 'Preview:',
|
preview: 'Preview:',
|
||||||
|
concurrency: 'Max Concurrent',
|
||||||
|
concurrencyDesc: 'Maximum number of simultaneous downloads (1-5)',
|
||||||
saveSuccess: 'Download settings saved',
|
saveSuccess: 'Download settings saved',
|
||||||
presets: {
|
presets: {
|
||||||
songArtist: 'Song - Artist',
|
songArtist: 'Song - Artist',
|
||||||
@@ -87,5 +113,10 @@ export default {
|
|||||||
artistName: 'Artist name',
|
artistName: 'Artist name',
|
||||||
albumName: 'Album name'
|
albumName: 'Album name'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
incomplete: 'File download incomplete',
|
||||||
|
urlExpired: 'URL expired, re-resolving',
|
||||||
|
resumeFailed: 'Resume failed'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,12 +2,8 @@ export default {
|
|||||||
title: 'Favorites',
|
title: 'Favorites',
|
||||||
count: 'Total {count}',
|
count: 'Total {count}',
|
||||||
batchDownload: 'Batch Download',
|
batchDownload: 'Batch Download',
|
||||||
selectAll: 'All',
|
|
||||||
download: 'Download ({count})',
|
download: 'Download ({count})',
|
||||||
cancel: 'Cancel',
|
|
||||||
emptyTip: 'No favorite songs yet',
|
emptyTip: 'No favorite songs yet',
|
||||||
viewMore: 'View More',
|
|
||||||
noMore: 'No more',
|
|
||||||
downloadSuccess: 'Download completed',
|
downloadSuccess: 'Download completed',
|
||||||
downloadFailed: 'Download failed',
|
downloadFailed: 'Download failed',
|
||||||
downloading: 'Downloading, please wait...',
|
downloading: 'Downloading, please wait...',
|
||||||
|
|||||||
@@ -1,5 +1,49 @@
|
|||||||
export default {
|
export default {
|
||||||
title: 'Play History',
|
title: 'Play History',
|
||||||
|
heatmapTitle: 'Heatmap',
|
||||||
playCount: '{count}',
|
playCount: '{count}',
|
||||||
getHistoryFailed: 'Failed to get play history'
|
getHistoryFailed: 'Failed to get play history',
|
||||||
|
categoryTabs: {
|
||||||
|
songs: 'Songs',
|
||||||
|
playlists: 'Playlists',
|
||||||
|
albums: 'Albums',
|
||||||
|
podcasts: 'Podcasts'
|
||||||
|
},
|
||||||
|
podcastTabs: {
|
||||||
|
episodes: 'Episodes',
|
||||||
|
radios: 'Radios'
|
||||||
|
},
|
||||||
|
tabs: {
|
||||||
|
all: 'All Records',
|
||||||
|
local: 'Local Records',
|
||||||
|
cloud: 'Cloud Records'
|
||||||
|
},
|
||||||
|
getCloudRecordFailed: 'Failed to get cloud records',
|
||||||
|
needLogin: 'Please login with cookie to view cloud records',
|
||||||
|
merging: 'Merging records...',
|
||||||
|
noDescription: 'No description',
|
||||||
|
noData: 'No records',
|
||||||
|
heatmap: {
|
||||||
|
title: 'Play Heatmap',
|
||||||
|
loading: 'Loading data...',
|
||||||
|
unit: 'plays',
|
||||||
|
footerText: 'Hover to view details',
|
||||||
|
playCount: 'Played {count} times',
|
||||||
|
topSongs: 'Top songs of the day',
|
||||||
|
times: 'times',
|
||||||
|
totalPlays: 'Total Plays',
|
||||||
|
activeDays: 'Active Days',
|
||||||
|
noData: 'No play records',
|
||||||
|
colorTheme: 'Color Theme',
|
||||||
|
colors: {
|
||||||
|
green: 'Green',
|
||||||
|
blue: 'Blue',
|
||||||
|
orange: 'Orange',
|
||||||
|
purple: 'Purple',
|
||||||
|
red: 'Red'
|
||||||
|
},
|
||||||
|
mostPlayedSong: 'Most Played Song',
|
||||||
|
mostActiveDay: 'Most Active Day',
|
||||||
|
latestNightSong: 'Latest Night Song'
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
13
src/i18n/lang/en-US/localMusic.ts
Normal file
13
src/i18n/lang/en-US/localMusic.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
title: 'Local Music',
|
||||||
|
scanFolder: 'Scan Folder',
|
||||||
|
removeFolder: 'Remove Folder',
|
||||||
|
scanning: 'Scanning...',
|
||||||
|
scanComplete: 'Scan Complete',
|
||||||
|
playAll: 'Play All',
|
||||||
|
search: 'Search local music',
|
||||||
|
emptyState: 'No local music found. Please select a folder to scan.',
|
||||||
|
fileNotFound: 'File not found or has been moved',
|
||||||
|
rescan: 'Rescan',
|
||||||
|
songCount: '{count} songs'
|
||||||
|
};
|
||||||
@@ -45,7 +45,8 @@ export default {
|
|||||||
phoneLoginFailed: 'Phone login failed, please check if phone number and password are correct',
|
phoneLoginFailed: 'Phone login failed, please check if phone number and password are correct',
|
||||||
autoGetCookieSuccess: 'Auto get Cookie successful',
|
autoGetCookieSuccess: 'Auto get Cookie successful',
|
||||||
autoGetCookieFailed: 'Auto get Cookie failed',
|
autoGetCookieFailed: 'Auto get Cookie failed',
|
||||||
autoGetCookieTip: 'Will open NetEase Cloud Music login page, please complete login and close the window',
|
autoGetCookieTip:
|
||||||
|
'Will open NetEase Cloud Music login page, please complete login and close the window',
|
||||||
qrCheckFailed: 'Failed to check QR code status, please refresh and try again',
|
qrCheckFailed: 'Failed to check QR code status, please refresh and try again',
|
||||||
qrLoading: 'Loading QR code...',
|
qrLoading: 'Loading QR code...',
|
||||||
qrExpired: 'QR code has expired, please click to refresh',
|
qrExpired: 'QR code has expired, please click to refresh',
|
||||||
@@ -58,5 +59,6 @@ export default {
|
|||||||
qrGenerating: 'Generating QR code...'
|
qrGenerating: 'Generating QR code...'
|
||||||
},
|
},
|
||||||
qrTitle: 'NetEase Cloud Music QR Code Login',
|
qrTitle: 'NetEase Cloud Music QR Code Login',
|
||||||
uidWarning: 'Note: UID login is only for viewing user public information and cannot access features that require login permissions.'
|
uidWarning:
|
||||||
|
'Note: UID login is only for viewing user public information and cannot access features that require login permissions.'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,6 +14,12 @@ export default {
|
|||||||
addCorrection: 'Add {num} seconds',
|
addCorrection: 'Add {num} seconds',
|
||||||
subtractCorrection: 'Subtract {num} seconds',
|
subtractCorrection: 'Subtract {num} seconds',
|
||||||
playFailed: 'Play Failed, Play Next Song',
|
playFailed: 'Play Failed, Play Next Song',
|
||||||
|
parseFailedPlayNext: 'Song parsing failed, playing next',
|
||||||
|
consecutiveFailsError:
|
||||||
|
'Playback error, possibly due to network issues or invalid source. Please switch playlist or try again later',
|
||||||
|
playListEnded: 'Reached the end of the playlist',
|
||||||
|
autoResumed: 'Playback resumed automatically',
|
||||||
|
resumeFailed: 'Failed to resume playback, please try manually',
|
||||||
playMode: {
|
playMode: {
|
||||||
sequence: 'Sequence',
|
sequence: 'Sequence',
|
||||||
loop: 'Loop',
|
loop: 'Loop',
|
||||||
@@ -29,7 +35,8 @@ export default {
|
|||||||
list: 'Next'
|
list: 'Next'
|
||||||
},
|
},
|
||||||
lrc: {
|
lrc: {
|
||||||
noLrc: 'No lyrics, please enjoy'
|
noLrc: 'No lyrics, please enjoy',
|
||||||
|
noAutoScroll: 'This lyrics does not support auto-scroll'
|
||||||
},
|
},
|
||||||
reparse: {
|
reparse: {
|
||||||
title: 'Select Music Source',
|
title: 'Select Music Source',
|
||||||
@@ -39,7 +46,9 @@ export default {
|
|||||||
warning: 'Please select a music source',
|
warning: 'Please select a music source',
|
||||||
bilibiliNotSupported: 'Bilibili videos do not support reparsing',
|
bilibiliNotSupported: 'Bilibili videos do not support reparsing',
|
||||||
processing: 'Processing...',
|
processing: 'Processing...',
|
||||||
clear: 'Clear Custom Source'
|
clear: 'Clear Custom Source',
|
||||||
|
customApiFailed: 'Custom API parsing failed, trying built-in sources...',
|
||||||
|
customApiError: 'Custom API request error, trying built-in sources...'
|
||||||
},
|
},
|
||||||
playBar: {
|
playBar: {
|
||||||
expand: 'Expand Lyrics',
|
expand: 'Expand Lyrics',
|
||||||
@@ -50,6 +59,7 @@ export default {
|
|||||||
eq: 'Equalizer',
|
eq: 'Equalizer',
|
||||||
playList: 'Play List',
|
playList: 'Play List',
|
||||||
reparse: 'Reparse',
|
reparse: 'Reparse',
|
||||||
|
miniPlayBar: 'Mini Play Bar',
|
||||||
playMode: {
|
playMode: {
|
||||||
sequence: 'Sequence',
|
sequence: 'Sequence',
|
||||||
loop: 'Loop',
|
loop: 'Loop',
|
||||||
@@ -63,7 +73,17 @@ export default {
|
|||||||
favorite: 'Favorite {name}',
|
favorite: 'Favorite {name}',
|
||||||
unFavorite: 'Unfavorite {name}',
|
unFavorite: 'Unfavorite {name}',
|
||||||
playbackSpeed: 'Playback Speed',
|
playbackSpeed: 'Playback Speed',
|
||||||
advancedControls: 'Advanced Controls'
|
advancedControls: 'Advanced Controls',
|
||||||
|
intelligenceMode: {
|
||||||
|
title: 'Intelligence Mode',
|
||||||
|
needCookieLogin: 'Please login with Cookie method to use Intelligence Mode',
|
||||||
|
noFavoritePlaylist: 'Favorite playlist not found',
|
||||||
|
noLikedSongs: 'You have no liked songs yet',
|
||||||
|
loading: 'Loading Intelligence Mode',
|
||||||
|
success: 'Loaded {count} songs',
|
||||||
|
failed: 'Failed to get Intelligence Mode list',
|
||||||
|
error: 'Intelligence Mode error'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
eq: {
|
eq: {
|
||||||
title: 'Equalizer',
|
title: 'Equalizer',
|
||||||
@@ -89,6 +109,11 @@ export default {
|
|||||||
custom: 'Custom'
|
custom: 'Custom'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// Playback settings
|
||||||
|
settings: {
|
||||||
|
title: 'Playback Settings',
|
||||||
|
playbackSpeed: 'Playback Speed'
|
||||||
|
},
|
||||||
// Sleep timer related
|
// Sleep timer related
|
||||||
sleepTimer: {
|
sleepTimer: {
|
||||||
title: 'Sleep Timer',
|
title: 'Sleep Timer',
|
||||||
|
|||||||
40
src/i18n/lang/en-US/podcast.ts
Normal file
40
src/i18n/lang/en-US/podcast.ts
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
export default {
|
||||||
|
podcast: 'Podcast',
|
||||||
|
mySubscriptions: 'My Subscriptions',
|
||||||
|
discover: 'Discover',
|
||||||
|
categories: 'Categories',
|
||||||
|
todayPerfered: "Today's Picks",
|
||||||
|
recommended: 'Recommended',
|
||||||
|
hotRanking: 'Hot',
|
||||||
|
newRanking: 'New',
|
||||||
|
subscribeCount: 'Subscribers',
|
||||||
|
programCount: 'Episodes',
|
||||||
|
subscribe: 'Subscribe',
|
||||||
|
subscribed: 'Subscribed',
|
||||||
|
unsubscribe: 'Unsubscribe',
|
||||||
|
unsubscribed: 'Unsubscribed',
|
||||||
|
subscribeSuccess: 'Subscribed successfully',
|
||||||
|
unsubscribeFailed: 'Failed to unsubscribe',
|
||||||
|
subscribeFailed: 'Failed to subscribe',
|
||||||
|
radioDetail: 'Radio Detail',
|
||||||
|
programList: 'Episodes',
|
||||||
|
playProgram: 'Play',
|
||||||
|
recentPlayed: 'Recently Played',
|
||||||
|
listeners: 'Listeners',
|
||||||
|
noSubscriptions: 'No subscriptions',
|
||||||
|
goDiscover: 'Discover Podcasts',
|
||||||
|
searchPodcast: 'Search Podcast',
|
||||||
|
category: 'Category',
|
||||||
|
all: 'All',
|
||||||
|
dj: 'DJ',
|
||||||
|
episodes: 'Eps',
|
||||||
|
playAll: 'Play All',
|
||||||
|
popularCategories: 'Popular Categories',
|
||||||
|
allCategories: 'All Categories',
|
||||||
|
categoryRadios: 'Category Radios',
|
||||||
|
exploreCategoryRadios: 'Explore more amazing radios',
|
||||||
|
hotRadios: 'Hot Radios',
|
||||||
|
noCategoryRadios: 'No radios in this category',
|
||||||
|
searchPlaceholder: 'Search podcasts, episodes...',
|
||||||
|
searchResults: 'Search Results'
|
||||||
|
};
|
||||||
@@ -11,7 +11,8 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
more: 'Loading...',
|
more: 'Loading...',
|
||||||
failed: 'Search failed'
|
failed: 'Search failed',
|
||||||
|
searching: 'Searching...'
|
||||||
},
|
},
|
||||||
noMore: 'No more results',
|
noMore: 'No more results',
|
||||||
error: {
|
error: {
|
||||||
@@ -22,6 +23,10 @@ export default {
|
|||||||
album: 'Album',
|
album: 'Album',
|
||||||
playlist: 'Playlist',
|
playlist: 'Playlist',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
|
djradio: 'Podcast',
|
||||||
bilibili: 'Bilibili'
|
bilibili: 'Bilibili'
|
||||||
}
|
},
|
||||||
|
history: 'Search History',
|
||||||
|
hot: 'Hot Searches',
|
||||||
|
suggestions: 'Search Suggestions'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default {
|
|||||||
network: 'Network Settings',
|
network: 'Network Settings',
|
||||||
system: 'System Management',
|
system: 'System Management',
|
||||||
donation: 'Donation',
|
donation: 'Donation',
|
||||||
regard: 'About'
|
about: 'About'
|
||||||
},
|
},
|
||||||
basic: {
|
basic: {
|
||||||
themeMode: 'Theme Mode',
|
themeMode: 'Theme Mode',
|
||||||
@@ -50,7 +50,17 @@ export default {
|
|||||||
englishText: 'The quick brown fox jumps over the lazy dog',
|
englishText: 'The quick brown fox jumps over the lazy dog',
|
||||||
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
||||||
koreanText: '가나다라마 바사아자차 카타파하'
|
koreanText: '가나다라마 바사아자차 카타파하'
|
||||||
}
|
},
|
||||||
|
gpuAcceleration: 'GPU Acceleration',
|
||||||
|
gpuAccelerationDesc:
|
||||||
|
'Enable or disable hardware acceleration, can improve rendering performance but may increase GPU load',
|
||||||
|
gpuAccelerationRestart:
|
||||||
|
'Changing GPU acceleration settings requires application restart to take effect',
|
||||||
|
gpuAccelerationChangeSuccess:
|
||||||
|
'GPU acceleration settings updated, restart application to take effect',
|
||||||
|
gpuAccelerationChangeError: 'Failed to update GPU acceleration settings',
|
||||||
|
tabletMode: 'Tablet Mode',
|
||||||
|
tabletModeDesc: 'Enabling tablet mode allows using PC-style interface on mobile devices'
|
||||||
},
|
},
|
||||||
playback: {
|
playback: {
|
||||||
quality: 'Audio Quality',
|
quality: 'Audio Quality',
|
||||||
@@ -78,9 +88,73 @@ export default {
|
|||||||
'GD Music Station intelligently resolves music from multiple platforms automatically',
|
'GD Music Station intelligently resolves music from multiple platforms automatically',
|
||||||
autoPlay: 'Auto Play',
|
autoPlay: 'Auto Play',
|
||||||
autoPlayDesc: 'Auto resume playback when reopening the app',
|
autoPlayDesc: 'Auto resume playback when reopening the app',
|
||||||
|
audioDevice: 'Audio Output Device',
|
||||||
|
audioDeviceDesc: 'Select audio output device such as speakers, headphones or Bluetooth devices',
|
||||||
|
testAudio: 'Test',
|
||||||
|
selectAudioDevice: 'Select output device',
|
||||||
showStatusBar: 'Show Status Bar',
|
showStatusBar: 'Show Status Bar',
|
||||||
showStatusBarContent:
|
showStatusBarContent:
|
||||||
'You can display the music control function in your mac status bar (effective after a restart)'
|
'You can display the music control function in your mac status bar (effective after a restart)',
|
||||||
|
fallbackParser: 'Fallback Parser (GD Music)',
|
||||||
|
fallbackParserDesc:
|
||||||
|
'When "GD Music" is checked and regular sources fail, this service will be used.',
|
||||||
|
parserGD: 'GD Music (Built-in)',
|
||||||
|
parserCustom: 'Custom API',
|
||||||
|
|
||||||
|
// Source labels
|
||||||
|
sourceLabels: {
|
||||||
|
migu: 'Migu',
|
||||||
|
kugou: 'Kugou',
|
||||||
|
kuwo: 'Kuwo',
|
||||||
|
pyncmd: 'NetEase (Built-in)',
|
||||||
|
qq: 'QQ Music',
|
||||||
|
joox: 'JOOX',
|
||||||
|
bilibili: 'Bilibili',
|
||||||
|
gdmusic: 'GD Music',
|
||||||
|
lxMusic: 'LX Music',
|
||||||
|
custom: 'Custom API'
|
||||||
|
},
|
||||||
|
|
||||||
|
customApi: {
|
||||||
|
sectionTitle: 'Custom API Settings',
|
||||||
|
importConfig: 'Import JSON Config',
|
||||||
|
currentSource: 'Current Source',
|
||||||
|
notImported: 'No custom source imported yet.',
|
||||||
|
importSuccess: 'Successfully imported source: {name}',
|
||||||
|
importFailed: 'Import failed: {message}',
|
||||||
|
enableHint: 'Import a JSON config file to enable',
|
||||||
|
status: {
|
||||||
|
imported: 'Custom Source Imported',
|
||||||
|
notImported: 'Not Imported'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lxMusic: {
|
||||||
|
tabs: {
|
||||||
|
sources: 'Source Selection',
|
||||||
|
lxMusic: 'LX Music',
|
||||||
|
customApi: 'Custom API'
|
||||||
|
},
|
||||||
|
scripts: {
|
||||||
|
title: 'Imported Scripts',
|
||||||
|
importLocal: 'Import Local',
|
||||||
|
importOnline: 'Import Online',
|
||||||
|
urlPlaceholder: 'Enter LX Music Script URL',
|
||||||
|
importBtn: 'Import',
|
||||||
|
empty: 'No imported LX Music scripts',
|
||||||
|
notConfigured: 'Not configured (Configure in LX Music Tab)',
|
||||||
|
importHint: 'Import compatible custom API plugins to extend sources',
|
||||||
|
noScriptWarning: 'Please import LX Music script first',
|
||||||
|
noSelectionWarning: 'Please select an LX Music source first',
|
||||||
|
notFound: 'Source not found',
|
||||||
|
switched: 'Switched to source: {name}',
|
||||||
|
deleted: 'Deleted source: {name}',
|
||||||
|
enterUrl: 'Please enter script URL',
|
||||||
|
invalidUrl: 'Invalid URL format',
|
||||||
|
invalidScript: 'Invalid LX Music script, globalThis.lx code not found',
|
||||||
|
nameRequired: 'Name cannot be empty',
|
||||||
|
renameSuccess: 'Rename successful'
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
application: {
|
application: {
|
||||||
closeAction: 'Close Action',
|
closeAction: 'Close Action',
|
||||||
@@ -122,6 +196,36 @@ export default {
|
|||||||
system: {
|
system: {
|
||||||
cache: 'Cache Management',
|
cache: 'Cache Management',
|
||||||
cacheDesc: 'Clear cache',
|
cacheDesc: 'Clear cache',
|
||||||
|
diskCache: 'Disk Cache',
|
||||||
|
diskCacheDesc: 'Cache played music and lyrics on local disk to speed up repeated playback',
|
||||||
|
cacheDirectory: 'Cache Directory',
|
||||||
|
cacheDirectoryDesc: 'Custom directory for music and lyric cache files',
|
||||||
|
selectDirectory: 'Select Directory',
|
||||||
|
openDirectory: 'Open Directory',
|
||||||
|
cacheMaxSize: 'Cache Size Limit',
|
||||||
|
cacheMaxSizeDesc: 'Older cache items are cleaned automatically when limit is reached',
|
||||||
|
cleanupPolicy: 'Cleanup Policy',
|
||||||
|
cleanupPolicyDesc: 'Auto cleanup rule when cache reaches the size limit',
|
||||||
|
cleanupPolicyOptions: {
|
||||||
|
lru: 'Least Recently Used',
|
||||||
|
fifo: 'First In, First Out'
|
||||||
|
},
|
||||||
|
cacheStatus: 'Cache Status',
|
||||||
|
cacheStatusDesc: 'Used {used} / Limit {limit}',
|
||||||
|
cacheStatusDetail: 'Music {musicCount}, Lyrics {lyricCount}',
|
||||||
|
manageDiskCache: 'Manual Disk Cache Cleanup',
|
||||||
|
manageDiskCacheDesc: 'Clean cache by category',
|
||||||
|
clearMusicCache: 'Clear Music Cache',
|
||||||
|
clearLyricCache: 'Clear Lyric Cache',
|
||||||
|
clearAllCache: 'Clear All Cache',
|
||||||
|
switchDirectoryMigrateTitle: 'Existing Cache Detected',
|
||||||
|
switchDirectoryMigrateContent: 'Do you want to migrate old cache files to the new directory?',
|
||||||
|
switchDirectoryMigrateConfirm: 'Migrate',
|
||||||
|
switchDirectoryDestroyTitle: 'Destroy Old Cache',
|
||||||
|
switchDirectoryDestroyContent:
|
||||||
|
'If you do not migrate, do you want to destroy old cache files in the previous directory?',
|
||||||
|
switchDirectoryDestroyConfirm: 'Destroy',
|
||||||
|
switchDirectoryKeepOld: 'Keep Old Cache',
|
||||||
cacheClearTitle: 'Select cache types to clear:',
|
cacheClearTitle: 'Select cache types to clear:',
|
||||||
cacheTypes: {
|
cacheTypes: {
|
||||||
history: {
|
history: {
|
||||||
@@ -156,7 +260,14 @@ export default {
|
|||||||
restart: 'Restart',
|
restart: 'Restart',
|
||||||
restartDesc: 'Restart application',
|
restartDesc: 'Restart application',
|
||||||
messages: {
|
messages: {
|
||||||
clearSuccess: 'Cache cleared successfully, some settings will take effect after restart'
|
clearSuccess: 'Cache cleared successfully, some settings will take effect after restart',
|
||||||
|
diskCacheClearSuccess: 'Disk cache cleaned',
|
||||||
|
diskCacheClearFailed: 'Failed to clean disk cache',
|
||||||
|
diskCacheStatsLoadFailed: 'Failed to load cache status',
|
||||||
|
switchDirectorySuccess: 'Cache directory switched, old cache is kept',
|
||||||
|
switchDirectoryFailed: 'Failed to switch cache directory',
|
||||||
|
switchDirectoryMigrated: 'Cache directory switched, migrated {count} cache files',
|
||||||
|
switchDirectoryDestroyed: 'Cache directory switched, destroyed {count} old cache files'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
@@ -166,6 +277,7 @@ export default {
|
|||||||
latest: 'Already latest version',
|
latest: 'Already latest version',
|
||||||
hasUpdate: 'New version available',
|
hasUpdate: 'New version available',
|
||||||
gotoUpdate: 'Go to Update',
|
gotoUpdate: 'Go to Update',
|
||||||
|
manualUpdate: 'Manual Update',
|
||||||
gotoGithub: 'Go to Github',
|
gotoGithub: 'Go to Github',
|
||||||
author: 'Author',
|
author: 'Author',
|
||||||
authorDesc: 'algerkong Give a star🌟',
|
authorDesc: 'algerkong Give a star🌟',
|
||||||
@@ -184,6 +296,7 @@ export default {
|
|||||||
display: 'Display',
|
display: 'Display',
|
||||||
interface: 'Interface',
|
interface: 'Interface',
|
||||||
typography: 'Typography',
|
typography: 'Typography',
|
||||||
|
background: 'Background',
|
||||||
mobile: 'Mobile'
|
mobile: 'Mobile'
|
||||||
},
|
},
|
||||||
pureMode: 'Pure Mode',
|
pureMode: 'Pure Mode',
|
||||||
@@ -206,6 +319,12 @@ export default {
|
|||||||
medium: 'Medium',
|
medium: 'Medium',
|
||||||
large: 'Large'
|
large: 'Large'
|
||||||
},
|
},
|
||||||
|
fontWeight: 'Font Weight',
|
||||||
|
fontWeightMarks: {
|
||||||
|
thin: 'Thin',
|
||||||
|
normal: 'Normal',
|
||||||
|
bold: 'Bold'
|
||||||
|
},
|
||||||
letterSpacing: 'Letter Spacing',
|
letterSpacing: 'Letter Spacing',
|
||||||
letterSpacingMarks: {
|
letterSpacingMarks: {
|
||||||
compact: 'Compact',
|
compact: 'Compact',
|
||||||
@@ -218,6 +337,7 @@ export default {
|
|||||||
default: 'Default',
|
default: 'Default',
|
||||||
loose: 'Loose'
|
loose: 'Loose'
|
||||||
},
|
},
|
||||||
|
contentWidth: 'Content Width',
|
||||||
mobileLayout: 'Mobile Layout',
|
mobileLayout: 'Mobile Layout',
|
||||||
layoutOptions: {
|
layoutOptions: {
|
||||||
default: 'Default',
|
default: 'Default',
|
||||||
@@ -231,7 +351,51 @@ export default {
|
|||||||
full: 'Full Screen'
|
full: 'Full Screen'
|
||||||
},
|
},
|
||||||
lyricLines: 'Lyric Lines',
|
lyricLines: 'Lyric Lines',
|
||||||
mobileUnavailable: 'This setting is only available on mobile devices'
|
mobileUnavailable: 'This setting is only available on mobile devices',
|
||||||
|
// Background settings
|
||||||
|
background: {
|
||||||
|
useCustomBackground: 'Use Custom Background',
|
||||||
|
backgroundMode: 'Background Mode',
|
||||||
|
modeOptions: {
|
||||||
|
solid: 'Solid',
|
||||||
|
gradient: 'Gradient',
|
||||||
|
image: 'Image',
|
||||||
|
css: 'CSS'
|
||||||
|
},
|
||||||
|
solidColor: 'Select Color',
|
||||||
|
presetColors: 'Preset Colors',
|
||||||
|
customColor: 'Custom Color',
|
||||||
|
gradientEditor: 'Gradient Editor',
|
||||||
|
gradientColors: 'Gradient Colors',
|
||||||
|
gradientDirection: 'Gradient Direction',
|
||||||
|
directionOptions: {
|
||||||
|
toBottom: 'Top to Bottom',
|
||||||
|
toRight: 'Left to Right',
|
||||||
|
toBottomRight: 'Top Left to Bottom Right',
|
||||||
|
angle45: '45 Degrees',
|
||||||
|
toTop: 'Bottom to Top',
|
||||||
|
toLeft: 'Right to Left'
|
||||||
|
},
|
||||||
|
addColor: 'Add Color',
|
||||||
|
removeColor: 'Remove Color',
|
||||||
|
imageUpload: 'Upload Image',
|
||||||
|
imagePreview: 'Image Preview',
|
||||||
|
clearImage: 'Clear Image',
|
||||||
|
imageBlur: 'Blur',
|
||||||
|
imageBrightness: 'Brightness',
|
||||||
|
customCss: 'Custom CSS Style',
|
||||||
|
customCssPlaceholder: 'Enter CSS style, e.g.: background: linear-gradient(...)',
|
||||||
|
customCssHelp: 'Supports any CSS background property',
|
||||||
|
reset: 'Reset to Default',
|
||||||
|
fileSizeLimit: 'Image size limit: 20MB',
|
||||||
|
invalidImageFormat: 'Invalid image format',
|
||||||
|
imageTooLarge: 'Image too large, please select an image smaller than 20MB'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
translationEngine: 'Lyric Translation Engine',
|
||||||
|
translationEngineOptions: {
|
||||||
|
none: 'Off',
|
||||||
|
opencc: 'OpenCC Traditionalize'
|
||||||
},
|
},
|
||||||
themeColor: {
|
themeColor: {
|
||||||
title: 'Lyric Theme Color',
|
title: 'Lyric Theme Color',
|
||||||
@@ -257,28 +421,61 @@ export default {
|
|||||||
title: 'Shortcut Settings',
|
title: 'Shortcut Settings',
|
||||||
shortcut: 'Shortcut',
|
shortcut: 'Shortcut',
|
||||||
shortcutDesc: 'Customize global shortcuts',
|
shortcutDesc: 'Customize global shortcuts',
|
||||||
|
summaryReady: 'Shortcut configuration is ready to save',
|
||||||
|
summaryRecording: 'Recording a new shortcut combination',
|
||||||
|
summaryBlocked: 'Fix conflicts or invalid entries before saving',
|
||||||
|
platformHintMac: 'On macOS, CommandOrControl is displayed as Cmd',
|
||||||
|
platformHintWindows: 'On Windows, CommandOrControl is displayed as Ctrl',
|
||||||
|
platformHintLinux: 'On Linux, CommandOrControl is displayed as Ctrl',
|
||||||
|
platformHintGeneric: 'CommandOrControl is adapted per operating system',
|
||||||
|
enabledCount: 'Enabled',
|
||||||
|
recordingTip: 'Click a shortcut field, press combination. Esc cancels, Delete disables',
|
||||||
shortcutConflict: 'Shortcut Conflict',
|
shortcutConflict: 'Shortcut Conflict',
|
||||||
inputPlaceholder: 'Click to input shortcut',
|
inputPlaceholder: 'Click to input shortcut',
|
||||||
|
clickToRecord: 'Click then press a shortcut',
|
||||||
|
recording: 'Recording...',
|
||||||
resetShortcuts: 'Reset',
|
resetShortcuts: 'Reset',
|
||||||
|
restoreSingle: 'Restore',
|
||||||
disableAll: 'Disable All',
|
disableAll: 'Disable All',
|
||||||
enableAll: 'Enable All',
|
enableAll: 'Enable All',
|
||||||
|
groups: {
|
||||||
|
playback: 'Playback',
|
||||||
|
sound: 'Volume & Favorite',
|
||||||
|
window: 'Window'
|
||||||
|
},
|
||||||
togglePlay: 'Play/Pause',
|
togglePlay: 'Play/Pause',
|
||||||
|
togglePlayDesc: 'Toggle current playback state',
|
||||||
prevPlay: 'Previous',
|
prevPlay: 'Previous',
|
||||||
|
prevPlayDesc: 'Play the previous track',
|
||||||
nextPlay: 'Next',
|
nextPlay: 'Next',
|
||||||
|
nextPlayDesc: 'Play the next track',
|
||||||
volumeUp: 'Volume Up',
|
volumeUp: 'Volume Up',
|
||||||
|
volumeUpDesc: 'Increase player volume',
|
||||||
volumeDown: 'Volume Down',
|
volumeDown: 'Volume Down',
|
||||||
|
volumeDownDesc: 'Decrease player volume',
|
||||||
toggleFavorite: 'Favorite/Unfavorite',
|
toggleFavorite: 'Favorite/Unfavorite',
|
||||||
|
toggleFavoriteDesc: 'Favorite or unfavorite current track',
|
||||||
toggleWindow: 'Show/Hide Window',
|
toggleWindow: 'Show/Hide Window',
|
||||||
|
toggleWindowDesc: 'Quickly show or hide the main window',
|
||||||
scopeGlobal: 'Global',
|
scopeGlobal: 'Global',
|
||||||
scopeApp: 'App Only',
|
scopeApp: 'App Only',
|
||||||
enabled: 'Enabled',
|
enabled: 'Enabled',
|
||||||
disabled: 'Disabled',
|
disabled: 'Disabled',
|
||||||
|
issueInvalid: 'Invalid combo',
|
||||||
|
issueReserved: 'System reserved',
|
||||||
|
registrationWarningTitle: 'These shortcuts could not be registered',
|
||||||
|
registrationOccupied: 'Occupied by system or another app',
|
||||||
|
registrationInvalid: 'Invalid shortcut format',
|
||||||
messages: {
|
messages: {
|
||||||
resetSuccess: 'Shortcuts reset successfully, please save',
|
resetSuccess: 'Shortcuts reset successfully, please save',
|
||||||
conflict: 'Shortcut conflict, please reset',
|
conflict: 'Shortcut conflict, please reset',
|
||||||
saveSuccess: 'Shortcuts saved successfully',
|
saveSuccess: 'Shortcuts saved successfully',
|
||||||
saveError: 'Failed to save shortcuts',
|
saveError: 'Failed to save shortcuts',
|
||||||
|
saveValidationError: 'Shortcut validation failed, please review and try again',
|
||||||
|
partialRegistered: 'Saved, but some global shortcuts were not registered',
|
||||||
cancelEdit: 'Edit cancelled',
|
cancelEdit: 'Edit cancelled',
|
||||||
|
clearToDisable: 'Shortcut disabled',
|
||||||
|
invalidShortcut: 'Invalid shortcut, please use a valid combination',
|
||||||
disableAll: 'All shortcuts disabled, please save to apply',
|
disableAll: 'All shortcuts disabled, please save to apply',
|
||||||
enableAll: 'All shortcuts enabled, please save to apply'
|
enableAll: 'All shortcuts enabled, please save to apply'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export default {
|
|||||||
play: 'Play',
|
play: 'Play',
|
||||||
playNext: 'Play Next',
|
playNext: 'Play Next',
|
||||||
download: 'Download',
|
download: 'Download',
|
||||||
|
downloadLyric: 'Download Lyrics',
|
||||||
addToPlaylist: 'Add to Playlist',
|
addToPlaylist: 'Add to Playlist',
|
||||||
favorite: 'Like',
|
favorite: 'Like',
|
||||||
unfavorite: 'Unlike',
|
unfavorite: 'Unlike',
|
||||||
@@ -15,7 +16,10 @@ export default {
|
|||||||
downloadFailed: 'Download failed',
|
downloadFailed: 'Download failed',
|
||||||
downloadQueued: 'Added to download queue',
|
downloadQueued: 'Added to download queue',
|
||||||
addedToNextPlay: 'Added to play next',
|
addedToNextPlay: 'Added to play next',
|
||||||
getUrlFailed: 'Failed to get music download URL, please check if logged in'
|
getUrlFailed: 'Failed to get music download URL, please check if logged in',
|
||||||
|
noLyric: 'No lyrics available for this song',
|
||||||
|
lyricDownloaded: 'Lyrics downloaded successfully',
|
||||||
|
lyricDownloadFailed: 'Failed to download lyrics'
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
dislike: {
|
dislike: {
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ export default {
|
|||||||
trackCount: '{count} tracks',
|
trackCount: '{count} tracks',
|
||||||
playCount: 'Played {count} times'
|
playCount: 'Played {count} times'
|
||||||
},
|
},
|
||||||
|
tabs: {
|
||||||
|
created: 'Created',
|
||||||
|
favorite: 'Favorite',
|
||||||
|
album: 'Album'
|
||||||
|
},
|
||||||
ranking: {
|
ranking: {
|
||||||
title: 'Listening History',
|
title: 'Listening History',
|
||||||
playCount: '{count} times'
|
playCount: '{count} times'
|
||||||
|
|||||||
@@ -1,38 +0,0 @@
|
|||||||
# 日本語翻訳 (Japanese Translation)
|
|
||||||
|
|
||||||
このディレクトリには、AlgerMusicPlayerの日本語翻訳ファイルが含まれています。
|
|
||||||
|
|
||||||
## ファイル構成
|
|
||||||
|
|
||||||
- `artist.ts` - アーティスト関連の翻訳
|
|
||||||
- `common.ts` - 共通の翻訳(ボタン、メッセージなど)
|
|
||||||
- `comp.ts` - コンポーネント関連の翻訳
|
|
||||||
- `donation.ts` - 寄付関連の翻訳
|
|
||||||
- `download.ts` - ダウンロード管理の翻訳
|
|
||||||
- `favorite.ts` - お気に入り機能の翻訳
|
|
||||||
- `history.ts` - 履歴機能の翻訳
|
|
||||||
- `login.ts` - ログイン関連の翻訳
|
|
||||||
- `player.ts` - プレイヤー機能の翻訳
|
|
||||||
- `search.ts` - 検索機能の翻訳
|
|
||||||
- `settings.ts` - 設定画面の翻訳
|
|
||||||
- `songItem.ts` - 楽曲アイテムの翻訳
|
|
||||||
- `user.ts` - ユーザー関連の翻訳
|
|
||||||
- `index.ts` - すべての翻訳をエクスポートするメインファイル
|
|
||||||
|
|
||||||
## 使用方法
|
|
||||||
|
|
||||||
アプリケーション内で言語を日本語に切り替えるには:
|
|
||||||
|
|
||||||
1. 設定画面を開く
|
|
||||||
2. 「言語設定」セクションを見つける
|
|
||||||
3. ドロップダウンメニューから「日本語」を選択
|
|
||||||
|
|
||||||
## 翻訳の改善
|
|
||||||
|
|
||||||
翻訳の改善や修正がある場合は、該当するファイルを編集してプルリクエストを送信してください。
|
|
||||||
|
|
||||||
## 注意事項
|
|
||||||
|
|
||||||
- すべての翻訳キーは中国語版と英語版に対応しています
|
|
||||||
- 新しい機能が追加された場合は、対応する日本語翻訳も追加する必要があります
|
|
||||||
- 文字化けを避けるため、ファイルはUTF-8エンコーディングで保存してください
|
|
||||||
@@ -2,4 +2,4 @@ export default {
|
|||||||
hotSongs: '人気楽曲',
|
hotSongs: '人気楽曲',
|
||||||
albums: 'アルバム',
|
albums: 'アルバム',
|
||||||
description: 'アーティスト紹介'
|
description: 'アーティスト紹介'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export default {
|
|||||||
hide: '非表示',
|
hide: '非表示',
|
||||||
confirm: '確認',
|
confirm: '確認',
|
||||||
cancel: 'キャンセル',
|
cancel: 'キャンセル',
|
||||||
|
clear: 'クリア',
|
||||||
configure: '設定',
|
configure: '設定',
|
||||||
open: '開く',
|
open: '開く',
|
||||||
modify: '変更',
|
modify: '変更',
|
||||||
@@ -27,6 +28,8 @@ export default {
|
|||||||
refresh: '更新',
|
refresh: '更新',
|
||||||
retry: '再試行',
|
retry: '再試行',
|
||||||
reset: 'リセット',
|
reset: 'リセット',
|
||||||
|
loadFailed: '読み込みに失敗しました',
|
||||||
|
noData: 'データがありません',
|
||||||
back: '戻る',
|
back: '戻る',
|
||||||
copySuccess: 'クリップボードにコピーしました',
|
copySuccess: 'クリップボードにコピーしました',
|
||||||
copyFailed: 'コピーに失敗しました',
|
copyFailed: 'コピーに失敗しました',
|
||||||
@@ -39,10 +42,13 @@ export default {
|
|||||||
viewMore: 'もっと見る',
|
viewMore: 'もっと見る',
|
||||||
noMore: 'これ以上ありません',
|
noMore: 'これ以上ありません',
|
||||||
selectAll: '全選択',
|
selectAll: '全選択',
|
||||||
|
playAll: 'すべて再生',
|
||||||
expand: '展開',
|
expand: '展開',
|
||||||
collapse: '折りたたみ',
|
collapse: '折りたたみ',
|
||||||
songCount: '{count}曲',
|
songCount: '{count}曲',
|
||||||
language: '言語',
|
language: '言語',
|
||||||
|
today: '今日',
|
||||||
|
yesterday: '昨日',
|
||||||
tray: {
|
tray: {
|
||||||
show: '表示',
|
show: '表示',
|
||||||
quit: '終了',
|
quit: '終了',
|
||||||
@@ -53,4 +59,4 @@ export default {
|
|||||||
play: '再生',
|
play: '再生',
|
||||||
favorite: 'お気に入り'
|
favorite: 'お気に入り'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
|
more: 'もっと見る',
|
||||||
|
homeListItem: {
|
||||||
|
loading: '読み込み中...'
|
||||||
|
},
|
||||||
installApp: {
|
installApp: {
|
||||||
description: 'アプリをインストールして、より良い体験を',
|
description: 'アプリをインストールして、より良い体験を',
|
||||||
noPrompt: '今後表示しない',
|
noPrompt: '今後表示しない',
|
||||||
@@ -33,15 +37,23 @@ export default {
|
|||||||
title: '新しいバージョンが見つかりました',
|
title: '新しいバージョンが見つかりました',
|
||||||
currentVersion: '現在のバージョン',
|
currentVersion: '現在のバージョン',
|
||||||
cancel: '後で更新',
|
cancel: '後で更新',
|
||||||
|
checking: '更新を確認中...',
|
||||||
prepareDownload: 'ダウンロード準備中...',
|
prepareDownload: 'ダウンロード準備中...',
|
||||||
downloading: 'ダウンロード中...',
|
downloading: 'ダウンロード中...',
|
||||||
|
readyToInstall: '更新パッケージのダウンロードが完了しました。今すぐインストールできます',
|
||||||
nowUpdate: '今すぐ更新',
|
nowUpdate: '今すぐ更新',
|
||||||
downloadFailed: 'ダウンロードに失敗しました。再試行するか手動でダウンロードしてください',
|
downloadFailed: 'ダウンロードに失敗しました。再試行するか手動でダウンロードしてください',
|
||||||
startFailed: 'ダウンロードの開始に失敗しました。再試行するか手動でダウンロードしてください',
|
startFailed: 'ダウンロードの開始に失敗しました。再試行するか手動でダウンロードしてください',
|
||||||
noDownloadUrl: '現在のシステムに適したインストールパッケージが見つかりません。手動でダウンロードしてください',
|
autoUpdateFailed: '自動更新に失敗しました',
|
||||||
|
openOfficialSite: '公式サイトから更新',
|
||||||
|
manualFallbackHint:
|
||||||
|
'自動更新に失敗した場合は、公式リリースページから最新版をダウンロードできます。',
|
||||||
|
noDownloadUrl:
|
||||||
|
'現在のシステムに適したインストールパッケージが見つかりません。手動でダウンロードしてください',
|
||||||
installConfirmTitle: '更新をインストール',
|
installConfirmTitle: '更新をインストール',
|
||||||
installConfirmContent: 'アプリを閉じて更新をインストールしますか?',
|
installConfirmContent: 'アプリを閉じて更新をインストールしますか?',
|
||||||
manualInstallTip: 'アプリを閉じた後にインストーラーが正常に起動しない場合は、ダウンロードフォルダでファイルを見つけて手動で開いてください。',
|
manualInstallTip:
|
||||||
|
'アプリを閉じた後にインストーラーが正常に起動しない場合は、ダウンロードフォルダでファイルを見つけて手動で開いてください。',
|
||||||
yesInstall: '今すぐインストール',
|
yesInstall: '今すぐインストール',
|
||||||
noThanks: '後でインストール',
|
noThanks: '後でインストール',
|
||||||
fileLocation: 'ファイルの場所',
|
fileLocation: 'ファイルの場所',
|
||||||
@@ -50,6 +62,31 @@ export default {
|
|||||||
copyFailed: 'コピーに失敗しました',
|
copyFailed: 'コピーに失敗しました',
|
||||||
backgroundDownload: 'バックグラウンドダウンロード'
|
backgroundDownload: 'バックグラウンドダウンロード'
|
||||||
},
|
},
|
||||||
|
disclaimer: {
|
||||||
|
title: '使用上の注意',
|
||||||
|
warning:
|
||||||
|
'このアプリは開発テスト版であり、機能が不完全で、多くの問題やバグが存在する可能性があります。学習と交流のみを目的としています。',
|
||||||
|
item1:
|
||||||
|
'このアプリは個人の学習、研究、技術交流のみを目的としています。商業目的で使用しないでください。',
|
||||||
|
item2:
|
||||||
|
'ダウンロード後24時間以内に削除してください。長期使用を希望される場合は、正規の音楽サービスをサポートしてください。',
|
||||||
|
item3:
|
||||||
|
'このアプリを使用することで、関連するリスクを理解し、負担するものとします。開発者は一切の損失に対して責任を負いません。',
|
||||||
|
agree: '以上の内容を読み、同意します',
|
||||||
|
disagree: '同意せずに終了'
|
||||||
|
},
|
||||||
|
donate: {
|
||||||
|
title: '開発者を支援',
|
||||||
|
subtitle: '皆様のサポートが私の原動力です',
|
||||||
|
tip: '寄付は完全に任意です。寄付しなくてもすべての機能を通常通り使用できます。ご理解とご支援に感謝します!',
|
||||||
|
wechat: 'WeChat',
|
||||||
|
alipay: 'Alipay',
|
||||||
|
wechatQR: 'WeChat 受取コード',
|
||||||
|
alipayQR: 'Alipay 受取コード',
|
||||||
|
scanTip: 'スマートフォンのアプリで上記のQRコードをスキャンして寄付してください',
|
||||||
|
enterApp: 'アプリに入る',
|
||||||
|
noForce: '寄付は強制ではありません。クリックして入れます'
|
||||||
|
},
|
||||||
coffee: {
|
coffee: {
|
||||||
title: 'コーヒーをおごる',
|
title: 'コーヒーをおごる',
|
||||||
alipay: 'Alipay',
|
alipay: 'Alipay',
|
||||||
@@ -77,7 +114,68 @@ export default {
|
|||||||
songlist: '毎日のおすすめリスト'
|
songlist: '毎日のおすすめリスト'
|
||||||
},
|
},
|
||||||
recommendSonglist: {
|
recommendSonglist: {
|
||||||
title: '今週の人気音楽'
|
title: '今週の人気音楽',
|
||||||
|
empty: 'おすすめのプレイリストがありません'
|
||||||
|
},
|
||||||
|
dailyRecommend: {
|
||||||
|
title: '毎日のおすすめ',
|
||||||
|
badge: 'おすすめ',
|
||||||
|
empty: 'おすすめの曲がありません',
|
||||||
|
intelligenceHint: 'インテリジェンスモードをオンにして、もっと好きな音楽を見つけましょう'
|
||||||
|
},
|
||||||
|
recommendMV: {
|
||||||
|
title: 'おすすめMV'
|
||||||
|
},
|
||||||
|
newAlbum: {
|
||||||
|
title: 'アルバム',
|
||||||
|
empty: '新しいアルバムがありません'
|
||||||
|
},
|
||||||
|
recommendNewMusic: {
|
||||||
|
title: '新曲速報'
|
||||||
|
},
|
||||||
|
privateContent: {
|
||||||
|
title: '独占配信'
|
||||||
|
},
|
||||||
|
djProgram: {
|
||||||
|
title: 'おすすめラジオ'
|
||||||
|
},
|
||||||
|
homeHero: {
|
||||||
|
dailyRecommend: '毎日のおすすめ',
|
||||||
|
songs: '曲',
|
||||||
|
playNow: '今すぐ再生',
|
||||||
|
intelligenceMode: 'インテリジェンスモード',
|
||||||
|
intelligenceModeOn: '再生中',
|
||||||
|
intelligenceModeDesc: 'スマート推薦を開始',
|
||||||
|
intelligenceModeActiveDesc: 'あなたの好みに基づくスマート推薦',
|
||||||
|
startIntelligence: '開始',
|
||||||
|
stopIntelligence: '停止',
|
||||||
|
playing: '再生中',
|
||||||
|
toplistDesc: 'トレンド',
|
||||||
|
mvDesc: 'ミュージックビデオ',
|
||||||
|
playlistDesc: '厳選プレイリスト',
|
||||||
|
personalFm: 'パーソナルFM',
|
||||||
|
discoverMusic: '新しい音楽を発見',
|
||||||
|
personalFmDesc: 'あなたの好みに基づいて',
|
||||||
|
recentPlays: '最近再生した曲',
|
||||||
|
viewAll: 'すべて表示',
|
||||||
|
followedArtists: 'フォロー中',
|
||||||
|
newSongs: '曲の新曲',
|
||||||
|
fromFollowedArtists: 'フォロー中のアーティストから',
|
||||||
|
recommendNewMusic: 'おすすめ新曲',
|
||||||
|
newSongExpress: '新曲速報',
|
||||||
|
discoverNewReleases: '最新リリースを見つけよう',
|
||||||
|
hotPlaylists: '人気プレイリスト',
|
||||||
|
hotArtists: '人気アーティスト',
|
||||||
|
hotArtistsTitle: '人気アーティスト',
|
||||||
|
hotArtistsDesc: '今最も人気のあるアーティスト',
|
||||||
|
fmTrash: '嫌い',
|
||||||
|
fmNext: '次へ',
|
||||||
|
quickNav: {
|
||||||
|
myFavorite: 'お気に入り',
|
||||||
|
playHistory: '再生履歴',
|
||||||
|
myProfile: 'マイページ',
|
||||||
|
toplist: 'ランキング'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchBar: {
|
searchBar: {
|
||||||
login: 'ログイン',
|
login: 'ログイン',
|
||||||
@@ -92,7 +190,13 @@ export default {
|
|||||||
zoom: 'ページズーム',
|
zoom: 'ページズーム',
|
||||||
zoom100: '標準ズーム100%',
|
zoom100: '標準ズーム100%',
|
||||||
resetZoom: 'クリックしてズームをリセット',
|
resetZoom: 'クリックしてズームをリセット',
|
||||||
zoomDefault: '標準ズーム'
|
zoomDefault: '標準ズーム',
|
||||||
|
tabPlaylist: 'プレイリスト',
|
||||||
|
tabMv: 'MV',
|
||||||
|
tabCharts: 'チャート',
|
||||||
|
cancelSearch: 'キャンセル',
|
||||||
|
intelligenceMode: '心動モード',
|
||||||
|
exitIntelligence: '心動モードを終了'
|
||||||
},
|
},
|
||||||
titleBar: {
|
titleBar: {
|
||||||
closeTitle: '閉じる方法を選択してください',
|
closeTitle: '閉じる方法を選択してください',
|
||||||
@@ -117,7 +221,15 @@ export default {
|
|||||||
cancelCollect: 'お気に入りから削除',
|
cancelCollect: 'お気に入りから削除',
|
||||||
addToPlaylist: 'プレイリストに追加',
|
addToPlaylist: 'プレイリストに追加',
|
||||||
addToPlaylistSuccess: 'プレイリストに追加しました',
|
addToPlaylistSuccess: 'プレイリストに追加しました',
|
||||||
songsAlreadyInPlaylist: '楽曲は既にプレイリストに存在します'
|
songsAlreadyInPlaylist: '楽曲は既にプレイリストに存在します',
|
||||||
|
locateCurrent: '再生中の曲を表示',
|
||||||
|
scrollToTop: 'トップに戻る',
|
||||||
|
compactLayout: 'コンパクト表示',
|
||||||
|
normalLayout: '通常表示',
|
||||||
|
historyRecommend: '履歴の日次推薦',
|
||||||
|
fetchDatesFailed: '日付リストの取得に失敗しました',
|
||||||
|
fetchSongsFailed: '楽曲リストの取得に失敗しました',
|
||||||
|
noSongs: '楽曲がありません'
|
||||||
},
|
},
|
||||||
playlist: {
|
playlist: {
|
||||||
import: {
|
import: {
|
||||||
@@ -143,6 +255,7 @@ export default {
|
|||||||
albumNamePlaceholder: 'アルバム名',
|
albumNamePlaceholder: 'アルバム名',
|
||||||
addSongButton: '楽曲を追加',
|
addSongButton: '楽曲を追加',
|
||||||
addLinkButton: 'リンクを追加',
|
addLinkButton: 'リンクを追加',
|
||||||
|
options: 'オプション',
|
||||||
importToStarPlaylist: 'お気に入りの音楽にインポート',
|
importToStarPlaylist: 'お気に入りの音楽にインポート',
|
||||||
playlistNamePlaceholder: 'プレイリスト名を入力してください',
|
playlistNamePlaceholder: 'プレイリスト名を入力してください',
|
||||||
importButton: 'インポート開始',
|
importButton: 'インポート開始',
|
||||||
@@ -172,7 +285,8 @@ export default {
|
|||||||
noTasks: 'インポートタスクがありません',
|
noTasks: 'インポートタスクがありません',
|
||||||
clearTasks: 'タスクをクリア',
|
clearTasks: 'タスクをクリア',
|
||||||
clearTasksConfirmTitle: 'クリア確認',
|
clearTasksConfirmTitle: 'クリア確認',
|
||||||
clearTasksConfirmContent: 'すべてのインポートタスク記録をクリアしますか?この操作は元に戻せません。',
|
clearTasksConfirmContent:
|
||||||
|
'すべてのインポートタスク記録をクリアしますか?この操作は元に戻せません。',
|
||||||
confirm: '確認',
|
confirm: '確認',
|
||||||
cancel: 'キャンセル',
|
cancel: 'キャンセル',
|
||||||
clearTasksSuccess: 'タスクリストをクリアしました',
|
clearTasksSuccess: 'タスクリストをクリアしました',
|
||||||
@@ -186,5 +300,41 @@ export default {
|
|||||||
list: 'プレイリスト',
|
list: 'プレイリスト',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
home: 'ホーム',
|
home: 'ホーム',
|
||||||
search: '検索'
|
search: '検索',
|
||||||
};
|
album: 'アルバム',
|
||||||
|
localMusic: 'ローカル音楽',
|
||||||
|
pages: {
|
||||||
|
toplist: {
|
||||||
|
desc: '最も権威ある音楽チャート、今一番ホットな音楽を発見'
|
||||||
|
},
|
||||||
|
mv: {
|
||||||
|
desc: '素晴らしい動画コンテンツを探索',
|
||||||
|
loadingMore: 'もっと読み込み中...',
|
||||||
|
noMore: '— すべて読み込みました —',
|
||||||
|
area: {
|
||||||
|
all: 'すべて',
|
||||||
|
mainland: '中国大陸',
|
||||||
|
hktw: '香港・台湾',
|
||||||
|
western: '欧米',
|
||||||
|
japan: '日本',
|
||||||
|
korea: '韓国'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
list: {
|
||||||
|
desc: 'もっと素敵なプレイリストを発見',
|
||||||
|
dailyRecommend: 'デイリーおすすめ'
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
desc: '今最もホットな検索トレンドを探索'
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
area: {
|
||||||
|
all: 'すべて',
|
||||||
|
chinese: '中華圏',
|
||||||
|
western: '欧米',
|
||||||
|
korea: '韓国',
|
||||||
|
japan: '日本'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
export default {
|
export default {
|
||||||
description: 'あなたの寄付は開発・保守作業をサポートするために使用され、サーバー保守、ドメイン更新などが含まれます。',
|
description:
|
||||||
|
'あなたの寄付は開発・保守作業をサポートするために使用され、サーバー保守、ドメイン更新などが含まれます。',
|
||||||
message: 'メッセージを残す際は、メールアドレスやGitHubユーザー名を記載してください。',
|
message: 'メッセージを残す際は、メールアドレスやGitHubユーザー名を記載してください。',
|
||||||
refresh: 'リストを更新',
|
refresh: 'リストを更新',
|
||||||
toDonateList: 'コーヒーをおごる',
|
toDonateList: 'コーヒーをおごる',
|
||||||
noMessage: 'メッセージがありません',
|
noMessage: 'メッセージがありません',
|
||||||
title: '寄付リスト'
|
title: '寄付リスト'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ export default {
|
|||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
noTasks: 'ダウンロードタスクがありません',
|
noTasks: 'ダウンロードタスクがありません',
|
||||||
noDownloaded: 'ダウンロード済みの楽曲がありません'
|
noDownloaded: 'ダウンロード済みの楽曲がありません',
|
||||||
|
noDownloadedHint: '好きな曲をダウンロードしましょう'
|
||||||
},
|
},
|
||||||
progress: {
|
progress: {
|
||||||
total: '全体の進行状況: {progress}%'
|
total: '全体の進行状況: {progress}%'
|
||||||
@@ -19,7 +20,21 @@ export default {
|
|||||||
downloading: 'ダウンロード中',
|
downloading: 'ダウンロード中',
|
||||||
completed: '完了',
|
completed: '完了',
|
||||||
failed: '失敗',
|
failed: '失敗',
|
||||||
unknown: '不明'
|
unknown: '不明',
|
||||||
|
queued: 'キュー中',
|
||||||
|
paused: '一時停止',
|
||||||
|
cancelled: 'キャンセル済み'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
pause: '一時停止',
|
||||||
|
resume: '再開',
|
||||||
|
cancel: 'キャンセル',
|
||||||
|
cancelAll: 'すべてキャンセル',
|
||||||
|
retrying: 'URL再取得中...'
|
||||||
|
},
|
||||||
|
batch: {
|
||||||
|
complete: 'ダウンロード完了:{success}/{total}曲成功',
|
||||||
|
allComplete: '全てのダウンロードが完了'
|
||||||
},
|
},
|
||||||
artist: {
|
artist: {
|
||||||
unknown: '不明なアーティスト'
|
unknown: '不明なアーティスト'
|
||||||
@@ -36,10 +51,20 @@ export default {
|
|||||||
},
|
},
|
||||||
clear: {
|
clear: {
|
||||||
title: 'ダウンロード記録をクリア',
|
title: 'ダウンロード記録をクリア',
|
||||||
message: 'すべてのダウンロード記録をクリアしますか?この操作はダウンロード済みの音楽ファイルを削除しませんが、すべての記録をクリアします。',
|
message:
|
||||||
|
'すべてのダウンロード記録をクリアしますか?この操作はダウンロード済みの音楽ファイルを削除しませんが、すべての記録をクリアします。',
|
||||||
confirm: 'クリア確認',
|
confirm: 'クリア確認',
|
||||||
cancel: 'キャンセル',
|
cancel: 'キャンセル',
|
||||||
success: 'ダウンロード記録をクリアしました'
|
success: 'ダウンロード記録をクリアしました',
|
||||||
|
failed: 'ダウンロード記録のクリアに失敗しました'
|
||||||
|
},
|
||||||
|
save: {
|
||||||
|
title: '設定を保存',
|
||||||
|
message: '現在のダウンロード設定が保存されていません。変更を保存しますか?',
|
||||||
|
confirm: '保存',
|
||||||
|
cancel: 'キャンセル',
|
||||||
|
discard: '破棄',
|
||||||
|
saveSuccess: 'ダウンロード設定を保存しました'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
downloadComplete: '{filename}のダウンロードが完了しました',
|
downloadComplete: '{filename}のダウンロードが完了しました',
|
||||||
@@ -49,6 +74,7 @@ export default {
|
|||||||
playStarted: '再生開始: {name}',
|
playStarted: '再生開始: {name}',
|
||||||
playFailed: '再生失敗: {name}',
|
playFailed: '再生失敗: {name}',
|
||||||
path: {
|
path: {
|
||||||
|
copy: 'パスをコピー',
|
||||||
copied: 'パスをクリップボードにコピーしました',
|
copied: 'パスをクリップボードにコピーしました',
|
||||||
copyFailed: 'パスのコピーに失敗しました'
|
copyFailed: 'パスのコピーに失敗しました'
|
||||||
},
|
},
|
||||||
@@ -60,6 +86,8 @@ export default {
|
|||||||
noPathSelected: 'まずダウンロードパスを選択してください',
|
noPathSelected: 'まずダウンロードパスを選択してください',
|
||||||
select: 'フォルダを選択',
|
select: 'フォルダを選択',
|
||||||
open: 'フォルダを開く',
|
open: 'フォルダを開く',
|
||||||
|
saveLyric: '歌詞ファイルを個別に保存',
|
||||||
|
saveLyricDesc: '楽曲ダウンロード時に .lrc 歌詞ファイルも一緒に保存します',
|
||||||
fileFormat: 'ファイル名形式',
|
fileFormat: 'ファイル名形式',
|
||||||
fileFormatDesc: '音楽ダウンロード時のファイル命名形式を設定',
|
fileFormatDesc: '音楽ダウンロード時のファイル命名形式を設定',
|
||||||
customFormat: 'カスタム形式',
|
customFormat: 'カスタム形式',
|
||||||
@@ -72,6 +100,8 @@ export default {
|
|||||||
dragToArrange: 'ドラッグで並び替えまたは矢印ボタンで順序を調整:',
|
dragToArrange: 'ドラッグで並び替えまたは矢印ボタンで順序を調整:',
|
||||||
formatVariables: '使用可能な変数',
|
formatVariables: '使用可能な変数',
|
||||||
preview: 'プレビュー効果:',
|
preview: 'プレビュー効果:',
|
||||||
|
concurrency: '最大同時ダウンロード数',
|
||||||
|
concurrencyDesc: '同時にダウンロードする最大曲数(1-5)',
|
||||||
saveSuccess: 'ダウンロード設定を保存しました',
|
saveSuccess: 'ダウンロード設定を保存しました',
|
||||||
presets: {
|
presets: {
|
||||||
songArtist: '楽曲名 - アーティスト名',
|
songArtist: '楽曲名 - アーティスト名',
|
||||||
@@ -83,5 +113,10 @@ export default {
|
|||||||
artistName: 'アーティスト名',
|
artistName: 'アーティスト名',
|
||||||
albumName: 'アルバム名'
|
albumName: 'アルバム名'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
incomplete: 'ファイルのダウンロードが不完全です',
|
||||||
|
urlExpired: 'URLの有効期限が切れました。再取得中',
|
||||||
|
resumeFailed: '再開に失敗しました'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ export default {
|
|||||||
selectSongsFirst: 'まずダウンロードする楽曲を選択してください',
|
selectSongsFirst: 'まずダウンロードする楽曲を選択してください',
|
||||||
descending: '降順',
|
descending: '降順',
|
||||||
ascending: '昇順'
|
ascending: '昇順'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,49 @@
|
|||||||
export default {
|
export default {
|
||||||
title: '再生履歴',
|
title: '再生履歴',
|
||||||
|
heatmapTitle: 'ヒートマップ',
|
||||||
playCount: '{count}',
|
playCount: '{count}',
|
||||||
getHistoryFailed: '履歴の取得に失敗しました'
|
getHistoryFailed: '履歴の取得に失敗しました',
|
||||||
};
|
tabs: {
|
||||||
|
all: 'すべての記録',
|
||||||
|
local: 'ローカル記録',
|
||||||
|
cloud: 'クラウド記録'
|
||||||
|
},
|
||||||
|
categoryTabs: {
|
||||||
|
songs: '楽曲',
|
||||||
|
playlists: 'プレイリスト',
|
||||||
|
albums: 'アルバム',
|
||||||
|
podcasts: 'ポッドキャスト'
|
||||||
|
},
|
||||||
|
podcastTabs: {
|
||||||
|
episodes: 'エピソード',
|
||||||
|
radios: 'ラジオ'
|
||||||
|
},
|
||||||
|
noDescription: '説明なし',
|
||||||
|
noData: '記録なし',
|
||||||
|
getCloudRecordFailed: 'クラウド記録の取得に失敗しました',
|
||||||
|
needLogin: 'cookieを使用してログインしてクラウド記録を表示できます',
|
||||||
|
merging: '記録を統合中...',
|
||||||
|
heatmap: {
|
||||||
|
title: '再生ヒートマップ',
|
||||||
|
loading: 'データを読み込み中...',
|
||||||
|
unit: '回再生',
|
||||||
|
footerText: 'ホバーして詳細を表示',
|
||||||
|
playCount: '{count} 回再生',
|
||||||
|
topSongs: 'その日の人気曲',
|
||||||
|
times: '回',
|
||||||
|
totalPlays: '総再生回数',
|
||||||
|
activeDays: 'アクティブ日数',
|
||||||
|
noData: '再生記録がありません',
|
||||||
|
colorTheme: 'カラーテーマ',
|
||||||
|
colors: {
|
||||||
|
green: 'グリーン',
|
||||||
|
blue: 'ブルー',
|
||||||
|
orange: 'オレンジ',
|
||||||
|
purple: 'パープル',
|
||||||
|
red: 'レッド'
|
||||||
|
},
|
||||||
|
mostPlayedSong: '最も再生された曲',
|
||||||
|
mostActiveDay: '最もアクティブな日',
|
||||||
|
latestNightSong: '深夜に再生した曲'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
13
src/i18n/lang/ja-JP/localMusic.ts
Normal file
13
src/i18n/lang/ja-JP/localMusic.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
title: 'ローカル音楽',
|
||||||
|
scanFolder: 'フォルダをスキャン',
|
||||||
|
removeFolder: 'フォルダを削除',
|
||||||
|
scanning: 'スキャン中...',
|
||||||
|
scanComplete: 'スキャン完了',
|
||||||
|
playAll: 'すべて再生',
|
||||||
|
search: 'ローカル音楽を検索',
|
||||||
|
emptyState: 'ローカル音楽がありません。フォルダを選択してスキャンしてください。',
|
||||||
|
fileNotFound: 'ファイルが見つからないか、移動されました',
|
||||||
|
rescan: '再スキャン',
|
||||||
|
songCount: '{count} 曲'
|
||||||
|
};
|
||||||
@@ -41,8 +41,25 @@ export default {
|
|||||||
uidLoginFailed: 'UIDログインに失敗しました。ユーザーIDが正しいか確認してください',
|
uidLoginFailed: 'UIDログインに失敗しました。ユーザーIDが正しいか確認してください',
|
||||||
autoGetCookieSuccess: 'Cookie自動取得成功',
|
autoGetCookieSuccess: 'Cookie自動取得成功',
|
||||||
autoGetCookieFailed: 'Cookie自動取得失敗',
|
autoGetCookieFailed: 'Cookie自動取得失敗',
|
||||||
autoGetCookieTip: 'NetEase Cloud Musicのログインページを開きます。ログイン完了後、ウィンドウを閉じてください'
|
autoGetCookieTip:
|
||||||
|
'NetEase Cloud Musicのログインページを開きます。ログイン完了後、ウィンドウを閉じてください',
|
||||||
|
loginFailed: 'ログイン失敗',
|
||||||
|
phoneRequired: '電話番号を入力してください',
|
||||||
|
passwordRequired: 'パスワードを入力してください',
|
||||||
|
phoneLoginFailed:
|
||||||
|
'電話番号でのログインに失敗しました。電話番号とパスワードが正しいか確認してください',
|
||||||
|
qrCheckFailed: 'QRコードの状態確認に失敗しました。リフレッシュして再試行してください',
|
||||||
|
qrLoading: 'QRコードを読み込み中...',
|
||||||
|
qrExpired: 'QRコードの期限が切れました。クリックしてリフレッシュしてください',
|
||||||
|
qrExpiredShort: 'QRコード期限切れ',
|
||||||
|
qrExpiredWarning: 'QRコードの期限が切れました。クリックして新しいQRコードを取得してください',
|
||||||
|
qrScanned: 'QRコードがスキャンされました。スマートフォンでログインを確認してください',
|
||||||
|
qrScannedShort: 'スキャン済み',
|
||||||
|
qrScannedInfo: 'QRコードがスキャンされました。スマートフォンでログインを確認してください',
|
||||||
|
qrConfirmed: 'ログイン成功、リダイレクト中...',
|
||||||
|
qrGenerating: 'QRコードを生成中...'
|
||||||
},
|
},
|
||||||
qrTitle: 'NetEase Cloud Music QRコードログイン',
|
qrTitle: 'NetEase Cloud Music QRコードログイン',
|
||||||
uidWarning: '注意:UIDログインはユーザーの公開情報を表示するためのみ使用でき、ログイン権限が必要な機能にはアクセスできません。'
|
uidWarning:
|
||||||
};
|
'注意:UIDログインはユーザーの公開情報を表示するためのみ使用でき、ログイン権限が必要な機能にはアクセスできません。'
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,123 +1,148 @@
|
|||||||
export default {
|
export default {
|
||||||
nowPlaying: '再生中',
|
nowPlaying: '再生中',
|
||||||
playlist: 'プレイリスト',
|
playlist: 'プレイリスト',
|
||||||
lyrics: '歌詞',
|
lyrics: '歌詞',
|
||||||
previous: '前へ',
|
previous: '前へ',
|
||||||
play: '再生',
|
play: '再生',
|
||||||
pause: '一時停止',
|
pause: '一時停止',
|
||||||
next: '次へ',
|
next: '次へ',
|
||||||
volumeUp: '音量を上げる',
|
volumeUp: '音量を上げる',
|
||||||
volumeDown: '音量を下げる',
|
volumeDown: '音量を下げる',
|
||||||
mute: 'ミュート',
|
mute: 'ミュート',
|
||||||
unmute: 'ミュート解除',
|
unmute: 'ミュート解除',
|
||||||
songNum: '楽曲総数:{num}',
|
songNum: '楽曲総数:{num}',
|
||||||
addCorrection: '{num}秒早める',
|
addCorrection: '{num}秒早める',
|
||||||
subtractCorrection: '{num}秒遅らせる',
|
subtractCorrection: '{num}秒遅らせる',
|
||||||
playFailed: '現在の楽曲の再生に失敗しました。次の曲を再生します',
|
playFailed: '現在の楽曲の再生に失敗しました。次の曲を再生します',
|
||||||
playMode: {
|
parseFailedPlayNext: '楽曲の解析に失敗しました。次の曲を再生します',
|
||||||
sequence: '順次再生',
|
consecutiveFailsError:
|
||||||
loop: 'リピート再生',
|
'再生エラーが発生しました。ネットワークの問題または無効な音源の可能性があります。プレイリストを切り替えるか、後でもう一度お試しください',
|
||||||
random: 'ランダム再生'
|
playListEnded: 'プレイリストの最後に到達しました',
|
||||||
},
|
autoResumed: '自動的に再生を再開しました',
|
||||||
fullscreen: {
|
resumeFailed: '再生の再開に失敗しました。手動でお試しください',
|
||||||
enter: 'フルスクリーン',
|
playMode: {
|
||||||
exit: 'フルスクリーン終了'
|
sequence: '順次再生',
|
||||||
},
|
loop: 'リピート再生',
|
||||||
close: '閉じる',
|
random: 'ランダム再生'
|
||||||
modeHint: {
|
},
|
||||||
single: 'リピート再生',
|
fullscreen: {
|
||||||
list: '自動で次の曲を再生'
|
enter: 'フルスクリーン',
|
||||||
},
|
exit: 'フルスクリーン終了'
|
||||||
lrc: {
|
},
|
||||||
noLrc: '歌詞がありません。お楽しみください'
|
close: '閉じる',
|
||||||
},
|
modeHint: {
|
||||||
reparse: {
|
single: 'リピート再生',
|
||||||
title: '解析音源を選択',
|
list: '自動で次の曲を再生'
|
||||||
desc: '音源をクリックして直接解析します。次回この楽曲を再生する際は選択した音源を使用します',
|
},
|
||||||
success: '再解析成功',
|
lrc: {
|
||||||
failed: '再解析失敗',
|
noLrc: '歌詞がありません。お楽しみください',
|
||||||
warning: '音源を選択してください',
|
noAutoScroll: '本歌詞は自動スクロールをサポートしていません'
|
||||||
bilibiliNotSupported: 'Bilibili動画は再解析をサポートしていません',
|
},
|
||||||
processing: '解析中...',
|
reparse: {
|
||||||
clear: 'カスタム音源をクリア'
|
title: '解析音源を選択',
|
||||||
},
|
desc: '音源をクリックして直接解析します。次回この楽曲を再生する際は選択した音源を使用します',
|
||||||
playBar: {
|
success: '再解析成功',
|
||||||
expand: '歌詞を展開',
|
failed: '再解析失敗',
|
||||||
collapse: '歌詞を折りたたみ',
|
warning: '音源を選択してください',
|
||||||
like: 'いいね',
|
bilibiliNotSupported: 'Bilibili動画は再解析をサポートしていません',
|
||||||
lyric: '歌詞',
|
processing: '解析中...',
|
||||||
noSongPlaying: '再生中の楽曲がありません',
|
clear: 'カスタム音源をクリア',
|
||||||
eq: 'イコライザー',
|
customApiFailed: 'カスタムAPIの解析に失敗しました。内蔵音源を試しています...',
|
||||||
playList: 'プレイリスト',
|
customApiError: 'カスタムAPIのリクエストでエラーが発生しました。内蔵音源を試しています...'
|
||||||
reparse: '再解析',
|
},
|
||||||
playMode: {
|
playBar: {
|
||||||
sequence: '順次再生',
|
expand: '歌詞を展開',
|
||||||
loop: 'ループ再生',
|
collapse: '歌詞を折りたたみ',
|
||||||
random: 'ランダム再生'
|
like: 'いいね',
|
||||||
},
|
lyric: '歌詞',
|
||||||
play: '再生開始',
|
noSongPlaying: '再生中の楽曲がありません',
|
||||||
pause: '再生一時停止',
|
eq: 'イコライザー',
|
||||||
prev: '前の曲',
|
playList: 'プレイリスト',
|
||||||
next: '次の曲',
|
reparse: '再解析',
|
||||||
volume: '音量',
|
playMode: {
|
||||||
favorite: '{name}をお気に入りに追加しました',
|
sequence: '順次再生',
|
||||||
unFavorite: '{name}をお気に入りから削除しました',
|
loop: 'ループ再生',
|
||||||
miniPlayBar: 'ミニ再生バー',
|
random: 'ランダム再生'
|
||||||
playbackSpeed: '再生速度',
|
},
|
||||||
advancedControls: 'その他の設定'
|
play: '再生開始',
|
||||||
},
|
pause: '再生一時停止',
|
||||||
eq: {
|
prev: '前の曲',
|
||||||
title: 'イコライザー',
|
next: '次の曲',
|
||||||
reset: 'リセット',
|
volume: '音量',
|
||||||
on: 'オン',
|
favorite: '{name}をお気に入りに追加しました',
|
||||||
off: 'オフ',
|
unFavorite: '{name}をお気に入りから削除しました',
|
||||||
bass: '低音',
|
miniPlayBar: 'ミニ再生バー',
|
||||||
midrange: '中音',
|
playbackSpeed: '再生速度',
|
||||||
treble: '高音',
|
advancedControls: 'その他の設定',
|
||||||
presets: {
|
intelligenceMode: {
|
||||||
flat: 'フラット',
|
title: 'インテリジェンスモード',
|
||||||
pop: 'ポップ',
|
needCookieLogin: 'Cookie方式でログインしてからインテリジェンスモードを使用してください',
|
||||||
rock: 'ロック',
|
noFavoritePlaylist: '「お気に入りの音楽」プレイリストが見つかりません',
|
||||||
classical: 'クラシック',
|
noLikedSongs: 'まだ「いいね」した楽曲がありません',
|
||||||
jazz: 'ジャズ',
|
loading: 'インテリジェンスモードを読み込み中',
|
||||||
electronic: 'エレクトロニック',
|
success: '{count} 曲を読み込みました',
|
||||||
hiphop: 'ヒップホップ',
|
failed: 'インテリジェンスモードのリスト取得に失敗しました',
|
||||||
rb: 'R&B',
|
error: 'インテリジェンスモードの再生でエラーが発生しました'
|
||||||
metal: 'メタル',
|
}
|
||||||
vocal: 'ボーカル',
|
},
|
||||||
dance: 'ダンス',
|
eq: {
|
||||||
acoustic: 'アコースティック',
|
title: 'イコライザー',
|
||||||
custom: 'カスタム'
|
reset: 'リセット',
|
||||||
}
|
on: 'オン',
|
||||||
},
|
off: 'オフ',
|
||||||
// タイマー機能関連
|
bass: '低音',
|
||||||
sleepTimer: {
|
midrange: '中音',
|
||||||
title: 'スリープタイマー',
|
treble: '高音',
|
||||||
cancel: 'タイマーをキャンセル',
|
presets: {
|
||||||
timeMode: '時間で停止',
|
flat: 'フラット',
|
||||||
songsMode: '楽曲数で停止',
|
pop: 'ポップ',
|
||||||
playlistEnd: 'プレイリスト終了後に停止',
|
rock: 'ロック',
|
||||||
afterPlaylist: 'プレイリスト終了後に停止',
|
classical: 'クラシック',
|
||||||
activeUntilEnd: 'リスト終了まで再生',
|
jazz: 'ジャズ',
|
||||||
minutes: '分',
|
electronic: 'エレクトロニック',
|
||||||
hours: '時間',
|
hiphop: 'ヒップホップ',
|
||||||
songs: '曲',
|
rb: 'R&B',
|
||||||
set: '設定',
|
metal: 'メタル',
|
||||||
timerSetSuccess: '{minutes}分後に停止するよう設定しました',
|
vocal: 'ボーカル',
|
||||||
songsSetSuccess: '{songs}曲再生後に停止するよう設定しました',
|
dance: 'ダンス',
|
||||||
playlistEndSetSuccess: 'プレイリスト終了後に停止するよう設定しました',
|
acoustic: 'アコースティック',
|
||||||
timerCancelled: 'スリープタイマーをキャンセルしました',
|
custom: 'カスタム'
|
||||||
timerEnded: 'スリープタイマーが作動しました',
|
}
|
||||||
playbackStopped: '音楽再生を停止しました',
|
},
|
||||||
minutesRemaining: '残り{minutes}分',
|
// プレイヤー設定
|
||||||
songsRemaining: '残り{count}曲'
|
settings: {
|
||||||
},
|
title: '再生設定',
|
||||||
playList: {
|
playbackSpeed: '再生速度'
|
||||||
clearAll: 'プレイリストをクリア',
|
},
|
||||||
alreadyEmpty: 'プレイリストは既に空です',
|
// タイマー機能関連
|
||||||
cleared: 'プレイリストをクリアしました',
|
sleepTimer: {
|
||||||
empty: 'プレイリストが空です',
|
title: 'スリープタイマー',
|
||||||
clearConfirmTitle: 'プレイリストをクリア',
|
cancel: 'タイマーをキャンセル',
|
||||||
clearConfirmContent: 'これによりプレイリスト内のすべての楽曲がクリアされ、現在の再生が停止されます。続行しますか?'
|
timeMode: '時間で停止',
|
||||||
}
|
songsMode: '楽曲数で停止',
|
||||||
};
|
playlistEnd: 'プレイリスト終了後に停止',
|
||||||
|
afterPlaylist: 'プレイリスト終了後に停止',
|
||||||
|
activeUntilEnd: 'リスト終了まで再生',
|
||||||
|
minutes: '分',
|
||||||
|
hours: '時間',
|
||||||
|
songs: '曲',
|
||||||
|
set: '設定',
|
||||||
|
timerSetSuccess: '{minutes}分後に停止するよう設定しました',
|
||||||
|
songsSetSuccess: '{songs}曲再生後に停止するよう設定しました',
|
||||||
|
playlistEndSetSuccess: 'プレイリスト終了後に停止するよう設定しました',
|
||||||
|
timerCancelled: 'スリープタイマーをキャンセルしました',
|
||||||
|
timerEnded: 'スリープタイマーが作動しました',
|
||||||
|
playbackStopped: '音楽再生を停止しました',
|
||||||
|
minutesRemaining: '残り{minutes}分',
|
||||||
|
songsRemaining: '残り{count}曲'
|
||||||
|
},
|
||||||
|
playList: {
|
||||||
|
clearAll: 'プレイリストをクリア',
|
||||||
|
alreadyEmpty: 'プレイリストは既に空です',
|
||||||
|
cleared: 'プレイリストをクリアしました',
|
||||||
|
empty: 'プレイリストが空です',
|
||||||
|
clearConfirmTitle: 'プレイリストをクリア',
|
||||||
|
clearConfirmContent:
|
||||||
|
'これによりプレイリスト内のすべての楽曲がクリアされ、現在の再生が停止されます。続行しますか?'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
40
src/i18n/lang/ja-JP/podcast.ts
Normal file
40
src/i18n/lang/ja-JP/podcast.ts
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
export default {
|
||||||
|
podcast: 'ポッドキャスト',
|
||||||
|
mySubscriptions: '購読中',
|
||||||
|
discover: '発見',
|
||||||
|
categories: 'カテゴリー',
|
||||||
|
todayPerfered: '今日のおすすめ',
|
||||||
|
recommended: 'おすすめ',
|
||||||
|
hotRanking: '人気',
|
||||||
|
newRanking: '新着',
|
||||||
|
subscribeCount: '購読者',
|
||||||
|
programCount: 'エピソード',
|
||||||
|
subscribe: '購読',
|
||||||
|
subscribed: '購読中',
|
||||||
|
unsubscribe: '購読解除',
|
||||||
|
unsubscribed: '購読を解除しました',
|
||||||
|
subscribeSuccess: '購読しました',
|
||||||
|
unsubscribeFailed: '購読解除に失敗しました',
|
||||||
|
subscribeFailed: '購読に失敗しました',
|
||||||
|
radioDetail: 'ラジオ詳細',
|
||||||
|
programList: 'エピソード一覧',
|
||||||
|
playProgram: '再生',
|
||||||
|
recentPlayed: '最近再生',
|
||||||
|
listeners: 'リスナー',
|
||||||
|
noSubscriptions: '購読なし',
|
||||||
|
goDiscover: 'ポッドキャストを探す',
|
||||||
|
searchPodcast: 'ポッドキャスト検索',
|
||||||
|
category: 'カテゴリー',
|
||||||
|
all: 'すべて',
|
||||||
|
dj: 'パーソナリティ',
|
||||||
|
episodes: '話',
|
||||||
|
playAll: 'すべて再生',
|
||||||
|
popularCategories: '人気カテゴリー',
|
||||||
|
allCategories: 'すべてのカテゴリー',
|
||||||
|
categoryRadios: 'カテゴリーラジオ',
|
||||||
|
exploreCategoryRadios: 'もっと素晴らしいラジオを探す',
|
||||||
|
hotRadios: '人気ラジオ',
|
||||||
|
noCategoryRadios: 'このカテゴリーにはラジオがありません',
|
||||||
|
searchPlaceholder: 'ポッドキャスト、エピソードを検索...',
|
||||||
|
searchResults: '検索結果'
|
||||||
|
};
|
||||||
@@ -11,7 +11,8 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
more: '読み込み中...',
|
more: '読み込み中...',
|
||||||
failed: '検索に失敗しました'
|
failed: '検索に失敗しました',
|
||||||
|
searching: '検索中...'
|
||||||
},
|
},
|
||||||
noMore: 'これ以上ありません',
|
noMore: 'これ以上ありません',
|
||||||
error: {
|
error: {
|
||||||
@@ -22,6 +23,11 @@ export default {
|
|||||||
album: 'アルバム',
|
album: 'アルバム',
|
||||||
playlist: 'プレイリスト',
|
playlist: 'プレイリスト',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
|
djradio: 'ラジオ',
|
||||||
bilibili: 'Bilibili'
|
bilibili: 'Bilibili'
|
||||||
}
|
},
|
||||||
};
|
|
||||||
|
history: '検索履歴',
|
||||||
|
hot: '人気検索',
|
||||||
|
suggestions: '検索候補'
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,322 +1,520 @@
|
|||||||
export default {
|
export default {
|
||||||
theme: 'テーマ',
|
theme: 'テーマ',
|
||||||
language: '言語',
|
language: '言語',
|
||||||
regard: 'について',
|
regard: 'について',
|
||||||
logout: 'ログアウト',
|
logout: 'ログアウト',
|
||||||
sections: {
|
sections: {
|
||||||
basic: '基本設定',
|
basic: '基本設定',
|
||||||
playback: '再生設定',
|
playback: '再生設定',
|
||||||
application: 'アプリケーション設定',
|
application: 'アプリケーション設定',
|
||||||
network: 'ネットワーク設定',
|
network: 'ネットワーク設定',
|
||||||
system: 'システム管理',
|
system: 'システム管理',
|
||||||
donation: '寄付サポート',
|
donation: '寄付サポート',
|
||||||
regard: 'について'
|
about: 'について'
|
||||||
},
|
},
|
||||||
basic: {
|
basic: {
|
||||||
themeMode: 'テーマモード',
|
themeMode: 'テーマモード',
|
||||||
themeModeDesc: 'ライト/ダークテーマの切り替え',
|
themeModeDesc: 'ライト/ダークテーマの切り替え',
|
||||||
autoTheme: 'システムに従う',
|
autoTheme: 'システムに従う',
|
||||||
manualTheme: '手動切り替え',
|
manualTheme: '手動切り替え',
|
||||||
language: '言語設定',
|
language: '言語設定',
|
||||||
languageDesc: '表示言語を切り替え',
|
languageDesc: '表示言語を切り替え',
|
||||||
tokenManagement: 'Cookie管理',
|
tokenManagement: 'Cookie管理',
|
||||||
tokenManagementDesc: 'NetEase Cloud MusicログインCookieを管理',
|
tokenManagementDesc: 'NetEase Cloud MusicログインCookieを管理',
|
||||||
tokenStatus: '現在のCookieステータス',
|
tokenStatus: '現在のCookieステータス',
|
||||||
tokenSet: '設定済み',
|
tokenSet: '設定済み',
|
||||||
tokenNotSet: '未設定',
|
tokenNotSet: '未設定',
|
||||||
setToken: 'Cookieを設定',
|
setToken: 'Cookieを設定',
|
||||||
modifyToken: 'Cookieを変更',
|
modifyToken: 'Cookieを変更',
|
||||||
clearToken: 'Cookieをクリア',
|
clearToken: 'Cookieをクリア',
|
||||||
font: 'フォント設定',
|
font: 'フォント設定',
|
||||||
fontDesc: 'フォントを選択します。前に配置されたフォントが優先されます',
|
fontDesc: 'フォントを選択します。前に配置されたフォントが優先されます',
|
||||||
fontScope: {
|
fontScope: {
|
||||||
global: 'グローバル',
|
global: 'グローバル',
|
||||||
lyric: '歌詞のみ'
|
lyric: '歌詞のみ'
|
||||||
},
|
},
|
||||||
animation: 'アニメーション速度',
|
animation: 'アニメーション速度',
|
||||||
animationDesc: 'アニメーションを有効にするかどうか',
|
animationDesc: 'アニメーションを有効にするかどうか',
|
||||||
animationSpeed: {
|
animationSpeed: {
|
||||||
slow: '非常に遅い',
|
slow: '非常に遅い',
|
||||||
normal: '通常',
|
normal: '通常',
|
||||||
fast: '非常に速い'
|
fast: '非常に速い'
|
||||||
},
|
},
|
||||||
fontPreview: {
|
fontPreview: {
|
||||||
title: 'フォントプレビュー',
|
title: 'フォントプレビュー',
|
||||||
chinese: '中国語',
|
chinese: '中国語',
|
||||||
english: 'English',
|
english: 'English',
|
||||||
japanese: '日本語',
|
japanese: '日本語',
|
||||||
korean: '韓国語',
|
korean: '韓国語',
|
||||||
chineseText: '静夜思 床前明月光 疑是地上霜',
|
chineseText: '静夜思 床前明月光 疑是地上霜',
|
||||||
englishText: 'The quick brown fox jumps over the lazy dog',
|
englishText: 'The quick brown fox jumps over the lazy dog',
|
||||||
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
||||||
koreanText: '가나다라마 바사아자차 카타파하'
|
koreanText: '가나다라마 바사아자차 카타파하'
|
||||||
}
|
},
|
||||||
},
|
gpuAcceleration: 'GPUアクセラレーション',
|
||||||
playback: {
|
gpuAccelerationDesc:
|
||||||
quality: '音質設定',
|
'ハードウェアアクセラレーションを有効または無効にします。レンダリングパフォーマンスを向上させますが、GPU負荷が増える可能性があります',
|
||||||
qualityDesc: '音楽再生の音質を選択(NetEase Cloud VIP)',
|
gpuAccelerationRestart: 'GPUアクセラレーション設定の変更はアプリの再起動後に有効になります',
|
||||||
qualityOptions: {
|
gpuAccelerationChangeSuccess:
|
||||||
standard: '標準',
|
'GPUアクセラレーション設定を更新しました。アプリの再起動後に有効になります',
|
||||||
higher: '高音質',
|
gpuAccelerationChangeError: 'GPUアクセラレーション設定の更新に失敗しました',
|
||||||
exhigh: '超高音質',
|
tabletMode: 'タブレットモード',
|
||||||
lossless: 'ロスレス',
|
tabletModeDesc:
|
||||||
hires: 'Hi-Res',
|
'タブレットモードを有効にすると、モバイルデバイスでPCスタイルのインターフェースを使用できます'
|
||||||
jyeffect: 'HD サラウンド',
|
},
|
||||||
sky: 'イマーシブサラウンド',
|
playback: {
|
||||||
dolby: 'Dolby Atmos',
|
quality: '音質設定',
|
||||||
jymaster: '超高解像度マスター'
|
qualityDesc: '音楽再生の音質を選択(NetEase Cloud VIP)',
|
||||||
},
|
qualityOptions: {
|
||||||
musicSources: '音源設定',
|
standard: '標準',
|
||||||
musicSourcesDesc: '音楽解析に使用する音源プラットフォームを選択',
|
higher: '高音質',
|
||||||
musicSourcesWarning: '少なくとも1つの音源プラットフォームを選択する必要があります',
|
exhigh: '超高音質',
|
||||||
musicUnblockEnable: '音楽解析を有効にする',
|
lossless: 'ロスレス',
|
||||||
musicUnblockEnableDesc: '有効にすると、再生できない音楽の解析を試みます',
|
hires: 'Hi-Res',
|
||||||
configureMusicSources: '音源を設定',
|
jyeffect: 'HD サラウンド',
|
||||||
selectedMusicSources: '選択された音源:',
|
sky: 'イマーシブサラウンド',
|
||||||
noMusicSources: '音源が選択されていません',
|
dolby: 'Dolby Atmos',
|
||||||
gdmusicInfo: 'GD音楽台は複数のプラットフォーム音源を自動解析し、最適な結果を自動選択できます',
|
jymaster: '超高解像度マスター'
|
||||||
autoPlay: '自動再生',
|
},
|
||||||
autoPlayDesc: 'アプリを再起動した際に自動的に再生を継続するかどうか',
|
musicSources: '音源設定',
|
||||||
showStatusBar: 'ステータスバーコントロール機能を表示するかどうか',
|
musicSourcesDesc: '音楽解析に使用する音源プラットフォームを選択',
|
||||||
showStatusBarContent: 'Macのステータスバーに音楽コントロール機能を表示できます(再起動後に有効)'
|
musicSourcesWarning: '少なくとも1つの音源プラットフォームを選択する必要があります',
|
||||||
},
|
musicUnblockEnable: '音楽解析を有効にする',
|
||||||
application: {
|
musicUnblockEnableDesc: '有効にすると、再生できない音楽の解析を試みます',
|
||||||
closeAction: '閉じる動作',
|
configureMusicSources: '音源を設定',
|
||||||
closeActionDesc: 'ウィンドウを閉じる際の動作を選択',
|
selectedMusicSources: '選択された音源:',
|
||||||
closeOptions: {
|
noMusicSources: '音源が選択されていません',
|
||||||
ask: '毎回確認',
|
gdmusicInfo: 'GD音楽台は複数のプラットフォーム音源を自動解析し、最適な結果を自動選択できます',
|
||||||
minimize: 'トレイに最小化',
|
autoPlay: '自動再生',
|
||||||
close: '直接終了'
|
autoPlayDesc: 'アプリを再起動した際に自動的に再生を継続するかどうか',
|
||||||
},
|
audioDevice: 'オーディオ出力デバイス',
|
||||||
shortcut: 'ショートカット設定',
|
audioDeviceDesc: 'スピーカー、ヘッドホン、Bluetoothデバイスなどの出力先を選択',
|
||||||
shortcutDesc: 'グローバルショートカットをカスタマイズ',
|
testAudio: 'テスト',
|
||||||
download: 'ダウンロード管理',
|
selectAudioDevice: '出力デバイスを選択',
|
||||||
downloadDesc: 'ダウンロードリストボタンを常に表示するかどうか',
|
showStatusBar: 'ステータスバーコントロール機能を表示するかどうか',
|
||||||
unlimitedDownload: '無制限ダウンロード',
|
showStatusBarContent:
|
||||||
unlimitedDownloadDesc: '有効にすると音楽を無制限でダウンロードします(ダウンロード失敗の可能性があります)。デフォルトは300曲制限',
|
'Macのステータスバーに音楽コントロール機能を表示できます(再起動後に有効)',
|
||||||
downloadPath: 'ダウンロードディレクトリ',
|
fallbackParser: '代替解析サービス (GD音楽台)',
|
||||||
downloadPathDesc: '音楽ファイルのダウンロード場所を選択',
|
fallbackParserDesc:
|
||||||
remoteControl: 'リモートコントロール',
|
'「GD音楽台」にチェックが入っていて、通常の音源で再生できない場合、このサービスが使用されます。',
|
||||||
remoteControlDesc: 'リモートコントロール機能を設定'
|
parserGD: 'GD 音楽台 (内蔵)',
|
||||||
},
|
parserCustom: 'カスタム API',
|
||||||
network: {
|
sourceLabels: {
|
||||||
apiPort: '音楽APIポート',
|
migu: 'Migu',
|
||||||
apiPortDesc: '変更後はアプリの再起動が必要です',
|
kugou: 'Kugou',
|
||||||
proxy: 'プロキシ設定',
|
kuwo: 'Kuwo',
|
||||||
proxyDesc: '音楽にアクセスできない場合はプロキシを有効にできます',
|
pyncmd: 'NetEase (内蔵)',
|
||||||
proxyHost: 'プロキシアドレス',
|
qq: 'QQ Music',
|
||||||
proxyHostPlaceholder: 'プロキシアドレスを入力してください',
|
joox: 'JOOX',
|
||||||
proxyPort: 'プロキシポート',
|
bilibili: 'Bilibili',
|
||||||
proxyPortPlaceholder: 'プロキシポートを入力してください',
|
gdmusic: 'GD 音楽台',
|
||||||
realIP: 'realIP設定',
|
lxMusic: 'LX Music',
|
||||||
realIPDesc: '制限により、このプロジェクトは海外での使用が制限されます。realIPパラメータを使用して国内IPを渡すことで解決できます',
|
custom: 'カスタム API'
|
||||||
messages: {
|
},
|
||||||
proxySuccess: 'プロキシ設定を保存しました。アプリ再起動後に有効になります',
|
customApi: {
|
||||||
proxyError: '入力が正しいかどうか確認してください',
|
sectionTitle: 'カスタム API 設定',
|
||||||
realIPSuccess: '実IPアドレス設定を保存しました',
|
enableHint:
|
||||||
realIPError: '有効なIPアドレスを入力してください'
|
'カスタム API を有効にするには、まずカスタム API をインポートする必要があります。',
|
||||||
}
|
importConfig: 'JSON設定をインポート',
|
||||||
},
|
currentSource: '現在の音源',
|
||||||
system: {
|
notImported: 'カスタム音源はまだインポートされていません。',
|
||||||
cache: 'キャッシュ管理',
|
importSuccess: '音源のインポートに成功しました: {name}',
|
||||||
cacheDesc: 'キャッシュをクリア',
|
importFailed: 'インポートに失敗しました: {message}',
|
||||||
cacheClearTitle: 'クリアするキャッシュタイプを選択してください:',
|
status: {
|
||||||
cacheTypes: {
|
imported: 'カスタム音源インポート済み',
|
||||||
history: {
|
notImported: '未インポート'
|
||||||
label: '再生履歴',
|
}
|
||||||
description: '再生した楽曲の記録をクリア'
|
},
|
||||||
},
|
lxMusic: {
|
||||||
favorite: {
|
tabs: {
|
||||||
label: 'お気に入り記録',
|
sources: '音源選択',
|
||||||
description: 'ローカルのお気に入り楽曲記録をクリア(クラウドのお気に入りには影響しません)'
|
lxMusic: '落雪音源',
|
||||||
},
|
customApi: 'カスタムAPI'
|
||||||
user: {
|
},
|
||||||
label: 'ユーザーデータ',
|
scripts: {
|
||||||
description: 'ログイン情報とユーザー関連データをクリア'
|
title: 'インポート済みのスクリプト',
|
||||||
},
|
importLocal: 'ローカルインポート',
|
||||||
settings: {
|
importOnline: 'オンラインインポート',
|
||||||
label: 'アプリ設定',
|
urlPlaceholder: '落雪音源スクリプトのURLを入力',
|
||||||
description: 'アプリのすべてのカスタム設定をクリア'
|
importBtn: 'インポート',
|
||||||
},
|
empty: 'インポート済みの落雪音源はありません',
|
||||||
downloads: {
|
notConfigured: '未設定(落雪音源タブで設定してください)',
|
||||||
label: 'ダウンロード記録',
|
importHint: '互換性のあるカスタムAPIプラグインをインポートして音源を拡張します',
|
||||||
description: 'ダウンロード履歴をクリア(ダウンロード済みファイルは削除されません)'
|
noScriptWarning: '先に落雪音源スクリプトをインポートしてください',
|
||||||
},
|
noSelectionWarning: '先に落雪音源を選択してください',
|
||||||
resources: {
|
notFound: '音源が存在しません',
|
||||||
label: '音楽リソース',
|
switched: '音源を切り替えました: {name}',
|
||||||
description: '読み込み済みの音楽ファイル、歌詞などのリソースキャッシュをクリア'
|
deleted: '音源を削除しました: {name}',
|
||||||
},
|
enterUrl: 'スクリプトURLを入力してください',
|
||||||
lyrics: {
|
invalidUrl: '無効なURL形式',
|
||||||
label: '歌詞リソース',
|
invalidScript: '無効な落雪音源スクリプトです(globalThis.lxが見つかりません)',
|
||||||
description: '読み込み済みの歌詞リソースキャッシュをクリア'
|
nameRequired: '名前を空にすることはできません',
|
||||||
}
|
renameSuccess: '名前を変更しました'
|
||||||
},
|
}
|
||||||
restart: '再起動',
|
}
|
||||||
restartDesc: 'アプリを再起動',
|
},
|
||||||
messages: {
|
application: {
|
||||||
clearSuccess: 'クリア成功。一部の設定は再起動後に有効になります'
|
closeAction: '閉じる動作',
|
||||||
}
|
closeActionDesc: 'ウィンドウを閉じる際の動作を選択',
|
||||||
},
|
closeOptions: {
|
||||||
about: {
|
ask: '毎回確認',
|
||||||
version: 'バージョン',
|
minimize: 'トレイに最小化',
|
||||||
checkUpdate: '更新を確認',
|
close: '直接終了'
|
||||||
checking: '確認中...',
|
},
|
||||||
latest: '現在最新バージョンです',
|
shortcut: 'ショートカット設定',
|
||||||
hasUpdate: '新しいバージョンが見つかりました',
|
shortcutDesc: 'グローバルショートカットをカスタマイズ',
|
||||||
gotoUpdate: '更新へ',
|
download: 'ダウンロード管理',
|
||||||
gotoGithub: 'Githubへ',
|
downloadDesc: 'ダウンロードリストボタンを常に表示するかどうか',
|
||||||
author: '作者',
|
unlimitedDownload: '無制限ダウンロード',
|
||||||
authorDesc: 'algerkong スターを付けてください🌟',
|
unlimitedDownloadDesc:
|
||||||
messages: {
|
'有効にすると音楽を無制限でダウンロードします(ダウンロード失敗の可能性があります)。デフォルトは300曲制限',
|
||||||
checkError: '更新確認に失敗しました。後でもう一度お試しください'
|
downloadPath: 'ダウンロードディレクトリ',
|
||||||
}
|
downloadPathDesc: '音楽ファイルのダウンロード場所を選択',
|
||||||
},
|
remoteControl: 'リモートコントロール',
|
||||||
validation: {
|
remoteControlDesc: 'リモートコントロール機能を設定'
|
||||||
selectProxyProtocol: 'プロキシプロトコルを選択してください',
|
},
|
||||||
proxyHost: 'プロキシアドレスを入力してください',
|
network: {
|
||||||
portNumber: '有効なポート番号を入力してください(1-65535)'
|
apiPort: '音楽APIポート',
|
||||||
},
|
apiPortDesc: '変更後はアプリの再起動が必要です',
|
||||||
lyricSettings: {
|
proxy: 'プロキシ設定',
|
||||||
title: '歌詞設定',
|
proxyDesc: '音楽にアクセスできない場合はプロキシを有効にできます',
|
||||||
tabs: {
|
proxyHost: 'プロキシアドレス',
|
||||||
display: '表示',
|
proxyHostPlaceholder: 'プロキシアドレスを入力してください',
|
||||||
interface: 'インターフェース',
|
proxyPort: 'プロキシポート',
|
||||||
typography: 'テキスト',
|
proxyPortPlaceholder: 'プロキシポートを入力してください',
|
||||||
mobile: 'モバイル'
|
realIP: 'realIP設定',
|
||||||
},
|
realIPDesc:
|
||||||
pureMode: 'ピュアモード',
|
'制限により、このプロジェクトは海外での使用が制限されます。realIPパラメータを使用して国内IPを渡すことで解決できます',
|
||||||
hideCover: 'カバーを非表示',
|
messages: {
|
||||||
centerDisplay: '中央表示',
|
proxySuccess: 'プロキシ設定を保存しました。アプリ再起動後に有効になります',
|
||||||
showTranslation: '翻訳を表示',
|
proxyError: '入力が正しいかどうか確認してください',
|
||||||
hideLyrics: '歌詞を非表示',
|
realIPSuccess: '実IPアドレス設定を保存しました',
|
||||||
hidePlayBar: '再生バーを非表示',
|
realIPError: '有効なIPアドレスを入力してください'
|
||||||
hideMiniPlayBar: 'ミニ再生バーを非表示',
|
}
|
||||||
showMiniPlayBar: 'ミニ再生バーを表示',
|
},
|
||||||
backgroundTheme: '背景テーマ',
|
system: {
|
||||||
themeOptions: {
|
cache: 'キャッシュ管理',
|
||||||
default: 'デフォルト',
|
cacheDesc: 'キャッシュをクリア',
|
||||||
light: 'ライト',
|
diskCache: 'ディスクキャッシュ',
|
||||||
dark: 'ダーク'
|
diskCacheDesc: '再生した音楽と歌詞をローカルディスクへ保存し、再生速度を向上します',
|
||||||
},
|
cacheDirectory: 'キャッシュディレクトリ',
|
||||||
fontSize: 'フォントサイズ',
|
cacheDirectoryDesc: '音楽・歌詞キャッシュの保存先を指定',
|
||||||
fontSizeMarks: {
|
selectDirectory: 'ディレクトリ選択',
|
||||||
small: '小',
|
openDirectory: 'ディレクトリを開く',
|
||||||
medium: '中',
|
cacheMaxSize: 'キャッシュ上限',
|
||||||
large: '大'
|
cacheMaxSizeDesc: '上限に達すると古いキャッシュを自動削除します',
|
||||||
},
|
cleanupPolicy: 'クリーンアップポリシー',
|
||||||
letterSpacing: '文字間隔',
|
cleanupPolicyDesc: 'キャッシュ上限到達時の自動削除ルール',
|
||||||
letterSpacingMarks: {
|
cleanupPolicyOptions: {
|
||||||
compact: 'コンパクト',
|
lru: '最近未使用優先',
|
||||||
default: 'デフォルト',
|
fifo: '先入れ先出し'
|
||||||
loose: 'ゆったり'
|
},
|
||||||
},
|
cacheStatus: 'キャッシュ状態',
|
||||||
lineHeight: '行の高さ',
|
cacheStatusDesc: '使用量 {used} / 上限 {limit}',
|
||||||
lineHeightMarks: {
|
cacheStatusDetail: '音楽 {musicCount} 曲、歌詞 {lyricCount} 曲',
|
||||||
compact: 'コンパクト',
|
manageDiskCache: '手動キャッシュクリア',
|
||||||
default: 'デフォルト',
|
manageDiskCacheDesc: '種類ごとにキャッシュを削除',
|
||||||
loose: 'ゆったり'
|
clearMusicCache: '音楽キャッシュを削除',
|
||||||
},
|
clearLyricCache: '歌詞キャッシュを削除',
|
||||||
mobileLayout: 'モバイルレイアウト',
|
clearAllCache: 'すべて削除',
|
||||||
layoutOptions: {
|
switchDirectoryMigrateTitle: '既存キャッシュを検出',
|
||||||
default: 'デフォルト',
|
switchDirectoryMigrateContent: '旧ディレクトリのキャッシュを新ディレクトリへ移行しますか?',
|
||||||
ios: 'iOSスタイル',
|
switchDirectoryMigrateConfirm: '移行する',
|
||||||
android: 'Androidスタイル'
|
switchDirectoryDestroyTitle: '旧キャッシュを削除',
|
||||||
},
|
switchDirectoryDestroyContent: '移行しない場合、旧ディレクトリのキャッシュを削除しますか?',
|
||||||
mobileCoverStyle: 'カバースタイル',
|
switchDirectoryDestroyConfirm: '削除する',
|
||||||
coverOptions: {
|
switchDirectoryKeepOld: '旧キャッシュを保持',
|
||||||
record: 'レコード',
|
cacheClearTitle: 'クリアするキャッシュタイプを選択してください:',
|
||||||
square: '正方形',
|
cacheTypes: {
|
||||||
full: 'フルスクリーン'
|
history: {
|
||||||
},
|
label: '再生履歴',
|
||||||
lyricLines: '歌詞行数',
|
description: '再生した楽曲の記録をクリア'
|
||||||
mobileUnavailable: 'この設定はモバイルでのみ利用可能です'
|
},
|
||||||
},
|
favorite: {
|
||||||
themeColor: {
|
label: 'お気に入り記録',
|
||||||
title: '歌詞テーマカラー',
|
description: 'ローカルのお気に入り楽曲記録をクリア(クラウドのお気に入りには影響しません)'
|
||||||
presetColors: 'プリセットカラー',
|
},
|
||||||
customColor: 'カスタムカラー',
|
user: {
|
||||||
preview: 'プレビュー効果',
|
label: 'ユーザーデータ',
|
||||||
previewText: '歌詞効果',
|
description: 'ログイン情報とユーザー関連データをクリア'
|
||||||
colorNames: {
|
},
|
||||||
'spotify-green': 'Spotify グリーン',
|
settings: {
|
||||||
'apple-blue': 'Apple ブルー',
|
label: 'アプリ設定',
|
||||||
'youtube-red': 'YouTube レッド',
|
description: 'アプリのすべてのカスタム設定をクリア'
|
||||||
orange: 'バイタルオレンジ',
|
},
|
||||||
purple: 'ミステリアスパープル',
|
downloads: {
|
||||||
pink: 'サクラピンク'
|
label: 'ダウンロード記録',
|
||||||
},
|
description: 'ダウンロード履歴をクリア(ダウンロード済みファイルは削除されません)'
|
||||||
tooltips: {
|
},
|
||||||
openColorPicker: 'カラーパレットを開く',
|
resources: {
|
||||||
closeColorPicker: 'カラーパレットを閉じる'
|
label: '音楽リソース',
|
||||||
},
|
description: '読み込み済みの音楽ファイル、歌詞などのリソースキャッシュをクリア'
|
||||||
placeholder: '#1db954'
|
},
|
||||||
},
|
lyrics: {
|
||||||
shortcutSettings: {
|
label: '歌詞リソース',
|
||||||
title: 'ショートカット設定',
|
description: '読み込み済みの歌詞リソースキャッシュをクリア'
|
||||||
shortcut: 'ショートカット',
|
}
|
||||||
shortcutDesc: 'ショートカットをカスタマイズ',
|
},
|
||||||
shortcutConflict: 'ショートカットの競合',
|
restart: '再起動',
|
||||||
inputPlaceholder: 'クリックしてショートカットを入力',
|
restartDesc: 'アプリを再起動',
|
||||||
resetShortcuts: 'デフォルトに戻す',
|
messages: {
|
||||||
disableAll: 'すべて無効',
|
clearSuccess: 'クリア成功。一部の設定は再起動後に有効になります',
|
||||||
enableAll: 'すべて有効',
|
diskCacheClearSuccess: 'ディスクキャッシュを削除しました',
|
||||||
togglePlay: '再生/一時停止',
|
diskCacheClearFailed: 'ディスクキャッシュの削除に失敗しました',
|
||||||
prevPlay: '前の曲',
|
diskCacheStatsLoadFailed: 'キャッシュ状態の取得に失敗しました',
|
||||||
nextPlay: '次の曲',
|
switchDirectorySuccess: 'キャッシュディレクトリを切り替えました(旧キャッシュは保持)',
|
||||||
volumeUp: '音量を上げる',
|
switchDirectoryFailed: 'キャッシュディレクトリの切り替えに失敗しました',
|
||||||
volumeDown: '音量を下げる',
|
switchDirectoryMigrated: 'キャッシュディレクトリを切り替え、{count} 件を移行しました',
|
||||||
toggleFavorite: 'お気に入り/お気に入り解除',
|
switchDirectoryDestroyed:
|
||||||
toggleWindow: 'ウィンドウ表示/非表示',
|
'キャッシュディレクトリを切り替え、旧キャッシュ {count} 件を削除しました'
|
||||||
scopeGlobal: 'グローバル',
|
}
|
||||||
scopeApp: 'アプリ内',
|
},
|
||||||
enabled: '有効',
|
about: {
|
||||||
disabled: '無効',
|
version: 'バージョン',
|
||||||
messages: {
|
checkUpdate: '更新を確認',
|
||||||
resetSuccess: 'デフォルトのショートカットに戻しました。保存を忘れずに',
|
checking: '確認中...',
|
||||||
conflict: '競合するショートカットがあります。再設定してください',
|
latest: '現在最新バージョンです',
|
||||||
saveSuccess: 'ショートカット設定を保存しました',
|
hasUpdate: '新しいバージョンが見つかりました',
|
||||||
saveError: 'ショートカットの保存に失敗しました。再試行してください',
|
gotoUpdate: '更新へ',
|
||||||
cancelEdit: '変更をキャンセルしました',
|
manualUpdate: '手動更新',
|
||||||
disableAll: 'すべてのショートカットを無効にしました。保存を忘れずに',
|
gotoGithub: 'Githubへ',
|
||||||
enableAll: 'すべてのショートカットを有効にしました。保存を忘れずに'
|
author: '作者',
|
||||||
}
|
authorDesc: 'algerkong スターを付けてください🌟',
|
||||||
},
|
messages: {
|
||||||
remoteControl: {
|
checkError: '更新確認に失敗しました。後でもう一度お試しください'
|
||||||
title: 'リモートコントロール',
|
}
|
||||||
enable: 'リモートコントロールを有効にする',
|
},
|
||||||
port: 'サービスポート',
|
validation: {
|
||||||
allowedIps: '許可されたIPアドレス',
|
selectProxyProtocol: 'プロキシプロトコルを選択してください',
|
||||||
addIp: 'IPを追加',
|
proxyHost: 'プロキシアドレスを入力してください',
|
||||||
emptyListHint: '空のリストはすべてのIPアクセスを許可することを意味します',
|
portNumber: '有効なポート番号を入力してください(1-65535)'
|
||||||
saveSuccess: 'リモートコントロール設定を保存しました',
|
},
|
||||||
accessInfo: 'リモートコントロールアクセスアドレス:'
|
lyricSettings: {
|
||||||
},
|
title: '歌詞設定',
|
||||||
cookie: {
|
tabs: {
|
||||||
title: 'Cookie設定',
|
display: '表示',
|
||||||
description: 'NetEase Cloud MusicのCookieを入力してください:',
|
interface: 'インターフェース',
|
||||||
placeholder: '完全なCookieを貼り付けてください...',
|
typography: 'テキスト',
|
||||||
help: {
|
background: '背景',
|
||||||
format: 'Cookieは通常「MUSIC_U=」で始まります',
|
mobile: 'モバイル'
|
||||||
source: 'ブラウザの開発者ツールのネットワークリクエストから取得できます',
|
},
|
||||||
storage: 'Cookie設定後、自動的にローカルストレージに保存されます'
|
pureMode: 'ピュアモード',
|
||||||
},
|
hideCover: 'カバーを非表示',
|
||||||
action: {
|
centerDisplay: '中央表示',
|
||||||
save: 'Cookieを保存',
|
showTranslation: '翻訳を表示',
|
||||||
paste: '貼り付け',
|
hideLyrics: '歌詞を非表示',
|
||||||
clear: 'クリア'
|
hidePlayBar: '再生バーを非表示',
|
||||||
},
|
hideMiniPlayBar: 'ミニ再生バーを非表示',
|
||||||
validation: {
|
showMiniPlayBar: 'ミニ再生バーを表示',
|
||||||
required: 'Cookieを入力してください',
|
backgroundTheme: '背景テーマ',
|
||||||
format: 'Cookie形式が正しくない可能性があります。MUSIC_Uが含まれているか確認してください'
|
themeOptions: {
|
||||||
},
|
default: 'デフォルト',
|
||||||
message: {
|
light: 'ライト',
|
||||||
saveSuccess: 'Cookieの保存に成功しました',
|
dark: 'ダーク'
|
||||||
saveError: 'Cookieの保存に失敗しました',
|
},
|
||||||
pasteSuccess: '貼り付けに成功しました',
|
fontSize: 'フォントサイズ',
|
||||||
pasteError: '貼り付けに失敗しました。手動でコピーしてください'
|
fontSizeMarks: {
|
||||||
},
|
small: '小',
|
||||||
info: {
|
medium: '中',
|
||||||
length: '現在の長さ:{length} 文字'
|
large: '大'
|
||||||
}
|
},
|
||||||
}
|
fontWeight: 'フォントの太さ',
|
||||||
};
|
fontWeightMarks: {
|
||||||
|
thin: '細い',
|
||||||
|
normal: '通常',
|
||||||
|
bold: '太い'
|
||||||
|
},
|
||||||
|
letterSpacing: '文字間隔',
|
||||||
|
letterSpacingMarks: {
|
||||||
|
compact: 'コンパクト',
|
||||||
|
default: 'デフォルト',
|
||||||
|
loose: 'ゆったり'
|
||||||
|
},
|
||||||
|
lineHeight: '行の高さ',
|
||||||
|
lineHeightMarks: {
|
||||||
|
compact: 'コンパクト',
|
||||||
|
default: 'デフォルト',
|
||||||
|
loose: 'ゆったり'
|
||||||
|
},
|
||||||
|
contentWidth: 'コンテンツ幅',
|
||||||
|
mobileLayout: 'モバイルレイアウト',
|
||||||
|
layoutOptions: {
|
||||||
|
default: 'デフォルト',
|
||||||
|
ios: 'iOSスタイル',
|
||||||
|
android: 'Androidスタイル'
|
||||||
|
},
|
||||||
|
mobileCoverStyle: 'カバースタイル',
|
||||||
|
coverOptions: {
|
||||||
|
record: 'レコード',
|
||||||
|
square: '正方形',
|
||||||
|
full: 'フルスクリーン'
|
||||||
|
},
|
||||||
|
lyricLines: '歌詞行数',
|
||||||
|
mobileUnavailable: 'この設定はモバイルでのみ利用可能です',
|
||||||
|
// 背景設定
|
||||||
|
background: {
|
||||||
|
useCustomBackground: 'カスタム背景を使用',
|
||||||
|
backgroundMode: '背景モード',
|
||||||
|
modeOptions: {
|
||||||
|
solid: '単色',
|
||||||
|
gradient: 'グラデーション',
|
||||||
|
image: '画像',
|
||||||
|
css: 'CSS'
|
||||||
|
},
|
||||||
|
solidColor: '色を選択',
|
||||||
|
presetColors: 'プリセットカラー',
|
||||||
|
customColor: 'カスタムカラー',
|
||||||
|
gradientEditor: 'グラデーションエディター',
|
||||||
|
gradientColors: 'グラデーションカラー',
|
||||||
|
gradientDirection: 'グラデーション方向',
|
||||||
|
directionOptions: {
|
||||||
|
toBottom: '上から下',
|
||||||
|
toRight: '左から右',
|
||||||
|
toBottomRight: '左上から右下',
|
||||||
|
angle45: '45度',
|
||||||
|
toTop: '下から上',
|
||||||
|
toLeft: '右から左'
|
||||||
|
},
|
||||||
|
addColor: '色を追加',
|
||||||
|
removeColor: '色を削除',
|
||||||
|
imageUpload: '画像をアップロード',
|
||||||
|
imagePreview: '画像プレビュー',
|
||||||
|
clearImage: '画像をクリア',
|
||||||
|
imageBlur: 'ぼかし',
|
||||||
|
imageBrightness: '明るさ',
|
||||||
|
customCss: 'カスタム CSS スタイル',
|
||||||
|
customCssPlaceholder: 'CSSスタイルを入力、例: background: linear-gradient(...)',
|
||||||
|
customCssHelp: '任意のCSS background プロパティをサポート',
|
||||||
|
reset: 'デフォルトにリセット',
|
||||||
|
fileSizeLimit: '画像サイズ制限: 20MB',
|
||||||
|
invalidImageFormat: '無効な画像形式',
|
||||||
|
imageTooLarge: '画像が大きすぎます。20MB未満の画像を選択してください'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
translationEngine: '歌詞翻訳エンジン',
|
||||||
|
translationEngineOptions: {
|
||||||
|
none: 'オフ',
|
||||||
|
opencc: 'OpenCC 繁体字化'
|
||||||
|
},
|
||||||
|
themeColor: {
|
||||||
|
title: '歌詞テーマカラー',
|
||||||
|
presetColors: 'プリセットカラー',
|
||||||
|
customColor: 'カスタムカラー',
|
||||||
|
preview: 'プレビュー効果',
|
||||||
|
previewText: '歌詞効果',
|
||||||
|
colorNames: {
|
||||||
|
'spotify-green': 'Spotify グリーン',
|
||||||
|
'apple-blue': 'Apple ブルー',
|
||||||
|
'youtube-red': 'YouTube レッド',
|
||||||
|
orange: 'バイタルオレンジ',
|
||||||
|
purple: 'ミステリアスパープル',
|
||||||
|
pink: 'サクラピンク'
|
||||||
|
},
|
||||||
|
tooltips: {
|
||||||
|
openColorPicker: 'カラーパレットを開く',
|
||||||
|
closeColorPicker: 'カラーパレットを閉じる'
|
||||||
|
},
|
||||||
|
placeholder: '#1db954'
|
||||||
|
},
|
||||||
|
shortcutSettings: {
|
||||||
|
title: 'ショートカット設定',
|
||||||
|
shortcut: 'ショートカット',
|
||||||
|
shortcutDesc: 'ショートカットをカスタマイズ',
|
||||||
|
summaryReady: 'ショートカット設定は保存可能です',
|
||||||
|
summaryRecording: '新しいショートカットを記録中です',
|
||||||
|
summaryBlocked: '競合または無効な項目を修正してください',
|
||||||
|
platformHintMac: 'macOS では CommandOrControl は Cmd と表示されます',
|
||||||
|
platformHintWindows: 'Windows では CommandOrControl は Ctrl と表示されます',
|
||||||
|
platformHintLinux: 'Linux では CommandOrControl は Ctrl と表示されます',
|
||||||
|
platformHintGeneric: 'CommandOrControl はOSに応じて自動変換されます',
|
||||||
|
enabledCount: '有効',
|
||||||
|
recordingTip: '欄をクリックしてキー入力。Escでキャンセル、Deleteで無効化',
|
||||||
|
shortcutConflict: 'ショートカットの競合',
|
||||||
|
inputPlaceholder: 'クリックしてショートカットを入力',
|
||||||
|
clickToRecord: 'クリックしてキーを入力',
|
||||||
|
recording: '記録中...',
|
||||||
|
resetShortcuts: 'デフォルトに戻す',
|
||||||
|
restoreSingle: '復元',
|
||||||
|
disableAll: 'すべて無効',
|
||||||
|
enableAll: 'すべて有効',
|
||||||
|
groups: {
|
||||||
|
playback: '再生操作',
|
||||||
|
sound: '音量とお気に入り',
|
||||||
|
window: 'ウィンドウ'
|
||||||
|
},
|
||||||
|
togglePlay: '再生/一時停止',
|
||||||
|
togglePlayDesc: '現在の再生状態を切り替えます',
|
||||||
|
prevPlay: '前の曲',
|
||||||
|
prevPlayDesc: '前の曲に切り替えます',
|
||||||
|
nextPlay: '次の曲',
|
||||||
|
nextPlayDesc: '次の曲に切り替えます',
|
||||||
|
volumeUp: '音量を上げる',
|
||||||
|
volumeUpDesc: 'プレイヤー音量を上げます',
|
||||||
|
volumeDown: '音量を下げる',
|
||||||
|
volumeDownDesc: 'プレイヤー音量を下げます',
|
||||||
|
toggleFavorite: 'お気に入り/お気に入り解除',
|
||||||
|
toggleFavoriteDesc: '現在の曲をお気に入り切り替えします',
|
||||||
|
toggleWindow: 'ウィンドウ表示/非表示',
|
||||||
|
toggleWindowDesc: 'メインウィンドウを表示/非表示にします',
|
||||||
|
scopeGlobal: 'グローバル',
|
||||||
|
scopeApp: 'アプリ内',
|
||||||
|
enabled: '有効',
|
||||||
|
disabled: '無効',
|
||||||
|
issueInvalid: '無効な組み合わせ',
|
||||||
|
issueReserved: 'システム予約',
|
||||||
|
registrationWarningTitle: '以下のショートカットは登録できませんでした',
|
||||||
|
registrationOccupied: 'システムまたは他アプリで使用中',
|
||||||
|
registrationInvalid: 'ショートカット形式が無効',
|
||||||
|
messages: {
|
||||||
|
resetSuccess: 'デフォルトのショートカットに戻しました。保存を忘れずに',
|
||||||
|
conflict: '競合するショートカットがあります。再設定してください',
|
||||||
|
saveSuccess: 'ショートカット設定を保存しました',
|
||||||
|
saveError: 'ショートカットの保存に失敗しました。再試行してください',
|
||||||
|
saveValidationError: 'ショートカット検証に失敗しました。内容を確認してください',
|
||||||
|
partialRegistered: '保存しましたが、一部のグローバルショートカットは登録されませんでした',
|
||||||
|
cancelEdit: '変更をキャンセルしました',
|
||||||
|
clearToDisable: 'このショートカットを無効にしました',
|
||||||
|
invalidShortcut: '無効なショートカットです。有効な組み合わせを入力してください',
|
||||||
|
disableAll: 'すべてのショートカットを無効にしました。保存を忘れずに',
|
||||||
|
enableAll: 'すべてのショートカットを有効にしました。保存を忘れずに'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remoteControl: {
|
||||||
|
title: 'リモートコントロール',
|
||||||
|
enable: 'リモートコントロールを有効にする',
|
||||||
|
port: 'サービスポート',
|
||||||
|
allowedIps: '許可されたIPアドレス',
|
||||||
|
addIp: 'IPを追加',
|
||||||
|
emptyListHint: '空のリストはすべてのIPアクセスを許可することを意味します',
|
||||||
|
saveSuccess: 'リモートコントロール設定を保存しました',
|
||||||
|
accessInfo: 'リモートコントロールアクセスアドレス:'
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
title: 'Cookie設定',
|
||||||
|
description: 'NetEase Cloud MusicのCookieを入力してください:',
|
||||||
|
placeholder: '完全なCookieを貼り付けてください...',
|
||||||
|
help: {
|
||||||
|
format: 'Cookieは通常「MUSIC_U=」で始まります',
|
||||||
|
source: 'ブラウザの開発者ツールのネットワークリクエストから取得できます',
|
||||||
|
storage: 'Cookie設定後、自動的にローカルストレージに保存されます'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
save: 'Cookieを保存',
|
||||||
|
paste: '貼り付け',
|
||||||
|
clear: 'クリア'
|
||||||
|
},
|
||||||
|
validation: {
|
||||||
|
required: 'Cookieを入力してください',
|
||||||
|
format: 'Cookie形式が正しくない可能性があります。MUSIC_Uが含まれているか確認してください'
|
||||||
|
},
|
||||||
|
message: {
|
||||||
|
saveSuccess: 'Cookieの保存に成功しました',
|
||||||
|
saveError: 'Cookieの保存に失敗しました',
|
||||||
|
pasteSuccess: '貼り付けに成功しました',
|
||||||
|
pasteError: '貼り付けに失敗しました。手動でコピーしてください'
|
||||||
|
},
|
||||||
|
info: {
|
||||||
|
length: '現在の長さ:{length} 文字'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export default {
|
|||||||
play: '再生',
|
play: '再生',
|
||||||
playNext: '次に再生',
|
playNext: '次に再生',
|
||||||
download: '楽曲をダウンロード',
|
download: '楽曲をダウンロード',
|
||||||
|
downloadLyric: '歌詞をダウンロード',
|
||||||
addToPlaylist: 'プレイリストに追加',
|
addToPlaylist: 'プレイリストに追加',
|
||||||
favorite: 'いいね',
|
favorite: 'いいね',
|
||||||
unfavorite: 'いいね解除',
|
unfavorite: 'いいね解除',
|
||||||
@@ -15,7 +16,11 @@ export default {
|
|||||||
downloadFailed: 'ダウンロードに失敗しました',
|
downloadFailed: 'ダウンロードに失敗しました',
|
||||||
downloadQueued: 'ダウンロードキューに追加しました',
|
downloadQueued: 'ダウンロードキューに追加しました',
|
||||||
addedToNextPlay: '次の再生に追加しました',
|
addedToNextPlay: '次の再生に追加しました',
|
||||||
getUrlFailed: '音楽ダウンロードアドレスの取得に失敗しました。ログインしているか確認してください'
|
getUrlFailed:
|
||||||
|
'音楽ダウンロードアドレスの取得に失敗しました。ログインしているか確認してください',
|
||||||
|
noLyric: 'この楽曲には歌詞がありません',
|
||||||
|
lyricDownloaded: '歌詞のダウンロードが完了しました',
|
||||||
|
lyricDownloadFailed: '歌詞のダウンロードに失敗しました'
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
dislike: {
|
dislike: {
|
||||||
@@ -25,4 +30,4 @@ export default {
|
|||||||
negativeText: 'キャンセル'
|
negativeText: 'キャンセル'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ export default {
|
|||||||
trackCount: '{count}曲',
|
trackCount: '{count}曲',
|
||||||
playCount: '{count}回再生'
|
playCount: '{count}回再生'
|
||||||
},
|
},
|
||||||
|
tabs: {
|
||||||
|
created: '作成',
|
||||||
|
favorite: 'お気に入り',
|
||||||
|
album: 'アルバム'
|
||||||
|
},
|
||||||
ranking: {
|
ranking: {
|
||||||
title: '聴取ランキング',
|
title: '聴取ランキング',
|
||||||
playCount: '{count}回'
|
playCount: '{count}回'
|
||||||
@@ -45,4 +50,4 @@ export default {
|
|||||||
deleteSuccess: '削除成功',
|
deleteSuccess: '削除成功',
|
||||||
deleteFailed: '削除失敗'
|
deleteFailed: '削除失敗'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ export default {
|
|||||||
hotSongs: '인기 곡',
|
hotSongs: '인기 곡',
|
||||||
albums: '앨범',
|
albums: '앨범',
|
||||||
description: '아티스트 소개'
|
description: '아티스트 소개'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export default {
|
|||||||
hide: '숨기기',
|
hide: '숨기기',
|
||||||
confirm: '확인',
|
confirm: '확인',
|
||||||
cancel: '취소',
|
cancel: '취소',
|
||||||
|
clear: '비우기',
|
||||||
configure: '구성',
|
configure: '구성',
|
||||||
open: '열기',
|
open: '열기',
|
||||||
modify: '수정',
|
modify: '수정',
|
||||||
@@ -27,6 +28,8 @@ export default {
|
|||||||
refresh: '새로고침',
|
refresh: '새로고침',
|
||||||
retry: '다시 시도',
|
retry: '다시 시도',
|
||||||
reset: '재설정',
|
reset: '재설정',
|
||||||
|
loadFailed: '로드 실패',
|
||||||
|
noData: '데이터 없음',
|
||||||
back: '뒤로',
|
back: '뒤로',
|
||||||
copySuccess: '클립보드에 복사됨',
|
copySuccess: '클립보드에 복사됨',
|
||||||
copyFailed: '복사 실패',
|
copyFailed: '복사 실패',
|
||||||
@@ -39,10 +42,13 @@ export default {
|
|||||||
viewMore: '더 보기',
|
viewMore: '더 보기',
|
||||||
noMore: '더 이상 없음',
|
noMore: '더 이상 없음',
|
||||||
selectAll: '전체 선택',
|
selectAll: '전체 선택',
|
||||||
|
playAll: '모두 재생',
|
||||||
expand: '펼치기',
|
expand: '펼치기',
|
||||||
collapse: '접기',
|
collapse: '접기',
|
||||||
songCount: '{count}곡',
|
songCount: '{count}곡',
|
||||||
language: '언어',
|
language: '언어',
|
||||||
|
today: '오늘',
|
||||||
|
yesterday: '어제',
|
||||||
tray: {
|
tray: {
|
||||||
show: '표시',
|
show: '표시',
|
||||||
quit: '종료',
|
quit: '종료',
|
||||||
@@ -53,4 +59,4 @@ export default {
|
|||||||
play: '재생',
|
play: '재생',
|
||||||
favorite: '즐겨찾기'
|
favorite: '즐겨찾기'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
|
more: '더 보기',
|
||||||
|
homeListItem: {
|
||||||
|
loading: '로딩 중...'
|
||||||
|
},
|
||||||
installApp: {
|
installApp: {
|
||||||
description: '앱을 설치하여 더 나은 경험을 얻으세요',
|
description: '앱을 설치하여 더 나은 경험을 얻으세요',
|
||||||
noPrompt: '다시 묻지 않기',
|
noPrompt: '다시 묻지 않기',
|
||||||
@@ -33,15 +37,22 @@ export default {
|
|||||||
title: '새 버전 발견',
|
title: '새 버전 발견',
|
||||||
currentVersion: '현재 버전',
|
currentVersion: '현재 버전',
|
||||||
cancel: '나중에 업데이트',
|
cancel: '나중에 업데이트',
|
||||||
|
checking: '업데이트 확인 중...',
|
||||||
prepareDownload: '다운로드 준비 중...',
|
prepareDownload: '다운로드 준비 중...',
|
||||||
downloading: '다운로드 중...',
|
downloading: '다운로드 중...',
|
||||||
|
readyToInstall: '업데이트 패키지 다운로드가 완료되었습니다. 지금 설치할 수 있습니다',
|
||||||
nowUpdate: '지금 업데이트',
|
nowUpdate: '지금 업데이트',
|
||||||
downloadFailed: '다운로드 실패, 다시 시도하거나 수동으로 다운로드해주세요',
|
downloadFailed: '다운로드 실패, 다시 시도하거나 수동으로 다운로드해주세요',
|
||||||
startFailed: '다운로드 시작 실패, 다시 시도하거나 수동으로 다운로드해주세요',
|
startFailed: '다운로드 시작 실패, 다시 시도하거나 수동으로 다운로드해주세요',
|
||||||
|
autoUpdateFailed: '자동 업데이트에 실패했습니다',
|
||||||
|
openOfficialSite: '공식 페이지에서 업데이트',
|
||||||
|
manualFallbackHint:
|
||||||
|
'자동 업데이트에 실패하면 공식 릴리스 페이지에서 최신 버전을 다운로드할 수 있습니다.',
|
||||||
noDownloadUrl: '현재 시스템에 적합한 설치 패키지를 찾을 수 없습니다. 수동으로 다운로드해주세요',
|
noDownloadUrl: '현재 시스템에 적합한 설치 패키지를 찾을 수 없습니다. 수동으로 다운로드해주세요',
|
||||||
installConfirmTitle: '업데이트 설치',
|
installConfirmTitle: '업데이트 설치',
|
||||||
installConfirmContent: '앱을 닫고 업데이트를 설치하시겠습니까?',
|
installConfirmContent: '앱을 닫고 업데이트를 설치하시겠습니까?',
|
||||||
manualInstallTip: '앱을 닫은 후 설치 프로그램이 정상적으로 나타나지 않으면 다운로드 폴더에서 파일을 찾아 수동으로 열어주세요.',
|
manualInstallTip:
|
||||||
|
'앱을 닫은 후 설치 프로그램이 정상적으로 나타나지 않으면 다운로드 폴더에서 파일을 찾아 수동으로 열어주세요.',
|
||||||
yesInstall: '지금 설치',
|
yesInstall: '지금 설치',
|
||||||
noThanks: '나중에 설치',
|
noThanks: '나중에 설치',
|
||||||
fileLocation: '파일 위치',
|
fileLocation: '파일 위치',
|
||||||
@@ -50,6 +61,31 @@ export default {
|
|||||||
copyFailed: '복사 실패',
|
copyFailed: '복사 실패',
|
||||||
backgroundDownload: '백그라운드 다운로드'
|
backgroundDownload: '백그라운드 다운로드'
|
||||||
},
|
},
|
||||||
|
disclaimer: {
|
||||||
|
title: '이용 안내',
|
||||||
|
warning:
|
||||||
|
'본 앱은 개발 테스트 버전으로 기능이 아직 미흡하며, 다수의 문제와 버그가 존재할 수 있습니다. 학습 및 교류 목적으로만 사용하십시오.',
|
||||||
|
item1:
|
||||||
|
'본 앱은 개인의 학습, 연구 및 기술 교류 목적으로만 사용되며, 상업적 용도로 사용하지 마십시오.',
|
||||||
|
item2:
|
||||||
|
'다운로드 후 24시간 이내에 삭제해 주십시오. 장기 사용을 원하시면 정품 음악 서비스를 이용해 주십시오.',
|
||||||
|
item3:
|
||||||
|
'본 앱을 사용함으로써 관련 위험을 이해하고 감수하는 것으로 간주합니다. 개발자는 어떠한 손실에 대해서도 책임을 지지 않습니다.',
|
||||||
|
agree: '숙지하였으며 이에 동의합니다',
|
||||||
|
disagree: '동의하지 않음 및 정지'
|
||||||
|
},
|
||||||
|
donate: {
|
||||||
|
title: '개발자 지원',
|
||||||
|
subtitle: '여러분의 지원이 저의 원동력입니다',
|
||||||
|
tip: '후원은 완전히 자율적입니다. 후원하지 않더라도 모든 기능을 정상적으로 사용할 수 있습니다. 이해와 지원에 감사드립니다!',
|
||||||
|
wechat: 'WeChat',
|
||||||
|
alipay: 'Alipay',
|
||||||
|
wechatQR: 'WeChat 결제 코드',
|
||||||
|
alipayQR: 'Alipay 결제 코드',
|
||||||
|
scanTip: '휴대전화로 위 QR 코드를 스캔하여 후원해 주세요',
|
||||||
|
enterApp: '앱 시작하기',
|
||||||
|
noForce: '후원은 강제가 아닙니다. 클릭하여 시작할 수 있습니다'
|
||||||
|
},
|
||||||
coffee: {
|
coffee: {
|
||||||
title: '커피 한 잔 사주세요',
|
title: '커피 한 잔 사주세요',
|
||||||
alipay: '알리페이',
|
alipay: '알리페이',
|
||||||
@@ -77,7 +113,68 @@ export default {
|
|||||||
songlist: '일일 추천 목록'
|
songlist: '일일 추천 목록'
|
||||||
},
|
},
|
||||||
recommendSonglist: {
|
recommendSonglist: {
|
||||||
title: '이번 주 인기 음악'
|
title: '이번 주 인기 음악',
|
||||||
|
empty: '추천 플레이리스트가 없습니다'
|
||||||
|
},
|
||||||
|
dailyRecommend: {
|
||||||
|
title: '일일 추천',
|
||||||
|
badge: '추천',
|
||||||
|
empty: '추천 곡이 없습니다',
|
||||||
|
intelligenceHint: '하트 모드를 켜서 더 좋아하는 음악을 발견하세요'
|
||||||
|
},
|
||||||
|
recommendMV: {
|
||||||
|
title: '추천 MV'
|
||||||
|
},
|
||||||
|
newAlbum: {
|
||||||
|
title: '앨범',
|
||||||
|
empty: '새 앨범이 없습니다'
|
||||||
|
},
|
||||||
|
recommendNewMusic: {
|
||||||
|
title: '신곡 속보'
|
||||||
|
},
|
||||||
|
privateContent: {
|
||||||
|
title: '독점 콘텐츠'
|
||||||
|
},
|
||||||
|
djProgram: {
|
||||||
|
title: '추천 라디오'
|
||||||
|
},
|
||||||
|
homeHero: {
|
||||||
|
dailyRecommend: '일일 추천',
|
||||||
|
songs: '곡',
|
||||||
|
playNow: '지금 재생',
|
||||||
|
intelligenceMode: '하트 모드',
|
||||||
|
intelligenceModeOn: '재생 중',
|
||||||
|
intelligenceModeDesc: '스마트 추천 시작',
|
||||||
|
intelligenceModeActiveDesc: '취향에 맞는 스마트 추천',
|
||||||
|
startIntelligence: '시작',
|
||||||
|
stopIntelligence: '중지',
|
||||||
|
playing: '재생 중',
|
||||||
|
toplistDesc: '인기 차트',
|
||||||
|
mvDesc: '뮤직비디오',
|
||||||
|
playlistDesc: '엄선된 플레이리스트',
|
||||||
|
personalFm: '개인 FM',
|
||||||
|
discoverMusic: '새로운 음악 발견',
|
||||||
|
personalFmDesc: '취향에 맞춘 추천',
|
||||||
|
recentPlays: '최근 재생',
|
||||||
|
viewAll: '전체 보기',
|
||||||
|
followedArtists: '팔로우 아티스트',
|
||||||
|
newSongs: '곡의 신곡',
|
||||||
|
fromFollowedArtists: '팔로우한 아티스트의 신곡',
|
||||||
|
recommendNewMusic: '추천 신곡',
|
||||||
|
newSongExpress: '신곡 속보',
|
||||||
|
discoverNewReleases: '최신 발매 곡을 발견하세요',
|
||||||
|
hotPlaylists: '인기 플레이리스트',
|
||||||
|
hotArtists: '인기 아티스트',
|
||||||
|
hotArtistsTitle: '인기 아티스트',
|
||||||
|
hotArtistsDesc: '지금 가장 인기 있는 아티스트',
|
||||||
|
fmTrash: '싫어요',
|
||||||
|
fmNext: '다음',
|
||||||
|
quickNav: {
|
||||||
|
myFavorite: '내 즐겨찾기',
|
||||||
|
playHistory: '재생 기록',
|
||||||
|
myProfile: '내 프로필',
|
||||||
|
toplist: '순위'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchBar: {
|
searchBar: {
|
||||||
login: '로그인',
|
login: '로그인',
|
||||||
@@ -92,7 +189,13 @@ export default {
|
|||||||
zoom: '페이지 확대/축소',
|
zoom: '페이지 확대/축소',
|
||||||
zoom100: '표준 확대/축소 100%',
|
zoom100: '표준 확대/축소 100%',
|
||||||
resetZoom: '클릭하여 확대/축소 재설정',
|
resetZoom: '클릭하여 확대/축소 재설정',
|
||||||
zoomDefault: '표준 확대/축소'
|
zoomDefault: '표준 확대/축소',
|
||||||
|
tabPlaylist: '플레이리스트',
|
||||||
|
tabMv: 'MV',
|
||||||
|
tabCharts: '차트',
|
||||||
|
cancelSearch: '취소',
|
||||||
|
intelligenceMode: '심쿵 모드',
|
||||||
|
exitIntelligence: '심쿵 모드 종료'
|
||||||
},
|
},
|
||||||
titleBar: {
|
titleBar: {
|
||||||
closeTitle: '닫기 방법을 선택해주세요',
|
closeTitle: '닫기 방법을 선택해주세요',
|
||||||
@@ -117,7 +220,15 @@ export default {
|
|||||||
cancelCollect: '수집 취소',
|
cancelCollect: '수집 취소',
|
||||||
addToPlaylist: '재생 목록에 추가',
|
addToPlaylist: '재생 목록에 추가',
|
||||||
addToPlaylistSuccess: '재생 목록에 추가 성공',
|
addToPlaylistSuccess: '재생 목록에 추가 성공',
|
||||||
songsAlreadyInPlaylist: '곡이 이미 재생 목록에 있습니다'
|
songsAlreadyInPlaylist: '곡이 이미 재생 목록에 있습니다',
|
||||||
|
locateCurrent: '현재 재생 곡 찾기',
|
||||||
|
scrollToTop: '맨 위로',
|
||||||
|
compactLayout: '간결한 레이아웃',
|
||||||
|
normalLayout: '일반 레이아웃',
|
||||||
|
historyRecommend: '일일 기록 권장',
|
||||||
|
fetchDatesFailed: '날짜를 가져오지 못했습니다',
|
||||||
|
fetchSongsFailed: '곡을 가져오지 못했습니다',
|
||||||
|
noSongs: '노래 없음'
|
||||||
},
|
},
|
||||||
playlist: {
|
playlist: {
|
||||||
import: {
|
import: {
|
||||||
@@ -143,6 +254,7 @@ export default {
|
|||||||
albumNamePlaceholder: '앨범명',
|
albumNamePlaceholder: '앨범명',
|
||||||
addSongButton: '곡 추가',
|
addSongButton: '곡 추가',
|
||||||
addLinkButton: '링크 추가',
|
addLinkButton: '링크 추가',
|
||||||
|
options: '옵션',
|
||||||
importToStarPlaylist: '내가 좋아하는 음악으로 가져오기',
|
importToStarPlaylist: '내가 좋아하는 음악으로 가져오기',
|
||||||
playlistNamePlaceholder: '플레이리스트 이름을 입력하세요',
|
playlistNamePlaceholder: '플레이리스트 이름을 입력하세요',
|
||||||
importButton: '가져오기 시작',
|
importButton: '가져오기 시작',
|
||||||
@@ -172,7 +284,8 @@ export default {
|
|||||||
noTasks: '가져오기 작업이 없습니다',
|
noTasks: '가져오기 작업이 없습니다',
|
||||||
clearTasks: '작업 지우기',
|
clearTasks: '작업 지우기',
|
||||||
clearTasksConfirmTitle: '지우기 확인',
|
clearTasksConfirmTitle: '지우기 확인',
|
||||||
clearTasksConfirmContent: '모든 가져오기 작업 기록을 지우시겠습니까? 이 작업은 되돌릴 수 없습니다.',
|
clearTasksConfirmContent:
|
||||||
|
'모든 가져오기 작업 기록을 지우시겠습니까? 이 작업은 되돌릴 수 없습니다.',
|
||||||
confirm: '확인',
|
confirm: '확인',
|
||||||
cancel: '취소',
|
cancel: '취소',
|
||||||
clearTasksSuccess: '작업 목록이 지워졌습니다',
|
clearTasksSuccess: '작업 목록이 지워졌습니다',
|
||||||
@@ -186,5 +299,41 @@ export default {
|
|||||||
list: '플레이리스트',
|
list: '플레이리스트',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
home: '홈',
|
home: '홈',
|
||||||
search: '검색'
|
search: '검색',
|
||||||
};
|
album: '앨범',
|
||||||
|
localMusic: '로컬 음악',
|
||||||
|
pages: {
|
||||||
|
toplist: {
|
||||||
|
desc: '가장 권위 있는 음악 차트, 지금 가장 핫한 음악을 발견하세요'
|
||||||
|
},
|
||||||
|
mv: {
|
||||||
|
desc: '멋진 영상 콘텐츠 탐색',
|
||||||
|
loadingMore: '더 불러오는 중...',
|
||||||
|
noMore: '— 모든 콘텐츠 로드 완료 —',
|
||||||
|
area: {
|
||||||
|
all: '전체',
|
||||||
|
mainland: '중국 대륙',
|
||||||
|
hktw: '홍콩/대만',
|
||||||
|
western: '서양',
|
||||||
|
japan: '일본',
|
||||||
|
korea: '한국'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
list: {
|
||||||
|
desc: '더 많은 멋진 플레이리스트를 발견하세요',
|
||||||
|
dailyRecommend: '오늘의 추천'
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
desc: '지금 가장 핫한 검색 트렌드를 탐색하세요'
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
area: {
|
||||||
|
all: '전체',
|
||||||
|
chinese: '중화권',
|
||||||
|
western: '서양',
|
||||||
|
korea: '한국',
|
||||||
|
japan: '일본'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
export default {
|
export default {
|
||||||
description: '귀하의 기부는 서버 유지보수, 도메인 갱신 등을 포함한 개발 및 유지보수 작업을 지원하는 데 사용됩니다.',
|
description:
|
||||||
|
'귀하의 기부는 서버 유지보수, 도메인 갱신 등을 포함한 개발 및 유지보수 작업을 지원하는 데 사용됩니다.',
|
||||||
message: '메시지를 남길 때 이메일이나 GitHub 이름을 남겨주세요.',
|
message: '메시지를 남길 때 이메일이나 GitHub 이름을 남겨주세요.',
|
||||||
refresh: '목록 새로고침',
|
refresh: '목록 새로고침',
|
||||||
toDonateList: '커피 한 잔 사주세요',
|
toDonateList: '커피 한 잔 사주세요',
|
||||||
noMessage: '메시지가 없습니다',
|
noMessage: '메시지가 없습니다',
|
||||||
title: '기부 목록'
|
title: '기부 목록'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ export default {
|
|||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
noTasks: '다운로드 작업이 없습니다',
|
noTasks: '다운로드 작업이 없습니다',
|
||||||
noDownloaded: '다운로드된 곡이 없습니다'
|
noDownloaded: '다운로드된 곡이 없습니다',
|
||||||
|
noDownloadedHint: '좋아하는 곡을 다운로드하세요'
|
||||||
},
|
},
|
||||||
progress: {
|
progress: {
|
||||||
total: '전체 진행률: {progress}%'
|
total: '전체 진행률: {progress}%'
|
||||||
@@ -19,7 +20,21 @@ export default {
|
|||||||
downloading: '다운로드 중',
|
downloading: '다운로드 중',
|
||||||
completed: '완료',
|
completed: '완료',
|
||||||
failed: '실패',
|
failed: '실패',
|
||||||
unknown: '알 수 없음'
|
unknown: '알 수 없음',
|
||||||
|
queued: '대기 중',
|
||||||
|
paused: '일시 정지',
|
||||||
|
cancelled: '취소됨'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
pause: '일시 정지',
|
||||||
|
resume: '재개',
|
||||||
|
cancel: '취소',
|
||||||
|
cancelAll: '모두 취소',
|
||||||
|
retrying: 'URL 재획득 중...'
|
||||||
|
},
|
||||||
|
batch: {
|
||||||
|
complete: '다운로드 완료: {success}/{total}곡 성공',
|
||||||
|
allComplete: '모든 다운로드 완료'
|
||||||
},
|
},
|
||||||
artist: {
|
artist: {
|
||||||
unknown: '알 수 없는 가수'
|
unknown: '알 수 없는 가수'
|
||||||
@@ -36,10 +51,20 @@ export default {
|
|||||||
},
|
},
|
||||||
clear: {
|
clear: {
|
||||||
title: '다운로드 기록 지우기',
|
title: '다운로드 기록 지우기',
|
||||||
message: '모든 다운로드 기록을 지우시겠습니까? 이 작업은 다운로드된 음악 파일을 삭제하지 않지만 모든 기록을 지웁니다.',
|
message:
|
||||||
|
'모든 다운로드 기록을 지우시겠습니까? 이 작업은 다운로드된 음악 파일을 삭제하지 않지만 모든 기록을 지웁니다.',
|
||||||
confirm: '지우기 확인',
|
confirm: '지우기 확인',
|
||||||
cancel: '취소',
|
cancel: '취소',
|
||||||
success: '다운로드 기록이 지워졌습니다'
|
success: '다운로드 기록이 지워졌습니다',
|
||||||
|
failed: '다운로드 기록 삭제에 실패했습니다'
|
||||||
|
},
|
||||||
|
save: {
|
||||||
|
title: '설정 저장',
|
||||||
|
message: '현재 다운로드 설정이 저장되지 않았습니다. 변경 사항을 저장하시겠습니까?',
|
||||||
|
confirm: '저장',
|
||||||
|
cancel: '취소',
|
||||||
|
discard: '포기',
|
||||||
|
saveSuccess: '다운로드 설정이 저장됨'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
downloadComplete: '{filename} 다운로드 완료',
|
downloadComplete: '{filename} 다운로드 완료',
|
||||||
@@ -49,6 +74,7 @@ export default {
|
|||||||
playStarted: '재생 시작: {name}',
|
playStarted: '재생 시작: {name}',
|
||||||
playFailed: '재생 실패: {name}',
|
playFailed: '재생 실패: {name}',
|
||||||
path: {
|
path: {
|
||||||
|
copy: '경로 복사',
|
||||||
copied: '경로가 클립보드에 복사됨',
|
copied: '경로가 클립보드에 복사됨',
|
||||||
copyFailed: '경로 복사 실패'
|
copyFailed: '경로 복사 실패'
|
||||||
},
|
},
|
||||||
@@ -60,6 +86,8 @@ export default {
|
|||||||
noPathSelected: '먼저 다운로드 경로를 선택해주세요',
|
noPathSelected: '먼저 다운로드 경로를 선택해주세요',
|
||||||
select: '폴더 선택',
|
select: '폴더 선택',
|
||||||
open: '폴더 열기',
|
open: '폴더 열기',
|
||||||
|
saveLyric: '가사 파일 별도 저장',
|
||||||
|
saveLyricDesc: '곡 다운로드 시 .lrc 가사 파일도 함께 저장합니다',
|
||||||
fileFormat: '파일명 형식',
|
fileFormat: '파일명 형식',
|
||||||
fileFormatDesc: '음악 다운로드 시 파일 이름 형식 설정',
|
fileFormatDesc: '음악 다운로드 시 파일 이름 형식 설정',
|
||||||
customFormat: '사용자 정의 형식',
|
customFormat: '사용자 정의 형식',
|
||||||
@@ -72,6 +100,8 @@ export default {
|
|||||||
dragToArrange: '드래그하여 정렬하거나 화살표 버튼을 사용하여 순서 조정:',
|
dragToArrange: '드래그하여 정렬하거나 화살표 버튼을 사용하여 순서 조정:',
|
||||||
formatVariables: '사용 가능한 변수',
|
formatVariables: '사용 가능한 변수',
|
||||||
preview: '미리보기 효과:',
|
preview: '미리보기 효과:',
|
||||||
|
concurrency: '최대 동시 다운로드',
|
||||||
|
concurrencyDesc: '동시에 다운로드할 최대 곡 수 (1-5)',
|
||||||
saveSuccess: '다운로드 설정이 저장됨',
|
saveSuccess: '다운로드 설정이 저장됨',
|
||||||
presets: {
|
presets: {
|
||||||
songArtist: '곡명 - 가수명',
|
songArtist: '곡명 - 가수명',
|
||||||
@@ -83,5 +113,10 @@ export default {
|
|||||||
artistName: '가수명',
|
artistName: '가수명',
|
||||||
albumName: '앨범명'
|
albumName: '앨범명'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
incomplete: '파일 다운로드가 불완전합니다',
|
||||||
|
urlExpired: 'URL이 만료되었습니다. 재획득 중',
|
||||||
|
resumeFailed: '재개 실패'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ export default {
|
|||||||
selectSongsFirst: '먼저 다운로드할 곡을 선택해주세요',
|
selectSongsFirst: '먼저 다운로드할 곡을 선택해주세요',
|
||||||
descending: '내림차순',
|
descending: '내림차순',
|
||||||
ascending: '오름차순'
|
ascending: '오름차순'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,49 @@
|
|||||||
export default {
|
export default {
|
||||||
title: '재생 기록',
|
title: '재생 기록',
|
||||||
|
heatmapTitle: '히트맵',
|
||||||
playCount: '{count}',
|
playCount: '{count}',
|
||||||
getHistoryFailed: '기록 가져오기 실패'
|
getHistoryFailed: '기록 가져오기 실패',
|
||||||
};
|
tabs: {
|
||||||
|
all: '전체 기록',
|
||||||
|
local: '로컬 기록',
|
||||||
|
cloud: '클라우드 기록'
|
||||||
|
},
|
||||||
|
categoryTabs: {
|
||||||
|
songs: '곡',
|
||||||
|
playlists: '플레이리스트',
|
||||||
|
albums: '앨범',
|
||||||
|
podcasts: '팟캐스트'
|
||||||
|
},
|
||||||
|
podcastTabs: {
|
||||||
|
episodes: '에피소드',
|
||||||
|
radios: '라디오'
|
||||||
|
},
|
||||||
|
noDescription: '설명 없음',
|
||||||
|
noData: '기록 없음',
|
||||||
|
getCloudRecordFailed: '클라우드 기록 가져오기 실패',
|
||||||
|
needLogin: 'cookie를 사용하여 로그인하여 클라우드 기록을 볼 수 있습니다',
|
||||||
|
merging: '기록 병합 중...',
|
||||||
|
heatmap: {
|
||||||
|
title: '재생 히트맵',
|
||||||
|
loading: '데이터 로딩 중...',
|
||||||
|
unit: '회 재생',
|
||||||
|
footerText: '마우스를 올려서 자세히 보기',
|
||||||
|
playCount: '{count}회 재생',
|
||||||
|
topSongs: '오늘의 인기곡',
|
||||||
|
times: '회',
|
||||||
|
totalPlays: '총 재생 횟수',
|
||||||
|
activeDays: '활동 일수',
|
||||||
|
noData: '재생 기록이 없습니다',
|
||||||
|
colorTheme: '색상 테마',
|
||||||
|
colors: {
|
||||||
|
green: '그린',
|
||||||
|
blue: '블루',
|
||||||
|
orange: '오렌지',
|
||||||
|
purple: '퍼플',
|
||||||
|
red: '레드'
|
||||||
|
},
|
||||||
|
mostPlayedSong: '가장 많이 재생한 노래',
|
||||||
|
mostActiveDay: '가장 활발한 날',
|
||||||
|
latestNightSong: '가장 늘게 재생한 노래'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
13
src/i18n/lang/ko-KR/localMusic.ts
Normal file
13
src/i18n/lang/ko-KR/localMusic.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
title: '로컬 음악',
|
||||||
|
scanFolder: '폴더 스캔',
|
||||||
|
removeFolder: '폴더 제거',
|
||||||
|
scanning: '스캔 중...',
|
||||||
|
scanComplete: '스캔 완료',
|
||||||
|
playAll: '모두 재생',
|
||||||
|
search: '로컬 음악 검색',
|
||||||
|
emptyState: '로컬 음악이 없습니다. 폴더를 선택하여 스캔하세요.',
|
||||||
|
fileNotFound: '파일을 찾을 수 없거나 이동되었습니다',
|
||||||
|
rescan: '다시 스캔',
|
||||||
|
songCount: '{count}곡'
|
||||||
|
};
|
||||||
@@ -41,8 +41,24 @@ export default {
|
|||||||
uidLoginFailed: 'UID 로그인에 실패했습니다. 사용자 ID가 올바른지 확인하세요',
|
uidLoginFailed: 'UID 로그인에 실패했습니다. 사용자 ID가 올바른지 확인하세요',
|
||||||
autoGetCookieSuccess: 'Cookie 자동 가져오기 성공',
|
autoGetCookieSuccess: 'Cookie 자동 가져오기 성공',
|
||||||
autoGetCookieFailed: 'Cookie 자동 가져오기 실패',
|
autoGetCookieFailed: 'Cookie 자동 가져오기 실패',
|
||||||
autoGetCookieTip: '넷이즈 클라우드 뮤직 로그인 페이지를 열겠습니다. 로그인 완료 후 창을 닫아주세요'
|
autoGetCookieTip:
|
||||||
|
'넷이즈 클라우드 뮤직 로그인 페이지를 열겠습니다. 로그인 완료 후 창을 닫아주세요',
|
||||||
|
loginFailed: '로그인 실패',
|
||||||
|
phoneRequired: '휴대폰 번호를 입력하세요',
|
||||||
|
passwordRequired: '비밀번호를 입력하세요',
|
||||||
|
phoneLoginFailed: '휴대폰 번호 로그인 실패, 휴대폰 번호와 비밀번호가 올바른지 확인하세요',
|
||||||
|
qrCheckFailed: 'QR코드 상태 확인 실패, 새로고침하여 다시 시도하세요',
|
||||||
|
qrLoading: 'QR코드 로딩 중...',
|
||||||
|
qrExpired: 'QR코드가 만료되었습니다. 클릭하여 새로고침하세요',
|
||||||
|
qrExpiredShort: 'QR코드 만료됨',
|
||||||
|
qrExpiredWarning: 'QR코드가 만료되었습니다. 클릭하여 새로운 QR코드를 받으세요',
|
||||||
|
qrScanned: 'QR코드가 스캔되었습니다. 휴대폰에서 로그인을 확인하세요',
|
||||||
|
qrScannedShort: '스캔됨',
|
||||||
|
qrScannedInfo: 'QR코드가 스캔되었습니다. 휴대폰에서 로그인을 확인하세요',
|
||||||
|
qrConfirmed: '로그인 성공, 리다이렉트 중...',
|
||||||
|
qrGenerating: 'QR코드를 생성 중...'
|
||||||
},
|
},
|
||||||
qrTitle: '넷이즈 클라우드 뮤직 QR코드 로그인',
|
qrTitle: '넷이즈 클라우드 뮤직 QR코드 로그인',
|
||||||
uidWarning: '주의: UID 로그인은 사용자 공개 정보를 확인하는 데만 사용할 수 있으며, 로그인 권한이 필요한 기능에 액세스할 수 없습니다.'
|
uidWarning:
|
||||||
};
|
'주의: UID 로그인은 사용자 공개 정보를 확인하는 데만 사용할 수 있으며, 로그인 권한이 필요한 기능에 액세스할 수 없습니다.'
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,122 +1,146 @@
|
|||||||
export default {
|
export default {
|
||||||
nowPlaying: '현재 재생 중',
|
nowPlaying: '현재 재생 중',
|
||||||
playlist: '재생 목록',
|
playlist: '재생 목록',
|
||||||
lyrics: '가사',
|
lyrics: '가사',
|
||||||
previous: '이전',
|
previous: '이전',
|
||||||
play: '재생',
|
play: '재생',
|
||||||
pause: '일시정지',
|
pause: '일시정지',
|
||||||
next: '다음',
|
next: '다음',
|
||||||
volumeUp: '볼륨 증가',
|
volumeUp: '볼륨 증가',
|
||||||
volumeDown: '볼륨 감소',
|
volumeDown: '볼륨 감소',
|
||||||
mute: '음소거',
|
mute: '음소거',
|
||||||
unmute: '음소거 해제',
|
unmute: '음소거 해제',
|
||||||
songNum: '총 곡 수: {num}',
|
songNum: '총 곡 수: {num}',
|
||||||
addCorrection: '{num}초 앞당기기',
|
addCorrection: '{num}초 앞당기기',
|
||||||
subtractCorrection: '{num}초 지연',
|
subtractCorrection: '{num}초 지연',
|
||||||
playFailed: '현재 곡 재생 실패, 다음 곡 재생',
|
playFailed: '현재 곡 재생 실패, 다음 곡 재생',
|
||||||
playMode: {
|
parseFailedPlayNext: '곡 분석 실패, 다음 곡 재생',
|
||||||
sequence: '순차 재생',
|
consecutiveFailsError:
|
||||||
loop: '한 곡 반복',
|
'재생 오류가 발생했습니다. 네트워크 문제 또는 유효하지 않은 음원일 수 있습니다. 재생 목록을 변경하거나 나중에 다시 시도하세요',
|
||||||
random: '랜덤 재생'
|
playListEnded: '재생 목록의 마지막 곡에 도달했습니다',
|
||||||
},
|
autoResumed: '자동으로 재생이 재개되었습니다',
|
||||||
fullscreen: {
|
resumeFailed: '재생 재개에 실패했습니다. 수동으로 시도해 주세요',
|
||||||
enter: '전체화면',
|
playMode: {
|
||||||
exit: '전체화면 종료'
|
sequence: '순차 재생',
|
||||||
},
|
loop: '한 곡 반복',
|
||||||
close: '닫기',
|
random: '랜덤 재생'
|
||||||
modeHint: {
|
},
|
||||||
single: '한 곡 반복',
|
fullscreen: {
|
||||||
list: '자동으로 다음 곡 재생'
|
enter: '전체화면',
|
||||||
},
|
exit: '전체화면 종료'
|
||||||
lrc: {
|
},
|
||||||
noLrc: '가사가 없습니다. 음악을 감상해주세요'
|
close: '닫기',
|
||||||
},
|
modeHint: {
|
||||||
reparse: {
|
single: '한 곡 반복',
|
||||||
title: '음원 선택',
|
list: '자동으로 다음 곡 재생'
|
||||||
desc: '음원을 클릭하여 직접 분석하세요. 다음에 이 곡을 재생할 때 선택한 음원을 사용합니다',
|
},
|
||||||
success: '재분석 성공',
|
lrc: {
|
||||||
failed: '재분석 실패',
|
noLrc: '가사가 없습니다. 음악을 감상해주세요',
|
||||||
warning: '음원을 선택해주세요',
|
noAutoScroll: '본 가사는 자동 스크롤을 지원하지 않습니다'
|
||||||
bilibiliNotSupported: 'B站 비디오는 재분석을 지원하지 않습니다',
|
},
|
||||||
processing: '분석 중...',
|
reparse: {
|
||||||
clear: '사용자 정의 음원 지우기'
|
title: '음원 선택',
|
||||||
},
|
desc: '음원을 클릭하여 직접 분석하세요. 다음에 이 곡을 재생할 때 선택한 음원을 사용합니다',
|
||||||
playBar: {
|
success: '재분석 성공',
|
||||||
expand: '가사 펼치기',
|
failed: '재분석 실패',
|
||||||
collapse: '가사 접기',
|
warning: '음원을 선택해주세요',
|
||||||
like: '좋아요',
|
bilibiliNotSupported: 'B站 비디오는 재분석을 지원하지 않습니다',
|
||||||
lyric: '가사',
|
processing: '분석 중...',
|
||||||
noSongPlaying: '재생 중인 곡이 없습니다',
|
clear: '사용자 정의 음원 지우기',
|
||||||
eq: '이퀄라이저',
|
customApiFailed: '사용자 정의 API 분석 실패, 기본 음원을 시도합니다...',
|
||||||
playList: '재생 목록',
|
customApiError: '사용자 정의 API 요청 오류, 기본 음원을 시도합니다...'
|
||||||
reparse: '재분석',
|
},
|
||||||
playMode: {
|
playBar: {
|
||||||
sequence: '순차 재생',
|
expand: '가사 펼치기',
|
||||||
loop: '반복 재생',
|
collapse: '가사 접기',
|
||||||
random: '랜덤 재생'
|
like: '좋아요',
|
||||||
},
|
lyric: '가사',
|
||||||
play: '재생 시작',
|
noSongPlaying: '재생 중인 곡이 없습니다',
|
||||||
pause: '재생 일시정지',
|
eq: '이퀄라이저',
|
||||||
prev: '이전 곡',
|
playList: '재생 목록',
|
||||||
next: '다음 곡',
|
reparse: '재분석',
|
||||||
volume: '볼륨',
|
playMode: {
|
||||||
favorite: '{name} 즐겨찾기 추가됨',
|
sequence: '순차 재생',
|
||||||
unFavorite: '{name} 즐겨찾기 해제됨',
|
loop: '반복 재생',
|
||||||
miniPlayBar: '미니 재생바',
|
random: '랜덤 재생'
|
||||||
playbackSpeed: '재생 속도',
|
},
|
||||||
advancedControls: '고급 설정'
|
play: '재생 시작',
|
||||||
},
|
pause: '재생 일시정지',
|
||||||
eq: {
|
prev: '이전 곡',
|
||||||
title: '이퀄라이저',
|
next: '다음 곡',
|
||||||
reset: '재설정',
|
volume: '볼륨',
|
||||||
on: '켜기',
|
favorite: '{name} 즐겨찾기 추가됨',
|
||||||
off: '끄기',
|
unFavorite: '{name} 즐겨찾기 해제됨',
|
||||||
bass: '저음',
|
miniPlayBar: '미니 재생바',
|
||||||
midrange: '중음',
|
playbackSpeed: '재생 속도',
|
||||||
treble: '고음',
|
advancedControls: '고급 설정',
|
||||||
presets: {
|
intelligenceMode: {
|
||||||
flat: '플랫',
|
title: '인텔리전스 모드',
|
||||||
pop: '팝',
|
needCookieLogin: '쿠키 방식으로 로그인한 후 인텔리전스 모드를 사용할 수 있습니다',
|
||||||
rock: '록',
|
noFavoritePlaylist: '내가 좋아하는 음악 재생목록을 찾을 수 없습니다',
|
||||||
classical: '클래식',
|
noLikedSongs: '아직 좋아한 노래가 없습니다',
|
||||||
jazz: '재즈',
|
loading: '인텔리전스 모드를 불러오는 중',
|
||||||
electronic: '일렉트로닉',
|
success: '총 {count}곡을 불러왔습니다',
|
||||||
hiphop: '힙합',
|
failed: '인텔리전스 모드 목록을 가져오는 데 실패했습니다',
|
||||||
rb: 'R&B',
|
error: '인텔리전스 모드 재생 오류'
|
||||||
metal: '메탈',
|
}
|
||||||
vocal: '보컬',
|
},
|
||||||
dance: '댄스',
|
eq: {
|
||||||
acoustic: '어쿠스틱',
|
title: '이퀄라이저',
|
||||||
custom: '사용자 정의'
|
reset: '재설정',
|
||||||
}
|
on: '켜기',
|
||||||
},
|
off: '끄기',
|
||||||
sleepTimer: {
|
bass: '저음',
|
||||||
title: '타이머 종료',
|
midrange: '중음',
|
||||||
cancel: '타이머 취소',
|
treble: '고음',
|
||||||
timeMode: '시간으로 종료',
|
presets: {
|
||||||
songsMode: '곡 수로 종료',
|
flat: '플랫',
|
||||||
playlistEnd: '재생 목록 완료 후 종료',
|
pop: '팝',
|
||||||
afterPlaylist: '재생 목록 완료 후 종료',
|
rock: '록',
|
||||||
activeUntilEnd: '목록 끝까지 재생',
|
classical: '클래식',
|
||||||
minutes: '분',
|
jazz: '재즈',
|
||||||
hours: '시간',
|
electronic: '일렉트로닉',
|
||||||
songs: '곡',
|
hiphop: '힙합',
|
||||||
set: '설정',
|
rb: 'R&B',
|
||||||
timerSetSuccess: '{minutes}분 후 종료로 설정됨',
|
metal: '메탈',
|
||||||
songsSetSuccess: '{songs}곡 재생 후 종료로 설정됨',
|
vocal: '보컬',
|
||||||
playlistEndSetSuccess: '재생 목록 완료 후 종료로 설정됨',
|
dance: '댄스',
|
||||||
timerCancelled: '타이머 종료 취소됨',
|
acoustic: '어쿠스틱',
|
||||||
timerEnded: '타이머 종료 실행됨',
|
custom: '사용자 정의'
|
||||||
playbackStopped: '음악 재생이 중지됨',
|
}
|
||||||
minutesRemaining: '남은 시간 {minutes}분',
|
},
|
||||||
songsRemaining: '남은 곡 수 {count}곡'
|
// 플레이어 설정
|
||||||
},
|
settings: {
|
||||||
playList: {
|
title: '재생 설정',
|
||||||
clearAll: '재생 목록 비우기',
|
playbackSpeed: '재생 속도'
|
||||||
alreadyEmpty: '재생 목록이 이미 비어있습니다',
|
},
|
||||||
cleared: '재생 목록이 비워졌습니다',
|
sleepTimer: {
|
||||||
empty: '재생 목록이 비어있습니다',
|
title: '타이머 종료',
|
||||||
clearConfirmTitle: '재생 목록 비우기',
|
cancel: '타이머 취소',
|
||||||
clearConfirmContent: '재생 목록의 모든 곡을 삭제하고 현재 재생을 중지합니다. 계속하시겠습니까?'
|
timeMode: '시간으로 종료',
|
||||||
}
|
songsMode: '곡 수로 종료',
|
||||||
};
|
playlistEnd: '재생 목록 완료 후 종료',
|
||||||
|
afterPlaylist: '재생 목록 완료 후 종료',
|
||||||
|
activeUntilEnd: '목록 끝까지 재생',
|
||||||
|
minutes: '분',
|
||||||
|
hours: '시간',
|
||||||
|
songs: '곡',
|
||||||
|
set: '설정',
|
||||||
|
timerSetSuccess: '{minutes}분 후 종료로 설정됨',
|
||||||
|
songsSetSuccess: '{songs}곡 재생 후 종료로 설정됨',
|
||||||
|
playlistEndSetSuccess: '재생 목록 완료 후 종료로 설정됨',
|
||||||
|
timerCancelled: '타이머 종료 취소됨',
|
||||||
|
timerEnded: '타이머 종료 실행됨',
|
||||||
|
playbackStopped: '음악 재생이 중지됨',
|
||||||
|
minutesRemaining: '남은 시간 {minutes}분',
|
||||||
|
songsRemaining: '남은 곡 수 {count}곡'
|
||||||
|
},
|
||||||
|
playList: {
|
||||||
|
clearAll: '재생 목록 비우기',
|
||||||
|
alreadyEmpty: '재생 목록이 이미 비어있습니다',
|
||||||
|
cleared: '재생 목록이 비워졌습니다',
|
||||||
|
empty: '재생 목록이 비어있습니다',
|
||||||
|
clearConfirmTitle: '재생 목록 비우기',
|
||||||
|
clearConfirmContent: '재생 목록의 모든 곡을 삭제하고 현재 재생을 중지합니다. 계속하시겠습니까?'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
40
src/i18n/lang/ko-KR/podcast.ts
Normal file
40
src/i18n/lang/ko-KR/podcast.ts
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
export default {
|
||||||
|
podcast: '팟캐스트',
|
||||||
|
mySubscriptions: '내 구독',
|
||||||
|
discover: '발견',
|
||||||
|
categories: '카테고리',
|
||||||
|
todayPerfered: '오늘의 추천',
|
||||||
|
recommended: '추천',
|
||||||
|
hotRanking: '인기',
|
||||||
|
newRanking: '신규',
|
||||||
|
subscribeCount: '구독자',
|
||||||
|
programCount: '에피소드',
|
||||||
|
subscribe: '구독',
|
||||||
|
subscribed: '구독 중',
|
||||||
|
unsubscribe: '구독 취소',
|
||||||
|
unsubscribed: '구독이 취소되었습니다',
|
||||||
|
subscribeSuccess: '구독되었습니다',
|
||||||
|
unsubscribeFailed: '구독 취소에 실패했습니다',
|
||||||
|
subscribeFailed: '구독에 실패했습니다',
|
||||||
|
radioDetail: '라디오 상세',
|
||||||
|
programList: '에피소드 목록',
|
||||||
|
playProgram: '재생',
|
||||||
|
recentPlayed: '최근 재생',
|
||||||
|
listeners: '청취자',
|
||||||
|
noSubscriptions: '구독 없음',
|
||||||
|
goDiscover: '팟캐스트 찾기',
|
||||||
|
searchPodcast: '팟캐스트 검색',
|
||||||
|
category: '카테고리',
|
||||||
|
all: '전체',
|
||||||
|
dj: 'DJ',
|
||||||
|
episodes: '화',
|
||||||
|
playAll: '전체 재생',
|
||||||
|
popularCategories: '인기 카테고리',
|
||||||
|
allCategories: '모든 카테고리',
|
||||||
|
categoryRadios: '카테고리 라디오',
|
||||||
|
exploreCategoryRadios: '더 많은 멋진 라디오 탐색',
|
||||||
|
hotRadios: '인기 라디오',
|
||||||
|
noCategoryRadios: '이 카테고리에 라디오가 없습니다',
|
||||||
|
searchPlaceholder: '팟캐스트, 에피소드 검색...',
|
||||||
|
searchResults: '검색 결과'
|
||||||
|
};
|
||||||
@@ -11,7 +11,8 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
more: '로딩 중...',
|
more: '로딩 중...',
|
||||||
failed: '검색 실패'
|
failed: '검색 실패',
|
||||||
|
searching: '검색 중...'
|
||||||
},
|
},
|
||||||
noMore: '더 이상 없음',
|
noMore: '더 이상 없음',
|
||||||
error: {
|
error: {
|
||||||
@@ -22,6 +23,11 @@ export default {
|
|||||||
album: '앨범',
|
album: '앨범',
|
||||||
playlist: '플레이리스트',
|
playlist: '플레이리스트',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
|
djradio: '라디오',
|
||||||
bilibili: 'B站'
|
bilibili: 'B站'
|
||||||
}
|
},
|
||||||
};
|
|
||||||
|
history: '검색 기록',
|
||||||
|
hot: '인기 검색',
|
||||||
|
suggestions: '검색 제안'
|
||||||
|
};
|
||||||
|
|||||||
@@ -1,322 +1,521 @@
|
|||||||
export default {
|
export default {
|
||||||
theme: '테마',
|
theme: '테마',
|
||||||
language: '언어',
|
language: '언어',
|
||||||
regard: '정보',
|
regard: '정보',
|
||||||
logout: '로그아웃',
|
logout: '로그아웃',
|
||||||
sections: {
|
sections: {
|
||||||
basic: '기본 설정',
|
basic: '기본 설정',
|
||||||
playback: '재생 설정',
|
playback: '재생 설정',
|
||||||
application: '애플리케이션 설정',
|
application: '애플리케이션 설정',
|
||||||
network: '네트워크 설정',
|
network: '네트워크 설정',
|
||||||
system: '시스템 관리',
|
system: '시스템 관리',
|
||||||
donation: '후원 지원',
|
donation: '후원 지원',
|
||||||
regard: '정보'
|
about: '정보'
|
||||||
},
|
},
|
||||||
basic: {
|
basic: {
|
||||||
themeMode: '테마 모드',
|
themeMode: '테마 모드',
|
||||||
themeModeDesc: '낮/밤 테마 전환',
|
themeModeDesc: '낮/밤 테마 전환',
|
||||||
autoTheme: '시스템 따라가기',
|
autoTheme: '시스템 따라가기',
|
||||||
manualTheme: '수동 전환',
|
manualTheme: '수동 전환',
|
||||||
language: '언어 설정',
|
language: '언어 설정',
|
||||||
languageDesc: '표시 언어 전환',
|
languageDesc: '표시 언어 전환',
|
||||||
tokenManagement: 'Cookie 관리',
|
tokenManagement: 'Cookie 관리',
|
||||||
tokenManagementDesc: '넷이즈 클라우드 뮤직 로그인 Cookie 관리',
|
tokenManagementDesc: '넷이즈 클라우드 뮤직 로그인 Cookie 관리',
|
||||||
tokenStatus: '현재 Cookie 상태',
|
tokenStatus: '현재 Cookie 상태',
|
||||||
tokenSet: '설정됨',
|
tokenSet: '설정됨',
|
||||||
tokenNotSet: '설정되지 않음',
|
tokenNotSet: '설정되지 않음',
|
||||||
setToken: 'Cookie 설정',
|
setToken: 'Cookie 설정',
|
||||||
modifyToken: 'Cookie 수정',
|
modifyToken: 'Cookie 수정',
|
||||||
clearToken: 'Cookie 지우기',
|
clearToken: 'Cookie 지우기',
|
||||||
font: '폰트 설정',
|
font: '폰트 설정',
|
||||||
fontDesc: '폰트 선택, 앞에 있는 폰트를 우선 사용',
|
fontDesc: '폰트 선택, 앞에 있는 폰트를 우선 사용',
|
||||||
fontScope: {
|
fontScope: {
|
||||||
global: '전역',
|
global: '전역',
|
||||||
lyric: '가사만'
|
lyric: '가사만'
|
||||||
},
|
},
|
||||||
animation: '애니메이션 속도',
|
animation: '애니메이션 속도',
|
||||||
animationDesc: '애니메이션 활성화 여부',
|
animationDesc: '애니메이션 활성화 여부',
|
||||||
animationSpeed: {
|
animationSpeed: {
|
||||||
slow: '매우 느림',
|
slow: '매우 느림',
|
||||||
normal: '보통',
|
normal: '보통',
|
||||||
fast: '매우 빠름'
|
fast: '매우 빠름'
|
||||||
},
|
},
|
||||||
fontPreview: {
|
fontPreview: {
|
||||||
title: '폰트 미리보기',
|
title: '폰트 미리보기',
|
||||||
chinese: '中文',
|
chinese: '中文',
|
||||||
english: 'English',
|
english: 'English',
|
||||||
japanese: '日本語',
|
japanese: '日本語',
|
||||||
korean: '한국어',
|
korean: '한국어',
|
||||||
chineseText: '静夜思 床前明月光 疑是地上霜',
|
chineseText: '静夜思 床前明月光 疑是地上霜',
|
||||||
englishText: 'The quick brown fox jumps over the lazy dog',
|
englishText: 'The quick brown fox jumps over the lazy dog',
|
||||||
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
||||||
koreanText: '가나다라마 바사아자차 카타파하'
|
koreanText: '가나다라마 바사아자차 카타파하'
|
||||||
}
|
},
|
||||||
},
|
gpuAcceleration: 'GPU 가속',
|
||||||
playback: {
|
gpuAccelerationDesc:
|
||||||
quality: '음질 설정',
|
'GPU 가속을 사용하면 애니메이션이 빠르게 재생되고 애니메이션이 느리게 재생되는 것보다 느릴 수 있습니다.',
|
||||||
qualityDesc: '음악 재생 음질 선택 (넷이즈 클라우드 VIP)',
|
gpuAccelerationRestart: 'GPU 가속 설정을 변경하면 애플리케이션을 다시 시작해야 합니다',
|
||||||
qualityOptions: {
|
gpuAccelerationChangeSuccess:
|
||||||
standard: '표준',
|
'GPU 가속 설정이 업데이트되었습니다. 애플리케이션을 다시 시작하여 적용하십시오',
|
||||||
higher: '높음',
|
gpuAccelerationChangeError: 'GPU 가속 설정 업데이트에 실패했습니다',
|
||||||
exhigh: '매우 높음',
|
tabletMode: '태블릿 모드',
|
||||||
lossless: '무손실',
|
tabletModeDesc:
|
||||||
hires: 'Hi-Res',
|
'태블릿 모드를 사용하면 모바일 기기에서 PC 스타일의 인터페이스를 사용할 수 있습니다'
|
||||||
jyeffect: 'HD 서라운드',
|
},
|
||||||
sky: '몰입형 서라운드',
|
playback: {
|
||||||
dolby: '돌비 애트모스',
|
quality: '음질 설정',
|
||||||
jymaster: '초고화질 마스터'
|
qualityDesc: '음악 재생 음질 선택 (넷이즈 클라우드 VIP)',
|
||||||
},
|
qualityOptions: {
|
||||||
musicSources: '음원 설정',
|
standard: '표준',
|
||||||
musicSourcesDesc: '음악 해석에 사용할 음원 플랫폼 선택',
|
higher: '높음',
|
||||||
musicSourcesWarning: '최소 하나의 음원 플랫폼을 선택해야 합니다',
|
exhigh: '매우 높음',
|
||||||
musicUnblockEnable: '음악 해석 활성화',
|
lossless: '무손실',
|
||||||
musicUnblockEnableDesc: '활성화하면 재생할 수 없는 음악을 해석하려고 시도합니다',
|
hires: 'Hi-Res',
|
||||||
configureMusicSources: '음원 구성',
|
jyeffect: 'HD 서라운드',
|
||||||
selectedMusicSources: '선택된 음원:',
|
sky: '몰입형 서라운드',
|
||||||
noMusicSources: '음원이 선택되지 않음',
|
dolby: '돌비 애트모스',
|
||||||
gdmusicInfo: 'GD 뮤직은 여러 플랫폼 음원을 자동으로 해석하고 최적의 결과를 자동 선택합니다',
|
jymaster: '초고화질 마스터'
|
||||||
autoPlay: '자동 재생',
|
},
|
||||||
autoPlayDesc: '앱을 다시 열 때 자동으로 재생을 계속할지 여부',
|
musicSources: '음원 설정',
|
||||||
showStatusBar: '상태바 제어 기능 표시 여부',
|
musicSourcesDesc: '음악 해석에 사용할 음원 플랫폼 선택',
|
||||||
showStatusBarContent: 'Mac 상태바에 음악 제어 기능을 표시할 수 있습니다 (재시작 후 적용)'
|
musicSourcesWarning: '최소 하나의 음원 플랫폼을 선택해야 합니다',
|
||||||
},
|
musicUnblockEnable: '음악 해석 활성화',
|
||||||
application: {
|
musicUnblockEnableDesc: '활성화하면 재생할 수 없는 음악을 해석하려고 시도합니다',
|
||||||
closeAction: '닫기 동작',
|
configureMusicSources: '음원 구성',
|
||||||
closeActionDesc: '창을 닫을 때의 동작 선택',
|
selectedMusicSources: '선택된 음원:',
|
||||||
closeOptions: {
|
noMusicSources: '음원이 선택되지 않음',
|
||||||
ask: '매번 묻기',
|
gdmusicInfo: 'GD 뮤직은 여러 플랫폼 음원을 자동으로 해석하고 최적의 결과를 자동 선택합니다',
|
||||||
minimize: '트레이로 최소화',
|
autoPlay: '자동 재생',
|
||||||
close: '직접 종료'
|
autoPlayDesc: '앱을 다시 열 때 자동으로 재생을 계속할지 여부',
|
||||||
},
|
audioDevice: '오디오 출력 장치',
|
||||||
shortcut: '단축키 설정',
|
audioDeviceDesc: '스피커, 헤드폰 또는 블루투스 장치와 같은 오디오 출력 장치 선택',
|
||||||
shortcutDesc: '전역 단축키 사용자 정의',
|
testAudio: '테스트',
|
||||||
download: '다운로드 관리',
|
selectAudioDevice: '출력 장치 선택',
|
||||||
downloadDesc: '다운로드 목록 버튼을 항상 표시할지 여부',
|
showStatusBar: '상태바 제어 기능 표시 여부',
|
||||||
unlimitedDownload: '무제한 다운로드',
|
showStatusBarContent: 'Mac 상태바에 음악 제어 기능을 표시할 수 있습니다 (재시작 후 적용)',
|
||||||
unlimitedDownloadDesc: '활성화하면 음악을 무제한으로 다운로드합니다 (다운로드 실패가 발생할 수 있음), 기본 제한 300곡',
|
fallbackParser: '대체 분석 서비스 (GD Music)',
|
||||||
downloadPath: '다운로드 디렉토리',
|
fallbackParserDesc:
|
||||||
downloadPathDesc: '음악 파일의 다운로드 위치 선택',
|
'"GD Music"을 선택하고 일반 음원을 사용할 수 없을 때 이 서비스를 사용합니다.',
|
||||||
remoteControl: '원격 제어',
|
parserGD: 'GD Music (내장)',
|
||||||
remoteControlDesc: '원격 제어 기능 설정'
|
parserCustom: '사용자 지정 API',
|
||||||
},
|
|
||||||
network: {
|
// 음원 라벨
|
||||||
apiPort: '음악 API 포트',
|
sourceLabels: {
|
||||||
apiPortDesc: '수정 후 앱을 재시작해야 합니다',
|
migu: 'Migu',
|
||||||
proxy: '프록시 설정',
|
kugou: 'Kugou',
|
||||||
proxyDesc: '음악에 액세스할 수 없을 때 프록시를 활성화할 수 있습니다',
|
kuwo: 'Kuwo',
|
||||||
proxyHost: '프록시 주소',
|
pyncmd: 'NetEase (내장)',
|
||||||
proxyHostPlaceholder: '프록시 주소를 입력하세요',
|
qq: 'QQ Music',
|
||||||
proxyPort: '프록시 포트',
|
joox: 'JOOX',
|
||||||
proxyPortPlaceholder: '프록시 포트를 입력하세요',
|
bilibili: 'Bilibili',
|
||||||
realIP: 'realIP 설정',
|
gdmusic: 'GD Music',
|
||||||
realIPDesc: '제한으로 인해 이 프로젝트는 해외에서 사용할 때 제한을 받을 수 있으며, realIP 매개변수를 사용하여 국내 IP를 전달하여 해결할 수 있습니다',
|
lxMusic: 'LX Music',
|
||||||
messages: {
|
custom: '사용자 지정 API'
|
||||||
proxySuccess: '프록시 설정이 저장되었습니다. 앱을 재시작한 후 적용됩니다',
|
},
|
||||||
proxyError: '입력이 올바른지 확인하세요',
|
|
||||||
realIPSuccess: '실제 IP 설정이 저장되었습니다',
|
customApi: {
|
||||||
realIPError: '유효한 IP 주소를 입력하세요'
|
sectionTitle: '사용자 지정 API 설정',
|
||||||
}
|
importConfig: 'JSON 설정 가져오기',
|
||||||
},
|
currentSource: '현재 음원',
|
||||||
system: {
|
notImported: '아직 사용자 지정 음원을 가져오지 않았습니다.',
|
||||||
cache: '캐시 관리',
|
importSuccess: '음원 가져오기 성공: {name}',
|
||||||
cacheDesc: '캐시 지우기',
|
importFailed: '가져오기 실패: {message}',
|
||||||
cacheClearTitle: '지울 캐시 유형을 선택하세요:',
|
enableHint: '사용하려면 먼저 JSON 구성 파일을 가져오세요',
|
||||||
cacheTypes: {
|
status: {
|
||||||
history: {
|
imported: '사용자 지정 음원 가져옴',
|
||||||
label: '재생 기록',
|
notImported: '가져오지 않음'
|
||||||
description: '재생한 곡 기록 지우기'
|
}
|
||||||
},
|
},
|
||||||
favorite: {
|
lxMusic: {
|
||||||
label: '즐겨찾기 기록',
|
tabs: {
|
||||||
description: '로컬 즐겨찾기 곡 기록 지우기 (클라우드 즐겨찾기에는 영향 없음)'
|
sources: '음원 선택',
|
||||||
},
|
lxMusic: '낙설 음원',
|
||||||
user: {
|
customApi: '사용자 정의 API'
|
||||||
label: '사용자 데이터',
|
},
|
||||||
description: '로그인 정보 및 사용자 관련 데이터 지우기'
|
scripts: {
|
||||||
},
|
title: '가져온 스크립트',
|
||||||
settings: {
|
importLocal: '로컬 가져오기',
|
||||||
label: '앱 설정',
|
importOnline: '온라인 가져오기',
|
||||||
description: '앱의 모든 사용자 정의 설정 지우기'
|
urlPlaceholder: '낙설 음원 스크립트 URL 입력',
|
||||||
},
|
importBtn: '가져오기',
|
||||||
downloads: {
|
empty: '가져온 낙설 음원이 없습니다',
|
||||||
label: '다운로드 기록',
|
notConfigured: '설정되지 않음 (낙설 음원 탭에서 설정하세요)',
|
||||||
description: '다운로드 기록 지우기 (다운로드된 파일은 삭제되지 않음)'
|
importHint: '소스 확장을 위해 호환되는 사용자 정의 API 플러그인을 가져옵니다',
|
||||||
},
|
noScriptWarning: '먼저 낙설 음원 스크립트를 가져오세요',
|
||||||
resources: {
|
noSelectionWarning: '먼저 낙설 음원 소스를 선택하세요',
|
||||||
label: '음악 리소스',
|
notFound: '음원이 존재하지 않습니다',
|
||||||
description: '로드된 음악 파일, 가사 등 리소스 캐시 지우기'
|
switched: '음원으로 전환되었습니다: {name}',
|
||||||
},
|
deleted: '음원이 삭제되었습니다: {name}',
|
||||||
lyrics: {
|
enterUrl: '스크립트 URL을 입력하세요',
|
||||||
label: '가사 리소스',
|
invalidUrl: '유효하지 않은 URL 형식',
|
||||||
description: '로드된 가사 리소스 캐시 지우기'
|
invalidScript: '유효하지 않은 낙설 음원 스크립트입니다 (globalThis.lx 코드를 찾을 수 없음)',
|
||||||
}
|
nameRequired: '이름은 비워둘 수 없습니다',
|
||||||
},
|
renameSuccess: '이름이 변경되었습니다'
|
||||||
restart: '재시작',
|
}
|
||||||
restartDesc: '앱 재시작',
|
}
|
||||||
messages: {
|
},
|
||||||
clearSuccess: '지우기 성공, 일부 설정은 재시작 후 적용됩니다'
|
application: {
|
||||||
}
|
closeAction: '닫기 동작',
|
||||||
},
|
closeActionDesc: '창을 닫을 때의 동작 선택',
|
||||||
about: {
|
closeOptions: {
|
||||||
version: '버전',
|
ask: '매번 묻기',
|
||||||
checkUpdate: '업데이트 확인',
|
minimize: '트레이로 최소화',
|
||||||
checking: '확인 중...',
|
close: '직접 종료'
|
||||||
latest: '현재 최신 버전입니다',
|
},
|
||||||
hasUpdate: '새 버전 발견',
|
shortcut: '단축키 설정',
|
||||||
gotoUpdate: '업데이트하러 가기',
|
shortcutDesc: '전역 단축키 사용자 정의',
|
||||||
gotoGithub: 'Github로 이동',
|
download: '다운로드 관리',
|
||||||
author: '작성자',
|
downloadDesc: '다운로드 목록 버튼을 항상 표시할지 여부',
|
||||||
authorDesc: 'algerkong 별점🌟 부탁드려요',
|
unlimitedDownload: '무제한 다운로드',
|
||||||
messages: {
|
unlimitedDownloadDesc:
|
||||||
checkError: '업데이트 확인 실패, 나중에 다시 시도하세요'
|
'활성화하면 음악을 무제한으로 다운로드합니다 (다운로드 실패가 발생할 수 있음), 기본 제한 300곡',
|
||||||
}
|
downloadPath: '다운로드 디렉토리',
|
||||||
},
|
downloadPathDesc: '음악 파일의 다운로드 위치 선택',
|
||||||
validation: {
|
remoteControl: '원격 제어',
|
||||||
selectProxyProtocol: '프록시 프로토콜을 선택하세요',
|
remoteControlDesc: '원격 제어 기능 설정'
|
||||||
proxyHost: '프록시 주소를 입력하세요',
|
},
|
||||||
portNumber: '유효한 포트 번호를 입력하세요 (1-65535)'
|
network: {
|
||||||
},
|
apiPort: '음악 API 포트',
|
||||||
lyricSettings: {
|
apiPortDesc: '수정 후 앱을 재시작해야 합니다',
|
||||||
title: '가사 설정',
|
proxy: '프록시 설정',
|
||||||
tabs: {
|
proxyDesc: '음악에 액세스할 수 없을 때 프록시를 활성화할 수 있습니다',
|
||||||
display: '표시',
|
proxyHost: '프록시 주소',
|
||||||
interface: '인터페이스',
|
proxyHostPlaceholder: '프록시 주소를 입력하세요',
|
||||||
typography: '텍스트',
|
proxyPort: '프록시 포트',
|
||||||
mobile: '모바일'
|
proxyPortPlaceholder: '프록시 포트를 입력하세요',
|
||||||
},
|
realIP: 'realIP 설정',
|
||||||
pureMode: '순수 모드',
|
realIPDesc:
|
||||||
hideCover: '커버 숨기기',
|
'제한으로 인해 이 프로젝트는 해외에서 사용할 때 제한을 받을 수 있으며, realIP 매개변수를 사용하여 국내 IP를 전달하여 해결할 수 있습니다',
|
||||||
centerDisplay: '중앙 표시',
|
messages: {
|
||||||
showTranslation: '번역 표시',
|
proxySuccess: '프록시 설정이 저장되었습니다. 앱을 재시작한 후 적용됩니다',
|
||||||
hideLyrics: '가사 숨기기',
|
proxyError: '입력이 올바른지 확인하세요',
|
||||||
hidePlayBar: '재생바 숨기기',
|
realIPSuccess: '실제 IP 설정이 저장되었습니다',
|
||||||
hideMiniPlayBar: '미니 재생바 숨기기',
|
realIPError: '유효한 IP 주소를 입력하세요'
|
||||||
showMiniPlayBar: '미니 재생바 표시',
|
}
|
||||||
backgroundTheme: '배경 테마',
|
},
|
||||||
themeOptions: {
|
system: {
|
||||||
default: '기본',
|
cache: '캐시 관리',
|
||||||
light: '밝음',
|
cacheDesc: '캐시 지우기',
|
||||||
dark: '어둠'
|
diskCache: '디스크 캐시',
|
||||||
},
|
diskCacheDesc: '재생한 음악과 가사를 로컬 디스크에 캐시하여 재생 속도를 높입니다',
|
||||||
fontSize: '폰트 크기',
|
cacheDirectory: '캐시 디렉터리',
|
||||||
fontSizeMarks: {
|
cacheDirectoryDesc: '음악 및 가사 캐시 저장 경로를 사용자 지정',
|
||||||
small: '작음',
|
selectDirectory: '디렉터리 선택',
|
||||||
medium: '중간',
|
openDirectory: '디렉터리 열기',
|
||||||
large: '큼'
|
cacheMaxSize: '캐시 용량 제한',
|
||||||
},
|
cacheMaxSizeDesc: '용량 제한 도달 시 오래된 캐시를 자동 정리합니다',
|
||||||
letterSpacing: '글자 간격',
|
cleanupPolicy: '정리 정책',
|
||||||
letterSpacingMarks: {
|
cleanupPolicyDesc: '캐시 용량 제한 도달 시 적용할 자동 정리 규칙',
|
||||||
compact: '좁음',
|
cleanupPolicyOptions: {
|
||||||
default: '기본',
|
lru: '최근 사용 안 함 우선',
|
||||||
loose: '넓음'
|
fifo: '선입선출'
|
||||||
},
|
},
|
||||||
lineHeight: '줄 높이',
|
cacheStatus: '캐시 상태',
|
||||||
lineHeightMarks: {
|
cacheStatusDesc: '사용량 {used} / 제한 {limit}',
|
||||||
compact: '좁음',
|
cacheStatusDetail: '음악 {musicCount}곡, 가사 {lyricCount}곡',
|
||||||
default: '기본',
|
manageDiskCache: '수동 디스크 캐시 정리',
|
||||||
loose: '넓음'
|
manageDiskCacheDesc: '캐시 유형별로 정리',
|
||||||
},
|
clearMusicCache: '음악 캐시 정리',
|
||||||
mobileLayout: '모바일 레이아웃',
|
clearLyricCache: '가사 캐시 정리',
|
||||||
layoutOptions: {
|
clearAllCache: '전체 캐시 정리',
|
||||||
default: '기본',
|
switchDirectoryMigrateTitle: '기존 캐시가 감지되었습니다',
|
||||||
ios: 'iOS 스타일',
|
switchDirectoryMigrateContent: '기존 캐시를 새 디렉터리로 마이그레이션할까요?',
|
||||||
android: '안드로이드 스타일'
|
switchDirectoryMigrateConfirm: '마이그레이션',
|
||||||
},
|
switchDirectoryDestroyTitle: '기존 캐시 삭제',
|
||||||
mobileCoverStyle: '커버 스타일',
|
switchDirectoryDestroyContent:
|
||||||
coverOptions: {
|
'마이그레이션하지 않을 경우, 이전 디렉터리의 캐시 파일을 삭제할까요?',
|
||||||
record: '레코드',
|
switchDirectoryDestroyConfirm: '삭제',
|
||||||
square: '정사각형',
|
switchDirectoryKeepOld: '기존 캐시 유지',
|
||||||
full: '전체화면'
|
cacheClearTitle: '지울 캐시 유형을 선택하세요:',
|
||||||
},
|
cacheTypes: {
|
||||||
lyricLines: '가사 줄 수',
|
history: {
|
||||||
mobileUnavailable: '이 설정은 모바일에서만 사용 가능합니다'
|
label: '재생 기록',
|
||||||
},
|
description: '재생한 곡 기록 지우기'
|
||||||
themeColor: {
|
},
|
||||||
title: '가사 테마 색상',
|
favorite: {
|
||||||
presetColors: '미리 설정된 색상',
|
label: '즐겨찾기 기록',
|
||||||
customColor: '사용자 정의 색상',
|
description: '로컬 즐겨찾기 곡 기록 지우기 (클라우드 즐겨찾기에는 영향 없음)'
|
||||||
preview: '미리보기 효과',
|
},
|
||||||
previewText: '가사 효과',
|
user: {
|
||||||
colorNames: {
|
label: '사용자 데이터',
|
||||||
'spotify-green': 'Spotify 그린',
|
description: '로그인 정보 및 사용자 관련 데이터 지우기'
|
||||||
'apple-blue': '애플 블루',
|
},
|
||||||
'youtube-red': 'YouTube 레드',
|
settings: {
|
||||||
orange: '활력 오렌지',
|
label: '앱 설정',
|
||||||
purple: '신비 퍼플',
|
description: '앱의 모든 사용자 정의 설정 지우기'
|
||||||
pink: '벚꽃 핑크'
|
},
|
||||||
},
|
downloads: {
|
||||||
tooltips: {
|
label: '다운로드 기록',
|
||||||
openColorPicker: '색상 선택기 열기',
|
description: '다운로드 기록 지우기 (다운로드된 파일은 삭제되지 않음)'
|
||||||
closeColorPicker: '색상 선택기 닫기'
|
},
|
||||||
},
|
resources: {
|
||||||
placeholder: '#1db954'
|
label: '음악 리소스',
|
||||||
},
|
description: '로드된 음악 파일, 가사 등 리소스 캐시 지우기'
|
||||||
shortcutSettings: {
|
},
|
||||||
title: '단축키 설정',
|
lyrics: {
|
||||||
shortcut: '단축키',
|
label: '가사 리소스',
|
||||||
shortcutDesc: '단축키 사용자 정의',
|
description: '로드된 가사 리소스 캐시 지우기'
|
||||||
shortcutConflict: '단축키 충돌',
|
}
|
||||||
inputPlaceholder: '클릭하여 단축키 입력',
|
},
|
||||||
resetShortcuts: '기본값 복원',
|
restart: '재시작',
|
||||||
disableAll: '모두 비활성화',
|
restartDesc: '앱 재시작',
|
||||||
enableAll: '모두 활성화',
|
messages: {
|
||||||
togglePlay: '재생/일시정지',
|
clearSuccess: '지우기 성공, 일부 설정은 재시작 후 적용됩니다',
|
||||||
prevPlay: '이전 곡',
|
diskCacheClearSuccess: '디스크 캐시를 정리했습니다',
|
||||||
nextPlay: '다음 곡',
|
diskCacheClearFailed: '디스크 캐시 정리에 실패했습니다',
|
||||||
volumeUp: '볼륨 증가',
|
diskCacheStatsLoadFailed: '캐시 상태를 불러오지 못했습니다',
|
||||||
volumeDown: '볼륨 감소',
|
switchDirectorySuccess: '캐시 디렉터리가 변경되었습니다. 기존 캐시는 유지됩니다',
|
||||||
toggleFavorite: '즐겨찾기/즐겨찾기 취소',
|
switchDirectoryFailed: '캐시 디렉터리 변경에 실패했습니다',
|
||||||
toggleWindow: '창 표시/숨기기',
|
switchDirectoryMigrated: '캐시 디렉터리를 변경하고 {count}개 파일을 마이그레이션했습니다',
|
||||||
scopeGlobal: '전역',
|
switchDirectoryDestroyed: '캐시 디렉터리를 변경하고 기존 캐시 {count}개 파일을 삭제했습니다'
|
||||||
scopeApp: '앱 내',
|
}
|
||||||
enabled: '활성화',
|
},
|
||||||
disabled: '비활성화',
|
about: {
|
||||||
messages: {
|
version: '버전',
|
||||||
resetSuccess: '기본 단축키로 복원되었습니다. 저장을 잊지 마세요',
|
checkUpdate: '업데이트 확인',
|
||||||
conflict: '충돌하는 단축키가 있습니다. 다시 설정하세요',
|
checking: '확인 중...',
|
||||||
saveSuccess: '단축키 설정이 저장되었습니다',
|
latest: '현재 최신 버전입니다',
|
||||||
saveError: '단축키 저장 실패, 다시 시도하세요',
|
hasUpdate: '새 버전 발견',
|
||||||
cancelEdit: '수정이 취소되었습니다',
|
gotoUpdate: '업데이트하러 가기',
|
||||||
disableAll: '모든 단축키가 비활성화되었습니다. 저장을 잊지 마세요',
|
manualUpdate: '수동 업데이트',
|
||||||
enableAll: '모든 단축키가 활성화되었습니다. 저장을 잊지 마세요'
|
gotoGithub: 'Github로 이동',
|
||||||
}
|
author: '작성자',
|
||||||
},
|
authorDesc: 'algerkong 별점🌟 부탁드려요',
|
||||||
remoteControl: {
|
messages: {
|
||||||
title: '원격 제어',
|
checkError: '업데이트 확인 실패, 나중에 다시 시도하세요'
|
||||||
enable: '원격 제어 활성화',
|
}
|
||||||
port: '서비스 포트',
|
},
|
||||||
allowedIps: '허용된 IP 주소',
|
validation: {
|
||||||
addIp: 'IP 추가',
|
selectProxyProtocol: '프록시 프로토콜을 선택하세요',
|
||||||
emptyListHint: '빈 목록은 모든 IP 액세스를 허용함을 의미합니다',
|
proxyHost: '프록시 주소를 입력하세요',
|
||||||
saveSuccess: '원격 제어 설정이 저장되었습니다',
|
portNumber: '유효한 포트 번호를 입력하세요 (1-65535)'
|
||||||
accessInfo: '원격 제어 액세스 주소:'
|
},
|
||||||
},
|
lyricSettings: {
|
||||||
cookie: {
|
title: '가사 설정',
|
||||||
title: 'Cookie 설정',
|
tabs: {
|
||||||
description: '넷이즈 클라우드 뮤직의 Cookie를 입력하세요:',
|
display: '표시',
|
||||||
placeholder: '완전한 Cookie를 붙여넣으세요...',
|
interface: '인터페이스',
|
||||||
help: {
|
typography: '텍스트',
|
||||||
format: 'Cookie는 일반적으로 "MUSIC_U="로 시작합니다',
|
background: '배경',
|
||||||
source: '브라우저 개발자 도구의 네트워크 요청에서 얻을 수 있습니다',
|
mobile: '모바일'
|
||||||
storage: 'Cookie 설정 후 자동으로 로컬 저장소에 저장됩니다'
|
},
|
||||||
},
|
pureMode: '순수 모드',
|
||||||
action: {
|
hideCover: '커버 숨기기',
|
||||||
save: 'Cookie 저장',
|
centerDisplay: '중앙 표시',
|
||||||
paste: '붙여넣기',
|
showTranslation: '번역 표시',
|
||||||
clear: '지우기'
|
hideLyrics: '가사 숨기기',
|
||||||
},
|
hidePlayBar: '재생바 숨기기',
|
||||||
validation: {
|
hideMiniPlayBar: '미니 재생바 숨기기',
|
||||||
required: 'Cookie를 입력하세요',
|
showMiniPlayBar: '미니 재생바 표시',
|
||||||
format: 'Cookie 형식이 올바르지 않을 수 있습니다. MUSIC_U가 포함되어 있는지 확인하세요'
|
backgroundTheme: '배경 테마',
|
||||||
},
|
themeOptions: {
|
||||||
message: {
|
default: '기본',
|
||||||
saveSuccess: 'Cookie 저장 성공',
|
light: '밝음',
|
||||||
saveError: 'Cookie 저장 실패',
|
dark: '어둠'
|
||||||
pasteSuccess: '붙여넣기 성공',
|
},
|
||||||
pasteError: '붙여넣기 실패, 수동으로 복사하세요'
|
fontSize: '폰트 크기',
|
||||||
},
|
fontSizeMarks: {
|
||||||
info: {
|
small: '작음',
|
||||||
length: '현재 길이: {length} 문자'
|
medium: '중간',
|
||||||
}
|
large: '큼'
|
||||||
}
|
},
|
||||||
};
|
fontWeight: '글꼴 두께',
|
||||||
|
fontWeightMarks: {
|
||||||
|
thin: '가늘게',
|
||||||
|
normal: '보통',
|
||||||
|
bold: '굵게'
|
||||||
|
},
|
||||||
|
letterSpacing: '글자 간격',
|
||||||
|
letterSpacingMarks: {
|
||||||
|
compact: '좁음',
|
||||||
|
default: '기본',
|
||||||
|
loose: '넓음'
|
||||||
|
},
|
||||||
|
lineHeight: '줄 높이',
|
||||||
|
lineHeightMarks: {
|
||||||
|
compact: '좁음',
|
||||||
|
default: '기본',
|
||||||
|
loose: '넓음'
|
||||||
|
},
|
||||||
|
contentWidth: '콘텐츠 너비',
|
||||||
|
mobileLayout: '모바일 레이아웃',
|
||||||
|
layoutOptions: {
|
||||||
|
default: '기본',
|
||||||
|
ios: 'iOS 스타일',
|
||||||
|
android: '안드로이드 스타일'
|
||||||
|
},
|
||||||
|
mobileCoverStyle: '커버 스타일',
|
||||||
|
coverOptions: {
|
||||||
|
record: '레코드',
|
||||||
|
square: '정사각형',
|
||||||
|
full: '전체화면'
|
||||||
|
},
|
||||||
|
lyricLines: '가사 줄 수',
|
||||||
|
mobileUnavailable: '이 설정은 모바일에서만 사용 가능합니다',
|
||||||
|
// 배경 설정
|
||||||
|
background: {
|
||||||
|
useCustomBackground: '사용자 정의 배경 사용',
|
||||||
|
backgroundMode: '배경 모드',
|
||||||
|
modeOptions: {
|
||||||
|
solid: '단색',
|
||||||
|
gradient: '그라데이션',
|
||||||
|
image: '이미지',
|
||||||
|
css: 'CSS'
|
||||||
|
},
|
||||||
|
solidColor: '색상 선택',
|
||||||
|
presetColors: '프리셋 색상',
|
||||||
|
customColor: '사용자 정의 색상',
|
||||||
|
gradientEditor: '그라데이션 편집기',
|
||||||
|
gradientColors: '그라데이션 색상',
|
||||||
|
gradientDirection: '그라데이션 방향',
|
||||||
|
directionOptions: {
|
||||||
|
toBottom: '위에서 아래로',
|
||||||
|
toRight: '왼쪽에서 오른쪽으로',
|
||||||
|
toBottomRight: '왼쪽 위에서 오른쪽 아래로',
|
||||||
|
angle45: '45도',
|
||||||
|
toTop: '아래에서 위로',
|
||||||
|
toLeft: '오른쪽에서 왼쪽으로'
|
||||||
|
},
|
||||||
|
addColor: '색상 추가',
|
||||||
|
removeColor: '색상 제거',
|
||||||
|
imageUpload: '이미지 업로드',
|
||||||
|
imagePreview: '이미지 미리보기',
|
||||||
|
clearImage: '이미지 지우기',
|
||||||
|
imageBlur: '흐림',
|
||||||
|
imageBrightness: '밝기',
|
||||||
|
customCss: '사용자 정의 CSS 스타일',
|
||||||
|
customCssPlaceholder: 'CSS 스타일 입력, 예: background: linear-gradient(...)',
|
||||||
|
customCssHelp: '모든 CSS background 속성 지원',
|
||||||
|
reset: '기본값으로 재설정',
|
||||||
|
fileSizeLimit: '이미지 크기 제한: 20MB',
|
||||||
|
invalidImageFormat: '잘못된 이미지 형식',
|
||||||
|
imageTooLarge: '이미지가 너무 큽니다. 20MB 미만의 이미지를 선택하세요'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
translationEngine: '가사 번역 엔진',
|
||||||
|
translationEngineOptions: {
|
||||||
|
none: '닫기',
|
||||||
|
opencc: 'OpenCC 중국어 번체'
|
||||||
|
},
|
||||||
|
themeColor: {
|
||||||
|
title: '가사 테마 색상',
|
||||||
|
presetColors: '미리 설정된 색상',
|
||||||
|
customColor: '사용자 정의 색상',
|
||||||
|
preview: '미리보기 효과',
|
||||||
|
previewText: '가사 효과',
|
||||||
|
colorNames: {
|
||||||
|
'spotify-green': 'Spotify 그린',
|
||||||
|
'apple-blue': '애플 블루',
|
||||||
|
'youtube-red': 'YouTube 레드',
|
||||||
|
orange: '활력 오렌지',
|
||||||
|
purple: '신비 퍼플',
|
||||||
|
pink: '벚꽃 핑크'
|
||||||
|
},
|
||||||
|
tooltips: {
|
||||||
|
openColorPicker: '색상 선택기 열기',
|
||||||
|
closeColorPicker: '색상 선택기 닫기'
|
||||||
|
},
|
||||||
|
placeholder: '#1db954'
|
||||||
|
},
|
||||||
|
shortcutSettings: {
|
||||||
|
title: '단축키 설정',
|
||||||
|
shortcut: '단축키',
|
||||||
|
shortcutDesc: '단축키 사용자 정의',
|
||||||
|
summaryReady: '단축키 구성이 저장 가능한 상태입니다',
|
||||||
|
summaryRecording: '새 단축키 조합을 입력 중입니다',
|
||||||
|
summaryBlocked: '충돌 또는 잘못된 항목을 먼저 수정하세요',
|
||||||
|
platformHintMac: 'macOS에서는 CommandOrControl이 Cmd로 표시됩니다',
|
||||||
|
platformHintWindows: 'Windows에서는 CommandOrControl이 Ctrl로 표시됩니다',
|
||||||
|
platformHintLinux: 'Linux에서는 CommandOrControl이 Ctrl로 표시됩니다',
|
||||||
|
platformHintGeneric: 'CommandOrControl은 운영체제에 맞게 자동 변환됩니다',
|
||||||
|
enabledCount: '활성화됨',
|
||||||
|
recordingTip: '필드를 클릭 후 조합키 입력, Esc 취소, Delete 비활성화',
|
||||||
|
shortcutConflict: '단축키 충돌',
|
||||||
|
inputPlaceholder: '클릭하여 단축키 입력',
|
||||||
|
clickToRecord: '클릭 후 단축키 입력',
|
||||||
|
recording: '입력 중...',
|
||||||
|
resetShortcuts: '기본값 복원',
|
||||||
|
restoreSingle: '복원',
|
||||||
|
disableAll: '모두 비활성화',
|
||||||
|
enableAll: '모두 활성화',
|
||||||
|
groups: {
|
||||||
|
playback: '재생 제어',
|
||||||
|
sound: '볼륨 및 즐겨찾기',
|
||||||
|
window: '창 제어'
|
||||||
|
},
|
||||||
|
togglePlay: '재생/일시정지',
|
||||||
|
togglePlayDesc: '현재 재생 상태를 전환합니다',
|
||||||
|
prevPlay: '이전 곡',
|
||||||
|
prevPlayDesc: '이전 곡으로 이동합니다',
|
||||||
|
nextPlay: '다음 곡',
|
||||||
|
nextPlayDesc: '다음 곡으로 이동합니다',
|
||||||
|
volumeUp: '볼륨 증가',
|
||||||
|
volumeUpDesc: '플레이어 볼륨을 높입니다',
|
||||||
|
volumeDown: '볼륨 감소',
|
||||||
|
volumeDownDesc: '플레이어 볼륨을 낮춥니다',
|
||||||
|
toggleFavorite: '즐겨찾기/즐겨찾기 취소',
|
||||||
|
toggleFavoriteDesc: '현재 곡 즐겨찾기를 전환합니다',
|
||||||
|
toggleWindow: '창 표시/숨기기',
|
||||||
|
toggleWindowDesc: '메인 창을 빠르게 표시/숨김합니다',
|
||||||
|
scopeGlobal: '전역',
|
||||||
|
scopeApp: '앱 내',
|
||||||
|
enabled: '활성화',
|
||||||
|
disabled: '비활성화',
|
||||||
|
issueInvalid: '잘못된 조합',
|
||||||
|
issueReserved: '시스템 예약',
|
||||||
|
registrationWarningTitle: '다음 단축키는 등록되지 않았습니다',
|
||||||
|
registrationOccupied: '시스템 또는 다른 앱에서 사용 중',
|
||||||
|
registrationInvalid: '단축키 형식이 잘못됨',
|
||||||
|
messages: {
|
||||||
|
resetSuccess: '기본 단축키로 복원되었습니다. 저장을 잊지 마세요',
|
||||||
|
conflict: '충돌하는 단축키가 있습니다. 다시 설정하세요',
|
||||||
|
saveSuccess: '단축키 설정이 저장되었습니다',
|
||||||
|
saveError: '단축키 저장 실패, 다시 시도하세요',
|
||||||
|
saveValidationError: '단축키 검증에 실패했습니다. 설정을 확인하세요',
|
||||||
|
partialRegistered: '저장되었지만 일부 전역 단축키는 등록되지 않았습니다',
|
||||||
|
cancelEdit: '수정이 취소되었습니다',
|
||||||
|
clearToDisable: '해당 단축키가 비활성화되었습니다',
|
||||||
|
invalidShortcut: '잘못된 단축키입니다. 유효한 조합을 입력하세요',
|
||||||
|
disableAll: '모든 단축키가 비활성화되었습니다. 저장을 잊지 마세요',
|
||||||
|
enableAll: '모든 단축키가 활성화되었습니다. 저장을 잊지 마세요'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remoteControl: {
|
||||||
|
title: '원격 제어',
|
||||||
|
enable: '원격 제어 활성화',
|
||||||
|
port: '서비스 포트',
|
||||||
|
allowedIps: '허용된 IP 주소',
|
||||||
|
addIp: 'IP 추가',
|
||||||
|
emptyListHint: '빈 목록은 모든 IP 액세스를 허용함을 의미합니다',
|
||||||
|
saveSuccess: '원격 제어 설정이 저장되었습니다',
|
||||||
|
accessInfo: '원격 제어 액세스 주소:'
|
||||||
|
},
|
||||||
|
cookie: {
|
||||||
|
title: 'Cookie 설정',
|
||||||
|
description: '넷이즈 클라우드 뮤직의 Cookie를 입력하세요:',
|
||||||
|
placeholder: '완전한 Cookie를 붙여넣으세요...',
|
||||||
|
help: {
|
||||||
|
format: 'Cookie는 일반적으로 "MUSIC_U="로 시작합니다',
|
||||||
|
source: '브라우저 개발자 도구의 네트워크 요청에서 얻을 수 있습니다',
|
||||||
|
storage: 'Cookie 설정 후 자동으로 로컬 저장소에 저장됩니다'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
save: 'Cookie 저장',
|
||||||
|
paste: '붙여넣기',
|
||||||
|
clear: '지우기'
|
||||||
|
},
|
||||||
|
validation: {
|
||||||
|
required: 'Cookie를 입력하세요',
|
||||||
|
format: 'Cookie 형식이 올바르지 않을 수 있습니다. MUSIC_U가 포함되어 있는지 확인하세요'
|
||||||
|
},
|
||||||
|
message: {
|
||||||
|
saveSuccess: 'Cookie 저장 성공',
|
||||||
|
saveError: 'Cookie 저장 실패',
|
||||||
|
pasteSuccess: '붙여넣기 성공',
|
||||||
|
pasteError: '붙여넣기 실패, 수동으로 복사하세요'
|
||||||
|
},
|
||||||
|
info: {
|
||||||
|
length: '현재 길이: {length} 문자'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export default {
|
|||||||
play: '재생',
|
play: '재생',
|
||||||
playNext: '다음에 재생',
|
playNext: '다음에 재생',
|
||||||
download: '곡 다운로드',
|
download: '곡 다운로드',
|
||||||
|
downloadLyric: '가사 다운로드',
|
||||||
addToPlaylist: '플레이리스트에 추가',
|
addToPlaylist: '플레이리스트에 추가',
|
||||||
favorite: '좋아요',
|
favorite: '좋아요',
|
||||||
unfavorite: '좋아요 취소',
|
unfavorite: '좋아요 취소',
|
||||||
@@ -15,7 +16,10 @@ export default {
|
|||||||
downloadFailed: '다운로드 실패',
|
downloadFailed: '다운로드 실패',
|
||||||
downloadQueued: '다운로드 대기열에 추가됨',
|
downloadQueued: '다운로드 대기열에 추가됨',
|
||||||
addedToNextPlay: '다음 재생에 추가됨',
|
addedToNextPlay: '다음 재생에 추가됨',
|
||||||
getUrlFailed: '음악 다운로드 주소 가져오기 실패, 로그인 상태를 확인하세요'
|
getUrlFailed: '음악 다운로드 주소 가져오기 실패, 로그인 상태를 확인하세요',
|
||||||
|
noLyric: '이 곡에는 가사가 없습니다',
|
||||||
|
lyricDownloaded: '가사 다운로드 완료',
|
||||||
|
lyricDownloadFailed: '가사 다운로드 실패'
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
dislike: {
|
dislike: {
|
||||||
@@ -25,4 +29,4 @@ export default {
|
|||||||
negativeText: '취소'
|
negativeText: '취소'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ export default {
|
|||||||
trackCount: '{count}곡',
|
trackCount: '{count}곡',
|
||||||
playCount: '{count}회 재생'
|
playCount: '{count}회 재생'
|
||||||
},
|
},
|
||||||
|
tabs: {
|
||||||
|
created: '생성',
|
||||||
|
favorite: '즐겨찾기',
|
||||||
|
album: '앨범'
|
||||||
|
},
|
||||||
ranking: {
|
ranking: {
|
||||||
title: '음악 청취 순위',
|
title: '음악 청취 순위',
|
||||||
playCount: '{count}회'
|
playCount: '{count}회'
|
||||||
@@ -45,4 +50,4 @@ export default {
|
|||||||
deleteSuccess: '삭제 성공',
|
deleteSuccess: '삭제 성공',
|
||||||
deleteFailed: '삭제 실패'
|
deleteFailed: '삭제 실패'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export default {
|
|||||||
hide: '隐藏',
|
hide: '隐藏',
|
||||||
confirm: '确认',
|
confirm: '确认',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
|
clear: '清空',
|
||||||
configure: '配置',
|
configure: '配置',
|
||||||
open: '打开',
|
open: '打开',
|
||||||
modify: '修改',
|
modify: '修改',
|
||||||
@@ -27,6 +28,8 @@ export default {
|
|||||||
refresh: '刷新',
|
refresh: '刷新',
|
||||||
retry: '重试',
|
retry: '重试',
|
||||||
reset: '重置',
|
reset: '重置',
|
||||||
|
loadFailed: '加载失败',
|
||||||
|
noData: '暂无数据',
|
||||||
back: '返回',
|
back: '返回',
|
||||||
copySuccess: '已复制到剪贴板',
|
copySuccess: '已复制到剪贴板',
|
||||||
copyFailed: '复制失败',
|
copyFailed: '复制失败',
|
||||||
@@ -39,10 +42,13 @@ export default {
|
|||||||
viewMore: '查看更多',
|
viewMore: '查看更多',
|
||||||
noMore: '没有更多了',
|
noMore: '没有更多了',
|
||||||
selectAll: '全选',
|
selectAll: '全选',
|
||||||
|
playAll: '播放全部',
|
||||||
expand: '展开',
|
expand: '展开',
|
||||||
collapse: '收起',
|
collapse: '收起',
|
||||||
songCount: '{count}首',
|
songCount: '{count}首',
|
||||||
language: '语言',
|
language: '语言',
|
||||||
|
today: '今天',
|
||||||
|
yesterday: '昨天',
|
||||||
tray: {
|
tray: {
|
||||||
show: '显示',
|
show: '显示',
|
||||||
quit: '退出',
|
quit: '退出',
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
|
more: '更多',
|
||||||
|
homeListItem: {
|
||||||
|
loading: '加载中...'
|
||||||
|
},
|
||||||
installApp: {
|
installApp: {
|
||||||
description: '安装应用程序,获得更好的体验',
|
description: '安装应用程序,获得更好的体验',
|
||||||
noPrompt: '不再提示',
|
noPrompt: '不再提示',
|
||||||
@@ -33,11 +37,16 @@ export default {
|
|||||||
title: '发现新版本',
|
title: '发现新版本',
|
||||||
currentVersion: '当前版本',
|
currentVersion: '当前版本',
|
||||||
cancel: '暂不更新',
|
cancel: '暂不更新',
|
||||||
|
checking: '检查更新中...',
|
||||||
prepareDownload: '准备下载...',
|
prepareDownload: '准备下载...',
|
||||||
downloading: '下载中...',
|
downloading: '下载中...',
|
||||||
|
readyToInstall: '更新包已下载完成,可以立即安装',
|
||||||
nowUpdate: '立即更新',
|
nowUpdate: '立即更新',
|
||||||
downloadFailed: '下载失败,请重试或手动下载',
|
downloadFailed: '下载失败,请重试或手动下载',
|
||||||
startFailed: '启动下载失败,请重试或手动下载',
|
startFailed: '启动下载失败,请重试或手动下载',
|
||||||
|
autoUpdateFailed: '自动更新失败',
|
||||||
|
openOfficialSite: '前往官网更新',
|
||||||
|
manualFallbackHint: '自动更新失败后,可前往官网下载安装最新版本。',
|
||||||
noDownloadUrl: '未找到适合当前系统的安装包,请手动下载',
|
noDownloadUrl: '未找到适合当前系统的安装包,请手动下载',
|
||||||
installConfirmTitle: '安装更新',
|
installConfirmTitle: '安装更新',
|
||||||
installConfirmContent: '是否关闭应用并安装更新?',
|
installConfirmContent: '是否关闭应用并安装更新?',
|
||||||
@@ -50,6 +59,27 @@ export default {
|
|||||||
copyFailed: '复制失败',
|
copyFailed: '复制失败',
|
||||||
backgroundDownload: '后台下载'
|
backgroundDownload: '后台下载'
|
||||||
},
|
},
|
||||||
|
disclaimer: {
|
||||||
|
title: '使用须知',
|
||||||
|
warning: '本应用为开发测试版本,功能尚不完善,可能存在较多问题和 Bug,仅供学习交流使用。',
|
||||||
|
item1: '本应用仅供个人学习、研究和技术交流使用,请勿用于任何商业用途。',
|
||||||
|
item2: '请在下载后 24 小时内删除,如需长期使用请支持正版音乐服务。',
|
||||||
|
item3: '使用本应用即表示您理解并承担相关风险,开发者不对任何损失负责。',
|
||||||
|
agree: '我已阅读并同意',
|
||||||
|
disagree: '不同意并退出'
|
||||||
|
},
|
||||||
|
donate: {
|
||||||
|
title: '支持开发者',
|
||||||
|
subtitle: '您的支持是我前进的动力',
|
||||||
|
tip: '捐赠完全自愿,不捐赠也可以正常使用所有功能,感谢您的理解与支持!',
|
||||||
|
wechat: '微信',
|
||||||
|
alipay: '支付宝',
|
||||||
|
wechatQR: '微信收款码',
|
||||||
|
alipayQR: '支付宝收款码',
|
||||||
|
scanTip: '请使用手机扫描上方二维码进行捐赠',
|
||||||
|
enterApp: '进入应用',
|
||||||
|
noForce: '不强制捐赠,点击即可进入'
|
||||||
|
},
|
||||||
coffee: {
|
coffee: {
|
||||||
title: '请我喝咖啡',
|
title: '请我喝咖啡',
|
||||||
alipay: '支付宝',
|
alipay: '支付宝',
|
||||||
@@ -77,7 +107,68 @@ export default {
|
|||||||
songlist: '每日推荐列表'
|
songlist: '每日推荐列表'
|
||||||
},
|
},
|
||||||
recommendSonglist: {
|
recommendSonglist: {
|
||||||
title: '本周最热音乐'
|
title: '本周最热音乐',
|
||||||
|
empty: '暂无推荐歌单'
|
||||||
|
},
|
||||||
|
dailyRecommend: {
|
||||||
|
title: '每日推荐',
|
||||||
|
badge: '推荐',
|
||||||
|
empty: '暂无推荐歌曲',
|
||||||
|
intelligenceHint: '开启心动模式,发现更多喜欢的音乐'
|
||||||
|
},
|
||||||
|
recommendMV: {
|
||||||
|
title: '推荐MV'
|
||||||
|
},
|
||||||
|
newAlbum: {
|
||||||
|
title: '专辑',
|
||||||
|
empty: '暂无新专辑'
|
||||||
|
},
|
||||||
|
recommendNewMusic: {
|
||||||
|
title: '新歌速递'
|
||||||
|
},
|
||||||
|
privateContent: {
|
||||||
|
title: '独家放送'
|
||||||
|
},
|
||||||
|
djProgram: {
|
||||||
|
title: '推荐电台'
|
||||||
|
},
|
||||||
|
homeHero: {
|
||||||
|
dailyRecommend: '每日推荐',
|
||||||
|
songs: '首',
|
||||||
|
playNow: '立即播放',
|
||||||
|
intelligenceMode: '心动模式',
|
||||||
|
intelligenceModeOn: '心动中',
|
||||||
|
intelligenceModeDesc: '开启智能推荐播放',
|
||||||
|
intelligenceModeActiveDesc: '根据你的喜好智能推荐',
|
||||||
|
startIntelligence: '开启心动',
|
||||||
|
stopIntelligence: '关闭心动',
|
||||||
|
playing: '播放中',
|
||||||
|
toplistDesc: '热门榜单',
|
||||||
|
mvDesc: '音乐视频',
|
||||||
|
playlistDesc: '精选歌单',
|
||||||
|
personalFm: '私人FM',
|
||||||
|
discoverMusic: '发现新音乐',
|
||||||
|
personalFmDesc: '根据你的喜好推荐',
|
||||||
|
recentPlays: '最近播放',
|
||||||
|
viewAll: '查看全部',
|
||||||
|
followedArtists: '关注歌手',
|
||||||
|
newSongs: '首新歌',
|
||||||
|
fromFollowedArtists: '来自你关注的歌手',
|
||||||
|
recommendNewMusic: '推荐新音乐',
|
||||||
|
newSongExpress: '新歌速递',
|
||||||
|
discoverNewReleases: '发现最新发行的好歌',
|
||||||
|
hotPlaylists: '精选歌单',
|
||||||
|
hotArtists: '热门歌手',
|
||||||
|
hotArtistsTitle: '热门艺人',
|
||||||
|
hotArtistsDesc: '当下最受欢迎的歌手',
|
||||||
|
fmTrash: '不喜欢',
|
||||||
|
fmNext: '下一首',
|
||||||
|
quickNav: {
|
||||||
|
myFavorite: '我的收藏',
|
||||||
|
playHistory: '播放历史',
|
||||||
|
myProfile: '我的主页',
|
||||||
|
toplist: '排行榜'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchBar: {
|
searchBar: {
|
||||||
login: '登录',
|
login: '登录',
|
||||||
@@ -92,7 +183,13 @@ export default {
|
|||||||
zoom: '页面缩放',
|
zoom: '页面缩放',
|
||||||
zoom100: '标准缩放100%',
|
zoom100: '标准缩放100%',
|
||||||
resetZoom: '点击重置缩放',
|
resetZoom: '点击重置缩放',
|
||||||
zoomDefault: '标准缩放'
|
zoomDefault: '标准缩放',
|
||||||
|
tabPlaylist: '播放列表',
|
||||||
|
tabMv: 'MV',
|
||||||
|
tabCharts: '排行榜',
|
||||||
|
cancelSearch: '取消',
|
||||||
|
intelligenceMode: '心动模式',
|
||||||
|
exitIntelligence: '退出心动模式'
|
||||||
},
|
},
|
||||||
titleBar: {
|
titleBar: {
|
||||||
closeTitle: '请选择关闭方式',
|
closeTitle: '请选择关闭方式',
|
||||||
@@ -117,7 +214,15 @@ export default {
|
|||||||
cancelCollect: '取消收藏',
|
cancelCollect: '取消收藏',
|
||||||
addToPlaylist: '添加到播放列表',
|
addToPlaylist: '添加到播放列表',
|
||||||
addToPlaylistSuccess: '添加到播放列表成功',
|
addToPlaylistSuccess: '添加到播放列表成功',
|
||||||
songsAlreadyInPlaylist: '歌曲已存在于播放列表中'
|
songsAlreadyInPlaylist: '歌曲已存在于播放列表中',
|
||||||
|
locateCurrent: '定位当前播放',
|
||||||
|
scrollToTop: '回到顶部',
|
||||||
|
compactLayout: '紧凑布局',
|
||||||
|
normalLayout: '常规布局',
|
||||||
|
historyRecommend: '历史日推',
|
||||||
|
fetchDatesFailed: '获取日期列表失败',
|
||||||
|
fetchSongsFailed: '获取歌曲列表失败',
|
||||||
|
noSongs: '暂无歌曲'
|
||||||
},
|
},
|
||||||
playlist: {
|
playlist: {
|
||||||
import: {
|
import: {
|
||||||
@@ -143,6 +248,7 @@ export default {
|
|||||||
albumNamePlaceholder: '专辑名称',
|
albumNamePlaceholder: '专辑名称',
|
||||||
addSongButton: '添加歌曲',
|
addSongButton: '添加歌曲',
|
||||||
addLinkButton: '添加链接',
|
addLinkButton: '添加链接',
|
||||||
|
options: '选项',
|
||||||
importToStarPlaylist: '导入到我喜欢的音乐',
|
importToStarPlaylist: '导入到我喜欢的音乐',
|
||||||
playlistNamePlaceholder: '请输入歌单名称',
|
playlistNamePlaceholder: '请输入歌单名称',
|
||||||
importButton: '开始导入',
|
importButton: '开始导入',
|
||||||
@@ -186,5 +292,41 @@ export default {
|
|||||||
list: '歌单',
|
list: '歌单',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
home: '首页',
|
home: '首页',
|
||||||
search: '搜索'
|
search: '搜索',
|
||||||
|
album: '专辑',
|
||||||
|
localMusic: '本地音乐',
|
||||||
|
pages: {
|
||||||
|
toplist: {
|
||||||
|
desc: '最具权威的音乐榜单,发现当下最热门的音乐'
|
||||||
|
},
|
||||||
|
mv: {
|
||||||
|
desc: '探索精彩视频内容',
|
||||||
|
loadingMore: '加载更多中...',
|
||||||
|
noMore: '— 已加载全部内容 —',
|
||||||
|
area: {
|
||||||
|
all: '全部',
|
||||||
|
mainland: '内地',
|
||||||
|
hktw: '港台',
|
||||||
|
western: '欧美',
|
||||||
|
japan: '日本',
|
||||||
|
korea: '韩国'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
list: {
|
||||||
|
desc: '发现更多好听的歌单',
|
||||||
|
dailyRecommend: '每日推荐'
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
desc: '探索当下最热门的搜索趋势'
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
area: {
|
||||||
|
all: '全部',
|
||||||
|
chinese: '华语',
|
||||||
|
western: '欧美',
|
||||||
|
korea: '韩国',
|
||||||
|
japan: '日本'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ export default {
|
|||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
noTasks: '暂无下载任务',
|
noTasks: '暂无下载任务',
|
||||||
noDownloaded: '暂无已下载歌曲'
|
noDownloaded: '暂无已下载歌曲',
|
||||||
|
noDownloadedHint: '去下载你喜欢的歌曲吧'
|
||||||
},
|
},
|
||||||
progress: {
|
progress: {
|
||||||
total: '总进度: {progress}%'
|
total: '总进度: {progress}%'
|
||||||
@@ -19,7 +20,21 @@ export default {
|
|||||||
downloading: '下载中',
|
downloading: '下载中',
|
||||||
completed: '已完成',
|
completed: '已完成',
|
||||||
failed: '失败',
|
failed: '失败',
|
||||||
unknown: '未知'
|
unknown: '未知',
|
||||||
|
queued: '排队中',
|
||||||
|
paused: '已暂停',
|
||||||
|
cancelled: '已取消'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
pause: '暂停',
|
||||||
|
resume: '恢复',
|
||||||
|
cancel: '取消',
|
||||||
|
cancelAll: '取消全部',
|
||||||
|
retrying: '重新获取链接...'
|
||||||
|
},
|
||||||
|
batch: {
|
||||||
|
complete: '下载完成:成功 {success}/{total} 首',
|
||||||
|
allComplete: '全部下载完成'
|
||||||
},
|
},
|
||||||
artist: {
|
artist: {
|
||||||
unknown: '未知歌手'
|
unknown: '未知歌手'
|
||||||
@@ -39,7 +54,16 @@ export default {
|
|||||||
message: '确定要清空所有下载记录吗?此操作不会删除已下载的音乐文件,但将清空所有记录。',
|
message: '确定要清空所有下载记录吗?此操作不会删除已下载的音乐文件,但将清空所有记录。',
|
||||||
confirm: '确定清空',
|
confirm: '确定清空',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
success: '下载记录已清空'
|
success: '下载记录已清空',
|
||||||
|
failed: '清空下载记录失败'
|
||||||
|
},
|
||||||
|
save: {
|
||||||
|
title: '保存设置',
|
||||||
|
message: '当前下载设置未保存,是否保存更改?',
|
||||||
|
confirm: '保存',
|
||||||
|
cancel: '取消',
|
||||||
|
discard: '放弃',
|
||||||
|
saveSuccess: '下载设置已保存'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
downloadComplete: '{filename} 下载完成',
|
downloadComplete: '{filename} 下载完成',
|
||||||
@@ -49,6 +73,7 @@ export default {
|
|||||||
playStarted: '开始播放: {name}',
|
playStarted: '开始播放: {name}',
|
||||||
playFailed: '播放失败: {name}',
|
playFailed: '播放失败: {name}',
|
||||||
path: {
|
path: {
|
||||||
|
copy: '复制路径',
|
||||||
copied: '路径已复制到剪贴板',
|
copied: '路径已复制到剪贴板',
|
||||||
copyFailed: '复制路径失败'
|
copyFailed: '复制路径失败'
|
||||||
},
|
},
|
||||||
@@ -60,6 +85,8 @@ export default {
|
|||||||
noPathSelected: '请先选择下载路径',
|
noPathSelected: '请先选择下载路径',
|
||||||
select: '选择文件夹',
|
select: '选择文件夹',
|
||||||
open: '打开文件夹',
|
open: '打开文件夹',
|
||||||
|
saveLyric: '单独保存歌词文件',
|
||||||
|
saveLyricDesc: '下载歌曲时同时保存一份 .lrc 歌词文件',
|
||||||
fileFormat: '文件名格式',
|
fileFormat: '文件名格式',
|
||||||
fileFormatDesc: '设置下载音乐时的文件命名格式',
|
fileFormatDesc: '设置下载音乐时的文件命名格式',
|
||||||
customFormat: '自定义格式',
|
customFormat: '自定义格式',
|
||||||
@@ -72,6 +99,8 @@ export default {
|
|||||||
dragToArrange: '拖动排序或使用箭头按钮调整顺序:',
|
dragToArrange: '拖动排序或使用箭头按钮调整顺序:',
|
||||||
formatVariables: '可用变量',
|
formatVariables: '可用变量',
|
||||||
preview: '预览效果:',
|
preview: '预览效果:',
|
||||||
|
concurrency: '最大并发数',
|
||||||
|
concurrencyDesc: '同时下载的最大歌曲数量(1-5)',
|
||||||
saveSuccess: '下载设置已保存',
|
saveSuccess: '下载设置已保存',
|
||||||
presets: {
|
presets: {
|
||||||
songArtist: '歌曲名 - 歌手名',
|
songArtist: '歌曲名 - 歌手名',
|
||||||
@@ -83,5 +112,10 @@ export default {
|
|||||||
artistName: '歌手名',
|
artistName: '歌手名',
|
||||||
albumName: '专辑名'
|
albumName: '专辑名'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
incomplete: '文件下载不完整',
|
||||||
|
urlExpired: '下载链接已过期,正在重新获取',
|
||||||
|
resumeFailed: '恢复下载失败'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,49 @@
|
|||||||
export default {
|
export default {
|
||||||
title: '播放历史',
|
title: '播放历史',
|
||||||
|
heatmapTitle: '热力图',
|
||||||
playCount: '{count}',
|
playCount: '{count}',
|
||||||
getHistoryFailed: '获取历史记录失败'
|
getHistoryFailed: '获取历史记录失败',
|
||||||
|
categoryTabs: {
|
||||||
|
songs: '歌曲',
|
||||||
|
playlists: '歌单',
|
||||||
|
albums: '专辑',
|
||||||
|
podcasts: '播客'
|
||||||
|
},
|
||||||
|
podcastTabs: {
|
||||||
|
episodes: '节目',
|
||||||
|
radios: '电台'
|
||||||
|
},
|
||||||
|
tabs: {
|
||||||
|
all: '全部记录',
|
||||||
|
local: '本地记录',
|
||||||
|
cloud: '云端记录'
|
||||||
|
},
|
||||||
|
getCloudRecordFailed: '获取云端记录失败',
|
||||||
|
needLogin: '请使用cookie登录以查看云端记录',
|
||||||
|
merging: '正在合并记录...',
|
||||||
|
noDescription: '暂无描述',
|
||||||
|
noData: '暂无记录',
|
||||||
|
heatmap: {
|
||||||
|
title: '播放热力图',
|
||||||
|
loading: '正在加载数据...',
|
||||||
|
unit: '次播放',
|
||||||
|
footerText: '鼠标悬停查看详细信息',
|
||||||
|
playCount: '播放 {count} 次',
|
||||||
|
topSongs: '当天热门歌曲',
|
||||||
|
times: '次',
|
||||||
|
totalPlays: '总播放次数',
|
||||||
|
activeDays: '活跃天数',
|
||||||
|
noData: '暂无播放记录',
|
||||||
|
colorTheme: '配色方案',
|
||||||
|
colors: {
|
||||||
|
green: '绿色',
|
||||||
|
blue: '蓝色',
|
||||||
|
orange: '橙色',
|
||||||
|
purple: '紫色',
|
||||||
|
red: '红色'
|
||||||
|
},
|
||||||
|
mostPlayedSong: '播放最多的歌曲',
|
||||||
|
mostActiveDay: '最活跃的一天',
|
||||||
|
latestNightSong: '最晚播放的歌曲'
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
13
src/i18n/lang/zh-CN/localMusic.ts
Normal file
13
src/i18n/lang/zh-CN/localMusic.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
title: '本地音乐',
|
||||||
|
scanFolder: '扫描文件夹',
|
||||||
|
removeFolder: '移除文件夹',
|
||||||
|
scanning: '正在扫描...',
|
||||||
|
scanComplete: '扫描完成',
|
||||||
|
playAll: '播放全部',
|
||||||
|
search: '搜索本地音乐',
|
||||||
|
emptyState: '暂无本地音乐,请先选择文件夹进行扫描',
|
||||||
|
fileNotFound: '文件不存在或已被移动',
|
||||||
|
rescan: '重新扫描',
|
||||||
|
songCount: '{count} 首歌曲'
|
||||||
|
};
|
||||||
@@ -5,14 +5,14 @@ export default {
|
|||||||
cookie: 'Cookie登录',
|
cookie: 'Cookie登录',
|
||||||
uid: 'UID登录'
|
uid: 'UID登录'
|
||||||
},
|
},
|
||||||
qrTip: '使用网易云APP扫码登录',
|
qrTip: '使用APP扫码登录',
|
||||||
phoneTip: '使用网易云账号登录',
|
phoneTip: '使用账号登录',
|
||||||
tokenTip: '输入有效的网易云音乐Cookie即可登录',
|
tokenTip: '输入有效的音乐Cookie即可登录',
|
||||||
uidTip: '输入用户ID快速登录',
|
uidTip: '输入用户ID快速登录',
|
||||||
placeholder: {
|
placeholder: {
|
||||||
phone: '手机号',
|
phone: '手机号',
|
||||||
password: '密码',
|
password: '密码',
|
||||||
cookie: '请输入网易云音乐Cookie(token)',
|
cookie: '请输入音乐Cookie(token)',
|
||||||
uid: '请输入用户ID(UID)'
|
uid: '请输入用户ID(UID)'
|
||||||
},
|
},
|
||||||
button: {
|
button: {
|
||||||
@@ -45,7 +45,7 @@ export default {
|
|||||||
phoneLoginFailed: '手机号登录失败,请检查手机号和密码是否正确',
|
phoneLoginFailed: '手机号登录失败,请检查手机号和密码是否正确',
|
||||||
autoGetCookieSuccess: '自动获取Cookie成功',
|
autoGetCookieSuccess: '自动获取Cookie成功',
|
||||||
autoGetCookieFailed: '自动获取Cookie失败',
|
autoGetCookieFailed: '自动获取Cookie失败',
|
||||||
autoGetCookieTip: '将打开网易云音乐登录页面,请完成登录后关闭窗口',
|
autoGetCookieTip: '将打开音乐登录页面,请完成登录后关闭窗口',
|
||||||
qrCheckFailed: '检查二维码状态失败,请刷新重试',
|
qrCheckFailed: '检查二维码状态失败,请刷新重试',
|
||||||
qrLoading: '正在加载二维码...',
|
qrLoading: '正在加载二维码...',
|
||||||
qrExpired: '二维码已过期,请点击刷新',
|
qrExpired: '二维码已过期,请点击刷新',
|
||||||
@@ -57,6 +57,6 @@ export default {
|
|||||||
qrConfirmed: '登录成功,正在跳转...',
|
qrConfirmed: '登录成功,正在跳转...',
|
||||||
qrGenerating: '正在生成二维码...'
|
qrGenerating: '正在生成二维码...'
|
||||||
},
|
},
|
||||||
qrTitle: '扫码登录网易云音乐',
|
qrTitle: '扫码登录',
|
||||||
uidWarning: '注意:UID登录仅用于查看用户公开信息,无法访问需要登录权限的功能'
|
uidWarning: '注意:UID登录仅用于查看用户公开信息,无法访问需要登录权限的功能'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,6 +14,11 @@ export default {
|
|||||||
addCorrection: '提前 {num} 秒',
|
addCorrection: '提前 {num} 秒',
|
||||||
subtractCorrection: '延迟 {num} 秒',
|
subtractCorrection: '延迟 {num} 秒',
|
||||||
playFailed: '当前歌曲播放失败,播放下一首',
|
playFailed: '当前歌曲播放失败,播放下一首',
|
||||||
|
parseFailedPlayNext: '歌曲解析失败,播放下一首',
|
||||||
|
consecutiveFailsError: '播放遇到错误,可能是网络波动或解析源失效,请切换播放列表或稍后重试',
|
||||||
|
playListEnded: '已播放到列表最后一首',
|
||||||
|
autoResumed: '已自动恢复播放',
|
||||||
|
resumeFailed: '恢复播放失败,请手动点击播放',
|
||||||
playMode: {
|
playMode: {
|
||||||
sequence: '顺序播放',
|
sequence: '顺序播放',
|
||||||
loop: '单曲循环',
|
loop: '单曲循环',
|
||||||
@@ -29,7 +34,8 @@ export default {
|
|||||||
list: '自动播放下一个'
|
list: '自动播放下一个'
|
||||||
},
|
},
|
||||||
lrc: {
|
lrc: {
|
||||||
noLrc: '暂无歌词, 请欣赏'
|
noLrc: '暂无歌词, 请欣赏',
|
||||||
|
noAutoScroll: '本歌词不支持自动滚动'
|
||||||
},
|
},
|
||||||
reparse: {
|
reparse: {
|
||||||
title: '选择解析音源',
|
title: '选择解析音源',
|
||||||
@@ -39,7 +45,9 @@ export default {
|
|||||||
warning: '请选择一个音源',
|
warning: '请选择一个音源',
|
||||||
bilibiliNotSupported: 'B站视频不支持重新解析',
|
bilibiliNotSupported: 'B站视频不支持重新解析',
|
||||||
processing: '解析中...',
|
processing: '解析中...',
|
||||||
clear: '清除自定义音源'
|
clear: '清除自定义音源',
|
||||||
|
customApiFailed: '自定义API解析失败,正在尝试使用内置音源...',
|
||||||
|
customApiError: '自定义API请求出错,正在尝试使用内置音源...'
|
||||||
},
|
},
|
||||||
playBar: {
|
playBar: {
|
||||||
expand: '展开歌词',
|
expand: '展开歌词',
|
||||||
@@ -64,7 +72,17 @@ export default {
|
|||||||
unFavorite: '已取消收藏{name}',
|
unFavorite: '已取消收藏{name}',
|
||||||
miniPlayBar: '迷你播放栏',
|
miniPlayBar: '迷你播放栏',
|
||||||
playbackSpeed: '播放速度',
|
playbackSpeed: '播放速度',
|
||||||
advancedControls: '更多设置s'
|
advancedControls: '更多设置',
|
||||||
|
intelligenceMode: {
|
||||||
|
title: '心动模式',
|
||||||
|
needCookieLogin: '请使用 Cookie 方式登录后使用心动模式',
|
||||||
|
noFavoritePlaylist: '未找到我喜欢的音乐歌单',
|
||||||
|
noLikedSongs: '您还没有喜欢的歌曲',
|
||||||
|
loading: '正在加载心动模式',
|
||||||
|
success: '已加载 {count} 首歌曲',
|
||||||
|
failed: '获取心动模式列表失败',
|
||||||
|
error: '心动模式播放出错'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
eq: {
|
eq: {
|
||||||
title: '均衡器',
|
title: '均衡器',
|
||||||
@@ -90,6 +108,11 @@ export default {
|
|||||||
custom: '自定义'
|
custom: '自定义'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 播放器设置
|
||||||
|
settings: {
|
||||||
|
title: '播放设置',
|
||||||
|
playbackSpeed: '播放速度'
|
||||||
|
},
|
||||||
// 定时关闭功能相关
|
// 定时关闭功能相关
|
||||||
sleepTimer: {
|
sleepTimer: {
|
||||||
title: '定时关闭',
|
title: '定时关闭',
|
||||||
|
|||||||
40
src/i18n/lang/zh-CN/podcast.ts
Normal file
40
src/i18n/lang/zh-CN/podcast.ts
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
export default {
|
||||||
|
podcast: '播客',
|
||||||
|
mySubscriptions: '我的订阅',
|
||||||
|
discover: '发现',
|
||||||
|
categories: '分类',
|
||||||
|
todayPerfered: '今日优选',
|
||||||
|
recommended: '推荐电台',
|
||||||
|
hotRanking: '热门榜',
|
||||||
|
newRanking: '新晋榜',
|
||||||
|
subscribeCount: '订阅',
|
||||||
|
programCount: '期节目',
|
||||||
|
subscribe: '订阅',
|
||||||
|
subscribed: '已订阅',
|
||||||
|
unsubscribe: '取消订阅',
|
||||||
|
unsubscribed: '已取消订阅',
|
||||||
|
subscribeSuccess: '订阅成功',
|
||||||
|
unsubscribeFailed: '取消订阅失败',
|
||||||
|
subscribeFailed: '订阅失败',
|
||||||
|
radioDetail: '电台详情',
|
||||||
|
programList: '节目列表',
|
||||||
|
playProgram: '播放节目',
|
||||||
|
recentPlayed: '最近播放',
|
||||||
|
listeners: '收听',
|
||||||
|
noSubscriptions: '暂无订阅',
|
||||||
|
goDiscover: '去发现播客',
|
||||||
|
searchPodcast: '搜索播客',
|
||||||
|
category: '分类',
|
||||||
|
all: '全部',
|
||||||
|
dj: '主播',
|
||||||
|
episodes: '期',
|
||||||
|
playAll: '播放全部',
|
||||||
|
popularCategories: '热门分类',
|
||||||
|
allCategories: '全部分类',
|
||||||
|
categoryRadios: '分类电台',
|
||||||
|
exploreCategoryRadios: '探索更多精彩电台',
|
||||||
|
hotRadios: '热门电台',
|
||||||
|
noCategoryRadios: '该分类暂无电台',
|
||||||
|
searchPlaceholder: '搜索播客、电台节目...',
|
||||||
|
searchResults: '搜索结果'
|
||||||
|
};
|
||||||
@@ -11,7 +11,8 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
more: '加载中...',
|
more: '加载中...',
|
||||||
failed: '搜索失败'
|
failed: '搜索失败',
|
||||||
|
searching: '搜索中...'
|
||||||
},
|
},
|
||||||
noMore: '没有更多了',
|
noMore: '没有更多了',
|
||||||
error: {
|
error: {
|
||||||
@@ -22,6 +23,10 @@ export default {
|
|||||||
album: '专辑',
|
album: '专辑',
|
||||||
playlist: '歌单',
|
playlist: '歌单',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
|
djradio: '电台',
|
||||||
bilibili: 'B站'
|
bilibili: 'B站'
|
||||||
}
|
},
|
||||||
|
history: '搜索历史',
|
||||||
|
hot: '热门搜索',
|
||||||
|
suggestions: '搜索建议'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default {
|
|||||||
network: '网络设置',
|
network: '网络设置',
|
||||||
system: '系统管理',
|
system: '系统管理',
|
||||||
donation: '捐赠支持',
|
donation: '捐赠支持',
|
||||||
regard: '关于'
|
about: '关于'
|
||||||
},
|
},
|
||||||
basic: {
|
basic: {
|
||||||
themeMode: '主题模式',
|
themeMode: '主题模式',
|
||||||
@@ -20,7 +20,7 @@ export default {
|
|||||||
language: '语言设置',
|
language: '语言设置',
|
||||||
languageDesc: '切换显示语言',
|
languageDesc: '切换显示语言',
|
||||||
tokenManagement: 'Cookie管理',
|
tokenManagement: 'Cookie管理',
|
||||||
tokenManagementDesc: '管理网易云音乐登录Cookie',
|
tokenManagementDesc: '管理音乐登录Cookie',
|
||||||
tokenStatus: '当前Cookie状态',
|
tokenStatus: '当前Cookie状态',
|
||||||
tokenSet: '已设置',
|
tokenSet: '已设置',
|
||||||
tokenNotSet: '未设置',
|
tokenNotSet: '未设置',
|
||||||
@@ -50,11 +50,18 @@ export default {
|
|||||||
englishText: 'The quick brown fox jumps over the lazy dog',
|
englishText: 'The quick brown fox jumps over the lazy dog',
|
||||||
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
||||||
koreanText: '가나다라마 바사아자차 카타파하'
|
koreanText: '가나다라마 바사아자차 카타파하'
|
||||||
}
|
},
|
||||||
|
gpuAcceleration: 'GPU加速',
|
||||||
|
gpuAccelerationDesc: '启用或禁用硬件加速,可以提高渲染性能但可能会增加GPU负载',
|
||||||
|
gpuAccelerationRestart: '更改GPU加速设置需要重启应用后生效',
|
||||||
|
gpuAccelerationChangeSuccess: 'GPU加速设置已更新,重启应用后生效',
|
||||||
|
gpuAccelerationChangeError: 'GPU加速设置更新失败',
|
||||||
|
tabletMode: '平板模式',
|
||||||
|
tabletModeDesc: '启用后将在移动设备上使用PC样式界面,适合平板等大屏设备'
|
||||||
},
|
},
|
||||||
playback: {
|
playback: {
|
||||||
quality: '音质设置',
|
quality: '音质设置',
|
||||||
qualityDesc: '选择音乐播放音质(网易云VIP)',
|
qualityDesc: '选择音乐播放音质(不确保有效)',
|
||||||
qualityOptions: {
|
qualityOptions: {
|
||||||
standard: '标准',
|
standard: '标准',
|
||||||
higher: '较高',
|
higher: '较高',
|
||||||
@@ -77,8 +84,74 @@ export default {
|
|||||||
gdmusicInfo: 'GD音乐台可自动解析多个平台音源,自动选择最佳结果',
|
gdmusicInfo: 'GD音乐台可自动解析多个平台音源,自动选择最佳结果',
|
||||||
autoPlay: '自动播放',
|
autoPlay: '自动播放',
|
||||||
autoPlayDesc: '重新打开应用时是否自动继续播放',
|
autoPlayDesc: '重新打开应用时是否自动继续播放',
|
||||||
|
audioDevice: '音频输出设备',
|
||||||
|
audioDeviceDesc: '选择音频输出设备,如扬声器、耳机或蓝牙设备',
|
||||||
|
testAudio: '测试',
|
||||||
|
selectAudioDevice: '选择输出设备',
|
||||||
showStatusBar: '是否显示状态栏控制功能',
|
showStatusBar: '是否显示状态栏控制功能',
|
||||||
showStatusBarContent: '可以在您的mac状态栏显示音乐控制功能(重启后生效)'
|
showStatusBarContent: '可以在您的mac状态栏显示音乐控制功能(重启后生效)',
|
||||||
|
|
||||||
|
fallbackParser: 'GD音乐台(music.gdstudio.xyz)设置',
|
||||||
|
fallbackParserDesc:
|
||||||
|
'GD音乐台将自动尝试多个音乐平台进行解析,无需额外配置。优先级高于其他解析方式,但是请求可能较慢。感谢(music.gdstudio.xyz)\n',
|
||||||
|
parserGD: 'GD 音乐台 (内置)',
|
||||||
|
parserCustom: '自定义 API',
|
||||||
|
|
||||||
|
// 音源标签
|
||||||
|
sourceLabels: {
|
||||||
|
migu: 'migu',
|
||||||
|
kugou: 'kugou',
|
||||||
|
kuwo: 'kuwo',
|
||||||
|
pyncmd: 'pyncmd',
|
||||||
|
qq: 'qq',
|
||||||
|
joox: 'JOOX',
|
||||||
|
bilibili: 'Bilibili',
|
||||||
|
gdmusic: 'gdmusic',
|
||||||
|
lxMusic: 'lxMusic',
|
||||||
|
custom: '自定义 API'
|
||||||
|
},
|
||||||
|
|
||||||
|
// 自定义API相关的提示
|
||||||
|
customApi: {
|
||||||
|
sectionTitle: '自定义 API 设置',
|
||||||
|
importConfig: '导入 JSON 配置',
|
||||||
|
currentSource: '当前音源',
|
||||||
|
notImported: '尚未导入自定义音源。',
|
||||||
|
importSuccess: '成功导入音源: {name}',
|
||||||
|
importFailed: '导入失败: {message}',
|
||||||
|
enableHint: '请先导入 JSON 配置文件才能启用',
|
||||||
|
status: {
|
||||||
|
imported: '已导入自定义音源',
|
||||||
|
notImported: '未导入'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lxMusic: {
|
||||||
|
tabs: {
|
||||||
|
sources: '音源选择',
|
||||||
|
lxMusic: '落雪音源',
|
||||||
|
customApi: '自定义API'
|
||||||
|
},
|
||||||
|
scripts: {
|
||||||
|
title: '已导入的音源脚本',
|
||||||
|
importLocal: '本地导入',
|
||||||
|
importOnline: '在线导入',
|
||||||
|
urlPlaceholder: '输入落雪音源脚本 URL',
|
||||||
|
importBtn: '导入',
|
||||||
|
empty: '暂无已导入的落雪音源',
|
||||||
|
notConfigured: '未配置 (请去落雪音源Tab配置)',
|
||||||
|
importHint: '导入兼容的自定义 API 插件以扩展音源',
|
||||||
|
noScriptWarning: '请先导入落雪音源脚本',
|
||||||
|
noSelectionWarning: '请先选择一个落雪音源',
|
||||||
|
notFound: '音源不存在',
|
||||||
|
switched: '已切换到音源: {name}',
|
||||||
|
deleted: '已删除音源: {name}',
|
||||||
|
enterUrl: '请输入脚本 URL',
|
||||||
|
invalidUrl: '无效的 URL 格式',
|
||||||
|
invalidScript: '无效的落雪音源脚本,未找到 globalThis.lx 相关代码',
|
||||||
|
nameRequired: '名称不能为空',
|
||||||
|
renameSuccess: '重命名成功'
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
application: {
|
application: {
|
||||||
closeAction: '关闭行为',
|
closeAction: '关闭行为',
|
||||||
@@ -120,6 +193,35 @@ export default {
|
|||||||
system: {
|
system: {
|
||||||
cache: '缓存管理',
|
cache: '缓存管理',
|
||||||
cacheDesc: '清除缓存',
|
cacheDesc: '清除缓存',
|
||||||
|
diskCache: '磁盘缓存',
|
||||||
|
diskCacheDesc: '将播放过的音乐与歌词缓存到本地磁盘,提升二次播放速度',
|
||||||
|
cacheDirectory: '缓存目录',
|
||||||
|
cacheDirectoryDesc: '自定义音乐与歌词缓存保存目录',
|
||||||
|
selectDirectory: '选择目录',
|
||||||
|
openDirectory: '打开目录',
|
||||||
|
cacheMaxSize: '缓存上限',
|
||||||
|
cacheMaxSizeDesc: '达到上限后将自动清理最旧缓存',
|
||||||
|
cleanupPolicy: '清理策略',
|
||||||
|
cleanupPolicyDesc: '达到缓存上限时的自动清理规则',
|
||||||
|
cleanupPolicyOptions: {
|
||||||
|
lru: '最近最少使用',
|
||||||
|
fifo: '先进先出'
|
||||||
|
},
|
||||||
|
cacheStatus: '缓存状态',
|
||||||
|
cacheStatusDesc: '已用 {used} / 上限 {limit}',
|
||||||
|
cacheStatusDetail: '音乐 {musicCount} 首,歌词 {lyricCount} 首',
|
||||||
|
manageDiskCache: '手动清理磁盘缓存',
|
||||||
|
manageDiskCacheDesc: '按缓存类型进行清理',
|
||||||
|
clearMusicCache: '清理音乐缓存',
|
||||||
|
clearLyricCache: '清理歌词缓存',
|
||||||
|
clearAllCache: '清理全部缓存',
|
||||||
|
switchDirectoryMigrateTitle: '检测到已有缓存',
|
||||||
|
switchDirectoryMigrateContent: '是否将旧目录缓存迁移到新目录?',
|
||||||
|
switchDirectoryMigrateConfirm: '迁移',
|
||||||
|
switchDirectoryDestroyTitle: '是否销毁旧缓存',
|
||||||
|
switchDirectoryDestroyContent: '不迁移时,是否销毁旧目录缓存文件?',
|
||||||
|
switchDirectoryDestroyConfirm: '销毁',
|
||||||
|
switchDirectoryKeepOld: '保留旧缓存',
|
||||||
cacheClearTitle: '请选择要清除的缓存类型:',
|
cacheClearTitle: '请选择要清除的缓存类型:',
|
||||||
cacheTypes: {
|
cacheTypes: {
|
||||||
history: {
|
history: {
|
||||||
@@ -154,7 +256,14 @@ export default {
|
|||||||
restart: '重启',
|
restart: '重启',
|
||||||
restartDesc: '重启应用',
|
restartDesc: '重启应用',
|
||||||
messages: {
|
messages: {
|
||||||
clearSuccess: '清除成功,部分设置在重启后生效'
|
clearSuccess: '清除成功,部分设置在重启后生效',
|
||||||
|
diskCacheClearSuccess: '磁盘缓存已清理',
|
||||||
|
diskCacheClearFailed: '清理磁盘缓存失败',
|
||||||
|
diskCacheStatsLoadFailed: '读取缓存状态失败',
|
||||||
|
switchDirectorySuccess: '缓存目录已切换,旧缓存已保留',
|
||||||
|
switchDirectoryFailed: '缓存目录切换失败',
|
||||||
|
switchDirectoryMigrated: '缓存目录已切换,已迁移 {count} 个缓存文件',
|
||||||
|
switchDirectoryDestroyed: '缓存目录已切换,已销毁 {count} 个旧缓存文件'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
@@ -164,6 +273,7 @@ export default {
|
|||||||
latest: '当前已是最新版本',
|
latest: '当前已是最新版本',
|
||||||
hasUpdate: '发现新版本',
|
hasUpdate: '发现新版本',
|
||||||
gotoUpdate: '前往更新',
|
gotoUpdate: '前往更新',
|
||||||
|
manualUpdate: '官网更新',
|
||||||
gotoGithub: '前往 Github',
|
gotoGithub: '前往 Github',
|
||||||
author: '作者',
|
author: '作者',
|
||||||
authorDesc: 'algerkong 点个star🌟呗',
|
authorDesc: 'algerkong 点个star🌟呗',
|
||||||
@@ -182,6 +292,7 @@ export default {
|
|||||||
display: '显示',
|
display: '显示',
|
||||||
interface: '界面',
|
interface: '界面',
|
||||||
typography: '文字',
|
typography: '文字',
|
||||||
|
background: '背景',
|
||||||
mobile: '移动端'
|
mobile: '移动端'
|
||||||
},
|
},
|
||||||
pureMode: '纯净模式',
|
pureMode: '纯净模式',
|
||||||
@@ -204,6 +315,12 @@ export default {
|
|||||||
medium: '中',
|
medium: '中',
|
||||||
large: '大'
|
large: '大'
|
||||||
},
|
},
|
||||||
|
fontWeight: '字体粗细',
|
||||||
|
fontWeightMarks: {
|
||||||
|
thin: '细',
|
||||||
|
normal: '常规',
|
||||||
|
bold: '粗'
|
||||||
|
},
|
||||||
letterSpacing: '字间距',
|
letterSpacing: '字间距',
|
||||||
letterSpacingMarks: {
|
letterSpacingMarks: {
|
||||||
compact: '紧凑',
|
compact: '紧凑',
|
||||||
@@ -216,6 +333,7 @@ export default {
|
|||||||
default: '默认',
|
default: '默认',
|
||||||
loose: '宽松'
|
loose: '宽松'
|
||||||
},
|
},
|
||||||
|
contentWidth: '内容区宽度',
|
||||||
mobileLayout: '移动端布局',
|
mobileLayout: '移动端布局',
|
||||||
layoutOptions: {
|
layoutOptions: {
|
||||||
default: '默认',
|
default: '默认',
|
||||||
@@ -229,7 +347,51 @@ export default {
|
|||||||
full: '全屏'
|
full: '全屏'
|
||||||
},
|
},
|
||||||
lyricLines: '歌词行数',
|
lyricLines: '歌词行数',
|
||||||
mobileUnavailable: '此设置仅在移动端可用'
|
mobileUnavailable: '此设置仅在移动端可用',
|
||||||
|
// 背景设置
|
||||||
|
background: {
|
||||||
|
useCustomBackground: '使用自定义背景',
|
||||||
|
backgroundMode: '背景模式',
|
||||||
|
modeOptions: {
|
||||||
|
solid: '纯色',
|
||||||
|
gradient: '渐变',
|
||||||
|
image: '图片',
|
||||||
|
css: 'CSS'
|
||||||
|
},
|
||||||
|
solidColor: '选择颜色',
|
||||||
|
presetColors: '预设颜色',
|
||||||
|
customColor: '自定义颜色',
|
||||||
|
gradientEditor: '渐变编辑器',
|
||||||
|
gradientColors: '渐变颜色',
|
||||||
|
gradientDirection: '渐变方向',
|
||||||
|
directionOptions: {
|
||||||
|
toBottom: '上到下',
|
||||||
|
toRight: '左到右',
|
||||||
|
toBottomRight: '左上到右下',
|
||||||
|
angle45: '45度',
|
||||||
|
toTop: '下到上',
|
||||||
|
toLeft: '右到左'
|
||||||
|
},
|
||||||
|
addColor: '添加颜色',
|
||||||
|
removeColor: '移除颜色',
|
||||||
|
imageUpload: '上传图片',
|
||||||
|
imagePreview: '图片预览',
|
||||||
|
clearImage: '清除图片',
|
||||||
|
imageBlur: '模糊度',
|
||||||
|
imageBrightness: '明暗度',
|
||||||
|
customCss: '自定义 CSS 样式',
|
||||||
|
customCssPlaceholder: '输入 CSS 样式,如: background: linear-gradient(...)',
|
||||||
|
customCssHelp: '支持任意 CSS background 属性',
|
||||||
|
reset: '重置为默认',
|
||||||
|
fileSizeLimit: '图片大小限制: 20MB',
|
||||||
|
invalidImageFormat: '无效的图片格式',
|
||||||
|
imageTooLarge: '图片过大,请选择小于 20MB 的图片'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
translationEngine: '歌詞翻譯引擎',
|
||||||
|
translationEngineOptions: {
|
||||||
|
none: '关闭',
|
||||||
|
opencc: 'OpenCC 繁化'
|
||||||
},
|
},
|
||||||
themeColor: {
|
themeColor: {
|
||||||
title: '歌词主题色',
|
title: '歌词主题色',
|
||||||
@@ -255,28 +417,61 @@ export default {
|
|||||||
title: '快捷键设置',
|
title: '快捷键设置',
|
||||||
shortcut: '快捷键',
|
shortcut: '快捷键',
|
||||||
shortcutDesc: '自定义快捷键',
|
shortcutDesc: '自定义快捷键',
|
||||||
|
summaryReady: '当前快捷键配置可保存',
|
||||||
|
summaryRecording: '正在录制新的快捷键组合',
|
||||||
|
summaryBlocked: '存在冲突或无效项,请先修正',
|
||||||
|
platformHintMac: 'macOS 下 CommandOrControl 会显示为 Cmd',
|
||||||
|
platformHintWindows: 'Windows 下 CommandOrControl 会显示为 Ctrl',
|
||||||
|
platformHintLinux: 'Linux 下 CommandOrControl 会显示为 Ctrl',
|
||||||
|
platformHintGeneric: '不同系统下 CommandOrControl 会自动适配',
|
||||||
|
enabledCount: '已启用',
|
||||||
|
recordingTip: '点击快捷键框后按下组合键,Esc 取消,Delete 可禁用该项',
|
||||||
shortcutConflict: '快捷键冲突',
|
shortcutConflict: '快捷键冲突',
|
||||||
inputPlaceholder: '点击输入快捷键',
|
inputPlaceholder: '点击输入快捷键',
|
||||||
|
clickToRecord: '点击后按下组合键',
|
||||||
|
recording: '录制中...',
|
||||||
resetShortcuts: '恢复默认',
|
resetShortcuts: '恢复默认',
|
||||||
|
restoreSingle: '恢复',
|
||||||
disableAll: '全部禁用',
|
disableAll: '全部禁用',
|
||||||
enableAll: '全部启用',
|
enableAll: '全部启用',
|
||||||
|
groups: {
|
||||||
|
playback: '播放控制',
|
||||||
|
sound: '音量与收藏',
|
||||||
|
window: '窗口控制'
|
||||||
|
},
|
||||||
togglePlay: '播放/暂停',
|
togglePlay: '播放/暂停',
|
||||||
|
togglePlayDesc: '切换当前歌曲播放状态',
|
||||||
prevPlay: '上一首',
|
prevPlay: '上一首',
|
||||||
|
prevPlayDesc: '切换到上一首歌曲',
|
||||||
nextPlay: '下一首',
|
nextPlay: '下一首',
|
||||||
|
nextPlayDesc: '切换到下一首歌曲',
|
||||||
volumeUp: '音量增加',
|
volumeUp: '音量增加',
|
||||||
|
volumeUpDesc: '提高播放器音量',
|
||||||
volumeDown: '音量减少',
|
volumeDown: '音量减少',
|
||||||
|
volumeDownDesc: '降低播放器音量',
|
||||||
toggleFavorite: '收藏/取消收藏',
|
toggleFavorite: '收藏/取消收藏',
|
||||||
|
toggleFavoriteDesc: '收藏或取消当前歌曲',
|
||||||
toggleWindow: '显示/隐藏窗口',
|
toggleWindow: '显示/隐藏窗口',
|
||||||
|
toggleWindowDesc: '快速显示或隐藏主窗口',
|
||||||
scopeGlobal: '全局',
|
scopeGlobal: '全局',
|
||||||
scopeApp: '应用内',
|
scopeApp: '应用内',
|
||||||
enabled: '启用',
|
enabled: '启用',
|
||||||
disabled: '禁用',
|
disabled: '禁用',
|
||||||
|
issueInvalid: '组合无效',
|
||||||
|
issueReserved: '系统保留',
|
||||||
|
registrationWarningTitle: '以下快捷键未能注册,请更换组合后重试',
|
||||||
|
registrationOccupied: '被系统或其他应用占用',
|
||||||
|
registrationInvalid: '键位格式无效',
|
||||||
messages: {
|
messages: {
|
||||||
resetSuccess: '已恢复默认快捷键,请记得保存',
|
resetSuccess: '已恢复默认快捷键,请记得保存',
|
||||||
conflict: '存在冲突的快捷键,请重新设置',
|
conflict: '存在冲突的快捷键,请重新设置',
|
||||||
saveSuccess: '快捷键设置已保存',
|
saveSuccess: '快捷键设置已保存',
|
||||||
saveError: '保存快捷键失败,请重试',
|
saveError: '保存快捷键失败,请重试',
|
||||||
|
saveValidationError: '快捷键校验未通过,请检查后重试',
|
||||||
|
partialRegistered: '已保存,但部分全局快捷键未注册成功',
|
||||||
cancelEdit: '已取消修改',
|
cancelEdit: '已取消修改',
|
||||||
|
clearToDisable: '已禁用该快捷键',
|
||||||
|
invalidShortcut: '快捷键无效,请输入有效组合',
|
||||||
disableAll: '已禁用所有快捷键,请记得保存',
|
disableAll: '已禁用所有快捷键,请记得保存',
|
||||||
enableAll: '已启用所有快捷键,请记得保存'
|
enableAll: '已启用所有快捷键,请记得保存'
|
||||||
}
|
}
|
||||||
@@ -293,7 +488,7 @@ export default {
|
|||||||
},
|
},
|
||||||
cookie: {
|
cookie: {
|
||||||
title: 'Cookie设置',
|
title: 'Cookie设置',
|
||||||
description: '请输入网易云音乐的Cookie:',
|
description: '请输入音乐的Cookie:',
|
||||||
placeholder: '请粘贴完整的Cookie...',
|
placeholder: '请粘贴完整的Cookie...',
|
||||||
help: {
|
help: {
|
||||||
format: 'Cookie通常以 "MUSIC_U=" 开头',
|
format: 'Cookie通常以 "MUSIC_U=" 开头',
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export default {
|
|||||||
play: '播放',
|
play: '播放',
|
||||||
playNext: '下一首播放',
|
playNext: '下一首播放',
|
||||||
download: '下载歌曲',
|
download: '下载歌曲',
|
||||||
|
downloadLyric: '下载歌词',
|
||||||
addToPlaylist: '添加到歌单',
|
addToPlaylist: '添加到歌单',
|
||||||
favorite: '喜欢',
|
favorite: '喜欢',
|
||||||
unfavorite: '取消喜欢',
|
unfavorite: '取消喜欢',
|
||||||
@@ -15,7 +16,10 @@ export default {
|
|||||||
downloadFailed: '下载失败',
|
downloadFailed: '下载失败',
|
||||||
downloadQueued: '已加入下载队列',
|
downloadQueued: '已加入下载队列',
|
||||||
addedToNextPlay: '已添加到下一首播放',
|
addedToNextPlay: '已添加到下一首播放',
|
||||||
getUrlFailed: '获取音乐下载地址失败,请检查是否登录'
|
getUrlFailed: '获取音乐下载地址失败,请检查是否登录',
|
||||||
|
noLyric: '该歌曲暂无歌词',
|
||||||
|
lyricDownloaded: '歌词下载成功',
|
||||||
|
lyricDownloadFailed: '歌词下载失败'
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
dislike: {
|
dislike: {
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ export default {
|
|||||||
trackCount: '{count}首',
|
trackCount: '{count}首',
|
||||||
playCount: '播放{count}次'
|
playCount: '播放{count}次'
|
||||||
},
|
},
|
||||||
|
tabs: {
|
||||||
|
created: '创建',
|
||||||
|
favorite: '收藏',
|
||||||
|
album: '专辑'
|
||||||
|
},
|
||||||
ranking: {
|
ranking: {
|
||||||
title: '听歌排行',
|
title: '听歌排行',
|
||||||
playCount: '{count}次'
|
playCount: '{count}次'
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export default {
|
|||||||
hide: '隱藏',
|
hide: '隱藏',
|
||||||
confirm: '確認',
|
confirm: '確認',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
|
clear: '清除',
|
||||||
configure: '設定',
|
configure: '設定',
|
||||||
open: '開啟',
|
open: '開啟',
|
||||||
modify: '修改',
|
modify: '修改',
|
||||||
@@ -27,6 +28,8 @@ export default {
|
|||||||
refresh: '重新整理',
|
refresh: '重新整理',
|
||||||
retry: '重試',
|
retry: '重試',
|
||||||
reset: '重設',
|
reset: '重設',
|
||||||
|
loadFailed: '載入失敗',
|
||||||
|
noData: '暫無資料',
|
||||||
back: '返回',
|
back: '返回',
|
||||||
copySuccess: '已複製到剪貼簿',
|
copySuccess: '已複製到剪貼簿',
|
||||||
copyFailed: '複製失敗',
|
copyFailed: '複製失敗',
|
||||||
@@ -39,10 +42,13 @@ export default {
|
|||||||
viewMore: '查看更多',
|
viewMore: '查看更多',
|
||||||
noMore: '沒有更多了',
|
noMore: '沒有更多了',
|
||||||
selectAll: '全選',
|
selectAll: '全選',
|
||||||
|
playAll: '播放全部',
|
||||||
expand: '展開',
|
expand: '展開',
|
||||||
collapse: '收合',
|
collapse: '收合',
|
||||||
songCount: '{count}首',
|
songCount: '{count}首',
|
||||||
language: '語言',
|
language: '語言',
|
||||||
|
today: '今天',
|
||||||
|
yesterday: '昨天',
|
||||||
tray: {
|
tray: {
|
||||||
show: '顯示',
|
show: '顯示',
|
||||||
quit: '退出',
|
quit: '退出',
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
export default {
|
export default {
|
||||||
|
more: '更多',
|
||||||
|
homeListItem: {
|
||||||
|
loading: '載入中...'
|
||||||
|
},
|
||||||
installApp: {
|
installApp: {
|
||||||
description: '安裝應用程式,獲得更好的體驗',
|
description: '安裝應用程式,獲得更好的體驗',
|
||||||
noPrompt: '不再提示',
|
noPrompt: '不再提示',
|
||||||
@@ -33,11 +37,16 @@ export default {
|
|||||||
title: '發現新版本',
|
title: '發現新版本',
|
||||||
currentVersion: '目前版本',
|
currentVersion: '目前版本',
|
||||||
cancel: '暫不更新',
|
cancel: '暫不更新',
|
||||||
|
checking: '檢查更新中...',
|
||||||
prepareDownload: '準備下載...',
|
prepareDownload: '準備下載...',
|
||||||
downloading: '下載中...',
|
downloading: '下載中...',
|
||||||
|
readyToInstall: '更新包已下載完成,可以立即安裝',
|
||||||
nowUpdate: '立即更新',
|
nowUpdate: '立即更新',
|
||||||
downloadFailed: '下載失敗,請重試或手動下載',
|
downloadFailed: '下載失敗,請重試或手動下載',
|
||||||
startFailed: '啟動下載失敗,請重試或手動下載',
|
startFailed: '啟動下載失敗,請重試或手動下載',
|
||||||
|
autoUpdateFailed: '自動更新失敗',
|
||||||
|
openOfficialSite: '前往官網更新',
|
||||||
|
manualFallbackHint: '自動更新失敗後,可前往官網下載安裝最新版本。',
|
||||||
noDownloadUrl: '未找到適合目前系統的安裝包,請手動下載',
|
noDownloadUrl: '未找到適合目前系統的安裝包,請手動下載',
|
||||||
installConfirmTitle: '安裝更新',
|
installConfirmTitle: '安裝更新',
|
||||||
installConfirmContent: '是否關閉應用程式並安裝更新?',
|
installConfirmContent: '是否關閉應用程式並安裝更新?',
|
||||||
@@ -50,6 +59,27 @@ export default {
|
|||||||
copyFailed: '複製失敗',
|
copyFailed: '複製失敗',
|
||||||
backgroundDownload: '背景下載'
|
backgroundDownload: '背景下載'
|
||||||
},
|
},
|
||||||
|
disclaimer: {
|
||||||
|
title: '使用說明',
|
||||||
|
warning: '本程式為開發測試版本,功能尚未完善,可能存在諸多問題及臭蟲,僅供學習交流使用。',
|
||||||
|
item1: '本程式僅供個人學習、研究及技術交流之目的,不得用於任何商業用途。',
|
||||||
|
item2: '請在下載後 24 小時內刪除,若對您有所幫助,請支持正版音樂。',
|
||||||
|
item3: '使用本程式即代表您已了解並同意相關風險,開發者對任何損失概不負責。',
|
||||||
|
agree: '我已了解並同意',
|
||||||
|
disagree: '不同意並退出'
|
||||||
|
},
|
||||||
|
donate: {
|
||||||
|
title: '支援開發者',
|
||||||
|
subtitle: '您的支援是我持續更新的動力',
|
||||||
|
tip: '捐贈完全採自願原則。即使不捐贈,您依然可以正常使用所有功能。感謝您的理解與支援!',
|
||||||
|
wechat: '微信支付',
|
||||||
|
alipay: '支付寶',
|
||||||
|
wechatQR: '微信收款碼',
|
||||||
|
alipayQR: '支付寶收款碼',
|
||||||
|
scanTip: '請使用手機 App 掃描 QR Code 進行捐贈',
|
||||||
|
enterApp: '進入程式',
|
||||||
|
noForce: '捐贈並非強制,您可以點擊按鈕直接進入'
|
||||||
|
},
|
||||||
coffee: {
|
coffee: {
|
||||||
title: '請我喝杯咖啡',
|
title: '請我喝杯咖啡',
|
||||||
alipay: '支付寶',
|
alipay: '支付寶',
|
||||||
@@ -77,7 +107,68 @@ export default {
|
|||||||
songlist: '每日推薦清單'
|
songlist: '每日推薦清單'
|
||||||
},
|
},
|
||||||
recommendSonglist: {
|
recommendSonglist: {
|
||||||
title: '本週最熱音樂'
|
title: '本週最熱音樂',
|
||||||
|
empty: '暫無推薦歌單'
|
||||||
|
},
|
||||||
|
dailyRecommend: {
|
||||||
|
title: '每日推薦',
|
||||||
|
badge: '推薦',
|
||||||
|
empty: '暫無推薦歌曲',
|
||||||
|
intelligenceHint: '開啟心動模式,發現更多喜歡的音樂'
|
||||||
|
},
|
||||||
|
recommendMV: {
|
||||||
|
title: '推薦MV'
|
||||||
|
},
|
||||||
|
newAlbum: {
|
||||||
|
title: '專輯',
|
||||||
|
empty: '暫無新專輯'
|
||||||
|
},
|
||||||
|
recommendNewMusic: {
|
||||||
|
title: '新歌速遞'
|
||||||
|
},
|
||||||
|
privateContent: {
|
||||||
|
title: '獨家放送'
|
||||||
|
},
|
||||||
|
djProgram: {
|
||||||
|
title: '推薦電台'
|
||||||
|
},
|
||||||
|
homeHero: {
|
||||||
|
dailyRecommend: '每日推薦',
|
||||||
|
songs: '首',
|
||||||
|
playNow: '立即播放',
|
||||||
|
intelligenceMode: '心動模式',
|
||||||
|
intelligenceModeOn: '心動中',
|
||||||
|
intelligenceModeDesc: '開啟智慧推薦播放',
|
||||||
|
intelligenceModeActiveDesc: '根據你的喜好智慧推薦',
|
||||||
|
startIntelligence: '開啟心動',
|
||||||
|
stopIntelligence: '關閉心動',
|
||||||
|
playing: '播放中',
|
||||||
|
toplistDesc: '熱門榜單',
|
||||||
|
mvDesc: '音樂視訊',
|
||||||
|
playlistDesc: '精選播放清單',
|
||||||
|
personalFm: '私人FM',
|
||||||
|
discoverMusic: '發現新音樂',
|
||||||
|
personalFmDesc: '根據你的喜好推薦',
|
||||||
|
recentPlays: '最近播放',
|
||||||
|
viewAll: '查看全部',
|
||||||
|
followedArtists: '關注歌手',
|
||||||
|
newSongs: '首新歌',
|
||||||
|
fromFollowedArtists: '來自你關注的歌手',
|
||||||
|
recommendNewMusic: '推薦新音樂',
|
||||||
|
newSongExpress: '新歌速遞',
|
||||||
|
discoverNewReleases: '發現最新發行的好歌',
|
||||||
|
hotPlaylists: '精選歌單',
|
||||||
|
hotArtists: '熱門歌手',
|
||||||
|
hotArtistsTitle: '熱門藝人',
|
||||||
|
hotArtistsDesc: '當下最受歡迎的歌手',
|
||||||
|
fmTrash: '不喜歡',
|
||||||
|
fmNext: '下一首',
|
||||||
|
quickNav: {
|
||||||
|
myFavorite: '我的收藏',
|
||||||
|
playHistory: '播放歷史',
|
||||||
|
myProfile: '我的主頁',
|
||||||
|
toplist: '排行榜'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchBar: {
|
searchBar: {
|
||||||
login: '登入',
|
login: '登入',
|
||||||
@@ -92,7 +183,13 @@ export default {
|
|||||||
zoom: '頁面縮放',
|
zoom: '頁面縮放',
|
||||||
zoom100: '標準縮放100%',
|
zoom100: '標準縮放100%',
|
||||||
resetZoom: '點擊重設縮放',
|
resetZoom: '點擊重設縮放',
|
||||||
zoomDefault: '標準縮放'
|
zoomDefault: '標準縮放',
|
||||||
|
tabPlaylist: '播放清單',
|
||||||
|
tabMv: 'MV',
|
||||||
|
tabCharts: '排行榜',
|
||||||
|
cancelSearch: '取消',
|
||||||
|
intelligenceMode: '心動模式',
|
||||||
|
exitIntelligence: '退出心動模式'
|
||||||
},
|
},
|
||||||
titleBar: {
|
titleBar: {
|
||||||
closeTitle: '請選擇關閉方式',
|
closeTitle: '請選擇關閉方式',
|
||||||
@@ -117,7 +214,15 @@ export default {
|
|||||||
cancelCollect: '取消收藏',
|
cancelCollect: '取消收藏',
|
||||||
addToPlaylist: '新增至播放清單',
|
addToPlaylist: '新增至播放清單',
|
||||||
addToPlaylistSuccess: '新增至播放清單成功',
|
addToPlaylistSuccess: '新增至播放清單成功',
|
||||||
songsAlreadyInPlaylist: '歌曲已存在於播放清單中'
|
songsAlreadyInPlaylist: '歌曲已存在於播放清單中',
|
||||||
|
locateCurrent: '定位當前播放',
|
||||||
|
scrollToTop: '回到頂部',
|
||||||
|
compactLayout: '緊湊佈局',
|
||||||
|
normalLayout: '常規佈局',
|
||||||
|
historyRecommend: '歷史日推',
|
||||||
|
fetchDatesFailed: '獲取日期列表失敗',
|
||||||
|
fetchSongsFailed: '獲取歌曲列表失敗',
|
||||||
|
noSongs: '暫無歌曲'
|
||||||
},
|
},
|
||||||
playlist: {
|
playlist: {
|
||||||
import: {
|
import: {
|
||||||
@@ -143,6 +248,7 @@ export default {
|
|||||||
albumNamePlaceholder: '專輯名稱',
|
albumNamePlaceholder: '專輯名稱',
|
||||||
addSongButton: '新增歌曲',
|
addSongButton: '新增歌曲',
|
||||||
addLinkButton: '新增連結',
|
addLinkButton: '新增連結',
|
||||||
|
options: '選項',
|
||||||
importToStarPlaylist: '匯入到我喜歡的音樂',
|
importToStarPlaylist: '匯入到我喜歡的音樂',
|
||||||
playlistNamePlaceholder: '請輸入播放清單名稱',
|
playlistNamePlaceholder: '請輸入播放清單名稱',
|
||||||
importButton: '開始匯入',
|
importButton: '開始匯入',
|
||||||
@@ -186,5 +292,41 @@ export default {
|
|||||||
list: '播放清單',
|
list: '播放清單',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
home: '首頁',
|
home: '首頁',
|
||||||
search: '搜尋'
|
search: '搜尋',
|
||||||
|
album: '專輯',
|
||||||
|
localMusic: '本地音樂',
|
||||||
|
pages: {
|
||||||
|
toplist: {
|
||||||
|
desc: '最具權威的音樂榜單,發現當下最熱門的音樂'
|
||||||
|
},
|
||||||
|
mv: {
|
||||||
|
desc: '探索精彩影片內容',
|
||||||
|
loadingMore: '載入更多中...',
|
||||||
|
noMore: '— 已載入全部內容 —',
|
||||||
|
area: {
|
||||||
|
all: '全部',
|
||||||
|
mainland: '內地',
|
||||||
|
hktw: '港台',
|
||||||
|
western: '歐美',
|
||||||
|
japan: '日本',
|
||||||
|
korea: '韓國'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
list: {
|
||||||
|
desc: '發現更多好聽的播放清單',
|
||||||
|
dailyRecommend: '每日推薦'
|
||||||
|
},
|
||||||
|
search: {
|
||||||
|
desc: '探索當下最熱門的搜尋趨勢'
|
||||||
|
},
|
||||||
|
album: {
|
||||||
|
area: {
|
||||||
|
all: '全部',
|
||||||
|
chinese: '華語',
|
||||||
|
western: '歐美',
|
||||||
|
korea: '韓國',
|
||||||
|
japan: '日本'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ export default {
|
|||||||
},
|
},
|
||||||
empty: {
|
empty: {
|
||||||
noTasks: '暫無下載任務',
|
noTasks: '暫無下載任務',
|
||||||
noDownloaded: '暫無已下載歌曲'
|
noDownloaded: '暫無已下載歌曲',
|
||||||
|
noDownloadedHint: '去下載你喜歡的歌曲吧'
|
||||||
},
|
},
|
||||||
progress: {
|
progress: {
|
||||||
total: '總進度: {progress}%'
|
total: '總進度: {progress}%'
|
||||||
@@ -19,7 +20,21 @@ export default {
|
|||||||
downloading: '下載中',
|
downloading: '下載中',
|
||||||
completed: '已完成',
|
completed: '已完成',
|
||||||
failed: '失敗',
|
failed: '失敗',
|
||||||
unknown: '未知'
|
unknown: '未知',
|
||||||
|
queued: '排隊中',
|
||||||
|
paused: '已暫停',
|
||||||
|
cancelled: '已取消'
|
||||||
|
},
|
||||||
|
action: {
|
||||||
|
pause: '暫停',
|
||||||
|
resume: '恢復',
|
||||||
|
cancel: '取消',
|
||||||
|
cancelAll: '取消全部',
|
||||||
|
retrying: '重新獲取連結...'
|
||||||
|
},
|
||||||
|
batch: {
|
||||||
|
complete: '下載完成:成功 {success}/{total} 首',
|
||||||
|
allComplete: '全部下載完成'
|
||||||
},
|
},
|
||||||
artist: {
|
artist: {
|
||||||
unknown: '未知歌手'
|
unknown: '未知歌手'
|
||||||
@@ -39,7 +54,16 @@ export default {
|
|||||||
message: '確定要清空所有下載記錄嗎?此操作不會刪除已下載的音樂檔案,但將清空所有記錄。',
|
message: '確定要清空所有下載記錄嗎?此操作不會刪除已下載的音樂檔案,但將清空所有記錄。',
|
||||||
confirm: '確定清空',
|
confirm: '確定清空',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
success: '下載記錄已清空'
|
success: '下載記錄已清空',
|
||||||
|
failed: '清空下載記錄失敗'
|
||||||
|
},
|
||||||
|
save: {
|
||||||
|
title: '儲存設定',
|
||||||
|
message: '目前下載設定尚未儲存,是否儲存變更?',
|
||||||
|
confirm: '儲存',
|
||||||
|
cancel: '取消',
|
||||||
|
discard: '放棄',
|
||||||
|
saveSuccess: '下載設定已儲存'
|
||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
downloadComplete: '{filename} 下載完成',
|
downloadComplete: '{filename} 下載完成',
|
||||||
@@ -49,6 +73,7 @@ export default {
|
|||||||
playStarted: '開始播放: {name}',
|
playStarted: '開始播放: {name}',
|
||||||
playFailed: '播放失敗: {name}',
|
playFailed: '播放失敗: {name}',
|
||||||
path: {
|
path: {
|
||||||
|
copy: '複製路徑',
|
||||||
copied: '路徑已複製到剪貼簿',
|
copied: '路徑已複製到剪貼簿',
|
||||||
copyFailed: '複製路徑失敗'
|
copyFailed: '複製路徑失敗'
|
||||||
},
|
},
|
||||||
@@ -60,6 +85,8 @@ export default {
|
|||||||
noPathSelected: '請先選擇下載路徑',
|
noPathSelected: '請先選擇下載路徑',
|
||||||
select: '選擇資料夾',
|
select: '選擇資料夾',
|
||||||
open: '開啟資料夾',
|
open: '開啟資料夾',
|
||||||
|
saveLyric: '單獨儲存歌詞檔案',
|
||||||
|
saveLyricDesc: '下載歌曲時同時儲存一份 .lrc 歌詞檔案',
|
||||||
fileFormat: '檔名格式',
|
fileFormat: '檔名格式',
|
||||||
fileFormatDesc: '設定下載音樂時的檔案命名格式',
|
fileFormatDesc: '設定下載音樂時的檔案命名格式',
|
||||||
customFormat: '自訂格式',
|
customFormat: '自訂格式',
|
||||||
@@ -72,6 +99,8 @@ export default {
|
|||||||
dragToArrange: '拖曳排序或使用箭頭按鈕調整順序:',
|
dragToArrange: '拖曳排序或使用箭頭按鈕調整順序:',
|
||||||
formatVariables: '可用變數',
|
formatVariables: '可用變數',
|
||||||
preview: '預覽效果:',
|
preview: '預覽效果:',
|
||||||
|
concurrency: '最大並發數',
|
||||||
|
concurrencyDesc: '同時下載的最大歌曲數量(1-5)',
|
||||||
saveSuccess: '下載設定已儲存',
|
saveSuccess: '下載設定已儲存',
|
||||||
presets: {
|
presets: {
|
||||||
songArtist: '歌曲名 - 歌手名',
|
songArtist: '歌曲名 - 歌手名',
|
||||||
@@ -83,5 +112,10 @@ export default {
|
|||||||
artistName: '歌手名',
|
artistName: '歌手名',
|
||||||
albumName: '專輯名'
|
albumName: '專輯名'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
incomplete: '檔案下載不完整',
|
||||||
|
urlExpired: '下載連結已過期,正在重新獲取',
|
||||||
|
resumeFailed: '恢復下載失敗'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,49 @@
|
|||||||
export default {
|
export default {
|
||||||
title: '播放歷史',
|
title: '播放歷史',
|
||||||
|
heatmapTitle: '熱力圖',
|
||||||
playCount: '{count}',
|
playCount: '{count}',
|
||||||
getHistoryFailed: '取得歷史記錄失敗'
|
getHistoryFailed: '取得歷史記錄失敗',
|
||||||
|
categoryTabs: {
|
||||||
|
songs: '歌曲',
|
||||||
|
playlists: '歌單',
|
||||||
|
albums: '專輯',
|
||||||
|
podcasts: '播客'
|
||||||
|
},
|
||||||
|
podcastTabs: {
|
||||||
|
episodes: '節目',
|
||||||
|
radios: '電台'
|
||||||
|
},
|
||||||
|
tabs: {
|
||||||
|
all: '全部記錄',
|
||||||
|
local: '本地記錄',
|
||||||
|
cloud: '雲端記錄'
|
||||||
|
},
|
||||||
|
getCloudRecordFailed: '取得雲端記錄失敗',
|
||||||
|
needLogin: '請使用cookie登入以查看雲端記錄',
|
||||||
|
merging: '正在合併記錄...',
|
||||||
|
noDescription: '暫無描述',
|
||||||
|
noData: '暫無記錄',
|
||||||
|
heatmap: {
|
||||||
|
title: '播放熱力圖',
|
||||||
|
loading: '正在載入數據...',
|
||||||
|
unit: '次播放',
|
||||||
|
footerText: '滑鼠懸停查看詳細信息',
|
||||||
|
playCount: '播放 {count} 次',
|
||||||
|
topSongs: '當天熱門歌曲',
|
||||||
|
times: '次',
|
||||||
|
totalPlays: '總播放次數',
|
||||||
|
activeDays: '活躍天數',
|
||||||
|
noData: '暫無播放記錄',
|
||||||
|
colorTheme: '配色方案',
|
||||||
|
colors: {
|
||||||
|
green: '綠色',
|
||||||
|
blue: '藍色',
|
||||||
|
orange: '橙色',
|
||||||
|
purple: '紫色',
|
||||||
|
red: '紅色'
|
||||||
|
},
|
||||||
|
mostPlayedSong: '播放最多的歌曲',
|
||||||
|
mostActiveDay: '最活躍的一天',
|
||||||
|
latestNightSong: '最晚播放的歌曲'
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
13
src/i18n/lang/zh-Hant/localMusic.ts
Normal file
13
src/i18n/lang/zh-Hant/localMusic.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
title: '本地音樂',
|
||||||
|
scanFolder: '掃描資料夾',
|
||||||
|
removeFolder: '移除資料夾',
|
||||||
|
scanning: '正在掃描...',
|
||||||
|
scanComplete: '掃描完成',
|
||||||
|
playAll: '播放全部',
|
||||||
|
search: '搜尋本地音樂',
|
||||||
|
emptyState: '暫無本地音樂,請先選擇資料夾進行掃描',
|
||||||
|
fileNotFound: '檔案不存在或已被移動',
|
||||||
|
rescan: '重新掃描',
|
||||||
|
songCount: '{count} 首歌曲'
|
||||||
|
};
|
||||||
@@ -41,7 +41,21 @@ export default {
|
|||||||
uidLoginFailed: 'UID登入失敗,請檢查使用者ID是否正確',
|
uidLoginFailed: 'UID登入失敗,請檢查使用者ID是否正確',
|
||||||
autoGetCookieSuccess: '自動取得Cookie成功',
|
autoGetCookieSuccess: '自動取得Cookie成功',
|
||||||
autoGetCookieFailed: '自動取得Cookie失敗',
|
autoGetCookieFailed: '自動取得Cookie失敗',
|
||||||
autoGetCookieTip: '將開啟網易雲音樂登入頁面,請完成登入後關閉視窗'
|
autoGetCookieTip: '將開啟網易雲音樂登入頁面,請完成登入後關閉視窗',
|
||||||
|
loginFailed: '登入失敗',
|
||||||
|
phoneRequired: '請輸入手機號',
|
||||||
|
passwordRequired: '請輸入密碼',
|
||||||
|
phoneLoginFailed: '手機號登入失敗,請檢查手機號和密碼是否正確',
|
||||||
|
qrCheckFailed: '檢查二維碼狀態失敗,請刷新重試',
|
||||||
|
qrLoading: '正在載入二維碼...',
|
||||||
|
qrExpired: '二維碼已過期,請點擊刷新',
|
||||||
|
qrExpiredShort: '二維碼已過期',
|
||||||
|
qrExpiredWarning: '二維碼已過期,請點擊刷新獲取新的二維碼',
|
||||||
|
qrScanned: '已掃碼,請在手機上確認登入',
|
||||||
|
qrScannedShort: '已掃碼',
|
||||||
|
qrScannedInfo: '已扫码,请在手机上确认登录',
|
||||||
|
qrConfirmed: '登入成功,正在跳轉...',
|
||||||
|
qrGenerating: '正在生成二維碼...'
|
||||||
},
|
},
|
||||||
qrTitle: '掃碼登入網易雲音樂',
|
qrTitle: '掃碼登入網易雲音樂',
|
||||||
uidWarning: '注意:UID登入僅用於查看使用者公開資訊,無法訪問需要登入權限的功能'
|
uidWarning: '注意:UID登入僅用於查看使用者公開資訊,無法訪問需要登入權限的功能'
|
||||||
|
|||||||
@@ -14,6 +14,11 @@ export default {
|
|||||||
addCorrection: '提前 {num} 秒',
|
addCorrection: '提前 {num} 秒',
|
||||||
subtractCorrection: '延遲 {num} 秒',
|
subtractCorrection: '延遲 {num} 秒',
|
||||||
playFailed: '目前歌曲播放失敗,播放下一首',
|
playFailed: '目前歌曲播放失敗,播放下一首',
|
||||||
|
parseFailedPlayNext: '歌曲解析失敗,播放下一首',
|
||||||
|
consecutiveFailsError: '播放遇到錯誤,可能是網路波動或解析源失效,請切換播放清單或稍後重試',
|
||||||
|
playListEnded: '已播放到列表最後一首',
|
||||||
|
autoResumed: '已自動恢復播放',
|
||||||
|
resumeFailed: '恢復播放失敗,請手動點擊播放',
|
||||||
playMode: {
|
playMode: {
|
||||||
sequence: '順序播放',
|
sequence: '順序播放',
|
||||||
loop: '單曲循環',
|
loop: '單曲循環',
|
||||||
@@ -29,7 +34,8 @@ export default {
|
|||||||
list: '自動播放下一個'
|
list: '自動播放下一個'
|
||||||
},
|
},
|
||||||
lrc: {
|
lrc: {
|
||||||
noLrc: '暫無歌詞, 請欣賞'
|
noLrc: '暫無歌詞, 請欣賞',
|
||||||
|
noAutoScroll: '本歌詞不支持自動滾動'
|
||||||
},
|
},
|
||||||
reparse: {
|
reparse: {
|
||||||
title: '選擇解析音源',
|
title: '選擇解析音源',
|
||||||
@@ -39,7 +45,9 @@ export default {
|
|||||||
warning: '請選擇一個音源',
|
warning: '請選擇一個音源',
|
||||||
bilibiliNotSupported: 'B站影片不支援重新解析',
|
bilibiliNotSupported: 'B站影片不支援重新解析',
|
||||||
processing: '解析中...',
|
processing: '解析中...',
|
||||||
clear: '清除自訂音源'
|
clear: '清除自訂音源',
|
||||||
|
customApiFailed: '自定義API解析失敗,正在嘗試使用內置音源...',
|
||||||
|
customApiError: '自定義API請求出錯,正在嘗試使用內置音源...'
|
||||||
},
|
},
|
||||||
playBar: {
|
playBar: {
|
||||||
expand: '展開歌詞',
|
expand: '展開歌詞',
|
||||||
@@ -64,7 +72,17 @@ export default {
|
|||||||
unFavorite: '已取消收藏{name}',
|
unFavorite: '已取消收藏{name}',
|
||||||
miniPlayBar: '迷你播放列',
|
miniPlayBar: '迷你播放列',
|
||||||
playbackSpeed: '播放速度',
|
playbackSpeed: '播放速度',
|
||||||
advancedControls: '更多設定s'
|
advancedControls: '更多設定',
|
||||||
|
intelligenceMode: {
|
||||||
|
title: '心動模式',
|
||||||
|
needCookieLogin: '請使用 Cookie 方式登入後使用心動模式',
|
||||||
|
noFavoritePlaylist: '未找到我喜歡的音樂歌單',
|
||||||
|
noLikedSongs: '您還沒有喜歡的歌曲',
|
||||||
|
loading: '正在載入心動模式',
|
||||||
|
success: '已載入 {count} 首歌曲',
|
||||||
|
failed: '取得心動模式清單失敗',
|
||||||
|
error: '心動模式播放出錯'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
eq: {
|
eq: {
|
||||||
title: '等化器',
|
title: '等化器',
|
||||||
@@ -90,6 +108,11 @@ export default {
|
|||||||
custom: '自訂'
|
custom: '自訂'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 播放器設定
|
||||||
|
settings: {
|
||||||
|
title: '播放設定',
|
||||||
|
playbackSpeed: '播放速度'
|
||||||
|
},
|
||||||
// 定時關閉功能相關
|
// 定時關閉功能相關
|
||||||
sleepTimer: {
|
sleepTimer: {
|
||||||
title: '定時關閉',
|
title: '定時關閉',
|
||||||
|
|||||||
40
src/i18n/lang/zh-Hant/podcast.ts
Normal file
40
src/i18n/lang/zh-Hant/podcast.ts
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
export default {
|
||||||
|
podcast: '播客',
|
||||||
|
mySubscriptions: '我的訂閱',
|
||||||
|
discover: '發現',
|
||||||
|
categories: '分類',
|
||||||
|
todayPerfered: '今日優選',
|
||||||
|
recommended: '推薦電台',
|
||||||
|
hotRanking: '熱門榜',
|
||||||
|
newRanking: '新晉榜',
|
||||||
|
subscribeCount: '訂閱',
|
||||||
|
programCount: '期節目',
|
||||||
|
subscribe: '訂閱',
|
||||||
|
subscribed: '已訂閱',
|
||||||
|
unsubscribe: '取消訂閱',
|
||||||
|
unsubscribed: '已取消訂閱',
|
||||||
|
subscribeSuccess: '訂閱成功',
|
||||||
|
unsubscribeFailed: '取消訂閱失敗',
|
||||||
|
subscribeFailed: '訂閱失敗',
|
||||||
|
radioDetail: '電台詳情',
|
||||||
|
programList: '節目列表',
|
||||||
|
playProgram: '播放節目',
|
||||||
|
recentPlayed: '最近播放',
|
||||||
|
listeners: '收聽',
|
||||||
|
noSubscriptions: '暫無訂閱',
|
||||||
|
goDiscover: '去發現播客',
|
||||||
|
searchPodcast: '搜尋播客',
|
||||||
|
category: '分類',
|
||||||
|
all: '全部',
|
||||||
|
dj: '主播',
|
||||||
|
episodes: '期',
|
||||||
|
playAll: '播放全部',
|
||||||
|
popularCategories: '熱門分類',
|
||||||
|
allCategories: '全部分類',
|
||||||
|
categoryRadios: '分類電台',
|
||||||
|
exploreCategoryRadios: '探索更多精彩電台',
|
||||||
|
hotRadios: '熱門電台',
|
||||||
|
noCategoryRadios: '該分類暫無電台',
|
||||||
|
searchPlaceholder: '搜尋播客、電台節目...',
|
||||||
|
searchResults: '搜尋結果'
|
||||||
|
};
|
||||||
@@ -11,7 +11,8 @@ export default {
|
|||||||
},
|
},
|
||||||
loading: {
|
loading: {
|
||||||
more: '載入中...',
|
more: '載入中...',
|
||||||
failed: '搜尋失敗'
|
failed: '搜尋失敗',
|
||||||
|
searching: '搜尋中...'
|
||||||
},
|
},
|
||||||
noMore: '沒有更多了',
|
noMore: '沒有更多了',
|
||||||
error: {
|
error: {
|
||||||
@@ -22,6 +23,10 @@ export default {
|
|||||||
album: '專輯',
|
album: '專輯',
|
||||||
playlist: '歌單',
|
playlist: '歌單',
|
||||||
mv: 'MV',
|
mv: 'MV',
|
||||||
|
djradio: '電台',
|
||||||
bilibili: 'B站'
|
bilibili: 'B站'
|
||||||
}
|
},
|
||||||
|
history: '搜尋歷史',
|
||||||
|
hot: '熱門搜尋',
|
||||||
|
suggestions: '搜尋建議'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default {
|
|||||||
network: '網路設定',
|
network: '網路設定',
|
||||||
system: '系統管理',
|
system: '系統管理',
|
||||||
donation: '捐贈支持',
|
donation: '捐贈支持',
|
||||||
regard: '關於'
|
about: '關於'
|
||||||
},
|
},
|
||||||
basic: {
|
basic: {
|
||||||
themeMode: '主題模式',
|
themeMode: '主題模式',
|
||||||
@@ -24,7 +24,7 @@ export default {
|
|||||||
tokenStatus: '目前Cookie狀態',
|
tokenStatus: '目前Cookie狀態',
|
||||||
tokenSet: '已設定',
|
tokenSet: '已設定',
|
||||||
tokenNotSet: '未設定',
|
tokenNotSet: '未設定',
|
||||||
setCookie: '設定Cookie',
|
setToken: '設定Cookie',
|
||||||
modifyToken: '修改Cookie',
|
modifyToken: '修改Cookie',
|
||||||
clearToken: '清除Cookie',
|
clearToken: '清除Cookie',
|
||||||
font: '字體設定',
|
font: '字體設定',
|
||||||
@@ -50,7 +50,14 @@ export default {
|
|||||||
englishText: 'The quick brown fox jumps over the lazy dog',
|
englishText: 'The quick brown fox jumps over the lazy dog',
|
||||||
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
japaneseText: 'あいうえお かきくけこ さしすせそ',
|
||||||
koreanText: '가나다라마 바사아자차 카타파하'
|
koreanText: '가나다라마 바사아자차 카타파하'
|
||||||
}
|
},
|
||||||
|
gpuAcceleration: 'GPU加速',
|
||||||
|
gpuAccelerationDesc: '啟用或禁用硬體加速,可以提高渲染性能,但可能會增加GPU負載',
|
||||||
|
gpuAccelerationRestart: '更改GPU加速設定需要重啟應用後生效',
|
||||||
|
gpuAccelerationChangeSuccess: 'GPU加速設定已更新,重啟應用後生效',
|
||||||
|
gpuAccelerationChangeError: 'GPU加速設定更新失敗',
|
||||||
|
tabletMode: '平板模式',
|
||||||
|
tabletModeDesc: '啟用後將在移動設備上使用PC樣式界面,適合平板等大屏設備'
|
||||||
},
|
},
|
||||||
playback: {
|
playback: {
|
||||||
quality: '音質設定',
|
quality: '音質設定',
|
||||||
@@ -77,8 +84,70 @@ export default {
|
|||||||
gdmusicInfo: 'GD音樂台可自動解析多個平台音源,自動選擇最佳結果',
|
gdmusicInfo: 'GD音樂台可自動解析多個平台音源,自動選擇最佳結果',
|
||||||
autoPlay: '自動播放',
|
autoPlay: '自動播放',
|
||||||
autoPlayDesc: '重新開啟應用程式時是否自動繼續播放',
|
autoPlayDesc: '重新開啟應用程式時是否自動繼續播放',
|
||||||
|
audioDevice: '音訊輸出裝置',
|
||||||
|
audioDeviceDesc: '選擇音訊輸出裝置,如揚聲器、耳機或藍牙裝置',
|
||||||
|
testAudio: '測試',
|
||||||
|
selectAudioDevice: '選擇輸出裝置',
|
||||||
showStatusBar: '是否顯示狀態列控制功能',
|
showStatusBar: '是否顯示狀態列控制功能',
|
||||||
showStatusBarContent: '可以在您的mac狀態列顯示音樂控制功能(重啟後生效)'
|
showStatusBarContent: '可以在您的mac狀態列顯示音樂控制功能(重啟後生效)',
|
||||||
|
fallbackParser: '備用解析服務 (GD音樂台)',
|
||||||
|
fallbackParserDesc: '當勾選「GD音樂台」且常規音源無法播放時,將使用此服務嘗試解析。',
|
||||||
|
parserGD: 'GD 音樂台 (內建)',
|
||||||
|
parserCustom: '自訂 API',
|
||||||
|
|
||||||
|
// 音源標籤
|
||||||
|
sourceLabels: {
|
||||||
|
migu: 'migu',
|
||||||
|
kugou: 'kugou',
|
||||||
|
kuwo: 'kuwo',
|
||||||
|
pyncmd: 'pyncmd',
|
||||||
|
qq: 'qq',
|
||||||
|
joox: 'JOOX',
|
||||||
|
bilibili: 'Bilibili',
|
||||||
|
gdmusic: 'gdmusic',
|
||||||
|
lxMusic: 'lxMusic',
|
||||||
|
custom: '自訂 API'
|
||||||
|
},
|
||||||
|
customApi: {
|
||||||
|
sectionTitle: '自訂 API 設定',
|
||||||
|
importConfig: '匯入 JSON 設定',
|
||||||
|
currentSource: '目前音源',
|
||||||
|
notImported: '尚未匯入自訂音源。',
|
||||||
|
importSuccess: '成功匯入音源:{name}',
|
||||||
|
importFailed: '匯入失敗:{message}',
|
||||||
|
enableHint: '請先匯入 JSON 設定檔才能啟用',
|
||||||
|
status: {
|
||||||
|
imported: '已匯入自訂音源',
|
||||||
|
notImported: '未匯入'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lxMusic: {
|
||||||
|
tabs: {
|
||||||
|
sources: '音源選擇',
|
||||||
|
lxMusic: '落雪音源',
|
||||||
|
customApi: '自訂API'
|
||||||
|
},
|
||||||
|
scripts: {
|
||||||
|
title: '已匯入的音源腳本',
|
||||||
|
importLocal: '本機匯入',
|
||||||
|
importOnline: '線上匯入',
|
||||||
|
urlPlaceholder: '輸入落雪音源腳本 URL',
|
||||||
|
importBtn: '匯入',
|
||||||
|
empty: '暫無已匯入的落雪音源',
|
||||||
|
notConfigured: '未設定 (請至落雪音源分頁設定)',
|
||||||
|
importHint: '匯入相容的自訂 API 外掛以擴充音源',
|
||||||
|
noScriptWarning: '請先匯入落雪音源腳本',
|
||||||
|
noSelectionWarning: '請先選擇一個落雪音源',
|
||||||
|
notFound: '音源不存在',
|
||||||
|
switched: '已切換到音源: {name}',
|
||||||
|
deleted: '已刪除音源: {name}',
|
||||||
|
enterUrl: '請輸入腳本 URL',
|
||||||
|
invalidUrl: '無效的 URL 格式',
|
||||||
|
invalidScript: '無效的落雪音源腳本,未找到 globalThis.lx 相關程式碼',
|
||||||
|
nameRequired: '名稱不能為空',
|
||||||
|
renameSuccess: '重新命名成功'
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
application: {
|
application: {
|
||||||
closeAction: '關閉行為',
|
closeAction: '關閉行為',
|
||||||
@@ -120,6 +189,35 @@ export default {
|
|||||||
system: {
|
system: {
|
||||||
cache: '快取管理',
|
cache: '快取管理',
|
||||||
cacheDesc: '清除快取',
|
cacheDesc: '清除快取',
|
||||||
|
diskCache: '磁碟快取',
|
||||||
|
diskCacheDesc: '將播放過的音樂與歌詞快取到本機磁碟,加速二次播放',
|
||||||
|
cacheDirectory: '快取目錄',
|
||||||
|
cacheDirectoryDesc: '自訂音樂與歌詞快取儲存位置',
|
||||||
|
selectDirectory: '選擇目錄',
|
||||||
|
openDirectory: '開啟目錄',
|
||||||
|
cacheMaxSize: '快取上限',
|
||||||
|
cacheMaxSizeDesc: '達到上限時會自動清理較舊快取',
|
||||||
|
cleanupPolicy: '清理策略',
|
||||||
|
cleanupPolicyDesc: '快取達到上限時的自動清理規則',
|
||||||
|
cleanupPolicyOptions: {
|
||||||
|
lru: '最近最少使用',
|
||||||
|
fifo: '先進先出'
|
||||||
|
},
|
||||||
|
cacheStatus: '快取狀態',
|
||||||
|
cacheStatusDesc: '已用 {used} / 上限 {limit}',
|
||||||
|
cacheStatusDetail: '音樂 {musicCount} 首,歌詞 {lyricCount} 首',
|
||||||
|
manageDiskCache: '手動清理磁碟快取',
|
||||||
|
manageDiskCacheDesc: '依快取類型進行清理',
|
||||||
|
clearMusicCache: '清理音樂快取',
|
||||||
|
clearLyricCache: '清理歌詞快取',
|
||||||
|
clearAllCache: '清理全部快取',
|
||||||
|
switchDirectoryMigrateTitle: '偵測到既有快取',
|
||||||
|
switchDirectoryMigrateContent: '是否將舊目錄快取搬移到新目錄?',
|
||||||
|
switchDirectoryMigrateConfirm: '搬移',
|
||||||
|
switchDirectoryDestroyTitle: '是否刪除舊快取',
|
||||||
|
switchDirectoryDestroyContent: '不搬移時,是否刪除舊目錄的快取檔案?',
|
||||||
|
switchDirectoryDestroyConfirm: '刪除',
|
||||||
|
switchDirectoryKeepOld: '保留舊快取',
|
||||||
cacheClearTitle: '請選擇要清除的快取類型:',
|
cacheClearTitle: '請選擇要清除的快取類型:',
|
||||||
cacheTypes: {
|
cacheTypes: {
|
||||||
history: {
|
history: {
|
||||||
@@ -154,7 +252,14 @@ export default {
|
|||||||
restart: '重新啟動',
|
restart: '重新啟動',
|
||||||
restartDesc: '重新啟動應用程式',
|
restartDesc: '重新啟動應用程式',
|
||||||
messages: {
|
messages: {
|
||||||
clearSuccess: '清除成功,部分設定在重啟後生效'
|
clearSuccess: '清除成功,部分設定在重啟後生效',
|
||||||
|
diskCacheClearSuccess: '磁碟快取已清理',
|
||||||
|
diskCacheClearFailed: '清理磁碟快取失敗',
|
||||||
|
diskCacheStatsLoadFailed: '讀取快取狀態失敗',
|
||||||
|
switchDirectorySuccess: '快取目錄已切換,舊快取已保留',
|
||||||
|
switchDirectoryFailed: '快取目錄切換失敗',
|
||||||
|
switchDirectoryMigrated: '快取目錄已切換,已搬移 {count} 個快取檔案',
|
||||||
|
switchDirectoryDestroyed: '快取目錄已切換,已刪除 {count} 個舊快取檔案'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
@@ -164,6 +269,7 @@ export default {
|
|||||||
latest: '目前已是最新版本',
|
latest: '目前已是最新版本',
|
||||||
hasUpdate: '發現新版本',
|
hasUpdate: '發現新版本',
|
||||||
gotoUpdate: '前往更新',
|
gotoUpdate: '前往更新',
|
||||||
|
manualUpdate: '官網更新',
|
||||||
gotoGithub: '前往 Github',
|
gotoGithub: '前往 Github',
|
||||||
author: '作者',
|
author: '作者',
|
||||||
authorDesc: 'algerkong 點個star🌟呗',
|
authorDesc: 'algerkong 點個star🌟呗',
|
||||||
@@ -182,6 +288,7 @@ export default {
|
|||||||
display: '顯示',
|
display: '顯示',
|
||||||
interface: '介面',
|
interface: '介面',
|
||||||
typography: '文字',
|
typography: '文字',
|
||||||
|
background: '背景',
|
||||||
mobile: '行動端'
|
mobile: '行動端'
|
||||||
},
|
},
|
||||||
pureMode: '純淨模式',
|
pureMode: '純淨模式',
|
||||||
@@ -204,11 +311,77 @@ export default {
|
|||||||
medium: '中',
|
medium: '中',
|
||||||
large: '大'
|
large: '大'
|
||||||
},
|
},
|
||||||
|
fontWeight: '字體粗細',
|
||||||
|
fontWeightMarks: {
|
||||||
|
thin: '細',
|
||||||
|
normal: '常規',
|
||||||
|
bold: '粗'
|
||||||
|
},
|
||||||
letterSpacing: '字間距',
|
letterSpacing: '字間距',
|
||||||
letterSpacingMarks: {
|
letterSpacingMarks: {
|
||||||
compact: '緊湊',
|
compact: '緊湊',
|
||||||
default: '預設',
|
default: '預設',
|
||||||
loose: '寬鬆'
|
loose: '寬鬆'
|
||||||
|
},
|
||||||
|
lineHeight: '行高',
|
||||||
|
lineHeightMarks: {
|
||||||
|
compact: '緊湊',
|
||||||
|
default: '預設',
|
||||||
|
loose: '寬鬆'
|
||||||
|
},
|
||||||
|
contentWidth: '內容區寬度',
|
||||||
|
mobileLayout: '行動端佈局',
|
||||||
|
layoutOptions: {
|
||||||
|
default: '預設',
|
||||||
|
ios: 'iOS 風格',
|
||||||
|
android: 'Android 風格'
|
||||||
|
},
|
||||||
|
mobileCoverStyle: '封面風格',
|
||||||
|
coverOptions: {
|
||||||
|
record: '唱片',
|
||||||
|
square: '方形',
|
||||||
|
full: '全螢幕'
|
||||||
|
},
|
||||||
|
lyricLines: '歌詞行數',
|
||||||
|
mobileUnavailable: '此設定僅在行動端可用',
|
||||||
|
// 背景設定
|
||||||
|
background: {
|
||||||
|
useCustomBackground: '使用自訂背景',
|
||||||
|
backgroundMode: '背景模式',
|
||||||
|
modeOptions: {
|
||||||
|
solid: '純色',
|
||||||
|
gradient: '漸層',
|
||||||
|
image: '圖片',
|
||||||
|
css: 'CSS'
|
||||||
|
},
|
||||||
|
solidColor: '選擇顏色',
|
||||||
|
presetColors: '預設顏色',
|
||||||
|
customColor: '自訂顏色',
|
||||||
|
gradientEditor: '漸層編輯器',
|
||||||
|
gradientColors: '漸層顏色',
|
||||||
|
gradientDirection: '漸層方向',
|
||||||
|
directionOptions: {
|
||||||
|
toBottom: '上到下',
|
||||||
|
toRight: '左到右',
|
||||||
|
toBottomRight: '左上到右下',
|
||||||
|
angle45: '45度',
|
||||||
|
toTop: '下到上',
|
||||||
|
toLeft: '右到左'
|
||||||
|
},
|
||||||
|
addColor: '新增顏色',
|
||||||
|
removeColor: '移除顏色',
|
||||||
|
imageUpload: '上傳圖片',
|
||||||
|
imagePreview: '圖片預覽',
|
||||||
|
clearImage: '清除圖片',
|
||||||
|
imageBlur: '模糊度',
|
||||||
|
imageBrightness: '明暗度',
|
||||||
|
customCss: '自訂 CSS 樣式',
|
||||||
|
customCssPlaceholder: '輸入 CSS 樣式,如: background: linear-gradient(...)',
|
||||||
|
customCssHelp: '支援任意 CSS background 屬性',
|
||||||
|
reset: '重設為預設',
|
||||||
|
fileSizeLimit: '圖片大小限制: 20MB',
|
||||||
|
invalidImageFormat: '無效的圖片格式',
|
||||||
|
imageTooLarge: '圖片過大,請選擇小於 20MB 的圖片'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
themeColor: {
|
themeColor: {
|
||||||
@@ -231,6 +404,84 @@ export default {
|
|||||||
},
|
},
|
||||||
placeholder: '#1db954'
|
placeholder: '#1db954'
|
||||||
},
|
},
|
||||||
|
translationEngine: '歌詞翻譯引擎',
|
||||||
|
translationEngineOptions: {
|
||||||
|
none: '關閉',
|
||||||
|
opencc: 'OpenCC 繁化'
|
||||||
|
},
|
||||||
|
shortcutSettings: {
|
||||||
|
title: '快捷鍵設定',
|
||||||
|
shortcut: '快捷鍵',
|
||||||
|
shortcutDesc: '自訂快捷鍵',
|
||||||
|
summaryReady: '目前快捷鍵設定可直接儲存',
|
||||||
|
summaryRecording: '正在錄製新的快捷鍵組合',
|
||||||
|
summaryBlocked: '存在衝突或無效項目,請先修正',
|
||||||
|
platformHintMac: 'macOS 下 CommandOrControl 會顯示為 Cmd',
|
||||||
|
platformHintWindows: 'Windows 下 CommandOrControl 會顯示為 Ctrl',
|
||||||
|
platformHintLinux: 'Linux 下 CommandOrControl 會顯示為 Ctrl',
|
||||||
|
platformHintGeneric: 'CommandOrControl 會依系統自動適配',
|
||||||
|
enabledCount: '已啟用',
|
||||||
|
recordingTip: '點擊快捷鍵欄位後輸入組合鍵,Esc 取消,Delete 可停用',
|
||||||
|
shortcutConflict: '快捷鍵衝突',
|
||||||
|
inputPlaceholder: '點擊輸入快捷鍵',
|
||||||
|
clickToRecord: '點擊後輸入快捷鍵',
|
||||||
|
recording: '錄製中...',
|
||||||
|
resetShortcuts: '恢復預設',
|
||||||
|
restoreSingle: '恢復',
|
||||||
|
disableAll: '全部停用',
|
||||||
|
enableAll: '全部啟用',
|
||||||
|
groups: {
|
||||||
|
playback: '播放控制',
|
||||||
|
sound: '音量與收藏',
|
||||||
|
window: '視窗控制'
|
||||||
|
},
|
||||||
|
togglePlay: '播放/暫停',
|
||||||
|
togglePlayDesc: '切換目前歌曲播放狀態',
|
||||||
|
prevPlay: '上一首',
|
||||||
|
prevPlayDesc: '切換到上一首歌曲',
|
||||||
|
nextPlay: '下一首',
|
||||||
|
nextPlayDesc: '切換到下一首歌曲',
|
||||||
|
volumeUp: '增加音量',
|
||||||
|
volumeUpDesc: '提高播放器音量',
|
||||||
|
volumeDown: '減少音量',
|
||||||
|
volumeDownDesc: '降低播放器音量',
|
||||||
|
toggleFavorite: '收藏/取消收藏',
|
||||||
|
toggleFavoriteDesc: '收藏或取消目前歌曲',
|
||||||
|
toggleWindow: '顯示/隱藏視窗',
|
||||||
|
toggleWindowDesc: '快速顯示或隱藏主視窗',
|
||||||
|
scopeGlobal: '全域',
|
||||||
|
scopeApp: '應用程式內',
|
||||||
|
enabled: '已啟用',
|
||||||
|
disabled: '已停用',
|
||||||
|
issueInvalid: '組合無效',
|
||||||
|
issueReserved: '系統保留',
|
||||||
|
registrationWarningTitle: '以下快捷鍵未能註冊,請改用其他組合',
|
||||||
|
registrationOccupied: '被系統或其他應用程式占用',
|
||||||
|
registrationInvalid: '鍵位格式無效',
|
||||||
|
messages: {
|
||||||
|
resetSuccess: '已恢復預設快捷鍵,請記得儲存',
|
||||||
|
conflict: '存在快捷鍵衝突,請重新設定',
|
||||||
|
saveSuccess: '快捷鍵設定已儲存',
|
||||||
|
saveError: '快捷鍵儲存失敗,請重試',
|
||||||
|
saveValidationError: '快捷鍵校驗未通過,請檢查後重試',
|
||||||
|
partialRegistered: '已儲存,但部分全域快捷鍵未註冊成功',
|
||||||
|
cancelEdit: '已取消修改',
|
||||||
|
clearToDisable: '已停用該快捷鍵',
|
||||||
|
invalidShortcut: '快捷鍵無效,請輸入有效組合',
|
||||||
|
disableAll: '已停用所有快捷鍵,請記得儲存',
|
||||||
|
enableAll: '已啟用所有快捷鍵,請記得儲存'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
remoteControl: {
|
||||||
|
title: '遠端控制',
|
||||||
|
enable: '啟用遠端控制',
|
||||||
|
port: '服務連接埠',
|
||||||
|
allowedIps: '允許的 IP 位址',
|
||||||
|
addIp: '新增 IP',
|
||||||
|
emptyListHint: '空白清單表示允許所有 IP 存取',
|
||||||
|
saveSuccess: '遠端控制設定已儲存',
|
||||||
|
accessInfo: '遠端控制存取位址:'
|
||||||
|
},
|
||||||
cookie: {
|
cookie: {
|
||||||
title: 'Cookie設定',
|
title: 'Cookie設定',
|
||||||
description: '請輸入網易雲音樂的Cookie:',
|
description: '請輸入網易雲音樂的Cookie:',
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export default {
|
|||||||
play: '播放',
|
play: '播放',
|
||||||
playNext: '下一首播放',
|
playNext: '下一首播放',
|
||||||
download: '下載歌曲',
|
download: '下載歌曲',
|
||||||
|
downloadLyric: '下載歌詞',
|
||||||
addToPlaylist: '新增至播放清單',
|
addToPlaylist: '新增至播放清單',
|
||||||
favorite: '喜歡',
|
favorite: '喜歡',
|
||||||
unfavorite: '取消喜歡',
|
unfavorite: '取消喜歡',
|
||||||
@@ -15,7 +16,10 @@ export default {
|
|||||||
downloadFailed: '下載失敗',
|
downloadFailed: '下載失敗',
|
||||||
downloadQueued: '已加入下載佇列',
|
downloadQueued: '已加入下載佇列',
|
||||||
addedToNextPlay: '已新增至下一首播放',
|
addedToNextPlay: '已新增至下一首播放',
|
||||||
getUrlFailed: '取得音樂下載位址失敗,請檢查是否登入'
|
getUrlFailed: '取得音樂下載位址失敗,請檢查是否登入',
|
||||||
|
noLyric: '該歌曲暫無歌詞',
|
||||||
|
lyricDownloaded: '歌詞下載成功',
|
||||||
|
lyricDownloadFailed: '歌詞下載失敗'
|
||||||
},
|
},
|
||||||
dialog: {
|
dialog: {
|
||||||
dislike: {
|
dislike: {
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ export default {
|
|||||||
trackCount: '{count}首',
|
trackCount: '{count}首',
|
||||||
playCount: '播放{count}次'
|
playCount: '播放{count}次'
|
||||||
},
|
},
|
||||||
|
tabs: {
|
||||||
|
created: '建立',
|
||||||
|
favorite: '收藏',
|
||||||
|
album: '專輯'
|
||||||
|
},
|
||||||
ranking: {
|
ranking: {
|
||||||
title: '聽歌排行',
|
title: '聽歌排行',
|
||||||
playCount: '{count}次'
|
playCount: '{count}次'
|
||||||
|
|||||||
@@ -1,16 +1,22 @@
|
|||||||
import { electronApp, optimizer } from '@electron-toolkit/utils';
|
import { electronApp, optimizer } from '@electron-toolkit/utils';
|
||||||
import { app, ipcMain, nativeImage } from 'electron';
|
import { app, ipcMain, nativeImage, session } from 'electron';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
|
||||||
import type { Language } from '../i18n/main';
|
import type { Language } from '../i18n/main';
|
||||||
import i18n from '../i18n/main';
|
import i18n from '../i18n/main';
|
||||||
import { loadLyricWindow } from './lyric';
|
import { loadLyricWindow } from './lyric';
|
||||||
|
import { initializeCacheManager } from './modules/cache';
|
||||||
import { initializeConfig } from './modules/config';
|
import { initializeConfig } from './modules/config';
|
||||||
|
import { initializeDownloadManager, setDownloadManagerWindow } from './modules/downloadManager';
|
||||||
import { initializeFileManager } from './modules/fileManager';
|
import { initializeFileManager } from './modules/fileManager';
|
||||||
import { initializeFonts } from './modules/fonts';
|
import { initializeFonts } from './modules/fonts';
|
||||||
|
import { initializeLocalMusicScanner } from './modules/localMusicScanner';
|
||||||
import { initializeLoginWindow } from './modules/loginWindow';
|
import { initializeLoginWindow } from './modules/loginWindow';
|
||||||
|
import { initLxMusicHttp } from './modules/lxMusicHttp';
|
||||||
|
import { initializeMpris, updateMprisCurrentSong, updateMprisPlayState } from './modules/mpris';
|
||||||
|
import { initializeOtherApi } from './modules/otherApi';
|
||||||
import { initializeRemoteControl } from './modules/remoteControl';
|
import { initializeRemoteControl } from './modules/remoteControl';
|
||||||
import { initializeShortcuts, registerShortcuts } from './modules/shortcuts';
|
import { initializeShortcuts } from './modules/shortcuts';
|
||||||
import { initializeTray, updateCurrentSong, updatePlayState, updateTrayMenu } from './modules/tray';
|
import { initializeTray, updateCurrentSong, updatePlayState, updateTrayMenu } from './modules/tray';
|
||||||
import { setupUpdateHandlers } from './modules/update';
|
import { setupUpdateHandlers } from './modules/update';
|
||||||
import { createMainWindow, initializeWindowManager, setAppQuitting } from './modules/window';
|
import { createMainWindow, initializeWindowManager, setAppQuitting } from './modules/window';
|
||||||
@@ -26,9 +32,9 @@ const icon = nativeImage.createFromPath(
|
|||||||
let mainWindow: Electron.BrowserWindow;
|
let mainWindow: Electron.BrowserWindow;
|
||||||
|
|
||||||
// 初始化应用
|
// 初始化应用
|
||||||
function initialize() {
|
function initialize(configStore: any) {
|
||||||
// 初始化配置管理
|
// 使用已初始化的配置存储
|
||||||
const store = initializeConfig();
|
const store = configStore;
|
||||||
|
|
||||||
// 设置初始语言
|
// 设置初始语言
|
||||||
const savedLanguage = store.get('set.language') as Language;
|
const savedLanguage = store.get('set.language') as Language;
|
||||||
@@ -38,22 +44,36 @@ function initialize() {
|
|||||||
|
|
||||||
// 初始化文件管理
|
// 初始化文件管理
|
||||||
initializeFileManager();
|
initializeFileManager();
|
||||||
|
// 初始化下载管理
|
||||||
|
initializeDownloadManager();
|
||||||
|
// 初始化歌词缓存管理
|
||||||
|
initializeCacheManager();
|
||||||
|
// 初始化其他 API (搜索建议等)
|
||||||
|
initializeOtherApi();
|
||||||
// 初始化窗口管理
|
// 初始化窗口管理
|
||||||
initializeWindowManager();
|
initializeWindowManager();
|
||||||
// 初始化字体管理
|
// 初始化字体管理
|
||||||
initializeFonts();
|
initializeFonts();
|
||||||
// 初始化登录窗口
|
// 初始化登录窗口
|
||||||
initializeLoginWindow();
|
initializeLoginWindow();
|
||||||
|
// 初始化本地音乐扫描模块
|
||||||
|
initializeLocalMusicScanner();
|
||||||
|
|
||||||
// 创建主窗口
|
// 创建主窗口
|
||||||
mainWindow = createMainWindow(icon);
|
mainWindow = createMainWindow(icon);
|
||||||
|
|
||||||
|
// 设置下载管理器窗口引用
|
||||||
|
setDownloadManagerWindow(mainWindow);
|
||||||
|
|
||||||
// 初始化托盘
|
// 初始化托盘
|
||||||
initializeTray(iconPath, mainWindow);
|
initializeTray(iconPath, mainWindow);
|
||||||
|
|
||||||
// 启动音乐API
|
// 启动音乐API
|
||||||
startMusicApi();
|
startMusicApi();
|
||||||
|
|
||||||
|
// 初始化落雪音乐 HTTP 请求处理
|
||||||
|
initLxMusicHttp();
|
||||||
|
|
||||||
// 加载歌词窗口
|
// 加载歌词窗口
|
||||||
loadLyricWindow(ipcMain, mainWindow);
|
loadLyricWindow(ipcMain, mainWindow);
|
||||||
|
|
||||||
@@ -63,6 +83,9 @@ function initialize() {
|
|||||||
// 初始化远程控制服务
|
// 初始化远程控制服务
|
||||||
initializeRemoteControl(mainWindow);
|
initializeRemoteControl(mainWindow);
|
||||||
|
|
||||||
|
// 初始化 MPRIS 服务 (Linux)
|
||||||
|
initializeMpris(mainWindow);
|
||||||
|
|
||||||
// 初始化更新处理程序
|
// 初始化更新处理程序
|
||||||
setupUpdateHandlers(mainWindow);
|
setupUpdateHandlers(mainWindow);
|
||||||
}
|
}
|
||||||
@@ -73,6 +96,28 @@ const isSingleInstance = app.requestSingleInstanceLock();
|
|||||||
if (!isSingleInstance) {
|
if (!isSingleInstance) {
|
||||||
app.quit();
|
app.quit();
|
||||||
} else {
|
} else {
|
||||||
|
// 禁用 Chromium 内置的 MediaSession MPRIS 服务,避免重复显示
|
||||||
|
if (process.platform === 'linux') {
|
||||||
|
app.commandLine.appendSwitch('disable-features', 'MediaSessionService');
|
||||||
|
}
|
||||||
|
|
||||||
|
// 在应用准备就绪前初始化GPU加速设置
|
||||||
|
// 必须在 app.ready 之前调用 disableHardwareAcceleration
|
||||||
|
try {
|
||||||
|
// 初始化配置管理以获取GPU加速设置
|
||||||
|
const store = initializeConfig();
|
||||||
|
const enableGpuAcceleration = store.get('set.enableGpuAcceleration', true) as boolean;
|
||||||
|
|
||||||
|
if (!enableGpuAcceleration) {
|
||||||
|
console.log('GPU加速已禁用');
|
||||||
|
app.disableHardwareAcceleration();
|
||||||
|
} else {
|
||||||
|
console.log('GPU加速已启用');
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error('GPU加速设置初始化失败:', error);
|
||||||
|
// 如果配置读取失败,默认启用GPU加速
|
||||||
|
}
|
||||||
// 当第二个实例启动时,将焦点转移到第一个实例的窗口
|
// 当第二个实例启动时,将焦点转移到第一个实例的窗口
|
||||||
app.on('second-instance', () => {
|
app.on('second-instance', () => {
|
||||||
if (mainWindow) {
|
if (mainWindow) {
|
||||||
@@ -97,20 +142,31 @@ if (!isSingleInstance) {
|
|||||||
// 初始化窗口大小管理器
|
// 初始化窗口大小管理器
|
||||||
initWindowSizeManager();
|
initWindowSizeManager();
|
||||||
|
|
||||||
|
// 设置媒体设备权限 - 允许枚举音频输出设备
|
||||||
|
session.defaultSession.setPermissionRequestHandler((_webContents, permission, callback) => {
|
||||||
|
if (permission === ('media' as any) || permission === ('audioCapture' as any)) {
|
||||||
|
callback(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
callback(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
session.defaultSession.setPermissionCheckHandler(() => {
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
|
||||||
|
// 重新初始化配置管理以获取完整的配置存储
|
||||||
|
const store = initializeConfig();
|
||||||
|
|
||||||
// 初始化应用
|
// 初始化应用
|
||||||
initialize();
|
initialize(store);
|
||||||
|
|
||||||
// macOS 激活应用时的处理
|
// macOS 激活应用时的处理
|
||||||
app.on('activate', () => {
|
app.on('activate', () => {
|
||||||
if (mainWindow === null) initialize();
|
if (mainWindow === null) initialize(store);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// 监听快捷键更新
|
|
||||||
ipcMain.on('update-shortcuts', () => {
|
|
||||||
registerShortcuts(mainWindow);
|
|
||||||
});
|
|
||||||
|
|
||||||
// 监听语言切换
|
// 监听语言切换
|
||||||
ipcMain.on('change-language', (_, locale: Language) => {
|
ipcMain.on('change-language', (_, locale: Language) => {
|
||||||
// 更新主进程的语言设置
|
// 更新主进程的语言设置
|
||||||
@@ -124,11 +180,13 @@ if (!isSingleInstance) {
|
|||||||
// 监听播放状态变化
|
// 监听播放状态变化
|
||||||
ipcMain.on('update-play-state', (_, playing: boolean) => {
|
ipcMain.on('update-play-state', (_, playing: boolean) => {
|
||||||
updatePlayState(playing);
|
updatePlayState(playing);
|
||||||
|
updateMprisPlayState(playing);
|
||||||
});
|
});
|
||||||
|
|
||||||
// 监听当前歌曲变化
|
// 监听当前歌曲变化
|
||||||
ipcMain.on('update-current-song', (_, song: any) => {
|
ipcMain.on('update-current-song', (_, song: any) => {
|
||||||
updateCurrentSong(song);
|
updateCurrentSong(song);
|
||||||
|
updateMprisCurrentSong(song);
|
||||||
});
|
});
|
||||||
|
|
||||||
// 所有窗口关闭时的处理
|
// 所有窗口关闭时的处理
|
||||||
|
|||||||
@@ -172,6 +172,13 @@ export const loadLyricWindow = (ipcMain: IpcMain, mainWin: BrowserWindow): void
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 歌词窗口 Vue 应用加载完成,通知主窗口发送完整歌词数据
|
||||||
|
ipcMain.on('lyric-ready', () => {
|
||||||
|
if (mainWin && !mainWin.isDestroyed()) {
|
||||||
|
mainWin.webContents.send('lyric-window-ready');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
ipcMain.on('send-lyric', (_, data) => {
|
ipcMain.on('send-lyric', (_, data) => {
|
||||||
if (lyricWindow && !lyricWindow.isDestroyed()) {
|
if (lyricWindow && !lyricWindow.isDestroyed()) {
|
||||||
try {
|
try {
|
||||||
@@ -218,9 +225,6 @@ export const loadLyricWindow = (ipcMain: IpcMain, mainWin: BrowserWindow): void
|
|||||||
// 记录原始窗口大小
|
// 记录原始窗口大小
|
||||||
const [width, height] = lyricWindow.getSize();
|
const [width, height] = lyricWindow.getSize();
|
||||||
originalSize = { width, height };
|
originalSize = { width, height };
|
||||||
|
|
||||||
// 在拖动时暂时禁用大小调整
|
|
||||||
lyricWindow.setResizable(false);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -230,9 +234,6 @@ export const loadLyricWindow = (ipcMain: IpcMain, mainWin: BrowserWindow): void
|
|||||||
if (lyricWindow && !lyricWindow.isDestroyed()) {
|
if (lyricWindow && !lyricWindow.isDestroyed()) {
|
||||||
// 确保窗口大小恢复原样
|
// 确保窗口大小恢复原样
|
||||||
lyricWindow.setSize(originalSize.width, originalSize.height);
|
lyricWindow.setSize(originalSize.width, originalSize.height);
|
||||||
|
|
||||||
// 拖动结束后恢复可调整大小
|
|
||||||
lyricWindow.setResizable(true);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,9 @@
|
|||||||
import { app, ipcMain } from 'electron';
|
import { app, ipcMain } from 'electron';
|
||||||
import Store from 'electron-store';
|
import Store from 'electron-store';
|
||||||
|
import * as path from 'path';
|
||||||
|
|
||||||
|
import { createDefaultShortcuts, type ShortcutsConfig } from '../../shared/shortcuts';
|
||||||
import set from '../set.json';
|
import set from '../set.json';
|
||||||
import { defaultShortcuts } from './shortcuts';
|
|
||||||
|
|
||||||
type SetConfig = {
|
type SetConfig = {
|
||||||
isProxy: boolean;
|
isProxy: boolean;
|
||||||
@@ -25,10 +26,16 @@ type SetConfig = {
|
|||||||
fontScope: 'global' | 'lyric';
|
fontScope: 'global' | 'lyric';
|
||||||
language: string;
|
language: string;
|
||||||
showTopAction: boolean;
|
showTopAction: boolean;
|
||||||
|
enableGpuAcceleration: boolean;
|
||||||
|
downloadPath: string;
|
||||||
|
enableDiskCache: boolean;
|
||||||
|
diskCacheDir: string;
|
||||||
|
diskCacheMaxSizeMB: number;
|
||||||
|
diskCacheCleanupPolicy: 'lru' | 'fifo';
|
||||||
};
|
};
|
||||||
interface StoreType {
|
interface StoreType {
|
||||||
set: SetConfig;
|
set: SetConfig;
|
||||||
shortcuts: typeof defaultShortcuts;
|
shortcuts: ShortcutsConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
let store: Store<StoreType>;
|
let store: Store<StoreType>;
|
||||||
@@ -41,11 +48,22 @@ export function initializeConfig() {
|
|||||||
name: 'config',
|
name: 'config',
|
||||||
defaults: {
|
defaults: {
|
||||||
set: set as SetConfig,
|
set: set as SetConfig,
|
||||||
shortcuts: defaultShortcuts
|
shortcuts: createDefaultShortcuts()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
store.get('set.downloadPath') || store.set('set.downloadPath', app.getPath('downloads'));
|
store.get('set.downloadPath') || store.set('set.downloadPath', app.getPath('downloads'));
|
||||||
|
store.get('set.diskCacheDir') ||
|
||||||
|
store.set('set.diskCacheDir', path.join(app.getPath('userData'), 'cache'));
|
||||||
|
if (store.get('set.diskCacheMaxSizeMB') === undefined) {
|
||||||
|
store.set('set.diskCacheMaxSizeMB', 4096);
|
||||||
|
}
|
||||||
|
if (!store.get('set.diskCacheCleanupPolicy')) {
|
||||||
|
store.set('set.diskCacheCleanupPolicy', 'lru');
|
||||||
|
}
|
||||||
|
if (store.get('set.enableDiskCache') === undefined) {
|
||||||
|
store.set('set.enableDiskCache', true);
|
||||||
|
}
|
||||||
|
|
||||||
// 定义ipcRenderer监听事件
|
// 定义ipcRenderer监听事件
|
||||||
ipcMain.on('set-store-value', (_, key, value) => {
|
ipcMain.on('set-store-value', (_, key, value) => {
|
||||||
@@ -57,6 +75,23 @@ export function initializeConfig() {
|
|||||||
_.returnValue = value || '';
|
_.returnValue = value || '';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// GPU加速设置更新处理
|
||||||
|
// 注意:GPU加速设置必须在应用启动时在app.ready之前设置才能生效
|
||||||
|
ipcMain.on('update-gpu-acceleration', (event, enabled: boolean) => {
|
||||||
|
try {
|
||||||
|
console.log('GPU加速设置更新:', enabled);
|
||||||
|
store.set('set.enableGpuAcceleration', enabled);
|
||||||
|
|
||||||
|
// GPU加速设置需要重启应用才能生效
|
||||||
|
event.sender.send('gpu-acceleration-updated', enabled);
|
||||||
|
console.log('GPU加速设置已保存,重启应用后生效');
|
||||||
|
} catch (error) {
|
||||||
|
console.error('GPU加速设置更新失败:', error);
|
||||||
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
||||||
|
event.sender.send('gpu-acceleration-update-error', errorMessage);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
return store;
|
return store;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1043
src/main/modules/downloadManager.ts
Normal file
1043
src/main/modules/downloadManager.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,29 +1,10 @@
|
|||||||
import axios from 'axios';
|
import { app, dialog, ipcMain, protocol, shell } from 'electron';
|
||||||
import { app, dialog, ipcMain, Notification, protocol, shell } from 'electron';
|
|
||||||
import Store from 'electron-store';
|
import Store from 'electron-store';
|
||||||
import { fileTypeFromFile } from 'file-type';
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as http from 'http';
|
|
||||||
import * as https from 'https';
|
|
||||||
import * as mm from 'music-metadata';
|
|
||||||
import * as NodeID3 from 'node-id3';
|
|
||||||
import * as os from 'os';
|
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
|
||||||
import { getStore } from './config';
|
import { getStore } from './config';
|
||||||
|
|
||||||
const MAX_CONCURRENT_DOWNLOADS = 3;
|
|
||||||
const downloadQueue: { url: string; filename: string; songInfo: any; type?: string }[] = [];
|
|
||||||
let activeDownloads = 0;
|
|
||||||
|
|
||||||
// 创建一个store实例用于存储下载历史
|
|
||||||
const downloadStore = new Store({
|
|
||||||
name: 'downloads',
|
|
||||||
defaults: {
|
|
||||||
history: []
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// 创建一个store实例用于存储音频缓存
|
// 创建一个store实例用于存储音频缓存
|
||||||
const audioCacheStore = new Store({
|
const audioCacheStore = new Store({
|
||||||
name: 'audioCache',
|
name: 'audioCache',
|
||||||
@@ -32,8 +13,15 @@ const audioCacheStore = new Store({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// 保存已发送通知的文件,避免重复通知
|
/**
|
||||||
const sentNotifications = new Map();
|
* 清理文件名中的非法字符
|
||||||
|
*/
|
||||||
|
function sanitizeFilename(filename: string): string {
|
||||||
|
return filename
|
||||||
|
.replace(/[<>:"/\\|?*]/g, '_')
|
||||||
|
.replace(/\s+/g, ' ')
|
||||||
|
.trim();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 初始化文件管理相关的IPC监听
|
* 初始化文件管理相关的IPC监听
|
||||||
@@ -129,133 +117,32 @@ export function initializeFileManager() {
|
|||||||
return app.getPath('downloads');
|
return app.getPath('downloads');
|
||||||
});
|
});
|
||||||
|
|
||||||
// 获取存储的配置值
|
// 保存歌词文件
|
||||||
ipcMain.handle('get-store-value', (_, key) => {
|
ipcMain.handle(
|
||||||
const store = new Store();
|
'save-lyric-file',
|
||||||
return store.get(key);
|
async (_, { filename, lrcContent }: { filename: string; lrcContent: string }) => {
|
||||||
});
|
try {
|
||||||
|
const configStore = getStore();
|
||||||
|
const downloadPath =
|
||||||
|
(configStore.get('set.downloadPath') as string) || app.getPath('downloads');
|
||||||
|
const sanitizedName = sanitizeFilename(filename);
|
||||||
|
let filePath = path.join(downloadPath, `${sanitizedName}.lrc`);
|
||||||
|
|
||||||
// 设置存储的配置值
|
// 文件已存在时添加序号
|
||||||
ipcMain.on('set-store-value', (_, key, value) => {
|
let counter = 1;
|
||||||
const store = new Store();
|
while (fs.existsSync(filePath)) {
|
||||||
store.set(key, value);
|
filePath = path.join(downloadPath, `${sanitizedName} (${counter}).lrc`);
|
||||||
});
|
counter++;
|
||||||
|
|
||||||
// 下载音乐处理
|
|
||||||
ipcMain.on('download-music', handleDownloadRequest);
|
|
||||||
|
|
||||||
// 检查文件是否已下载
|
|
||||||
ipcMain.handle('check-music-downloaded', (_, filename: string) => {
|
|
||||||
const store = new Store();
|
|
||||||
const downloadPath = (store.get('set.downloadPath') as string) || app.getPath('downloads');
|
|
||||||
const filePath = path.join(downloadPath, `${filename}.mp3`);
|
|
||||||
return fs.existsSync(filePath);
|
|
||||||
});
|
|
||||||
|
|
||||||
// 删除已下载的音乐
|
|
||||||
ipcMain.handle('delete-downloaded-music', async (_, filePath: string) => {
|
|
||||||
try {
|
|
||||||
if (fs.existsSync(filePath)) {
|
|
||||||
// 先删除文件
|
|
||||||
try {
|
|
||||||
await fs.promises.unlink(filePath);
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error deleting file:', error);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除对应的歌曲信息
|
await fs.promises.writeFile(filePath, lrcContent, 'utf-8');
|
||||||
const store = new Store();
|
return { success: true, path: filePath };
|
||||||
const songInfos = store.get('downloadedSongs', {}) as Record<string, any>;
|
} catch (error: any) {
|
||||||
delete songInfos[filePath];
|
console.error('保存歌词文件失败:', error);
|
||||||
store.set('downloadedSongs', songInfos);
|
return { success: false, error: error.message };
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error deleting file:', error);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// 获取已下载音乐列表
|
|
||||||
ipcMain.handle('get-downloaded-music', async () => {
|
|
||||||
try {
|
|
||||||
const store = new Store();
|
|
||||||
const songInfos = store.get('downloadedSongs', {}) as Record<string, any>;
|
|
||||||
|
|
||||||
// 异步处理文件存在性检查
|
|
||||||
const entriesArray = Object.entries(songInfos);
|
|
||||||
const validEntriesPromises = await Promise.all(
|
|
||||||
entriesArray.map(async ([path, info]) => {
|
|
||||||
try {
|
|
||||||
const exists = await fs.promises
|
|
||||||
.access(path)
|
|
||||||
.then(() => true)
|
|
||||||
.catch(() => false);
|
|
||||||
return exists ? info : null;
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error checking file existence:', error);
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|
||||||
// 过滤有效的歌曲并排序
|
|
||||||
const validSongs = validEntriesPromises
|
|
||||||
.filter((song) => song !== null)
|
|
||||||
.sort((a, b) => (b.downloadTime || 0) - (a.downloadTime || 0));
|
|
||||||
|
|
||||||
// 更新存储,移除不存在的文件记录
|
|
||||||
const newSongInfos = validSongs.reduce((acc, song) => {
|
|
||||||
if (song && song.path) {
|
|
||||||
acc[song.path] = song;
|
|
||||||
}
|
|
||||||
return acc;
|
|
||||||
}, {});
|
|
||||||
store.set('downloadedSongs', newSongInfos);
|
|
||||||
|
|
||||||
return validSongs;
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error getting downloaded music:', error);
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// 检查歌曲是否已下载并返回本地路径
|
|
||||||
ipcMain.handle('check-song-downloaded', (_, songId: number) => {
|
|
||||||
const store = new Store();
|
|
||||||
const songInfos = store.get('downloadedSongs', {}) as Record<string, any>;
|
|
||||||
|
|
||||||
// 通过ID查找已下载的歌曲
|
|
||||||
for (const [path, info] of Object.entries(songInfos)) {
|
|
||||||
if (info.id === songId && fs.existsSync(path)) {
|
|
||||||
return {
|
|
||||||
isDownloaded: true,
|
|
||||||
localPath: `local://${path}`,
|
|
||||||
songInfo: info
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
);
|
||||||
return {
|
|
||||||
isDownloaded: false,
|
|
||||||
localPath: '',
|
|
||||||
songInfo: null
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
// 添加清除下载历史的处理函数
|
|
||||||
ipcMain.on('clear-downloads-history', () => {
|
|
||||||
downloadStore.set('history', []);
|
|
||||||
});
|
|
||||||
|
|
||||||
// 添加清除已下载音乐记录的处理函数
|
|
||||||
ipcMain.handle('clear-downloaded-music', () => {
|
|
||||||
const store = new Store();
|
|
||||||
store.set('downloadedSongs', {});
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
|
|
||||||
// 添加清除音频缓存的处理函数
|
// 添加清除音频缓存的处理函数
|
||||||
ipcMain.on('clear-audio-cache', () => {
|
ipcMain.on('clear-audio-cache', () => {
|
||||||
@@ -275,532 +162,78 @@ export function initializeFileManager() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
// 处理导入自定义API插件的请求
|
||||||
* 处理下载请求
|
ipcMain.handle('import-custom-api-plugin', async () => {
|
||||||
*/
|
const result = await dialog.showOpenDialog({
|
||||||
function handleDownloadRequest(
|
title: '选择自定义音源配置文件',
|
||||||
event: Electron.IpcMainEvent,
|
filters: [{ name: 'JSON Files', extensions: ['json'] }],
|
||||||
{
|
properties: ['openFile']
|
||||||
url,
|
|
||||||
filename,
|
|
||||||
songInfo,
|
|
||||||
type
|
|
||||||
}: { url: string; filename: string; songInfo?: any; type?: string }
|
|
||||||
) {
|
|
||||||
// 检查是否已经在队列中或正在下载
|
|
||||||
if (downloadQueue.some((item) => item.filename === filename)) {
|
|
||||||
event.reply('music-download-error', {
|
|
||||||
filename,
|
|
||||||
error: '该歌曲已在下载队列中'
|
|
||||||
});
|
});
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 检查是否已下载
|
if (result.canceled || result.filePaths.length === 0) {
|
||||||
const store = new Store();
|
return null;
|
||||||
const songInfos = store.get('downloadedSongs', {}) as Record<string, any>;
|
}
|
||||||
|
|
||||||
// 检查是否已下载(通过ID)
|
const filePath = result.filePaths[0];
|
||||||
const isDownloaded =
|
try {
|
||||||
songInfo?.id && Object.values(songInfos).some((info: any) => info.id === songInfo.id);
|
const fileContent = fs.readFileSync(filePath, 'utf-8');
|
||||||
|
|
||||||
if (isDownloaded) {
|
// 基础验证,确保它是个合法的JSON并且包含关键字段
|
||||||
event.reply('music-download-error', {
|
const pluginData = JSON.parse(fileContent);
|
||||||
filename,
|
if (!pluginData.name || !pluginData.apiUrl) {
|
||||||
error: '该歌曲已下载'
|
throw new Error('无效的插件文件,缺少 name 或 apiUrl 字段。');
|
||||||
});
|
}
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 添加到下载队列
|
return {
|
||||||
downloadQueue.push({ url, filename, songInfo, type });
|
name: pluginData.name,
|
||||||
event.reply('music-download-queued', {
|
content: fileContent // 返回完整的JSON字符串
|
||||||
filename,
|
};
|
||||||
songInfo
|
} catch (error: any) {
|
||||||
|
console.error('读取或解析插件文件失败:', error);
|
||||||
|
// 向渲染进程抛出错误,以便UI可以显示提示
|
||||||
|
throw new Error(`文件读取或解析失败: ${error.message}`);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// 尝试开始下载
|
// 处理导入落雪音源脚本的请求
|
||||||
processDownloadQueue(event);
|
ipcMain.handle('import-lx-music-script', async () => {
|
||||||
}
|
const result = await dialog.showOpenDialog({
|
||||||
|
title: '选择落雪音源脚本文件',
|
||||||
/**
|
filters: [{ name: 'JavaScript Files', extensions: ['js'] }],
|
||||||
* 处理下载队列
|
properties: ['openFile']
|
||||||
*/
|
|
||||||
async function processDownloadQueue(event: Electron.IpcMainEvent) {
|
|
||||||
if (activeDownloads >= MAX_CONCURRENT_DOWNLOADS || downloadQueue.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { url, filename, songInfo, type } = downloadQueue.shift()!;
|
|
||||||
activeDownloads++;
|
|
||||||
|
|
||||||
try {
|
|
||||||
await downloadMusic(event, { url, filename, songInfo, type });
|
|
||||||
} finally {
|
|
||||||
activeDownloads--;
|
|
||||||
processDownloadQueue(event);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 清理文件名中的非法字符
|
|
||||||
*/
|
|
||||||
function sanitizeFilename(filename: string): string {
|
|
||||||
// 替换 Windows 和 Unix 系统中的非法字符
|
|
||||||
return filename
|
|
||||||
.replace(/[<>:"/\\|?*]/g, '_') // 替换特殊字符为下划线
|
|
||||||
.replace(/\s+/g, ' ') // 将多个空格替换为单个空格
|
|
||||||
.trim(); // 移除首尾空格
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 下载音乐和歌词
|
|
||||||
*/
|
|
||||||
async function downloadMusic(
|
|
||||||
event: Electron.IpcMainEvent,
|
|
||||||
{
|
|
||||||
url,
|
|
||||||
filename,
|
|
||||||
songInfo,
|
|
||||||
type = 'mp3'
|
|
||||||
}: { url: string; filename: string; songInfo: any; type?: string }
|
|
||||||
) {
|
|
||||||
let finalFilePath = '';
|
|
||||||
let writer: fs.WriteStream | null = null;
|
|
||||||
let tempFilePath = '';
|
|
||||||
|
|
||||||
try {
|
|
||||||
// 使用配置Store来获取设置
|
|
||||||
const configStore = getStore();
|
|
||||||
const downloadPath =
|
|
||||||
(configStore.get('set.downloadPath') as string) || app.getPath('downloads');
|
|
||||||
const apiPort = configStore.get('set.musicApiPort') || 30488;
|
|
||||||
|
|
||||||
// 获取文件名格式设置
|
|
||||||
const nameFormat =
|
|
||||||
(configStore.get('set.downloadNameFormat') as string) || '{songName} - {artistName}';
|
|
||||||
|
|
||||||
// 根据格式创建文件名
|
|
||||||
let formattedFilename = filename;
|
|
||||||
if (songInfo) {
|
|
||||||
// 准备替换变量
|
|
||||||
const artistName = songInfo.ar?.map((a: any) => a.name).join('/') || '未知艺术家';
|
|
||||||
const songName = songInfo.name || filename;
|
|
||||||
const albumName = songInfo.al?.name || '未知专辑';
|
|
||||||
|
|
||||||
// 应用自定义格式
|
|
||||||
formattedFilename = nameFormat
|
|
||||||
.replace(/\{songName\}/g, songName)
|
|
||||||
.replace(/\{artistName\}/g, artistName)
|
|
||||||
.replace(/\{albumName\}/g, albumName);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 清理文件名中的非法字符
|
|
||||||
const sanitizedFilename = sanitizeFilename(formattedFilename);
|
|
||||||
|
|
||||||
// 创建临时文件路径 (在系统临时目录中创建)
|
|
||||||
const tempDir = path.join(os.tmpdir(), 'AlgerMusicPlayerTemp');
|
|
||||||
|
|
||||||
// 确保临时目录存在
|
|
||||||
if (!fs.existsSync(tempDir)) {
|
|
||||||
fs.mkdirSync(tempDir, { recursive: true });
|
|
||||||
}
|
|
||||||
|
|
||||||
tempFilePath = path.join(tempDir, `${Date.now()}_${sanitizedFilename}.tmp`);
|
|
||||||
|
|
||||||
// 先获取文件大小
|
|
||||||
const headResponse = await axios.head(url);
|
|
||||||
const totalSize = parseInt(headResponse.headers['content-length'] || '0', 10);
|
|
||||||
|
|
||||||
// 开始下载到临时文件
|
|
||||||
const response = await axios({
|
|
||||||
url,
|
|
||||||
method: 'GET',
|
|
||||||
responseType: 'stream',
|
|
||||||
timeout: 30000, // 30秒超时
|
|
||||||
httpAgent: new http.Agent({ keepAlive: true }),
|
|
||||||
httpsAgent: new https.Agent({ keepAlive: true })
|
|
||||||
});
|
});
|
||||||
|
|
||||||
writer = fs.createWriteStream(tempFilePath);
|
if (result.canceled || result.filePaths.length === 0) {
|
||||||
let downloadedSize = 0;
|
return null;
|
||||||
|
|
||||||
// 使用 data 事件来跟踪下载进度
|
|
||||||
response.data.on('data', (chunk: Buffer) => {
|
|
||||||
downloadedSize += chunk.length;
|
|
||||||
const progress = Math.round((downloadedSize / totalSize) * 100);
|
|
||||||
event.reply('music-download-progress', {
|
|
||||||
filename,
|
|
||||||
progress,
|
|
||||||
loaded: downloadedSize,
|
|
||||||
total: totalSize,
|
|
||||||
path: tempFilePath,
|
|
||||||
status: progress === 100 ? 'completed' : 'downloading',
|
|
||||||
songInfo: songInfo || {
|
|
||||||
name: filename,
|
|
||||||
ar: [{ name: '本地音乐' }],
|
|
||||||
picUrl: '/images/default_cover.png'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// 等待下载完成
|
|
||||||
await new Promise((resolve, reject) => {
|
|
||||||
writer!.on('finish', () => resolve(undefined));
|
|
||||||
writer!.on('error', (error) => reject(error));
|
|
||||||
response.data.pipe(writer!);
|
|
||||||
});
|
|
||||||
|
|
||||||
// 验证文件是否完整下载
|
|
||||||
const stats = fs.statSync(tempFilePath);
|
|
||||||
if (stats.size !== totalSize) {
|
|
||||||
throw new Error('文件下载不完整');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测文件类型
|
const filePath = result.filePaths[0];
|
||||||
let fileExtension = '';
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// 首先尝试使用file-type库检测
|
const fileContent = fs.readFileSync(filePath, 'utf-8');
|
||||||
const fileType = await fileTypeFromFile(tempFilePath);
|
|
||||||
if (fileType && fileType.ext) {
|
|
||||||
fileExtension = `.${fileType.ext}`;
|
|
||||||
console.log(`文件类型检测结果: ${fileType.mime}, 扩展名: ${fileExtension}`);
|
|
||||||
} else {
|
|
||||||
// 如果file-type无法识别,尝试使用music-metadata
|
|
||||||
const metadata = await mm.parseFile(tempFilePath);
|
|
||||||
if (metadata && metadata.format) {
|
|
||||||
// 根据format.container或codec判断扩展名
|
|
||||||
const formatInfo = metadata.format;
|
|
||||||
const container = formatInfo.container || '';
|
|
||||||
const codec = formatInfo.codec || '';
|
|
||||||
|
|
||||||
// 音频格式映射表
|
// 验证脚本格式:检查是否包含落雪音源特征
|
||||||
const formatMap = {
|
if (
|
||||||
mp3: ['MPEG', 'MP3', 'mp3'],
|
!fileContent.includes('globalThis.lx') &&
|
||||||
aac: ['AAC'],
|
!fileContent.includes('lx.on') &&
|
||||||
flac: ['FLAC'],
|
!fileContent.includes('EVENT_NAMES')
|
||||||
ogg: ['Ogg', 'Vorbis'],
|
) {
|
||||||
wav: ['WAV', 'PCM'],
|
throw new Error('无效的落雪音源脚本,未找到 globalThis.lx 相关代码。');
|
||||||
m4a: ['M4A', 'MP4']
|
|
||||||
};
|
|
||||||
|
|
||||||
// 查找匹配的格式
|
|
||||||
const format = Object.entries(formatMap).find(([_, keywords]) =>
|
|
||||||
keywords.some((keyword) => container.includes(keyword) || codec.includes(keyword))
|
|
||||||
);
|
|
||||||
|
|
||||||
// 设置文件扩展名,如果没找到则默认为mp3
|
|
||||||
fileExtension = format ? `.${format[0]}` : '.mp3';
|
|
||||||
|
|
||||||
console.log(
|
|
||||||
`music-metadata检测结果: 容器:${container}, 编码:${codec}, 扩展名: ${fileExtension}`
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
// 两种方法都失败,使用传入的type或默认mp3
|
|
||||||
fileExtension = type ? `.${type}` : '.mp3';
|
|
||||||
console.log(`无法检测文件类型,使用默认扩展名: ${fileExtension}`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (err) {
|
|
||||||
console.error('检测文件类型失败:', err);
|
|
||||||
// 检测失败,使用传入的type或默认mp3
|
|
||||||
fileExtension = type ? `.${type}` : '.mp3';
|
|
||||||
}
|
|
||||||
|
|
||||||
// 使用检测到的文件扩展名创建最终文件路径
|
// 检查是否包含必要的元信息注释
|
||||||
const filePath = path.join(downloadPath, `${sanitizedFilename}${fileExtension}`);
|
const hasMetaComment = fileContent.includes('@name');
|
||||||
|
if (!hasMetaComment) {
|
||||||
// 检查文件是否已存在,如果存在则添加序号
|
console.warn('警告: 脚本缺少 @name 元信息注释');
|
||||||
finalFilePath = filePath;
|
|
||||||
let counter = 1;
|
|
||||||
while (fs.existsSync(finalFilePath)) {
|
|
||||||
const ext = path.extname(filePath);
|
|
||||||
const nameWithoutExt = filePath.slice(0, -ext.length);
|
|
||||||
finalFilePath = `${nameWithoutExt} (${counter})${ext}`;
|
|
||||||
counter++;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 将临时文件移动到最终位置
|
|
||||||
fs.copyFileSync(tempFilePath, finalFilePath);
|
|
||||||
fs.unlinkSync(tempFilePath); // 删除临时文件
|
|
||||||
|
|
||||||
// 下载歌词
|
|
||||||
let lyricData = null;
|
|
||||||
let lyricsContent = '';
|
|
||||||
try {
|
|
||||||
if (songInfo?.id) {
|
|
||||||
// 下载歌词,使用配置的端口
|
|
||||||
const lyricsResponse = await axios.get(
|
|
||||||
`http://localhost:${apiPort}/lyric?id=${songInfo.id}`
|
|
||||||
);
|
|
||||||
if (lyricsResponse.data && (lyricsResponse.data.lrc || lyricsResponse.data.tlyric)) {
|
|
||||||
lyricData = lyricsResponse.data;
|
|
||||||
|
|
||||||
// 处理歌词内容
|
|
||||||
if (lyricsResponse.data.lrc && lyricsResponse.data.lrc.lyric) {
|
|
||||||
lyricsContent = lyricsResponse.data.lrc.lyric;
|
|
||||||
|
|
||||||
// 如果有翻译歌词,合并到主歌词中
|
|
||||||
if (lyricsResponse.data.tlyric && lyricsResponse.data.tlyric.lyric) {
|
|
||||||
// 解析原歌词和翻译
|
|
||||||
const originalLyrics = parseLyrics(lyricsResponse.data.lrc.lyric);
|
|
||||||
const translatedLyrics = parseLyrics(lyricsResponse.data.tlyric.lyric);
|
|
||||||
|
|
||||||
// 合并歌词
|
|
||||||
const mergedLyrics = mergeLyrics(originalLyrics, translatedLyrics);
|
|
||||||
lyricsContent = mergedLyrics;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log('歌词已准备好,将写入元数据');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (lyricError) {
|
|
||||||
console.error('下载歌词失败:', lyricError);
|
|
||||||
// 继续处理,不影响音乐下载
|
|
||||||
}
|
|
||||||
|
|
||||||
// 下载封面
|
return {
|
||||||
let coverImageBuffer: Buffer | null = null;
|
name: path.basename(filePath, '.js'),
|
||||||
try {
|
content: fileContent
|
||||||
if (songInfo?.picUrl || songInfo?.al?.picUrl) {
|
|
||||||
const picUrl = songInfo.picUrl || songInfo.al?.picUrl;
|
|
||||||
if (picUrl && picUrl !== '/images/default_cover.png') {
|
|
||||||
const coverResponse = await axios({
|
|
||||||
url: picUrl.replace('http://', 'https://'),
|
|
||||||
method: 'GET',
|
|
||||||
responseType: 'arraybuffer',
|
|
||||||
timeout: 10000
|
|
||||||
});
|
|
||||||
|
|
||||||
// 获取封面图片的buffer
|
|
||||||
coverImageBuffer = Buffer.from(coverResponse.data);
|
|
||||||
console.log('封面已准备好,将写入元数据');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (coverError) {
|
|
||||||
console.error('下载封面失败:', coverError);
|
|
||||||
// 继续处理,不影响音乐下载
|
|
||||||
}
|
|
||||||
|
|
||||||
const fileFormat = fileExtension.toLowerCase();
|
|
||||||
const artistNames =
|
|
||||||
(songInfo?.ar || songInfo?.song?.artists)?.map((a: any) => a.name).join('/ ') || '未知艺术家';
|
|
||||||
|
|
||||||
// 根据文件类型处理元数据
|
|
||||||
if (['.mp3'].includes(fileFormat)) {
|
|
||||||
// 对MP3文件使用NodeID3处理ID3标签
|
|
||||||
try {
|
|
||||||
// 在写入ID3标签前,先移除可能存在的旧标签
|
|
||||||
NodeID3.removeTags(finalFilePath);
|
|
||||||
|
|
||||||
const tags = {
|
|
||||||
title: filename,
|
|
||||||
artist: artistNames,
|
|
||||||
TPE1: artistNames,
|
|
||||||
TPE2: artistNames,
|
|
||||||
album: songInfo?.al?.name || songInfo?.song?.album?.name || songInfo?.name || filename,
|
|
||||||
APIC: {
|
|
||||||
// 专辑封面
|
|
||||||
imageBuffer: coverImageBuffer,
|
|
||||||
type: {
|
|
||||||
id: 3,
|
|
||||||
name: 'front cover'
|
|
||||||
},
|
|
||||||
description: 'Album cover',
|
|
||||||
mime: 'image/jpeg'
|
|
||||||
},
|
|
||||||
USLT: {
|
|
||||||
// 歌词
|
|
||||||
language: 'chi',
|
|
||||||
description: 'Lyrics',
|
|
||||||
text: lyricsContent || ''
|
|
||||||
},
|
|
||||||
trackNumber: songInfo?.no || undefined,
|
|
||||||
year: songInfo?.publishTime
|
|
||||||
? new Date(songInfo.publishTime).getFullYear().toString()
|
|
||||||
: undefined
|
|
||||||
};
|
|
||||||
|
|
||||||
const success = NodeID3.write(tags, finalFilePath);
|
|
||||||
if (!success) {
|
|
||||||
console.error('Failed to write ID3 tags');
|
|
||||||
} else {
|
|
||||||
console.log('ID3 tags written successfully');
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
console.error('Error writing ID3 tags:', err);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// 对于非MP3文件,使用music-metadata来写入元数据可能需要专门的库
|
|
||||||
// 或者根据不同文件类型使用专用工具,暂时只记录但不处理
|
|
||||||
console.log(`文件类型 ${fileFormat} 不支持使用NodeID3写入标签,跳过元数据写入`);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 保存下载信息
|
|
||||||
try {
|
|
||||||
const songInfos = configStore.get('downloadedSongs', {}) as Record<string, any>;
|
|
||||||
const defaultInfo = {
|
|
||||||
name: filename,
|
|
||||||
ar: [{ name: '本地音乐' }],
|
|
||||||
picUrl: '/images/default_cover.png'
|
|
||||||
};
|
};
|
||||||
|
} catch (error: any) {
|
||||||
const newSongInfo = {
|
console.error('读取落雪音源脚本失败:', error);
|
||||||
id: songInfo?.id || 0,
|
throw new Error(`脚本读取失败: ${error.message}`);
|
||||||
name: songInfo?.name || filename,
|
|
||||||
filename,
|
|
||||||
picUrl: songInfo?.picUrl || songInfo?.al?.picUrl || defaultInfo.picUrl,
|
|
||||||
ar: songInfo?.ar || defaultInfo.ar,
|
|
||||||
al: songInfo?.al || {
|
|
||||||
picUrl: songInfo?.picUrl || defaultInfo.picUrl,
|
|
||||||
name: songInfo?.name || filename
|
|
||||||
},
|
|
||||||
size: totalSize,
|
|
||||||
path: finalFilePath,
|
|
||||||
downloadTime: Date.now(),
|
|
||||||
type: fileExtension.substring(1), // 去掉前面的点号,只保留扩展名
|
|
||||||
lyric: lyricData
|
|
||||||
};
|
|
||||||
|
|
||||||
// 保存到下载记录
|
|
||||||
songInfos[finalFilePath] = newSongInfo;
|
|
||||||
configStore.set('downloadedSongs', songInfos);
|
|
||||||
|
|
||||||
// 添加到下载历史
|
|
||||||
const history = downloadStore.get('history', []) as any[];
|
|
||||||
history.unshift(newSongInfo);
|
|
||||||
downloadStore.set('history', history);
|
|
||||||
|
|
||||||
// 避免重复发送通知
|
|
||||||
const notificationId = `download-${finalFilePath}`;
|
|
||||||
if (!sentNotifications.has(notificationId)) {
|
|
||||||
sentNotifications.set(notificationId, true);
|
|
||||||
|
|
||||||
// 发送桌面通知
|
|
||||||
try {
|
|
||||||
const artistNames =
|
|
||||||
(songInfo?.ar || songInfo?.song?.artists)?.map((a: any) => a.name).join('/') ||
|
|
||||||
'未知艺术家';
|
|
||||||
const notification = new Notification({
|
|
||||||
title: '下载完成',
|
|
||||||
body: `${songInfo?.name || filename} - ${artistNames}`,
|
|
||||||
silent: false
|
|
||||||
});
|
|
||||||
|
|
||||||
notification.on('click', () => {
|
|
||||||
shell.showItemInFolder(finalFilePath);
|
|
||||||
});
|
|
||||||
|
|
||||||
notification.show();
|
|
||||||
|
|
||||||
// 60秒后清理通知记录,释放内存
|
|
||||||
setTimeout(() => {
|
|
||||||
sentNotifications.delete(notificationId);
|
|
||||||
}, 60000);
|
|
||||||
} catch (notifyError) {
|
|
||||||
console.error('发送通知失败:', notifyError);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 发送下载完成事件,确保只发送一次
|
|
||||||
event.reply('music-download-complete', {
|
|
||||||
success: true,
|
|
||||||
path: finalFilePath,
|
|
||||||
filename,
|
|
||||||
size: totalSize,
|
|
||||||
songInfo: newSongInfo
|
|
||||||
});
|
|
||||||
} catch (error) {
|
|
||||||
console.error('Error saving download info:', error);
|
|
||||||
throw new Error('保存下载信息失败');
|
|
||||||
}
|
}
|
||||||
} catch (error: any) {
|
|
||||||
console.error('Download error:', error);
|
|
||||||
|
|
||||||
// 清理未完成的下载
|
|
||||||
if (writer) {
|
|
||||||
writer.end();
|
|
||||||
}
|
|
||||||
|
|
||||||
// 清理临时文件
|
|
||||||
if (tempFilePath && fs.existsSync(tempFilePath)) {
|
|
||||||
try {
|
|
||||||
fs.unlinkSync(tempFilePath);
|
|
||||||
} catch (e) {
|
|
||||||
console.error('Failed to delete temporary file:', e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 清理未完成的最终文件
|
|
||||||
if (finalFilePath && fs.existsSync(finalFilePath)) {
|
|
||||||
try {
|
|
||||||
fs.unlinkSync(finalFilePath);
|
|
||||||
} catch (e) {
|
|
||||||
console.error('Failed to delete incomplete download:', e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
event.reply('music-download-complete', {
|
|
||||||
success: false,
|
|
||||||
error: error.message || '下载失败',
|
|
||||||
filename
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 辅助函数 - 解析歌词文本成时间戳和内容的映射
|
|
||||||
function parseLyrics(lyricsText: string): Map<string, string> {
|
|
||||||
const lyricMap = new Map<string, string>();
|
|
||||||
const lines = lyricsText.split('\n');
|
|
||||||
|
|
||||||
for (const line of lines) {
|
|
||||||
// 匹配时间标签,形如 [00:00.000]
|
|
||||||
const timeTagMatches = line.match(/\[\d{2}:\d{2}(\.\d{1,3})?\]/g);
|
|
||||||
if (!timeTagMatches) continue;
|
|
||||||
|
|
||||||
// 提取歌词内容(去除时间标签)
|
|
||||||
const content = line.replace(/\[\d{2}:\d{2}(\.\d{1,3})?\]/g, '').trim();
|
|
||||||
if (!content) continue;
|
|
||||||
|
|
||||||
// 将每个时间标签与歌词内容关联
|
|
||||||
for (const timeTag of timeTagMatches) {
|
|
||||||
lyricMap.set(timeTag, content);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return lyricMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 辅助函数 - 合并原文歌词和翻译歌词
|
|
||||||
function mergeLyrics(
|
|
||||||
originalLyrics: Map<string, string>,
|
|
||||||
translatedLyrics: Map<string, string>
|
|
||||||
): string {
|
|
||||||
const mergedLines: string[] = [];
|
|
||||||
|
|
||||||
// 对每个时间戳,组合原始歌词和翻译
|
|
||||||
for (const [timeTag, originalContent] of originalLyrics.entries()) {
|
|
||||||
const translatedContent = translatedLyrics.get(timeTag);
|
|
||||||
|
|
||||||
// 添加原始歌词行
|
|
||||||
mergedLines.push(`${timeTag}${originalContent}`);
|
|
||||||
|
|
||||||
// 如果有翻译,添加翻译行(时间戳相同,这样可以和原歌词同步显示)
|
|
||||||
if (translatedContent) {
|
|
||||||
mergedLines.push(`${timeTag}${translatedContent}`);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 按时间顺序排序
|
|
||||||
mergedLines.sort((a, b) => {
|
|
||||||
const timeA = a.match(/\[\d{2}:\d{2}(\.\d{1,3})?\]/)?.[0] || '';
|
|
||||||
const timeB = b.match(/\[\d{2}:\d{2}(\.\d{1,3})?\]/)?.[0] || '';
|
|
||||||
return timeA.localeCompare(timeB);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return mergedLines.join('\n');
|
|
||||||
}
|
}
|
||||||
|
|||||||
329
src/main/modules/localMusicScanner.ts
Normal file
329
src/main/modules/localMusicScanner.ts
Normal file
@@ -0,0 +1,329 @@
|
|||||||
|
// 本地音乐扫描模块
|
||||||
|
// 负责文件系统递归扫描和音乐文件元数据提取,通过 IPC 暴露给渲染进程
|
||||||
|
|
||||||
|
import { ipcMain } from 'electron';
|
||||||
|
import * as fs from 'fs';
|
||||||
|
import * as mm from 'music-metadata';
|
||||||
|
import * as os from 'os';
|
||||||
|
import * as path from 'path';
|
||||||
|
|
||||||
|
/** 支持的音频文件格式 */
|
||||||
|
const SUPPORTED_AUDIO_FORMATS = ['.mp3', '.flac', '.wav', '.ogg', '.m4a', '.aac'] as const;
|
||||||
|
const METADATA_PARSE_CONCURRENCY = Math.min(8, Math.max(2, os.cpus().length));
|
||||||
|
const MAX_COVER_BYTES = 1024 * 1024;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主进程返回的原始音乐元数据
|
||||||
|
* 与渲染进程 LocalMusicMeta 类型保持一致
|
||||||
|
*/
|
||||||
|
type LocalMusicMeta = {
|
||||||
|
/** 文件绝对路径 */
|
||||||
|
filePath: string;
|
||||||
|
/** 歌曲标题 */
|
||||||
|
title: string;
|
||||||
|
/** 艺术家名称 */
|
||||||
|
artist: string;
|
||||||
|
/** 专辑名称 */
|
||||||
|
album: string;
|
||||||
|
/** 时长(毫秒) */
|
||||||
|
duration: number;
|
||||||
|
/** base64 Data URL 格式的封面图片,无封面时为 null */
|
||||||
|
cover: string | null;
|
||||||
|
/** LRC 格式歌词文本,无歌词时为 null */
|
||||||
|
lyrics: string | null;
|
||||||
|
/** 文件大小(字节) */
|
||||||
|
fileSize: number;
|
||||||
|
/** 文件修改时间戳 */
|
||||||
|
modifiedTime: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
type ScannedMusicFile = {
|
||||||
|
path: string;
|
||||||
|
modifiedTime: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 判断文件扩展名是否为支持的音频格式
|
||||||
|
* @param ext 文件扩展名(含点号,如 .mp3)
|
||||||
|
* @returns 是否为支持的格式
|
||||||
|
*/
|
||||||
|
function isSupportedFormat(ext: string): boolean {
|
||||||
|
return (SUPPORTED_AUDIO_FORMATS as readonly string[]).includes(ext.toLowerCase());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 从文件路径中提取歌曲标题(去除目录和扩展名)
|
||||||
|
* @param filePath 文件路径
|
||||||
|
* @returns 歌曲标题
|
||||||
|
*/
|
||||||
|
function extractTitleFromFilename(filePath: string): string {
|
||||||
|
const basename = path.basename(filePath);
|
||||||
|
const dotIndex = basename.lastIndexOf('.');
|
||||||
|
if (dotIndex > 0) {
|
||||||
|
return basename.slice(0, dotIndex);
|
||||||
|
}
|
||||||
|
return basename;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 将封面图片数据转换为 base64 Data URL
|
||||||
|
* @param picture music-metadata 解析出的封面图片对象
|
||||||
|
* @returns base64 Data URL 字符串,转换失败返回 null
|
||||||
|
*/
|
||||||
|
function extractCoverAsDataUrl(picture: mm.IPicture | undefined): string | null {
|
||||||
|
if (!picture) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
if (picture.data.length > MAX_COVER_BYTES) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
const mime = picture.format ?? 'image/jpeg';
|
||||||
|
const base64 = Buffer.from(picture.data).toString('base64');
|
||||||
|
return `data:${mime};base64,${base64}`;
|
||||||
|
} catch (error) {
|
||||||
|
console.error('封面提取失败:', error);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 从 music-metadata 解析结果中提取歌词文本
|
||||||
|
* @param lyrics music-metadata 解析出的歌词数组
|
||||||
|
* @returns 歌词文本,提取失败返回 null
|
||||||
|
*/
|
||||||
|
function extractLyrics(lyrics: mm.ILyricsTag[] | undefined): string | null {
|
||||||
|
if (!lyrics || lyrics.length === 0) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
// 优先取第一条歌词的文本内容
|
||||||
|
const firstLyric = lyrics[0];
|
||||||
|
return firstLyric?.text ?? null;
|
||||||
|
} catch (error) {
|
||||||
|
console.error('歌词提取失败:', error);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 递归扫描指定文件夹,返回所有支持格式的音乐文件路径
|
||||||
|
* @param folderPath 要扫描的文件夹路径
|
||||||
|
* @returns 音乐文件绝对路径列表
|
||||||
|
*/
|
||||||
|
async function scanMusicFiles(folderPath: string): Promise<string[]> {
|
||||||
|
const results: string[] = [];
|
||||||
|
|
||||||
|
// 检查文件夹是否存在
|
||||||
|
if (!fs.existsSync(folderPath)) {
|
||||||
|
throw new Error(`文件夹不存在: ${folderPath}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 检查是否为目录
|
||||||
|
const stat = await fs.promises.stat(folderPath);
|
||||||
|
if (!stat.isDirectory()) {
|
||||||
|
throw new Error(`路径不是文件夹: ${folderPath}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 递归遍历目录
|
||||||
|
* @param dirPath 当前目录路径
|
||||||
|
*/
|
||||||
|
async function walkDirectory(dirPath: string): Promise<void> {
|
||||||
|
try {
|
||||||
|
const entries = await fs.promises.readdir(dirPath, { withFileTypes: true });
|
||||||
|
|
||||||
|
for (const entry of entries) {
|
||||||
|
const fullPath = path.join(dirPath, entry.name);
|
||||||
|
|
||||||
|
if (entry.isDirectory()) {
|
||||||
|
// 递归扫描子目录
|
||||||
|
await walkDirectory(fullPath);
|
||||||
|
} else if (entry.isFile()) {
|
||||||
|
// 检查文件扩展名是否为支持的音频格式
|
||||||
|
const ext = path.extname(entry.name);
|
||||||
|
if (isSupportedFormat(ext)) {
|
||||||
|
results.push(fullPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
// 单个目录读取失败不中断整体扫描,记录错误后继续
|
||||||
|
console.error(`扫描目录失败: ${dirPath}`, error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
await walkDirectory(folderPath);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 递归扫描指定文件夹,返回包含修改时间的音乐文件信息
|
||||||
|
* @param folderPath 要扫描的文件夹路径
|
||||||
|
* @returns 音乐文件信息列表
|
||||||
|
*/
|
||||||
|
async function scanMusicFilesWithStats(folderPath: string): Promise<ScannedMusicFile[]> {
|
||||||
|
const results: ScannedMusicFile[] = [];
|
||||||
|
|
||||||
|
if (!fs.existsSync(folderPath)) {
|
||||||
|
throw new Error(`文件夹不存在: ${folderPath}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const stat = await fs.promises.stat(folderPath);
|
||||||
|
if (!stat.isDirectory()) {
|
||||||
|
throw new Error(`路径不是文件夹: ${folderPath}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function walkDirectory(dirPath: string): Promise<void> {
|
||||||
|
try {
|
||||||
|
const entries = await fs.promises.readdir(dirPath, { withFileTypes: true });
|
||||||
|
|
||||||
|
for (const entry of entries) {
|
||||||
|
const fullPath = path.join(dirPath, entry.name);
|
||||||
|
|
||||||
|
if (entry.isDirectory()) {
|
||||||
|
await walkDirectory(fullPath);
|
||||||
|
} else if (entry.isFile()) {
|
||||||
|
const ext = path.extname(entry.name);
|
||||||
|
if (!isSupportedFormat(ext)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
const fileStat = await fs.promises.stat(fullPath);
|
||||||
|
results.push({
|
||||||
|
path: fullPath,
|
||||||
|
modifiedTime: fileStat.mtimeMs
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
console.error(`读取文件信息失败: ${fullPath}`, error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error(`扫描目录失败: ${dirPath}`, error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
await walkDirectory(folderPath);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 解析单个音乐文件的元数据
|
||||||
|
* 解析失败时使用 fallback 默认值(文件名作标题),不抛出异常
|
||||||
|
* @param filePath 音乐文件绝对路径
|
||||||
|
* @returns 音乐元数据对象
|
||||||
|
*/
|
||||||
|
async function parseMetadata(filePath: string): Promise<LocalMusicMeta> {
|
||||||
|
// 获取文件信息(大小和修改时间)
|
||||||
|
let fileSize = 0;
|
||||||
|
let modifiedTime = 0;
|
||||||
|
try {
|
||||||
|
const stat = await fs.promises.stat(filePath);
|
||||||
|
fileSize = stat.size;
|
||||||
|
modifiedTime = stat.mtimeMs;
|
||||||
|
} catch (error) {
|
||||||
|
console.error(`获取文件信息失败: ${filePath}`, error);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 构建 fallback 默认值
|
||||||
|
const fallback: LocalMusicMeta = {
|
||||||
|
filePath,
|
||||||
|
title: extractTitleFromFilename(filePath),
|
||||||
|
artist: '未知艺术家',
|
||||||
|
album: '未知专辑',
|
||||||
|
duration: 0,
|
||||||
|
cover: null,
|
||||||
|
lyrics: null,
|
||||||
|
fileSize,
|
||||||
|
modifiedTime
|
||||||
|
};
|
||||||
|
|
||||||
|
try {
|
||||||
|
const metadata = await mm.parseFile(filePath);
|
||||||
|
const { common, format } = metadata;
|
||||||
|
|
||||||
|
return {
|
||||||
|
filePath,
|
||||||
|
title: common.title || fallback.title,
|
||||||
|
artist: common.artist || fallback.artist,
|
||||||
|
album: common.album || fallback.album,
|
||||||
|
duration: format.duration ? Math.round(format.duration * 1000) : 0,
|
||||||
|
cover: extractCoverAsDataUrl(common.picture?.[0]),
|
||||||
|
lyrics: extractLyrics(common.lyrics),
|
||||||
|
fileSize,
|
||||||
|
modifiedTime
|
||||||
|
};
|
||||||
|
} catch (error) {
|
||||||
|
// 解析失败使用 fallback,不中断流程
|
||||||
|
console.error(`元数据解析失败,使用 fallback: ${filePath}`, error);
|
||||||
|
return fallback;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量解析音乐文件元数据
|
||||||
|
* 内部逐个调用 parseMetadata,单文件失败不影响其他文件
|
||||||
|
* @param filePaths 音乐文件路径列表
|
||||||
|
* @returns 元数据对象列表
|
||||||
|
*/
|
||||||
|
async function batchParseMetadata(filePaths: string[]): Promise<LocalMusicMeta[]> {
|
||||||
|
if (filePaths.length === 0) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
const results = new Array<LocalMusicMeta>(filePaths.length);
|
||||||
|
const workerCount = Math.min(METADATA_PARSE_CONCURRENCY, filePaths.length);
|
||||||
|
let index = 0;
|
||||||
|
|
||||||
|
const workers = Array.from({ length: workerCount }, async () => {
|
||||||
|
while (index < filePaths.length) {
|
||||||
|
const current = index;
|
||||||
|
index += 1;
|
||||||
|
results[current] = await parseMetadata(filePaths[current]);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
await Promise.all(workers);
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 初始化本地音乐扫描模块
|
||||||
|
* 注册 IPC handler,供渲染进程调用
|
||||||
|
*/
|
||||||
|
export function initializeLocalMusicScanner(): void {
|
||||||
|
// 扫描指定文件夹中的音乐文件
|
||||||
|
ipcMain.handle('scan-local-music', async (_, folderPath: string) => {
|
||||||
|
try {
|
||||||
|
const files = await scanMusicFiles(folderPath);
|
||||||
|
return { files, count: files.length };
|
||||||
|
} catch (error: any) {
|
||||||
|
console.error('扫描本地音乐失败:', error);
|
||||||
|
return { error: error.message || '扫描失败' };
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// 扫描指定文件夹中的音乐文件(包含修改时间)
|
||||||
|
ipcMain.handle('scan-local-music-with-stats', async (_, folderPath: string) => {
|
||||||
|
try {
|
||||||
|
const files = await scanMusicFilesWithStats(folderPath);
|
||||||
|
return { files, count: files.length };
|
||||||
|
} catch (error: any) {
|
||||||
|
console.error('扫描本地音乐(含文件信息)失败:', error);
|
||||||
|
return { error: error.message || '扫描失败' };
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// 批量解析音乐文件元数据
|
||||||
|
ipcMain.handle('parse-local-music-metadata', async (_, filePaths: string[]) => {
|
||||||
|
try {
|
||||||
|
const metadataList = await batchParseMetadata(filePaths);
|
||||||
|
return metadataList;
|
||||||
|
} catch (error: any) {
|
||||||
|
console.error('解析本地音乐元数据失败:', error);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -42,7 +42,7 @@ const openLoginWindow = async (mainWin: BrowserWindow) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// 打开网易云登录页面
|
// 打开登录页面
|
||||||
loginWindow.loadURL(loginUrl);
|
loginWindow.loadURL(loginUrl);
|
||||||
|
|
||||||
// 阻止新窗口创建
|
// 阻止新窗口创建
|
||||||
|
|||||||
153
src/main/modules/lxMusicHttp.ts
Normal file
153
src/main/modules/lxMusicHttp.ts
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
* 落雪音乐 HTTP 请求处理(主进程)
|
||||||
|
* 绕过渲染进程的 CORS 限制
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { ipcMain } from 'electron';
|
||||||
|
import fetch, { type RequestInit } from 'node-fetch';
|
||||||
|
|
||||||
|
interface LxHttpRequest {
|
||||||
|
url: string;
|
||||||
|
options: {
|
||||||
|
method?: string;
|
||||||
|
headers?: Record<string, string>;
|
||||||
|
body?: string;
|
||||||
|
form?: Record<string, string>;
|
||||||
|
formData?: Record<string, string>;
|
||||||
|
timeout?: number;
|
||||||
|
};
|
||||||
|
requestId: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface LxHttpResponse {
|
||||||
|
statusCode: number;
|
||||||
|
headers: Record<string, string | string[]>;
|
||||||
|
body: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 取消控制器映射
|
||||||
|
const abortControllers = new Map<string, AbortController>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 初始化 HTTP 请求处理
|
||||||
|
*/
|
||||||
|
export const initLxMusicHttp = () => {
|
||||||
|
// 处理 HTTP 请求
|
||||||
|
ipcMain.handle(
|
||||||
|
'lx-music-http-request',
|
||||||
|
async (_, request: LxHttpRequest): Promise<LxHttpResponse> => {
|
||||||
|
const { url, options, requestId } = request;
|
||||||
|
const controller = new AbortController();
|
||||||
|
|
||||||
|
// 保存取消控制器
|
||||||
|
abortControllers.set(requestId, controller);
|
||||||
|
|
||||||
|
try {
|
||||||
|
console.log(`[LxMusicHttp] 请求: ${options.method || 'GET'} ${url}`);
|
||||||
|
|
||||||
|
const fetchOptions: RequestInit = {
|
||||||
|
method: options.method || 'GET',
|
||||||
|
headers: {
|
||||||
|
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
|
||||||
|
...(options.headers || {})
|
||||||
|
},
|
||||||
|
signal: controller.signal
|
||||||
|
};
|
||||||
|
|
||||||
|
// 处理请求体
|
||||||
|
if (options.body) {
|
||||||
|
fetchOptions.body = options.body;
|
||||||
|
} else if (options.form) {
|
||||||
|
const formData = new URLSearchParams(options.form);
|
||||||
|
fetchOptions.body = formData.toString();
|
||||||
|
fetchOptions.headers = {
|
||||||
|
...fetchOptions.headers,
|
||||||
|
'Content-Type': 'application/x-www-form-urlencoded'
|
||||||
|
};
|
||||||
|
} else if (options.formData) {
|
||||||
|
// node-fetch 的 FormData 需要特殊处理
|
||||||
|
const FormData = (await import('form-data')).default;
|
||||||
|
const formData = new FormData();
|
||||||
|
for (const [key, value] of Object.entries(options.formData)) {
|
||||||
|
formData.append(key, value);
|
||||||
|
}
|
||||||
|
fetchOptions.body = formData as any;
|
||||||
|
// FormData 会自动设置 Content-Type
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置超时
|
||||||
|
const timeout = options.timeout || 30000;
|
||||||
|
const timeoutId = setTimeout(() => {
|
||||||
|
console.warn(`[LxMusicHttp] 请求超时: ${url}`);
|
||||||
|
controller.abort();
|
||||||
|
}, timeout);
|
||||||
|
|
||||||
|
const response = await fetch(url, fetchOptions);
|
||||||
|
clearTimeout(timeoutId);
|
||||||
|
|
||||||
|
console.log(`[LxMusicHttp] 响应: ${response.status} ${url}`);
|
||||||
|
|
||||||
|
// 读取响应体
|
||||||
|
const rawBody = await response.text();
|
||||||
|
|
||||||
|
// 尝试解析 JSON
|
||||||
|
let parsedBody: any = rawBody;
|
||||||
|
const contentType = response.headers.get('content-type') || '';
|
||||||
|
if (
|
||||||
|
contentType.includes('application/json') ||
|
||||||
|
rawBody.startsWith('{') ||
|
||||||
|
rawBody.startsWith('[')
|
||||||
|
) {
|
||||||
|
try {
|
||||||
|
parsedBody = JSON.parse(rawBody);
|
||||||
|
} catch {
|
||||||
|
// 解析失败则使用原始字符串
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 转换 headers 为普通对象
|
||||||
|
const headers: Record<string, string | string[]> = {};
|
||||||
|
response.headers.forEach((value, key) => {
|
||||||
|
headers[key] = value;
|
||||||
|
});
|
||||||
|
|
||||||
|
const result: LxHttpResponse = {
|
||||||
|
statusCode: response.status,
|
||||||
|
headers,
|
||||||
|
body: parsedBody
|
||||||
|
};
|
||||||
|
|
||||||
|
return result;
|
||||||
|
} catch (error: any) {
|
||||||
|
console.error(`[LxMusicHttp] 请求失败: ${url}`, error.message);
|
||||||
|
throw error;
|
||||||
|
} finally {
|
||||||
|
// 清理取消控制器
|
||||||
|
abortControllers.delete(requestId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
// 处理请求取消
|
||||||
|
ipcMain.handle('lx-music-http-cancel', (_, requestId: string) => {
|
||||||
|
const controller = abortControllers.get(requestId);
|
||||||
|
if (controller) {
|
||||||
|
console.log(`[LxMusicHttp] 取消请求: ${requestId}`);
|
||||||
|
controller.abort();
|
||||||
|
abortControllers.delete(requestId);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
console.log('[LxMusicHttp] HTTP 请求处理已初始化');
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 清理所有正在进行的请求
|
||||||
|
*/
|
||||||
|
export const cleanupLxMusicHttp = () => {
|
||||||
|
for (const [requestId, controller] of abortControllers.entries()) {
|
||||||
|
console.log(`[LxMusicHttp] 清理请求: ${requestId}`);
|
||||||
|
controller.abort();
|
||||||
|
}
|
||||||
|
abortControllers.clear();
|
||||||
|
};
|
||||||
270
src/main/modules/mpris.ts
Normal file
270
src/main/modules/mpris.ts
Normal file
@@ -0,0 +1,270 @@
|
|||||||
|
import { app, BrowserWindow, ipcMain } from 'electron';
|
||||||
|
import Player from 'mpris-service';
|
||||||
|
|
||||||
|
let dbusModule: any;
|
||||||
|
try {
|
||||||
|
dbusModule = require('@httptoolkit/dbus-native');
|
||||||
|
} catch {
|
||||||
|
// dbus-native 不可用(非 Linux 环境)
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SongInfo {
|
||||||
|
id?: number | string;
|
||||||
|
name: string;
|
||||||
|
picUrl?: string;
|
||||||
|
ar?: Array<{ name: string }>;
|
||||||
|
artists?: Array<{ name: string }>;
|
||||||
|
al?: { name: string };
|
||||||
|
album?: { name: string };
|
||||||
|
duration?: number;
|
||||||
|
dt?: number;
|
||||||
|
song?: {
|
||||||
|
artists?: Array<{ name: string }>;
|
||||||
|
album?: { name: string };
|
||||||
|
duration?: number;
|
||||||
|
picUrl?: string;
|
||||||
|
};
|
||||||
|
[key: string]: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
let mprisPlayer: Player | null = null;
|
||||||
|
let mainWindow: BrowserWindow | null = null;
|
||||||
|
let currentPosition = 0;
|
||||||
|
let trayLyricIface: any = null;
|
||||||
|
let trayLyricBus: any = null;
|
||||||
|
|
||||||
|
// 保存 IPC 处理函数引用,用于清理
|
||||||
|
let onPositionUpdate: ((event: any, position: number) => void) | null = null;
|
||||||
|
let onTrayLyricUpdate: ((event: any, lrcObj: string) => void) | null = null;
|
||||||
|
|
||||||
|
export function initializeMpris(mainWindowRef: BrowserWindow) {
|
||||||
|
if (process.platform !== 'linux') return;
|
||||||
|
|
||||||
|
if (mprisPlayer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainWindow = mainWindowRef;
|
||||||
|
|
||||||
|
try {
|
||||||
|
mprisPlayer = Player({
|
||||||
|
name: 'AlgerMusicPlayer',
|
||||||
|
identity: 'Alger Music Player',
|
||||||
|
supportedUriSchemes: ['file', 'http', 'https'],
|
||||||
|
supportedMimeTypes: [
|
||||||
|
'audio/mpeg',
|
||||||
|
'audio/mp3',
|
||||||
|
'audio/flac',
|
||||||
|
'audio/wav',
|
||||||
|
'audio/ogg',
|
||||||
|
'audio/aac',
|
||||||
|
'audio/m4a'
|
||||||
|
],
|
||||||
|
supportedInterfaces: ['player']
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('quit', () => {
|
||||||
|
app.quit();
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('raise', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.show();
|
||||||
|
mainWindow.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('next', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('global-shortcut', 'nextPlay');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('previous', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('global-shortcut', 'prevPlay');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('pause', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('mpris-pause');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('play', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('mpris-play');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('playpause', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('global-shortcut', 'togglePlay');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('stop', () => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('mpris-pause');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.getPosition = (): number => {
|
||||||
|
return currentPosition;
|
||||||
|
};
|
||||||
|
|
||||||
|
mprisPlayer.on('seek', (offset: number) => {
|
||||||
|
if (mainWindow) {
|
||||||
|
const newPosition = Math.max(0, currentPosition + offset / 1000000);
|
||||||
|
mainWindow.webContents.send('mpris-seek', newPosition);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
mprisPlayer.on('position', (event: { trackId: string; position: number }) => {
|
||||||
|
if (mainWindow) {
|
||||||
|
mainWindow.webContents.send('mpris-set-position', event.position / 1000000);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
onPositionUpdate = (_, position: number) => {
|
||||||
|
currentPosition = position * 1000 * 1000;
|
||||||
|
if (mprisPlayer) {
|
||||||
|
mprisPlayer.seeked(position * 1000 * 1000);
|
||||||
|
mprisPlayer.getPosition = () => position * 1000 * 1000;
|
||||||
|
mprisPlayer.position = position * 1000 * 1000;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ipcMain.on('mpris-position-update', onPositionUpdate);
|
||||||
|
|
||||||
|
onTrayLyricUpdate = (_, lrcObj: string) => {
|
||||||
|
sendTrayLyric(lrcObj);
|
||||||
|
};
|
||||||
|
ipcMain.on('tray-lyric-update', onTrayLyricUpdate);
|
||||||
|
|
||||||
|
initTrayLyric();
|
||||||
|
|
||||||
|
console.log('[MPRIS] Service initialized');
|
||||||
|
} catch (error) {
|
||||||
|
console.error('[MPRIS] Failed to initialize:', error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export function updateMprisPlayState(playing: boolean) {
|
||||||
|
if (!mprisPlayer || process.platform !== 'linux') return;
|
||||||
|
mprisPlayer.playbackStatus = playing ? 'Playing' : 'Paused';
|
||||||
|
}
|
||||||
|
|
||||||
|
export function updateMprisCurrentSong(song: SongInfo | null) {
|
||||||
|
if (!mprisPlayer || process.platform !== 'linux') return;
|
||||||
|
|
||||||
|
if (!song) {
|
||||||
|
mprisPlayer.metadata = {};
|
||||||
|
mprisPlayer.playbackStatus = 'Stopped';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const artists =
|
||||||
|
song.ar?.map((a) => a.name).join(', ') ||
|
||||||
|
song.artists?.map((a) => a.name).join(', ') ||
|
||||||
|
song.song?.artists?.map((a) => a.name).join(', ') ||
|
||||||
|
'';
|
||||||
|
const album = song.al?.name || song.album?.name || song.song?.album?.name || '';
|
||||||
|
const duration = song.duration || song.dt || song.song?.duration || 0;
|
||||||
|
|
||||||
|
mprisPlayer.metadata = {
|
||||||
|
'mpris:trackid': mprisPlayer.objectPath(`track/${song.id || 0}`),
|
||||||
|
'mpris:length': duration * 1000,
|
||||||
|
'mpris:artUrl': song.picUrl || '',
|
||||||
|
'xesam:title': song.name || '',
|
||||||
|
'xesam:album': album,
|
||||||
|
'xesam:artist': artists ? [artists] : []
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export function updateMprisPosition(position: number) {
|
||||||
|
if (!mprisPlayer || process.platform !== 'linux') return;
|
||||||
|
mprisPlayer.seeked(position * 1000000);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function destroyMpris() {
|
||||||
|
if (onPositionUpdate) {
|
||||||
|
ipcMain.removeListener('mpris-position-update', onPositionUpdate);
|
||||||
|
onPositionUpdate = null;
|
||||||
|
}
|
||||||
|
if (onTrayLyricUpdate) {
|
||||||
|
ipcMain.removeListener('tray-lyric-update', onTrayLyricUpdate);
|
||||||
|
onTrayLyricUpdate = null;
|
||||||
|
}
|
||||||
|
if (mprisPlayer) {
|
||||||
|
mprisPlayer.quit();
|
||||||
|
mprisPlayer = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function initTrayLyric() {
|
||||||
|
if (process.platform !== 'linux' || !dbusModule) return;
|
||||||
|
|
||||||
|
const serviceName = 'org.gnome.Shell.TrayLyric';
|
||||||
|
|
||||||
|
try {
|
||||||
|
const sessionBus = dbusModule.sessionBus({});
|
||||||
|
trayLyricBus = sessionBus;
|
||||||
|
|
||||||
|
const dbusPath = '/org/freedesktop/DBus';
|
||||||
|
const dbusInterface = 'org.freedesktop.DBus';
|
||||||
|
|
||||||
|
sessionBus.invoke(
|
||||||
|
{
|
||||||
|
path: dbusPath,
|
||||||
|
interface: dbusInterface,
|
||||||
|
member: 'GetNameOwner',
|
||||||
|
destination: 'org.freedesktop.DBus',
|
||||||
|
signature: 's',
|
||||||
|
body: [serviceName]
|
||||||
|
},
|
||||||
|
(err: any, result: any) => {
|
||||||
|
if (err || !result) {
|
||||||
|
console.log('[TrayLyric] Service not running');
|
||||||
|
} else {
|
||||||
|
onServiceAvailable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
} catch (err) {
|
||||||
|
console.error('[TrayLyric] Failed to init:', err);
|
||||||
|
}
|
||||||
|
|
||||||
|
function onServiceAvailable() {
|
||||||
|
if (!trayLyricBus) return;
|
||||||
|
const path = '/' + serviceName.replace(/\./g, '/');
|
||||||
|
trayLyricBus.getService(serviceName).getInterface(path, serviceName, (err: any, iface: any) => {
|
||||||
|
if (err) {
|
||||||
|
console.error('[TrayLyric] Failed to get service interface:', err);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
trayLyricIface = iface;
|
||||||
|
console.log('[TrayLyric] Service interface ready');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function sendTrayLyric(lrcObj: string) {
|
||||||
|
if (!trayLyricIface || !trayLyricBus) return;
|
||||||
|
|
||||||
|
trayLyricBus.invoke(
|
||||||
|
{
|
||||||
|
path: '/org/gnome/Shell/TrayLyric',
|
||||||
|
interface: 'org.gnome.Shell.TrayLyric',
|
||||||
|
member: 'UpdateLyric',
|
||||||
|
destination: 'org.gnome.Shell.TrayLyric',
|
||||||
|
signature: 's',
|
||||||
|
body: [lrcObj]
|
||||||
|
},
|
||||||
|
(err: any, _result: any) => {
|
||||||
|
if (err) {
|
||||||
|
console.error('[TrayLyric] Failed to invoke UpdateLyric:', err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user