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

List:       kde-i18n-doc
Subject:    Re: check-tp-kde errors (was XML errrors)
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2010-05-31 7:47:45
Message-ID: 201005310947.48560.caslav.ilic () gmx ! net
[Download RAW message or body]


> [: Alexander Potashev :]
> But how may it work when you have "&lt;" along with accelerators in one
> string? (I've never seen that, but you can imagine...)
> [...]
> This string even has an accelerator:
> http://l10n.kde.org/dictionary/search-translations.php?package=playground-sdk&amp;fi \
> lename=quanta.po&amp;teamcode=ru&amp;search=Paste+%26HTML+Quoted&amp;submitted=Search
> 

It is unfortunate that & is the accelerator marker in Qt, but such as it is,
the rule is this: single raw & in proper accelerator marker position is
allowed, and all other & that are not entity starters must be written as
&amp;. So, the equivalent of the example above would be:

  Insert &replacing "&lt;" with "&amp;&amp;lt;"

(One *could* write even the accelerator marker as &amp;, to have it really
really clean, but that would be going a bit overboard.)


-- 
Chusslove Illich (Часлав Илић)
Serbian KDE translation team


["signature.asc" (application/pgp-signature)]

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

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