← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH 3/5] Clean up the applications/*.destop files.

 

Committed with cleanups.

I used application/x-gerber and application/x-excellon for Gerber and Excellon
formats. There is a bit of disagreement over the proper MIME types for those,
but those are what gerbv uses, so we might as well not be different just for
the sake of it. We should probably add an association between the mime type and
the usual extensions as well, as I don't think those are generally recognized -
not sure how to do that, perhaps you could follow up?

We should reach out to the translators directly for translations.

I've attached a diff from your version to mine so you can see what I changed.
You did the bulk of the work, so I still credited you.

On Sun, May 29, 2016 at 06:30:40PM -0500, José Ignacio Romero wrote:
> 
> Put all keys in consistent order and remove/fix bogus mime types, some
> assigned to programs that don't even open files. Those files could use
> some TLC from translators and people better at words than me to
> improve the wording and provide translated names and tooltips, I
> preserved some of the french that was already in the files.
> ---
>  .../linux/mime/applications/bitmap2component.desktop     | 12 ++++++------
>  resources/linux/mime/applications/eeschema.desktop       | 16 +++++++++-------
>  resources/linux/mime/applications/gerbview.desktop       | 13 +++++++------
>  resources/linux/mime/applications/kicad.desktop          | 14 ++++++++------
>  resources/linux/mime/applications/pcbcalculator.desktop  | 14 +++++++-------
>  resources/linux/mime/applications/pcbnew.desktop         | 15 ++++++++-------
>  6 files changed, 45 insertions(+), 39 deletions(-)
> 

diff --git a/resources/linux/mime/applications/eeschema.desktop b/resources/linux/mime/applications/eeschema.desktop
index b0d0c14..9820f2c 100644
--- a/resources/linux/mime/applications/eeschema.desktop
+++ b/resources/linux/mime/applications/eeschema.desktop
@@ -9,5 +9,5 @@ MimeType=application/x-kicad-schematic;
 Name=Eeschema (Standalone)
 GenericName=Electronic schematic capture
 GenericName[fr]=Saisie de schéma électronique
-Comment=Design an electronic schematic (Standalone)
+Comment=KiCad electronic schematic design (standalone)
 Comment[fr]=Dessiner des schémas électroniques (Standalone)
diff --git a/resources/linux/mime/applications/gerbview.desktop b/resources/linux/mime/applications/gerbview.desktop
index 289915c..aa23bb3 100644
--- a/resources/linux/mime/applications/gerbview.desktop
+++ b/resources/linux/mime/applications/gerbview.desktop
@@ -5,7 +5,7 @@ Icon=gerbview
 Type=Application
 Categories=Development;Electronics;
 Exec=gerbview
-# MimeType= # XXX: association to gerber files?
+MimeType=application/x-gerber;application/x-excellon
 Name=GerbView
 GenericName=Gerber File Viewer
-Comment=View gerber files
+Comment=View Gerber files
diff --git a/resources/linux/mime/applications/kicad.desktop b/resources/linux/mime/applications/kicad.desktop
index a38b534..25e0877 100644
--- a/resources/linux/mime/applications/kicad.desktop
+++ b/resources/linux/mime/applications/kicad.desktop
@@ -8,6 +8,6 @@ Exec=kicad %f
 MimeType=application/x-kicad-project;
 Name=KiCad
 GenericName=EDA Suite
-Comment=Electronic Design Automation Suite
+Comment=Electronic Design Automation suite
 Comment[fr]=Suite logicielle de conception électronique
 X-Desktop-File-Install-Version=0.22
diff --git a/resources/linux/mime/applications/pcbcalculator.desktop b/resources/linux/mime/applications/pcbcalculator.desktop
index af352d2..a304da4 100644
--- a/resources/linux/mime/applications/pcbcalculator.desktop
+++ b/resources/linux/mime/applications/pcbcalculator.desktop
@@ -7,4 +7,4 @@ Categories=Development;Electronics;
 Exec=pcb_calculator
 Name=PCB Calculator
 GenericName=PCB Calculator
-Comment=Calculator for various electronics related computations
+Comment=Calculator for various electronics-related computations
diff --git a/resources/linux/mime/applications/pcbnew.desktop b/resources/linux/mime/applications/pcbnew.desktop
index 2253675..b4eb880 100644
--- a/resources/linux/mime/applications/pcbnew.desktop
+++ b/resources/linux/mime/applications/pcbnew.desktop
@@ -7,5 +7,5 @@ Categories=Development;Electronics;
 Exec=pcbnew %f
 MimeType=application/x-kicad-pcb;
 Name=Pcbnew (Standalone)
-GenericName=PCB Layout Program
-Comment=KiCADs Printed Circuit Board Layout Program (Standalone)
+GenericName=PCB layout
+Comment=KiCad printed circuit board layout (standalone)

Follow ups

References