Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: desc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 24, 2024
1 parent 083b25b commit 405242f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
27 changes: 5 additions & 22 deletions RotationSolver/Localization/Localization.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@
"ActionAheadName": "Action Ahead",
"SpecialDurationName": "The duration of special windows set by commands",
"CountDownAheadName": "The starting when abilities will be used before finishing the countdown",
"WeaponDelayDescription": "",
"ClickingDelayDescription": "",
"RotationSolver.Data.UiString.ConfigWindow_List_Description": "In this window, you can set the parameters that can be customised using lists.",
"RotationSolver.Data.UiString.ConfigWindow_List_Statuses": "Statuses",
"RotationSolver.Data.UiString.ConfigWindow_List_Actions": "Actions",
Expand All @@ -209,7 +207,6 @@
"RotationSolver.Data.UiString.SpecialCommandType_HealArea": "Heal Area",
"RotationSolver.Data.UiString.SpecialCommandType_DefenseSingle": "Defense Single",
"RotationSolver.Data.UiString.ConfigWindow_Actions_GcdCount": "How many gcds are needed to add the status.",
"InDebugDescription": "",
"RotationSolver.Data.UiString.ConfigWindow_Actions_AoeCount": "How many targets are needed to use this action.",
"RotationSolver.Data.UiString.SpecialCommandType_Speed": "Speed",
"RotationSolver.Data.UiString.ConfigWindow_Events_AddEvent": "Add Events",
Expand All @@ -222,14 +219,7 @@
"UseStopCastingName": "Stops casting when the target is dead.",
"AutoOpenChestName": "Auto Open the treasure chest",
"PoslockCastingDescription": "LT is for gamepad player",
"UseStopCastingDescription": "",
"AutoOpenChestDescription": "",
"PosPassageOfArmsName": "",
"PosTenChiJinName": "",
"PosFlameThrowerName": "",
"PosImprovisationName": "",
"PoslockModifierName": "The modifier key to unlock the movement temporary",
"PoslockModifierDescription": "",
"RotationSolver.Data.UiString.ConfigWindow_Actions_ForcedConditionSet_Description": "Conditions for forced automatic use of action.",
"RotationSolver.Data.UiString.ConfigWindow_Actions_DisabledConditionSet_Description": "Conditions for automatic use of action being disabled.",
"MoveTargetAngleName": "The size of the sector angle that can be selected as the moveable target",
Expand All @@ -253,17 +243,10 @@
"MoveTargetAngleDescription": "If the selection mode is based on character facing, i.e., targets within the character's viewpoint are moveable targets. \nIf the selection mode is screen-centered, i.e., targets within a sector drawn upward from the character's point are movable targets.",
"RotationSolver.Basic.Attributes.ConfigUnitType.Degree": "Angle Unit, in degrees.",
"MoveAreaActionFarthestDescription": "Move to the furthest position for targeting are movement actions.",
"BossTimeToKillDescription": "",
"AddEnemyListToHostileDescription": "",
"ChooseAttackMarkDescription": "",
"FilterStopMarkDescription": "",
"HostileTypeDescription": "",
"SwitchTargetFriendlyDescription": "",
"TargetHuntingRelicLevePriorityDescription": "",
"TargetQuestPriorityDescription": "",
"DyingTimeToKillDescription": "",
"MoveTowardsScreenCenterDescription": "Using movement actions towards the object in the center of the screen, otherwise toward the facing object.",
"ChangeTargetForFateDescription": "",
"OnlyAttackInViewDescription": "",
"OnlyAttackInVisionConeDescription": ""
"RotationSolver.Data.UiString.ConfigWindow_Param_HostileDesc": "You can The logic of hostile target selection to allow flexibility in switching the logic of selecting hostile in battle.",
"RotationSolver.Data.UiString.ConfigWindow_List_Remove": "Remove",
"RotationSolver.Data.UiString.ConfigWindow_Actions_MoveUp": "Move Up",
"RotationSolver.Data.UiString.ConfigWindow_Actions_MoveDown": "Move Down",
"RotationSolver.Data.UiString.ConfigWindow_Param_HostileCondition": "Hostile target selection condition"
}
2 changes: 1 addition & 1 deletion RotationSolver/UI/SearchableConfigs/Searchable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public virtual string Description
get
{
var ui = _property.GetCustomAttribute<UIAttribute>();
if (ui == null) return string.Empty;
if (ui == null || string.IsNullOrEmpty(ui.Description)) return string.Empty;

return (_property.Name + "Description").Local(ui.Description);
}
Expand Down

0 comments on commit 405242f

Please sign in to comment.