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

List:       kde-i18n-doc
Subject:    Re: Context strings for entries in .desktop file
From:       Caslav Ilic <caslav.ilic () gmx ! net>
Date:       2011-05-21 20:21:08
Message-ID: 201105212221.12857.caslav.ilic () gmx ! net
[Download RAW message or body]


> [: Alexander Potashev :]
> Is it possible to add contexts to .desktop files?

Yes. One adds # ctxt: ... comment in the line before the variable. E.g. in
dolphin/src/settings/kcm/kcmdolphingeneral.desktop:

  ...
  X-KDE-ParentApp=kcontrol
  X-DocPath=dolphin/index.html#preferences-dialog-general
  # ctxt: Random file browsing settings.
  Name=General
  Name[ar]=ﻉﺎﻣ
  Name[ast]=Dolphin xeneral
  ...

In the PO file it appears as:

  msgctxt "Name|Random file browsing settings."
  msgid "General"


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