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

List:       kde-i18n-doc
Subject:    Re: Double slash in \n?
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-09-28 12:04:18
Message-ID: 200509281404.18940.nicolasg () snafu ! de
[Download RAW message or body]

On Wednesday 28 September 2005 11:58, Rinse de Vries wrote:
> Hi,
>
> While translating libtaskbar from kdebase, i found this string:
>
> #. i18n: file taskbar.kcfg line 12
> #: rc.cpp:6
> #, no-c-format
> Turning this option off will cause the taskbar to display <b>only</b>
> the windows on the current desktop. \\n\\nBy default, this option is
> selected and all windows are shown.
>
> The \\n look like line ends, but why do they use double slashes?

Because the line ends are given as \n in the XML file and not as real new 
lines. (So the \ is escaped as \\ .)

>
> Kind regards, Rinse

Have a nice day!

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

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