Bug 3550 - [i18n] .desktop files should be generated and translated, instead of being statically checked in
Summary: [i18n] .desktop files should be generated and translated, instead of being st...
Status: RESOLVED PATCHESWELCOME
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Translations (show other bugs)
Version: 3.13.1
Hardware: All Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-10-23 07:33 UTC by khazarian
Modified: 2015-10-23 21:16 UTC (History)
0 users

See Also:


Attachments
Use intltool to translate strings in desktop file (5.35 KB, patch)
2015-10-23 17:28 UTC, rezso
no flags Details | Diff

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.

Note You need to log in before you can comment on or make changes to this bug.