Wrong message about reason action isn't possible

Can you help improve your favourite game? Hardcore C mages, talented artists, and players with any level of experience are welcome!
Lachu
Elite
Posts: 324
Joined: Sat May 04, 2013 2:19 pm

Wrong message about reason action isn't possible

Postby Lachu » Sun Apr 02, 2017 5:25 pm

server/unithand.c:
_("This unit is to far away from its target to act."));
Should be:
_("This unit is too far away from its target to act."));

There's more similar typo.

User avatar
dunnoob
Elite
Posts: 326
Joined: Mon Dec 23, 2013 3:13 am
Location: Hamburg
Contact:

Re: Wrong message about reason action isn't possible

Postby dunnoob » Thu Oct 26, 2017 8:42 am

Lachu wrote:There's more similar typo.
Unanswered forum posts make me nervous, see HRM 706821, I found only one more s/to/too/ near your nit.

Slightly convoluted procedure, go to my GitHub account, click on "stars", go to Freeciv, go to server/unithand.c, click on "raw", right-click "save as" unithand.c, rename to wrong.unithand.c, copy to patch.unithand.c, fix (edit) the latter, run diff -uw wrong.unithand.c patch.unithand.c, if the output makes sense run it again redirected to unithand.c.patch, go to HRM account, go to Freeciv, go to issues, click new, pick category server, enter one line with a pingback to this thread, attach the prepared unithand.c.patch, and let's see what happens. 8-)

cazfi
Elite
Posts: 1531
Joined: Tue Jan 29, 2013 6:54 pm

Re: Wrong message about reason action isn't possible

Postby cazfi » Thu Oct 26, 2017 4:36 pm

dunnoob wrote:Slightly convoluted procedure, go to my GitHub account, click on "stars", go to Freeciv, go to server/unithand.c, click on "raw", right-click "save as" unithand.c, rename to wrong.unithand.c, copy to patch.unithand.c, fix (edit) the latter, run diff -uw wrong.unithand.c patch.unithand.c, if the output makes sense run it again redirected to unithand.c.patch, go to HRM account, go to Freeciv, go to issues, click new, pick category server, enter one line with a pingback to this thread, attach the prepared unithand.c.patch, and let's see what happens. 8-)

Uuurgh. How about install Msys2 as Development Environment and do 'git diff' there? (or, preferably, 'git commit' on your own development branch, and 'git format-patch ...', and provide ready-to-digest patch, with your committer id and all, for us. This leaves least work for us -> probably faster processing of your patch)