On 09/01/14 13:48, Osamu Aoki wrote:
> PS: I also wonder if there is some generic script to update *.desktop
> files using PO files.

GNOME uses intltool for this. Look at how gnome-terminal generates its
.desktop file, for instance: gnome-terminal.desktop.in.in (the actual
source) does not contain any translations at all, and strings from
po/*.po are merged into it at build-time.

(You might only need one layer of ".in" if the .desktop file contains
hard-coded paths, but in general you'll need one layer for intltool, and
one for Automake substitutions like @bindir@, hence ".in.in".)

    S


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52ceb8ba.8040...@debian.org

Reply via email to