Re: Questions about strings

Marko Lindqvist <[email protected]> Sun, 28 Mar 2021 16:41:41 +0300
Newsgroups gmane.games.freeciv.internationalization
Message-ID <CAF6bG8d+5cDxvHWxSMbkdhiTmqmN=FOrV6qRmH0PNrvBUhEK1Q@mail.gmail.com>
On Thu, 25 Mar 2021 at 17:41, Marko Lindqvist <[email protected]> wrote:
> On Thu, 25 Mar 2021 at 16:37, Hubert Kowalewski <[email protected]> wrote:
> > - "itself" at common/actions.h:43 (the translation will depend on the exact context in which the string appears),

 That's a description of an action target (when a unit does an action
targeting itself). Here are some, if not all, of the strings where
such an description can appear:

 "Action %s is against %s not %s"
 "Action %s is against %s not cities"

 /* TRANS: The first %s may be an adjective (that
  * includes a space). The next is the name of its
  * target kind. */
  "  * is done to %s%s.\n"

> > - "Moved Adjacent" common/actions.h:306 (see above)

 The comment about the enum says: "/* The reason why an action should
be auto performed. */"
 I didn't find any place in the code where those names of the values
would be actually used. I'll raise a ticket about it to either make it
not translatable at all, or to clarify where it would be used in the
future.


 - ML