pixelb / fslint

Linux file system lint checker/cleaner
319 stars 72 forks source link

Patch for improving FSLint launcher (fslint.desktop) name and keywords #86

Open pixelb opened 9 years ago

pixelb commented 9 years ago

Original issue 87 created by pixelb on 2013-04-18T06:37:11.000Z:

FSLint name is hard to understand for most non-US people (my friend is English teacher but she doesn't know meaning of word Lint). This patch makes launcher name easier to find for most people, especially in modern desktop environments, like GNOME Shell or Unity, where most users search software by keywords. It's very important to have Clean and Janitor keywords in Name or Comment fields. Line X-Ubuntu-Gettext-Domain=fslint adds an ability to have translated Name and Comment fields in Ubuntu Linux distribution. See for example similar bug for more info: https://bugs.launchpad.net/gpoweroff/+bug/980537

pixelb commented 9 years ago

Comment #1 originally posted by pixelb on 2013-04-18T07:05:24.000Z:

Also it would be nice if you add an ability to see translated fslint.desktop file in all operating systems - it's very easy, just rename fslint.desktop to fslint.desktop.in , change lines "Name=" to "_Name=" , "Comment=" to "_Comment=" and add fslint.desktop.in file into po/POTFILES.in (and use modern automake+autoconf instead of custom makefile) - see for example Alacarte software which is also written in python: https://git.gnome.org/browse/alacarte/tree/data/alacarte.desktop.in.in https://git.gnome.org/browse/alacarte/tree/po https://git.gnome.org/browse/alacarte/tree/Makefile.am https://git.gnome.org/browse/alacarte/tree/

Thanks for writing nice free tool :)

Mantas, Main developer of Baltix GNU/Linux operating system

pixelb commented 9 years ago

Comment #2 originally posted by pixelb on 2015-01-02T21:01:44.000Z:

most users search software by keywords

That's why desktop files have a Keywords entry. Please use this.

Line X-Ubuntu-Gettext-Domain=fslint adds an ability to have translated Name and Comment fields

This is not enough. Have a look at the patch in the gpoweroff bug report. You need to add an underscore before the name of the entry.