Run spell check over solution.

This commit is contained in:
RoosterDragon
2025-02-15 14:50:31 +00:00
committed by Matthias Mailänder
parent ebf90970b2
commit 96de59f75a
20 changed files with 25 additions and 25 deletions

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var luaScript = world.WorldActor.TraitOrDefault<LuaScript>();
if (luaScript != null)
{
// Native exceptions have OS-dependend line endings, so strip these away as WrapText doesn't handle them
// Native exceptions have OS-dependent line endings, so strip these away as WrapText doesn't handle them
var errorMessage = luaScript.Context.ErrorMessage.Replace("\r\n", "\n");
var text = WidgetUtils.WrapText(errorMessage, label.Bounds.Width, font);

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
autoSaveIntervalDropDown.GetText = () => GetMessageForAutoSaveInterval(Game.Settings.SinglePlayerSettings.AutoSaveInterval);
// Setup dropdown for auto-save nr.
// Setup dropdown for auto-save number.
var autoSaveNoDropDown = panel.Get<DropDownButtonWidget>("AUTO_SAVE_FILE_NUMBER_DROP_DOWN");
autoSaveNoDropDown.OnMouseDown = _ =>

View File

@@ -142,7 +142,7 @@ namespace OpenRA.Mods.Common.Widgets
/* The block below does three things:
// 1. Allows actor selection using a selection box regardless of input mode.
// 2. Allows actor deselection with a single click in the default input mode (UnitOrderGenerator).
// 3. Prevents units from getting deselected when exiting input modes (eg. AttackMove or Guard).
// 3. Prevents units from getting deselected when exiting input modes (e.g. AttackMove or Guard).
//
// We cannot check for UnitOrderGenerator here since it's the default order generator that gets activated in
// World.CancelInputMode. If we did check it, actor de-selection would not be possible by just clicking somewhere,