From: Alexander Potashev <aspotashev@gmail.com> To: KDE russian translation mailing list <kde-russian@lists.kde.ru> Subject: [kde-russian] Fwd: automatic translator for dolphin service menu .desktop files Date: Sat, 28 Feb 2015 04:40:20 +0400 Message-ID: <CADMG6+_LtPvwAR0zeAdquoW2SAGdmF+dzsee1t4HHfxkOkApgw@mail.gmail.com> (raw) In-Reply-To: <8442457.ldi7CfAU2m@xps> Юра, А почему нельзя было скрипты из Scripty использовать? -- Alexander Potashev ---------- Forwarded message ---------- From: Albert Astals Cid <aacid@kde.org> Date: 2015-02-28 2:14 GMT+03:00 Subject: Re: automatic translator for dolphin service menu .desktop files To: kde-devel@kde.org El Divendres, 27 de febrer de 2015, a les 14:58:03, Helmy va escriure: > Hello, > i have been looking before writing one if there was a tool out there that > would automatically translate user text keys in Dolphin service menus or > .desktop files in general to other languages using something like google > translate API You're aware that the tems of Google Translate most probably don't let you release that translation under a Free License, right? > or preferably a good offline translation, to help anyone > writing a new service menu to offer multiple translations effortlessly > especially when there are a lot of menu items > > i have searched for a while and couldn't find any > in the case if there was none i would like to write one, can someone direct > me to where i can find a full list of all the user text keys used by KDE > inside .desktop files so they would only be translated > so far what i have gathered by running grep -Er --include "*.desktop" > "\[[a-zA-Z]+*\]=" on my system are the following keys http://websvn.kde.org/trunk/l10n-kf5/scripts/createdesktopcontext.pl?view=markup Creates a .po from a .desktop http://websvn.kde.org/trunk/l10n-kf5/scripts/applycontext.cpp?view=markup Merges it back There's also a few helpers for those in the scripts folder. Cheers, Albert > > name > GenericName > Comment > Description > DateFormat > DateFormatShort > TimeFormat > X-KDE-Submenu > X-KDE-Keywords > Keywords > X-GNOME-FullName
next prev parent reply other threads:[~2015-02-28 0:40 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-27 16:19 ` Yuri Chornoivan 2015-02-28 0:40 ` Alexander Potashev [this message] 2015-02-28 7:02 ` Yuri Chornoivan
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CADMG6+_LtPvwAR0zeAdquoW2SAGdmF+dzsee1t4HHfxkOkApgw@mail.gmail.com \ --to=aspotashev@gmail.com \ --cc=kde-russian@lists.kde.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
рассылка русскоязычной группы пользователей и разработчиков KDE This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \ kde-russian@lists.kde.ru public-inbox-index kde-russian Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.kde-russian AGPL code for this site: git clone https://public-inbox.org/public-inbox.git