From 0d7c54dd5396f3bc8f51de408f3c3c71da4e630b Mon Sep 17 00:00:00 2001 From: Status102 <102887808+status102@users.noreply.github.com> Date: Tue, 20 Jan 2026 23:54:04 +0800 Subject: [PATCH] =?UTF-8?q?i18n:=20=E5=9F=BA=E5=BB=BA=E6=89=BE=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E5=AF=B9=E5=BA=94=E6=97=B6=E9=97=B4=E7=9A=84=E5=9F=BA?= =?UTF-8?q?=E5=BB=BA=E8=AE=A1=E5=88=92=20(#15468)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * i18n: 基建找不到对应时间的基建计划 * i18n: zh-tw tweak --------- Co-authored-by: HY <45387477+momomochi987@users.noreply.github.com> --- src/MaaWpfGui/Res/Localizations/en-us.xaml | 1 + src/MaaWpfGui/Res/Localizations/ja-jp.xaml | 1 + src/MaaWpfGui/Res/Localizations/ko-kr.xaml | 1 + src/MaaWpfGui/Res/Localizations/zh-cn.xaml | 1 + src/MaaWpfGui/Res/Localizations/zh-tw.xaml | 9 +++++---- .../TaskQueue/InfrastSettingsUserControlModel.cs | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/MaaWpfGui/Res/Localizations/en-us.xaml b/src/MaaWpfGui/Res/Localizations/en-us.xaml index 82559cfef9..46bbb2e043 100644 --- a/src/MaaWpfGui/Res/Localizations/en-us.xaml +++ b/src/MaaWpfGui/Res/Localizations/en-us.xaml @@ -164,6 +164,7 @@ To customize rotation schedules, please use 「{key=InfrastModeCustom}」.Base Configuration Parsing Error! Some rotations in the {Key=InfrastModeCustom} configuration have time periods set, which may lead to unexpected behavior. To set shift change time periods, ensure all rotations have time periods configured; otherwise, leave them all blank. Custom infrast plan selection is out of index + No plan was found for the specified time period in the custom infrastructure configuration. Base Configuration:  Base Plan diff --git a/src/MaaWpfGui/Res/Localizations/ja-jp.xaml b/src/MaaWpfGui/Res/Localizations/ja-jp.xaml index 0e562995a5..73c058a672 100644 --- a/src/MaaWpfGui/Res/Localizations/ja-jp.xaml +++ b/src/MaaWpfGui/Res/Localizations/ja-jp.xaml @@ -164,6 +164,7 @@ 基地構成ファイルのパースエラー! カスタムインフラストラクチャ設定では、一部のプランにのみ時間帯が設定されている場合があり、予期しない動作が発生する可能性があります。シフト交代時間帯を設定する必要がある場合は、すべてのプランに時間帯が設定されていることを確認してください。設定されていない場合は、すべてのプランを空白のままにしてください。 カスタムインフラストラクチャ構成の選択がインデックスを超えています + カスタム インフラストラクチャ構成では、対応する期間のプランが見つかりません 基地構成ファイルの設定: 基地計画 diff --git a/src/MaaWpfGui/Res/Localizations/ko-kr.xaml b/src/MaaWpfGui/Res/Localizations/ko-kr.xaml index 624347ea19..a0a6e00121 100644 --- a/src/MaaWpfGui/Res/Localizations/ko-kr.xaml +++ b/src/MaaWpfGui/Res/Localizations/ko-kr.xaml @@ -164,6 +164,7 @@ 기반시설 구성 인식 실패! {Key=InfrastModeCustom} 설정 중 일부 계획에만 시간대가 설정되어 있어, 예기치 않은 동작이 발생할 수 있습니다. 교대 시간대를 설정하려면 모든 계획에 시간대를 설정하거나, 그렇지 않으면 모두 비워 두세요. 사용자 지정 인프라 구성 선택 항목이 인덱스를 초과했습니다. + 사용자 지정 인프라 구성에서 지정된 시간대에 대한 계획을 찾을 수 없습니다. 기반시설 구성: 기반시설 계획 diff --git a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml index b8c75c581f..f024d0bc9d 100644 --- a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml +++ b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml @@ -164,6 +164,7 @@ 自定义基建配置文件解析错误! 自定义基建配置仅有部分计划存在时间段,可能会存在预期外的行为。如需设置换班时间段请保证所有计划均设置时间段,否则请全部留空。 自定义基建配置选择超出索引 + 自定义基建配置未找到对应时间段的计划 自定义基建配置: 基建计划 diff --git a/src/MaaWpfGui/Res/Localizations/zh-tw.xaml b/src/MaaWpfGui/Res/Localizations/zh-tw.xaml index 7c1865773e..295036d257 100644 --- a/src/MaaWpfGui/Res/Localizations/zh-tw.xaml +++ b/src/MaaWpfGui/Res/Localizations/zh-tw.xaml @@ -162,15 +162,16 @@ 自定義基建配置檔案 時間輪換 ({0}) 自定義基建配置檔案解析錯誤! - 自訂基建配置僅有部分計畫存在時間段,可能會存在預期外的行為。如需設定換班時段請確保所有方案均設定時段,否則請全部留白。 - 自定義基建配置選擇超出索引 + 自定義基建配置僅有部分計畫設定了時段,可能會產生預期外的行為。若需設定換班時段請確保所有計畫均有設定時段,否則請全部留白。 + 自定義基建配置選擇超出索引範圍 + 自定義基建配置找不到對應時段的計畫 自定義基建配置: 基建計劃 若 「{key=CustomInfrastPlan}」 存在執行時間,則在 「{key=Base}」 任務開始前或任務執行時不會自動切換,將保持 {key=LinkStart} 狀態,僅於空閒或任務完成後才會切換。 - 自動保存爲下個計劃 - 自訂設施配置選擇為空,請檢查配置或關閉自訂功能。 + 自動儲存為下個計劃 + 自定義設施配置選擇為空,請檢查配置或關閉自定義功能。 通用模式 藍疊模擬器 MuMu 模擬器 12 diff --git a/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/InfrastSettingsUserControlModel.cs b/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/InfrastSettingsUserControlModel.cs index ca4d95f124..bb16ac6505 100644 --- a/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/InfrastSettingsUserControlModel.cs +++ b/src/MaaWpfGui/ViewModels/UserControl/TaskQueue/InfrastSettingsUserControlModel.cs @@ -578,7 +578,7 @@ public class InfrastSettingsUserControlModel : TaskSettingsViewModel { task.PlanIndex = 0; _logger.Warning("No valid plan found for current time, use PlanIndex 0"); - Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("CustomInfrastFileHasPlanNoPeriod"), UiLogColor.Error); + Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("CustomInfrastPlanNotFoundByPeriod"), UiLogColor.Error); } }