Bug 3550

Summary: [i18n] .desktop files should be generated and translated, instead of being statically checked in
Product: Claws Mail (GTK 2) Reporter: khazarian
Component: UI/TranslationsAssignee: users
Status: RESOLVED PATCHESWELCOME    
Severity: enhancement    
Priority: P3    
Version: 3.13.1   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Use intltool to translate strings in desktop file none

Description khazarian 2015-10-23 07:33:49 UTC
TODO: make a claws-mail.desktop.in file that is translated and used to generate the *.desktop files instead of having them statically checked into the source repo.

From: https://bugs.launchpad.net/wicd/+bug/1404142
Comment 1 Ricardo Mones 2015-10-23 10:14:18 UTC
The desktop file is not a fast moving target like the application interface, it's just a one-time translation effort, which would only need review if the specification changes a lot, which seems unlikely.

FWIW I'm happy adding new strings, but if you have a clean patch fixing this, let me know.
Comment 2 rezso 2015-10-23 17:28:21 UTC
Created attachment 1584 [details]
Use intltool to translate strings in desktop file

I made this patch based on latest git source.
Currently the GenericName, Comment, [Desktop Action ComposeMail] Name and [Desktop Action SendFile] Name translations will be lost after this patch, because these strings are missing in the .pot file.
Comment 3 Paul 2015-10-23 17:51:40 UTC
las time we tried intltool it was missing support for, iirc, 'distdir' and created a nice mess.
Comment 4 rezso 2015-10-23 21:16:21 UTC
And now?
It work fine for me, with „normal” build.