From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DNS_FROM_AHBL_RHSBL, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=3tJ17C9/HTbmFl2qsR8SKTymCjMepXJhxHDjfOWgYVs=; b=v9ysrl4ih0dpGj49dLD9DTBDZbFmnUpmsVp6CVTRfUtmlOX8EXQRHhqUjXnyuOejDR 8y2sPFEEstyc+NmKzuCuZpaZcN2QbkxCalfzf+1vh4qYqa4vf4wGnvESGKHsnEd1n3mf tywO5S99E6OVW4NucShS0dI8pQb6KU9FmZIDonIL7AFogiHmXU0wXhonpCbKLW6F9q+A vDNYEyAy4/G8ZXL52FfCOPSTN8LYMt/d/62UbfD5O6rMJsZEid2d9zXzabejOnXbOiDJ LlH8StWXcURgvcuSoIvbALZJIsvNgDqOBpC9NN11kHVSD1mMq/8pqRx/qRgTcxKmaGRt tiFw== MIME-Version: 1.0 X-Received: by 10.180.39.203 with SMTP id r11mr11871209wik.67.1425084020347; Fri, 27 Feb 2015 16:40:20 -0800 (PST) In-Reply-To: <8442457.ldi7CfAU2m@xps> References: <8442457.ldi7CfAU2m@xps> Date: Sat, 28 Feb 2015 04:40:20 +0400 Message-ID: From: Alexander Potashev To: KDE russian translation mailing list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [kde-russian] Fwd: automatic translator for dolphin service menu .desktop files X-BeenThere: kde-russian@lists.kde.ru X-Mailman-Version: 2.1.12 Precedence: list Reply-To: KDE russian translation mailing list List-Id: KDE russian translation mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 00:40:25 -0000 Archived-At: List-Archive: =D0=AE=D1=80=D0=B0, =D0=90 =D0=BF=D0=BE=D1=87=D0=B5=D0=BC=D1=83 =D0=BD=D0=B5=D0=BB=D1=8C=D0=B7= =D1=8F =D0=B1=D1=8B=D0=BB=D0=BE =D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D1=8B = =D0=B8=D0=B7 Scripty =D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2= =D0=B0=D1=82=D1=8C? --=20 Alexander Potashev ---------- Forwarded message ---------- From: Albert Astals Cid 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 dire= ct > 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]+*\]=3D" on my system are the following keys http://websvn.kde.org/trunk/l10n-kf5/scripts/createdesktopcontext.pl?view= =3Dmarkup Creates a .po from a .desktop http://websvn.kde.org/trunk/l10n-kf5/scripts/applycontext.cpp?view=3Dmarkup 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