From kde-devel Mon Jan 16 18:11:15 2012 From: Albert Astals Cid Date: Mon, 16 Jan 2012 18:11:15 +0000 To: kde-devel Subject: Re: extracting mime type comments for i18n Message-Id: <2188048.ML8UiOmJZa () xps> X-MARC-Message: https://marc.info/?l=kde-devel&m=132673767706658 El Diumenge, 15 de gener de 2012, a les 19:39:55, Robby Stephenson va = escriure: > Hi, > = > As I understand it, the proper way to define a mimetype with the > shared-mime-info framework is to use an XML file, and install it in > the xdg mime directory. How do I set up my KDE application so scripty > will pull out the mime type comments for translation? Anyone have a > working example to point to? > = > My tellico.xml mime-type file has: > > > > Tellico Data File > Datov=C3=BD soubor Tellico > Fichier Tellico > =D0=A4=D0=B0=D0=B9=D0=BB Tellico > > > > = > Obviously, some translators have already added translations, but I > don't know if they did that on their own, or if somehow scripty was > catching that. > = > I've looked over the KDE i18n documentation and haven't found > anything. Do I need to add something to my Messages.sh file to get the > comment extracted properly? At the moment scripty does not support that (xml->po->xml), it's been on my = todo for ages but never found enough time for it. If someone is interested = in = hacking in scripy i have some ideas on how to do it, just lack the time. Albert > = > Tellico still has an old x-tellico.desktop file that I install in > ${MIME_INSTALL_DIR}/application but I think that's deprecated, right? > And krazy complains about that desktop file since it isn't in proper > xdg format. > = > Thanks! > Robby > = > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib= e <<