mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
feat: GetLocalizedNames for Infrast and Copilot output (#10335)
* feat: GetLocalizedNames for Infrast output * feat: Localization for Copilot steps * i18n: EN tweak
This commit is contained in:
@@ -1454,7 +1454,7 @@ namespace MaaWpfGui.Main
|
||||
string.Format(
|
||||
LocalizationHelper.GetString("CurrentSteps"),
|
||||
subTaskDetails["action"],
|
||||
subTaskDetails["target"]));
|
||||
DataHelper.GetLocalizedCharacterName(subTaskDetails["target"]?.ToString())));
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -1497,7 +1497,7 @@ namespace MaaWpfGui.Main
|
||||
|
||||
case "CustomInfrastRoomOperators":
|
||||
string nameStr = (subTaskDetails!["names"] ?? new JArray())
|
||||
.Aggregate(string.Empty, (current, name) => current + name + ", ");
|
||||
.Aggregate(string.Empty, (current, name) => current + DataHelper.GetLocalizedCharacterName(name.ToString()) + ", ");
|
||||
|
||||
if (nameStr != string.Empty)
|
||||
{
|
||||
|
||||
@@ -753,7 +753,7 @@ The video aspect ratio needs to be 16:9 without interference factors such as bla
|
||||
<system:String x:Key="UseFormation">Use formation</system:String>
|
||||
<system:String x:Key="Current">Current</system:String>
|
||||
<system:String x:Key="BattleFormation">Start formation</system:String>
|
||||
<system:String x:Key="BattleFormationSelected" xml:space="preserve">Selection of operator: </system:String>
|
||||
<system:String x:Key="BattleFormationSelected" xml:space="preserve">Operator selected: </system:String>
|
||||
<system:String x:Key="CurrentSteps">Current step: {0} {1}</system:String>
|
||||
<system:String x:Key="UnsupportedLevel">Unsupported stage, please check the level name or go to「Settings - Update - Check update」and try updating the resource version!</system:String>
|
||||
<system:String x:Key="ResourceUpdatePaused">Due to server resource constraints, resource version updates are temporarily suspended. Please manually import the level file or wait for a new version release</system:String>
|
||||
|
||||
Reference in New Issue
Block a user