← Back to team overview

kicad-developers team mailing list archive

Mimetype and desktop

 

Hi,

Here are patches and files to frenchify desktop files and mimetype and to add a 
mimetype for pcbnew.

pcbnew.desktop have to be add in ressources/linux/mime/applications, 
x-kicad-pcbnew.desktop in ressources/linux/mime/mimelink/application.

Regards
-- 
Les pages de manuel Linux en français
http://manpagesfr.free.fr

Attachment: pcbnew.desktop
Description: application/desktop

Attachment: x-kicad-pcbnew.desktop
Description: application/desktop

diff -ru kicad-2010.05.05/resources/linux/mime/applications/eeschema.desktop kicad-2010.05.05-desktop/resources/linux/mime/applications/eeschema.desktop
--- kicad-2010.05.05/resources/linux/mime/applications/eeschema.desktop	2010-05-09 14:12:18.000000000 +0200
+++ kicad-2010.05.05-desktop/resources/linux/mime/applications/eeschema.desktop	2010-05-09 17:11:07.000000000 +0200
@@ -1,8 +1,10 @@
 [Desktop Entry]
 Categories=Development;Electronics
-Comment=Design a printed circuit board.
+Comment=Design an electronic schematic
+Comment[fr]=Dessiner des schémas électroniques
 Exec=eeschema
-GenericName=EDA Suite
+GenericName=Electronic schematic design
+GenericName[fr]=Saisie de schéma électronique
 Icon=eeschema
 MimeType=application/x-kicad-schematic;
 Name=Eeschema
diff -ru kicad-2010.05.05/resources/linux/mime/applications/kicad.desktop kicad-2010.05.05-desktop/resources/linux/mime/applications/kicad.desktop
--- kicad-2010.05.05/resources/linux/mime/applications/kicad.desktop	2010-05-09 14:12:18.000000000 +0200
+++ kicad-2010.05.05-desktop/resources/linux/mime/applications/kicad.desktop	2010-05-09 15:28:07.000000000 +0200
@@ -1,8 +1,10 @@
 [Desktop Entry]
 Categories=Development;Electronics
-Comment=Design a printed circuit board.
+Comment=Design a printed circuit board
+Comment[fr]=Concevoir un circuit imprimé
 Exec=kicad
 GenericName=EDA Suite
+GenericName[fr]=Suite logicielle de conception électronique
 Icon=kicad
 MimeType=application/x-kicad-project;
 Name=KiCad
diff -ru kicad-2010.05.05/resources/linux/mime/mime/packages/kicad.xml kicad-2010.05.05-mimetype/resources/linux/mime/mime/packages/kicad.xml
--- kicad-2010.05.05/resources/linux/mime/mime/packages/kicad.xml	2010-05-09 14:12:18.000000000 +0200
+++ kicad-2010.05.05-mimetype/resources/linux/mime/mime/packages/kicad.xml	2010-05-09 15:35:42.000000000 +0200
@@ -3,11 +3,19 @@
 	<mime-type type="application/x-kicad-project">
 		<sub-class-of type="text/plain"/>
 		<comment>KiCad Project</comment>
+		<comment xml:lang="fr">Projet KiCad</comment>
 		<glob pattern="*.pro"/>
 	</mime-type>
 	<mime-type type="application/x-kicad-schematic">
 		<sub-class-of type="text/plain"/>
 		<comment>KiCad Schematic</comment>
+		<comment xml:lang="fr">Schéma électronique KiCad</comment>
 		<glob pattern="*.sch"/>
 	</mime-type>
+	<mime-type type="application/x-kicad-pcbnew">
+		<sub-class-of type="text/plain"/>
+		<comment>KiCad PCB</comment>
+		<comment xml:lang="fr">Circuit imprimé KiCad</comment>
+		<glob pattern="*.brd"/>
+	</mime-type>
 </mime-info>
diff -ru kicad-2010.05.05/resources/linux/mime/mimelnk/application/x-kicad-project.desktop kicad-2010.05.05-mimetype/resources/linux/mime/mimelnk/application/x-kicad-project.desktop
--- kicad-2010.05.05/resources/linux/mime/mimelnk/application/x-kicad-project.desktop	2010-05-09 14:12:18.000000000 +0200
+++ kicad-2010.05.05-mimetype/resources/linux/mime/mimelnk/application/x-kicad-project.desktop	2010-05-09 15:31:31.000000000 +0200
@@ -1,7 +1,7 @@
-
 [Desktop Entry]
 Type=MimeType
 MimeType=application/x-kicad-project
 Icon=kicad
 Patterns=*.pro
 Comment=KiCad Project
+Comment[fr]=Projet KiCad
diff -ru kicad-2010.05.05/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop kicad-2010.05.05-mimetype/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop
--- kicad-2010.05.05/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop	2010-05-09 14:12:18.000000000 +0200
+++ kicad-2010.05.05-mimetype/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop	2010-05-09 15:32:16.000000000 +0200
@@ -1,7 +1,7 @@
-
 [Desktop Entry]
 Type=MimeType
 MimeType=application/x-kicad-schematic
 Icon=eeschema
 Patterns=*.sch
 Comment=KiCad Schematic
+Comment[fr]=Schéma électronique KiCad

Attachment: signature.asc
Description: This is a digitally signed message part.


Follow ups