Re: Questions about strings

Hubert Kowalewski <[email protected]> Mon, 29 Mar 2021 14:15:33 +0200
Newsgroups gmane.games.freeciv.internationalization
Message-ID <CAJ-N6J0L7dXwDCzTpjO1NtQDFrykCgV32fUTEhZfs5kCfa4CrQ@mail.gmail.com>
Thanks!

H

On Sun, 28 Mar 2021 at 15:41, Marko Lindqvist <[email protected]> wrote:

> 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
>
>

-- 
Hubert