<<< Date Index >>>     <<< Thread Index >>>

Re: POTFILES.in update



On Fri, Feb 18, 2005 at 02:10:30PM +0100, Christoph Berg wrote:
> Re: TAKAHASHI Tamotsu in <20050218124658.GB14700@xxxxxxxxxxxxxxxxxxxx>
> > -       state_attach_puts ("*** Begin Notation (signature by: ", s);
> > +       state_attach_puts (_("*** Begin Notation (signature by: "), s);
> 
> Is this a free form text or defined format that should not be
> changed/translated?

I think it can be translated.


> > -       state_attach_puts (") ***\n", s);
> > +       state_attach_puts (_(") ***\n"), s);
> 
> I don't think translations need to put anything after the string here.

As "*** Begin Notation (signature by: " can be translated,
this one can be translated.
For example, Japanese language has different order of words like,
"*** Notation Begin (name, by, signature) ***\n".



> > -      fprintf (fp, "%s ......: ", idx ? _(" aka") :_("Name"));
> > +      fprintf (fp, _("%s ......: "), idx ? _(" aka") :_("Name"));
> 
> Nothing to translate in the first string.

As "..." is used for indentation, it should be translated.

        Name ......: Foo Bar
         aka ......: Baz Bar
        Valid from : Sat 19 Feb 2005

can be translated as

        NameInJapanese         ..: Foo Bar
         alsoKnownAsInJapanese ..: Baz Bar
        ValidFromInJapanese .....: 2005-nen 2-gatsu 19-nichi



> > -      fprintf (fp, "Internal error: can't create gpgme context: %s\n",
> > +      fprintf (fp, _("Internal error: can't create gpgme context: %s\n"),
> 
> Is it worthwhile to translate internal errors? If it's something that
> users can be expected to see, should the "Internal error" be dropped
> from the error message?

Reading this message, a user will know that the error is
not his fault but developers' fault (of either mutt or gpgme).
So, "Internal error" is valid IMHO.

-- 
tamo