From 6970a8fa8e298637694cff28a24ce5d001d8f70c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 29 Sep 2023 23:36:45 +0300 Subject: [PATCH 49/49] Fix typos in word "successful" See osdn #45713 Signed-off-by: Marko Lindqvist --- ai/default/aiparatrooper.c | 8 ++++---- client/gui-gtk-3.22/gui_main.c | 4 ++-- client/gui-gtk-4.0/gui_main.c | 4 ++-- client/gui-qt/gui_main.cpp | 4 ++-- client/gui-stub/gui_main.c | 2 +- client/tilespec.c | 2 +- data/alien/README.alien | 2 +- doc/README.actions | 2 +- doc/README.effects | 2 +- server/diplomats.c | 2 +- server/savegame/savecompat.c | 2 +- server/unittools.c | 4 ++-- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ai/default/aiparatrooper.c b/ai/default/aiparatrooper.c index 7f2ffc1895..064a427464 100644 --- a/ai/default/aiparatrooper.c +++ b/ai/default/aiparatrooper.c @@ -266,12 +266,12 @@ void dai_manage_paratrooper(struct ai_type *ait, struct player *pplayer, } action_iterate_end; if (jump_performed) { - /* successfull! */ + /* Successful! */ if (NULL == game_unit_by_number(sanity)) { - /* the unit did not survive the move */ + /* The unit did not survive the move */ return; } - /* and we attack the target */ + /* We attack the target */ (void) dai_military_rampage(punit, RAMPAGE_ANYTHING, RAMPAGE_ANYTHING); } @@ -293,7 +293,7 @@ void dai_manage_paratrooper(struct ai_type *ait, struct player *pplayer, if (acity) { UNIT_LOG(LOGLEVEL_PARATROOPER, punit, "Going to %s", city_name_get(acity)); if (!dai_unit_goto(ait, punit, acity->tile)) { - /* die or unsuccessfull move */ + /* Died or unsuccessful move */ return; } } else { diff --git a/client/gui-gtk-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index a0be2753f9..6e7055b274 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -2309,8 +2309,8 @@ static void set_wait_for_writable_socket(struct connection *pc, } /**********************************************************************//** - This function is called after the client succesfully - has connected to the server + This function is called after the client has successfully + connected to the server **************************************************************************/ void add_net_input(int sock) { diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index 4a8ef302b6..05b401f59a 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -2308,8 +2308,8 @@ static void set_wait_for_writable_socket(struct connection *pc, } /**********************************************************************//** - This function is called after the client succesfully - has connected to the server + This function is called after the client has successfully + connected to the server **************************************************************************/ void add_net_input(int sock) { diff --git a/client/gui-qt/gui_main.cpp b/client/gui-qt/gui_main.cpp index 72af5fe587..8b803da0b9 100644 --- a/client/gui-qt/gui_main.cpp +++ b/client/gui-qt/gui_main.cpp @@ -299,10 +299,10 @@ void qtg_sound_bell() } /**********************************************************************//** - Wait for data on the given socket. Call input_from_server() when data + Wait for data on the given socket. Call input_from_server() when data is ready to be read. - This function is called after the client succesfully has connected + This function is called after the client has successfully connected to the server. **************************************************************************/ void qtg_add_net_input(int sock) diff --git a/client/gui-stub/gui_main.c b/client/gui-stub/gui_main.c index 456d942e53..3593e2fde1 100644 --- a/client/gui-stub/gui_main.c +++ b/client/gui-stub/gui_main.c @@ -156,7 +156,7 @@ void gui_sound_bell(void) Wait for data on the given socket. Call input_from_server() when data is ready to be read. - This function is called after the client succesfully has connected + This function is called after the client has successfully connected to the server. **************************************************************************/ void gui_add_net_input(int sock) diff --git a/client/tilespec.c b/client/tilespec.c index 9d6d3e91d7..ae9141eec3 100644 --- a/client/tilespec.c +++ b/client/tilespec.c @@ -1350,7 +1350,7 @@ bool tilespec_try_read(const char *tileset_name, bool verbose, int topo_id, It will also call the necessary functions to redraw the graphics. - Returns TRUE iff new tileset has been succesfully loaded. + Returns TRUE iff new tileset has been successfully loaded. ****************************************************************************/ bool tilespec_reread(const char *new_tileset_name, bool game_fully_initialized, float scale) diff --git a/data/alien/README.alien b/data/alien/README.alien index cefba0ebdb..371d22e6db 100644 --- a/data/alien/README.alien +++ b/data/alien/README.alien @@ -56,7 +56,7 @@ This list is incomplete - Burrow Tubes can be built only to connect existing burrow tubes, first one needs to be adjacent to a land tile -- Amphibious and Antigravity units kill citizens after succesfull +- Amphibious and Antigravity units kill citizens after successful attack against a city, Burrowing units do not - There's two river types. Earthly units do not gain movement diff --git a/doc/README.actions b/doc/README.actions index b6586cafce..cff1b70969 100644 --- a/doc/README.actions +++ b/doc/README.actions @@ -130,7 +130,7 @@ about to get started. The second is the actor. The third parameter is the target. The parameters of action_started_unit_city is therefore action, actor_unit and finally target city. Latter signal has four parameters; action that was finished, -whether action was succesfull, actor, and target. Actor and/or target +whether action was successful, actor, and target. Actor and/or target might be nil if they got destroyed by the action. To get the rule name of an action, that is the name used in action enablers, diff --git a/doc/README.effects b/doc/README.effects index 175822c646..19fbb90f14 100644 --- a/doc/README.effects +++ b/doc/README.effects @@ -166,7 +166,7 @@ Action_Odds_Pct "Poison City Escape". Action_Resist_Pct - Reduces the odds of action against the player to be succesfull. + Reduces the odds of action against the player to be successful. The difference to negative Action_Odds_Pct effect is that when evaluating requirements for this effect, player is the target player of the action. Supported for the same actions as Action_Odds_Pct (applied at the same time) diff --git a/server/diplomats.c b/server/diplomats.c index 85d69ce128..49c7d3793d 100644 --- a/server/diplomats.c +++ b/server/diplomats.c @@ -1074,7 +1074,7 @@ bool diplomat_get_tech(struct player *pplayer, struct unit *pdiplomat, - If the provocateur is captured and executed, there is probability that they were carrying bag with some gold, which will be lost. - There is chance, that this gold will be transferred to nation - which succesfully defended against inciting revolt. + which successfully defended against inciting revolt. Returns TRUE if money is lost, FALSE if not. ****************************************************************************/ diff --git a/server/savegame/savecompat.c b/server/savegame/savecompat.c index b9d23bbc3f..fa7e3af70d 100644 --- a/server/savegame/savecompat.c +++ b/server/savegame/savecompat.c @@ -637,7 +637,7 @@ static void compat_load_020500(struct loaddata *loading, continue; } /* In 2.4.x and prior, "killcitizen" listed move types that - * killed citizens after succesfull attack. Now killcitizen + * killed citizens after successful attack. Now killcitizen * is just boolean and classes affected are defined in ruleset. */ if (!fc_strcasecmp("killcitizen", name)) { int value; diff --git a/server/unittools.c b/server/unittools.c index 2391fa6b70..76beac5450 100644 --- a/server/unittools.c +++ b/server/unittools.c @@ -1201,7 +1201,7 @@ void place_partisans(struct tile *pcenter, struct player *powner, /**********************************************************************//** Teleport punit to city at cost specified. Returns success. Note that unit - may die if it succesfully moves, i.e., even when return value is TRUE. + may die if it successfully moves, i.e., even when return value is TRUE. (If specified cost is -1, then teleportation costs all movement.) **************************************************************************/ bool teleport_unit_to_city(struct unit *punit, struct city *pcity, @@ -2940,7 +2940,7 @@ void do_explore(struct unit *punit) /**********************************************************************//** Returns whether the drop was made or not. Note that it also returns 1 - in the case where the drop was succesful, but the unit was killed by + in the case where the drop was successful, but the unit was killed by barbarians in a hut. **************************************************************************/ bool do_paradrop(struct unit *punit, struct tile *ptile, -- 2.40.1