Skip to content

Commit 99964d2

Browse files
committed
chore: 爱发电改成链动小铺
1 parent e6babbf commit 99964d2

7 files changed

Lines changed: 142 additions & 130 deletions

File tree

MaiChartManager/AppMain.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public void Run()
129129
}
130130
catch (WebView2RuntimeNotFoundException) { }
131131

132+
#if !DEBUG
132133
if (availableVersion == null && !IsFromStartup)
133134
{
134135
var answer = MessageBox.Show(Locale.WebView2NotInstalled, Locale.WebView2NotInstalledTitle, MessageBoxButtons.YesNo,
@@ -138,6 +139,7 @@ public void Run()
138139
Process.Start(new ProcessStartInfo(Path.Combine(StaticSettings.exeDir, "MicrosoftEdgeWebview2Setup.exe")) { UseShellExecute = true });
139140
}
140141
}
142+
#endif
141143

142144
IapManager.Init();
143145

MaiChartManager/Front/src/components/NeedPurchaseDialog.tsx

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useI18n } from 'vue-i18n';
88
export default defineComponent({
99
setup(props) {
1010
const { t } = useI18n();
11-
11+
1212
return () => <Modal
1313
width="min(50vw,60em)"
1414
title={t('purchase.title')}
@@ -32,23 +32,12 @@ export default defineComponent({
3232
<div class="flex gap-2 items-center">
3333
{t('purchase.supportDev')}
3434
<StorePurchaseButton/>
35-
<Button variant="secondary" onClick={() => window.open("https://afdian.com/item/90b4d1fe70e211efab3052540025c377")}>
36-
<span class="text-lg c-#946ce6 mr-2 translate-y-.25">
37-
<AfdianIcon/>
38-
</span>
39-
{t('purchase.afdian')}
35+
<Button variant="secondary" onClick={() => window.open("https://pay.ldxp.cn/item/lymueu")}>
36+
{t('purchase.ldxp')}
37+
</Button>
38+
<Button variant="secondary" onClick={() => window.open("https://qm.qq.com/q/U3gT7CDuy6")}>
39+
{t('purchase.qqGroup')}
4040
</Button>
41-
<Popover trigger="click">
42-
{{
43-
trigger: () => <Button variant="secondary">
44-
<span class="text-lg i-ri-qq-fill c-gray-6 mr-1 translate-y-.12">
45-
<AfdianIcon/>
46-
</span>
47-
{t('purchase.qqGroup')}
48-
</Button>,
49-
default: () => <div><Qrcode value="https://qm.qq.com/q/U3gT7CDuy6"/></div>
50-
}}
51-
</Popover>
5241
</div>
5342
</div>
5443
</Modal>;

MaiChartManager/Front/src/components/VersionInfo/index.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,9 @@ export default defineComponent({
132132
{version.value.license === LicenseStatus.Inactive && <div class="flex gap-2 items-center">
133133
{t('purchase.supportDev')}
134134
<StorePurchaseButton/>
135-
<button onClick={() => window.open("https://afdian.com/item/90b4d1fe70e211efab3052540025c377")}>
136-
<span class="text-lg c-#946ce6 mr-2 translate-y-.25">
137-
<AfdianIcon/>
138-
</span>
139-
{t('purchase.afdian')}
140-
</button>
135+
<Button variant="secondary" onClick={() => window.open("https://pay.ldxp.cn/item/lymueu")}>
136+
{t('purchase.ldxp')}
137+
</Button>
141138
</div>}
142139
<div class="op-80 text-center translate-y-2">
143140
© 2024-2025 MuNET Team

MaiChartManager/Front/src/locales/en.yaml

Lines changed: 63 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ music:
8989
utageType: Utage Type
9090
utageComment: Utage Comment
9191
sortName: In-game SortName
92-
sortNameTips: May only contain digits, uppercase letters, and katakana; invalid characters will be automatically replaced
92+
sortNameTips: >-
93+
May only contain digits, uppercase letters, and katakana; invalid
94+
characters will be automatically replaced
9395
jacket: Jacket
9496
audioPreview: Preview
9597
editPreview: Edit Preview
@@ -142,7 +144,9 @@ music:
142144
replaceChartFailed: Failed to replace chart
143145
replaceChartSuccess: Chart replaced successfully
144146
notValidChartFile: Chart file must be .ma2 or maidata.txt.
145-
replaceChartShiftModeHint: Make sure the delay adjustment mode selected here matches the one used when importing the chart, otherwise notes may be positioned incorrectly!
147+
replaceChartShiftModeHint: >-
148+
Make sure the delay adjustment mode selected here matches the one used
149+
when importing the chart, otherwise notes may be positioned incorrectly!
146150
batch:
147151
title: Batch Actions
148152
batchAndSearch: Batch Actions & Search
@@ -232,7 +236,9 @@ chart:
232236
option:
233237
advancedOptions: Advanced Options
234238
shiftMode: Delay Adjustment Mode
235-
shiftModeLocked: The Delay Adjustment Mode is locked to the mode used when the chart was originally imported and cannot be changed.
239+
shiftModeLocked: >-
240+
The Delay Adjustment Mode is locked to the mode used when the chart was
241+
originally imported and cannot be changed.
236242
shiftByBar: By Bar
237243
shiftByBarDesc: >-
238244
If the rest at the beginning of the chart is less than one bar, add one
@@ -257,7 +263,10 @@ chart:
257263
258264
May cause first note to appear at odd timing, e.g. immediately at start
259265
ignoreGapless: MP3 compatibility mode (ignore Gapless)
260-
ignoreGaplessTip: If the chart was made with some specific chart editors, such as certain versions of Visual Maimai, and the imported chart has timing issues, you can try enabling this option.
266+
ignoreGaplessTip: >-
267+
If the chart was made with some specific chart editors, such as certain
268+
versions of Visual Maimai, and the imported chart has timing issues, you
269+
can try enabling this option.
261270
codecForceH264: H264
262271
codecForceVP9: VP9 USM
263272
assignId: Assign ID for new imported songs
@@ -271,7 +280,9 @@ chart:
271280
trimPadding: Will trim {padding} seconds of audio to ensure first note is in second bar
272281
addFirst: Will add {padding} seconds of silence to match &first value
273282
trimFirst: Will trim {padding} seconds of audio to match &first value
274-
addBar: Will add 1 bar of silence at the beginning of the chart to ensure the first note is after the second bar
283+
addBar: >-
284+
Will add 1 bar of silence at the beginning of the chart to ensure the
285+
first note is after the second bar
275286
error:
276287
noMaidata: maidata.txt not found
277288
noAudio: Audio file not found
@@ -366,7 +377,9 @@ mod:
366377
select1P: 1P Select
367378
select2P: 2P Select
368379
disableIO4: Disable IO4 Input
369-
disableIO4Tip: Toggle on to disable corresponding input. After disabling IO4 input, your compatible IO4 board or segatools IO4 simulation will be ignored.
380+
disableIO4Tip: >-
381+
Toggle on to disable corresponding input. After disabling IO4 input, your
382+
compatible IO4 board or segatools IO4 simulation will be ignored.
370383
disableIO4System: System Buttons (Test, Service)
371384
disable1P: Disable 1P
372385
enable1P: Enable 1P
@@ -400,7 +413,8 @@ mod:
400413
After enabling this, the settings in Test menu will no longer work, but
401414
you can still test (testing requires disabling 1P mode)
402415
403-
If your controller has corresponding host software, it's recommended to disable this option and use the host software for adjustments
416+
If your controller has corresponding host software, it's recommended to
417+
disable this option and use the host software for adjustments
404418
configCorrupted: AquaMai config file corrupted
405419
configCorruptedMessage: Please manually check AquaMai.toml and try to fix possible issues
406420
resetToDefault: Reset to default settings
@@ -453,42 +467,46 @@ mod:
453467
Led: LEDs
454468
P1: Enable 1P
455469
P2: Enable 2P
456-
tip: If mixing Maimoller with other protocols, disable this for the non-Maimoller side
457-
on: 'On'
458-
off: 'Off'
470+
tip: >-
471+
If mixing Maimoller with other protocols, disable this for the
472+
non-Maimoller side
473+
'on': 'On'
474+
'off': 'Off'
459475
enable: Enable
460476
disable: Disable
461-
stableChannel: "Stable Channel"
462-
fastChannel: "Fast Channel"
463-
mumod: "MuMod"
464-
mumodDesc: "Auto-update Loader"
465-
mumodInstalled: "Installed"
466-
mumodChannel: "Update Channel"
467-
mumodChannelSlow: "Stable"
468-
mumodChannelFast: "Fast"
469-
cacheUpdating: "Updating cache..."
470-
cacheFailed: "Cache update failed"
477+
stableChannel: Stable Channel
478+
fastChannel: Fast Channel
479+
mumod: MuMod
480+
mumodDesc: Auto-update Loader
481+
mumodInstalled: Installed
482+
mumodChannel: Update Channel
483+
mumodChannelSlow: Stable
484+
mumodChannelFast: Fast
485+
cacheUpdating: Updating cache...
486+
cacheFailed: Cache update failed
471487
conflict:
472-
title: "Conflict Detected"
473-
message: "Both AquaMai and MuMod are present, please choose which to keep"
474-
deleteAquaMai: "Delete AquaMai"
475-
deleteMuMod: "Delete MuMod"
488+
title: Conflict Detected
489+
message: Both AquaMai and MuMod are present, please choose which to keep
490+
deleteAquaMai: Delete AquaMai
491+
deleteMuMod: Delete MuMod
476492
pdx:
477-
noDevice: "No PDX device detected"
478-
deviceCount: "{count} PDX device(s) detected"
479-
driverWinusb: "Current driver: Exclusive mode"
480-
driverDefault: "Current driver: Windows Touch mode"
481-
switchToExclusive: "Switch to Exclusive mode"
482-
switchToWintouch: "Switch to Windows Touch mode"
483-
switchSuccess: "Driver switched successfully"
484-
switchFailed: "Driver switch failed"
485-
switchCancelled: "Permission request cancelled"
486-
refresh: "Refresh device status"
487-
unavailable: "PDX driver tool unavailable"
488-
selectDevice: "Select device"
489-
path1P: "1P Device Path"
490-
path2P: "2P Device Path"
491-
pathDesc: "USB port path, e.g. 2.2. Use the path shown in the configuration tool. Leave empty to use the first detected device as 1P"
493+
noDevice: No PDX device detected
494+
deviceCount: '{count} PDX device(s) detected'
495+
driverWinusb: 'Current driver: Exclusive mode'
496+
driverDefault: 'Current driver: Windows Touch mode'
497+
switchToExclusive: Switch to Exclusive mode
498+
switchToWintouch: Switch to Windows Touch mode
499+
switchSuccess: Driver switched successfully
500+
switchFailed: Driver switch failed
501+
switchCancelled: Permission request cancelled
502+
refresh: Refresh device status
503+
unavailable: PDX driver tool unavailable
504+
selectDevice: Select device
505+
path1P: 1P Device Path
506+
path2P: 2P Device Path
507+
pathDesc: >-
508+
USB port path, e.g. 2.2. Use the path shown in the configuration tool.
509+
Leave empty to use the first detected device as 1P
492510
tools:
493511
title: Tools
494512
audioConvert: Audio Convert (ACB + AWB)
@@ -515,7 +533,7 @@ error:
515533
confirm: Got it
516534
file:
517535
notSelected: No file selected
518-
unsupportedFileType: 'Unsupported file type'
536+
unsupportedFileType: Unsupported file type
519537
message:
520538
notice: Notice
521539
saveSuccess: Saved successfully
@@ -563,6 +581,7 @@ purchase:
563581
changeId: Change music ID
564582
batchExport: Batch export music as new Opt
565583
batchMaidata: Batch convert music to Maidata
584+
ldxp: LDXP
566585
startup:
567586
error: Error occurred during startup
568587
errorList: Error List
@@ -585,7 +604,7 @@ about:
585604
enterActivationCode: Please enter activation code
586605
activationCodeInvalid: Invalid activation code
587606
activationSuccess: Premium features activated, thank you!
588-
updateAvailable: 'New version available ({version})'
607+
updateAvailable: New version available ({version})
589608
viewChangelog: View Changelog
590609
changelogTitle: Changelog
591610
updateHint: Update from Microsoft Store
@@ -622,7 +641,9 @@ settings:
622641
updateChannel: Update Channel
623642
updateChannelSlow: Stable
624643
updateChannelCi: Fast
625-
updateChannelDesc: Stable channel delays updates by a few days, suitable for users who prefer stability
644+
updateChannelDesc: >-
645+
Stable channel delays updates by a few days, suitable for users who prefer
646+
stability
626647
gameDirectory: Game Directory
627648
currentPath: Current Path
628649
changeDirectory: Change Directory

MaiChartManager/Front/src/locales/zh-TW.yaml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -417,41 +417,41 @@ mod:
417417
P1: 啟用 1P
418418
P2: 啟用 2P
419419
tip: 如果混用 Maimoller 與其他協議,請對不是 Maimoller 的一侧停用
420-
on:
421-
off:
420+
'on':
421+
'off':
422422
enable: 啟用
423423
disable: 停用
424-
stableChannel: "穩定通道"
425-
fastChannel: "快速通道"
426-
mumod: "MuMod"
427-
mumodDesc: "自動更新載入器"
428-
mumodInstalled: "已安裝"
429-
mumodChannel: "更新通道"
430-
mumodChannelSlow: "穩定"
431-
mumodChannelFast: "快速"
432-
cacheUpdating: "正在更新快取..."
433-
cacheFailed: "快取更新失敗"
424+
stableChannel: 穩定通道
425+
fastChannel: 快速通道
426+
mumod: MuMod
427+
mumodDesc: 自動更新載入器
428+
mumodInstalled: 已安裝
429+
mumodChannel: 更新通道
430+
mumodChannelSlow: 穩定
431+
mumodChannelFast: 快速
432+
cacheUpdating: 正在更新快取...
433+
cacheFailed: 快取更新失敗
434434
conflict:
435-
title: "偵測到衝突"
436-
message: "AquaMai 和 MuMod 同時存在,請選擇保留哪一個"
437-
deleteAquaMai: "刪除 AquaMai"
438-
deleteMuMod: "刪除 MuMod"
435+
title: 偵測到衝突
436+
message: AquaMai 和 MuMod 同時存在,請選擇保留哪一個
437+
deleteAquaMai: 刪除 AquaMai
438+
deleteMuMod: 刪除 MuMod
439439
pdx:
440-
noDevice: "未偵測到 PDX 設備"
441-
deviceCount: "偵測到 {count} 個 PDX 設備"
442-
driverWinusb: "目前驅動: 獨占模式"
443-
driverDefault: "目前驅動: Windows 觸控模式"
444-
switchToExclusive: "切換至獨占模式"
445-
switchToWintouch: "切換至 Windows 觸控模式"
446-
switchSuccess: "驅動切換成功"
447-
switchFailed: "驅動切換失敗"
448-
switchCancelled: "已取消權限請求"
449-
refresh: "重新整理設備狀態"
450-
unavailable: "PDX 驅動工具不可用"
451-
selectDevice: "選擇設備"
452-
path1P: "1P 設備路徑"
453-
path2P: "2P 設備路徑"
454-
pathDesc: "USB 連接埠路徑,例如 2.2。請使用設定工具中顯示的路徑。留空則使用第一個偵測到的設備作為 1P"
440+
noDevice: 未偵測到 PDX 設備
441+
deviceCount: 偵測到 {count} 個 PDX 設備
442+
driverWinusb: '目前驅動: 獨占模式'
443+
driverDefault: '目前驅動: Windows 觸控模式'
444+
switchToExclusive: 切換至獨占模式
445+
switchToWintouch: 切換至 Windows 觸控模式
446+
switchSuccess: 驅動切換成功
447+
switchFailed: 驅動切換失敗
448+
switchCancelled: 已取消權限請求
449+
refresh: 重新整理設備狀態
450+
unavailable: PDX 驅動工具不可用
451+
selectDevice: 選擇設備
452+
path1P: 1P 設備路徑
453+
path2P: 2P 設備路徑
454+
pathDesc: USB 連接埠路徑,例如 2.2。請使用設定工具中顯示的路徑。留空則使用第一個偵測到的設備作為 1P
455455
tools:
456456
title: 工具
457457
audioConvert: 音訊轉換(ACB + AWB)
@@ -478,7 +478,7 @@ error:
478478
feedbackError: 回饋錯誤
479479
file:
480480
notSelected: 未選擇檔案
481-
unsupportedFileType: '不支援的檔案類型'
481+
unsupportedFileType: 不支援的檔案類型
482482
message:
483483
notice: 提示
484484
saveSuccess: 儲存成功
@@ -526,6 +526,7 @@ purchase:
526526
changeId: 修改歌曲 ID
527527
batchExport: 批次將樂曲匯出成新的 Opt
528528
batchMaidata: 批次將樂曲轉換成 Maidata
529+
ldxp: 鏈動小舖(推薦)
529530
startup:
530531
error: 啟動過程中發生錯誤
531532
errorList: 錯誤列表

0 commit comments

Comments
 (0)