From 2020d0c93f22596328e13869c4c9d4a282ef822b Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 29 Sep 2023 23:40:33 +0300 Subject: [PATCH 27/27] Fix typos in word "successful" See osdn #45713 Signed-off-by: Marko Lindqvist --- ai/default/aiparatrooper.c | 8 ++++---- client/gui-gtk-3.0/gui_main.c | 4 ++-- 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 +- server/diplomats.c | 2 +- server/savegame/savecompat.c | 2 +- server/unittools.c | 4 ++-- 12 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ai/default/aiparatrooper.c b/ai/default/aiparatrooper.c index 4bcfc9a99b..95f784476b 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.0/gui_main.c b/client/gui-gtk-3.0/gui_main.c index ce1959f374..e85a209904 100644 --- a/client/gui-gtk-3.0/gui_main.c +++ b/client/gui-gtk-3.0/gui_main.c @@ -2091,8 +2091,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-3.22/gui_main.c b/client/gui-gtk-3.22/gui_main.c index 62a6d18044..c5e702c28d 100644 --- a/client/gui-gtk-3.22/gui_main.c +++ b/client/gui-gtk-3.22/gui_main.c @@ -2249,8 +2249,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 63b98ef7db..2f18237392 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -2243,8 +2243,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 e35d58e5d7..dc28a2c908 100644 --- a/client/gui-qt/gui_main.cpp +++ b/client/gui-qt/gui_main.cpp @@ -290,10 +290,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 6529fa1bab..d518067260 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 c3230d153a..e6861f730a 100644 --- a/client/tilespec.c +++ b/client/tilespec.c @@ -1294,7 +1294,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 36589d47d3..596807a292 100644 --- a/doc/README.actions +++ b/doc/README.actions @@ -125,7 +125,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/server/diplomats.c b/server/diplomats.c index f119ca7a21..59c34605a7 100644 --- a/server/diplomats.c +++ b/server/diplomats.c @@ -1075,7 +1075,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 82938282de..034e5af49c 100644 --- a/server/savegame/savecompat.c +++ b/server/savegame/savecompat.c @@ -604,7 +604,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 e7b0989764..8aaf7d6ae6 100644 --- a/server/unittools.c +++ b/server/unittools.c @@ -1221,7 +1221,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, @@ -3035,7 +3035,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