Skip to content

Commit

Permalink
fix(typo): Fix various typos (endless-sky#9677)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetiroka authored Jan 16, 2024
1 parent 216fa14 commit 6d5f6d0
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion data/_ui/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ help "fleet asteroid mining shortcuts"
`Shortcuts for asteroid targeting:`
` <Select nearest asteroid> selects the nearest asteroid if you have an asteroid scanner.`
` <Fleet: Fight my target> will focus your fleet on mining a targeted asteroid.`
` <Fleet: Harvest flotsam> will toggle whether your fleet tries to pick up flotsams.`
` <Fleet: Harvest flotsam> will toggle whether your fleet tries to pick up flotsam.`
``
`Alternate targeting:`
` Left click - will target an asteroid without mining it.`
Expand Down
2 changes: 1 addition & 1 deletion data/_ui/tooltips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ tip "% minable damage / shot:"
`Minable damage dealt as a percentage of the target's total health, in lieu of relative hull damage being used.`

tip "% fuel damage / shot:"
`Fuel loss caused per shot as a percentage of the the target's total fuel capacity. Only half as effective when the target's shields are up.`
`Fuel loss caused per shot as a percentage of the target's total fuel capacity. Only half as effective when the target's shields are up.`

tip "% heat damage / shot:"
`Increases the target ship's heat as a percentage of its maximum heat capacity by this amount per shot. Only half as effective when the target's shields are up.`
Expand Down
2 changes: 1 addition & 1 deletion data/coalition/lunarium intro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ mission "Lunarium: Quarg Interview"
label fight
` "Try and fool you, I will not. At a tremendous disadvantage, to say the least, we are," Pyakri answers. "Weaker, our ships are, and far less powerful weapons, we boast. Mostly human designs. Due to being simpler, easier to produce them in what factories we have, they are. Also lack experience, the troops do..."`
` The mood around the table quickly dims as she goes on listing the ways the Lunarium is lacking in comparison to your opponents. Elirom stands up, putting both hands on the table to draw attention. "Smarter than us, they are not. Assure you of that, I can. Wanting in many areas we are, yes, but only because hoard our best materials, they do. Already preparing some deadlier weapons, we are. Finished, the blueprints have been. Only lacking the right materials, we are. When secured those, we have, move on to reforming our arsenal we can, and maybe get some better ships produced, too."`
` "And suppose I do that, intend to tell me where to attack for such materials, you do?" Pyakri asks as she stands up herself. "Caught by 'the unforeseen' will my men again be? By an Arach batallion you forgot to mention, again?"`
` "And suppose I do that, intend to tell me where to attack for such materials, you do?" Pyakri asks as she stands up herself. "Caught by 'the unforeseen' will my men again be? By an Arach battalion you forgot to mention, again?"`
` Caught apparently off-guard by the question, Elirom looks at her for a few seconds, then resigns himself to sit back down.`
goto questions
label outsiders
Expand Down
2 changes: 1 addition & 1 deletion data/korath/korath missions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ mission "Korath Family to Ringworld"
conversation
`You enjoy the new company on your ship. The child has taught you a game where you take turns throwing a ball against the wall. You spend an hour or two playing with them in the cargo hold.`
` When you arrive, you decide to accompany the family into the spaceport. Waiting near the docking bay are two more Korath, one an adult and the other elderly, and the three you've transported rush to meet them. After the happy reunion has died down, the Korath who had originally asked you for transportation turns to a nearby Quarg and says something. The Quarg responds and then turns to you.`
` "This fellow pridefulest has claimed he regarded my indebted translation with reverence and asks my usage of it be preferred. I am inclined to acquiesce his request happyifully." This Quarg does not seem to have an especially strong grasp of your language, but you should be able to more or less gather what is being said. "The comrade says, 'I disproportionately thank you for reuniting my familial, in fateful service to our camaraderie.' He additionally supplants there was no method in which this gaggle would vicinitied in which absenced your presence. That is all."`
` "This fellow pridefulest has claimed he regarded my indebted translation with reverence and asks my usage of it be preferred. I am inclined to acquiesce his request happyfully." This Quarg does not seem to have an especially strong grasp of your language, but you should be able to more or less gather what is being said. "The comrade says, 'I disproportionately thank you for reuniting my familial, in fateful service to our camaraderie.' He additionally supplants there was no method in which this gaggle would vicinitied in which absenced your presence. That is all."`
choice
` "Tell him it's no problem at all."`
` "Tell him he has a wonderful family, and I was glad to help."`
Expand Down
2 changes: 1 addition & 1 deletion source/Animate.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Animate
// Synonym for Value().
operator const T &() const;

// Shortcut mathmatical operators for convenience.
// Shortcut mathematical operators for convenience.
Animate &operator=(const T &v);
Animate &operator+=(const T &v);
Animate &operator-=(const T &v);
Expand Down
6 changes: 3 additions & 3 deletions source/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,7 @@ void Engine::DoCollection(Flotsam &flotsam)
// pull it.
if(!collector)
{
// Keep track of the the net effect of all the tractor beams pulling on
// Keep track of the net effect of all the tractor beams pulling on
// this flotsam.
Point pullVector;
// Also determine the average velocity of the ships pulling on this flotsam.
Expand All @@ -2319,8 +2319,8 @@ void Engine::DoCollection(Flotsam &flotsam)
{
// If any tractor beams successfully fired on this flotsam, also drag the flotsam with
// the average velocity of each ship.
// When dealing with individual ships, this makes tractor beams feel more more capable of
// dragging flotsams to the ship. Otherwise, a ship could be drifting away from a flotsam
// When dealing with individual ships, this makes tractor beams feel more capable of
// dragging flotsam to the ship. Otherwise, a ship could be drifting away from a flotsam
// at the same speed that the tractor beam is pulling the flotsam toward the ship,
// which looks awkward and makes the tractor beam feel pointless; the whole point of
// a tractor beam should be that it collects flotsam for you.
Expand Down
2 changes: 1 addition & 1 deletion source/Government.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void Government::Load(const DataNode &node)
}

// Ensure reputation minimum is not above the
// maximum, and set reputation again to enforce limtis.
// maximum, and set reputation again to enforce limits.
if(reputationMin > reputationMax)
reputationMin = reputationMax;
SetReputation(Reputation());
Expand Down
2 changes: 1 addition & 1 deletion source/PreferencesPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ void PreferencesPanel::DrawPlugins()
topLeft.Y() += 7.;
Rectangle zoneBounds = Rectangle::FromCorner(pluginListBox.Center() + topLeft, {sprite->Width(), sprite->Height()});

// Only include the zone as clickable if its within the drawing area.
// Only include the zone as clickable if it's within the drawing area.
bool displayed = table.GetPoint().Y() > pluginListClip->Top() - 20 &&
table.GetPoint().Y() < pluginListClip->Bottom() - table.GetRowBounds().Height() + 20;
if(displayed)
Expand Down
2 changes: 1 addition & 1 deletion source/ScrollVar.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ScrollVar: public Animate<T>
// Sets the scroll value directly, then clamps it to a suitable range.
virtual void Set(const T &current, int steps = 5) override;

// Shortcut mathmatical operators for convenience.
// Shortcut mathematical operators for convenience.
ScrollVar &operator=(const T &v);


Expand Down
4 changes: 2 additions & 2 deletions source/Ship.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class Ship : public Body, public std::enable_shared_from_this<Ship> {
int64_t Cost() const;
int64_t ChassisCost() const;
int64_t Strength() const;
// Get the attraction and deterrance of this ship, for pirate raids.
// Get the attraction and deterrence of this ship, for pirate raids.
// This is only useful for the player's ships.
double Attraction() const;
double Deterrence() const;
Expand Down Expand Up @@ -520,7 +520,7 @@ class Ship : public Body, public std::enable_shared_from_this<Ship> {
void CreateSparks(std::vector<Visual> &visuals, const std::string &name, double amount);
void CreateSparks(std::vector<Visual> &visuals, const Effect *effect, double amount);

// Calculate the attraction and deterrance of this ship, for pirate raids.
// Calculate the attraction and deterrence of this ship, for pirate raids.
// This is only useful for the player's ships.
double CalculateAttraction() const;
double CalculateDeterrence() const;
Expand Down
2 changes: 1 addition & 1 deletion source/ShipInfoPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ void ShipInfoPanel::DrawOutfits(const Rectangle &bounds, Rectangle &cargoBounds)
if(it == outfits.end())
continue;

// Skip to the next column if there is not space for this category label
// Skip to the next column if there is no space for this category label
// plus at least one outfit.
if(table.GetRowBounds().Bottom() + 40. > bounds.Bottom())
{
Expand Down
2 changes: 1 addition & 1 deletion source/TestData.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TestData {
public:
const std::string &Name() const;
void Load(const DataNode &node, const std::string &sourceDataFilePath);
// Function to inject the test-data into the game or into the games
// Function to inject the test-data into the game or into the game's
// environment.
bool Inject() const;

Expand Down

0 comments on commit 6d5f6d0

Please sign in to comment.