[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Questions about KUIT [was: Re: Questions about kpilot.pot]
From:       Yukiko Bando <ybando () k6 ! dion ! ne ! jp>
Date:       2007-08-27 15:42:49
Message-ID: 200708280042.49259.ybando () k6 ! dion ! ne ! jp
[Download RAW message or body]

Chusslove Illich wrote:
> > [: Yukiko Bando :]
> > So, KUIT tags can not be used in messages with no context marker and no
> > HTML/Qt tags in msgid?
> 
> KUIT tags can be used anywhere, it is only the question of how i18n will
> transform them into visual formatting. Thus:
> 
>   # no msgctxt
>   msgid "A file or folder named %1 already exists."
>   msgstr "A file or folder named <filename>%1</filename> already exists."
> 
>   -> "A file or folder named ‘foo’ already exists."
>      (plain text)
> 
>   # no msgctxt
>   msgid "A file or folder named %1 already exists."
>   msgstr "<qt>A file or folder named <filename>%1</filename> already exists.</qt>"
> 
>   -> "<qt>A file or folder named <tt>foo</tt> already exists.</qt>"
>      (rich due to <qt>)
> 
>   msgctxt "@info"
>   msgid "A file or folder named %1 already exists."
>   msgstr "A file or folder named <filename>%1</filename> already exists."
> 
>   -> "<qt>A file or folder named <tt>foo</tt> already exists.</qt>"
>      (rich due to @info)

I see. With no indication of rich text, i18n still uses KUIT's formatting for
plain text (defined in kdelibs4.po), not display <filename> as is. :)
 
> > [: Yukiko Bando :]
> > And if I replace all HTML tags with KUIT's in a message with no context
> > marker and no <qt></qt>, I need to add <qt></qt> in msgstr, right?
> 
> Right, or else any KUIT tag is formatted in plain text.

OK. Thanks for the explanation.

Yukiko
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic