From 921e0c345fcab1b037fe0d1a447f72f7a32ebb75 Mon Sep 17 00:00:00 2001 From: bert Date: Sat, 25 Jan 2014 20:01:17 +0100 Subject: [PATCH 1/1] Let appdata have translatable strings. Signed-off-by: bert --- data/Makefile.am | 4 +++- data/pcb.appdata.xml | 33 --------------------------------- data/pcb.appdata.xml.in | 33 +++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 4 files changed, 37 insertions(+), 34 deletions(-) delete mode 100644 data/pcb.appdata.xml create mode 100644 data/pcb.appdata.xml.in diff --git a/data/Makefile.am b/data/Makefile.am index 6ba2a42..1461680 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -42,8 +42,10 @@ desktopdir=$(xdgdatadir)/applications desktop_in_files = pcb.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +@INTLTOOL_XML_RULE@ appdatadir = $(datadir)/appdata -dist_appdata_DATA = pcb.appdata.xml +appdata_DATA = $(appdata_in_files:.xml.in=.xml) +appdata_in_files = pcb.appdata.xml.in @INTLTOOL_DESKTOP_RULE@ diff --git a/data/pcb.appdata.xml b/data/pcb.appdata.xml deleted file mode 100644 index 21dcada..0000000 --- a/data/pcb.appdata.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - gnome-power-statistics.desktop - GFDL - -

- PCB is an interactive printed circuit board editor for Unix, Linux, - Windows, and Mac systems. -

-

- PCB includes a rats nest feature and schematic/netlist import, - design rule checking, and can provide industry standard RS-274X - (Gerber), NC drill, and centroid data (X-Y data) output for use in - the board fabrication and assembly process, as well as - photorealistic and design review images. -

-

- PCB offers high end features such as an autorouter and trace - optimizer which can tremendously reduce layout time. -

-

- For custom requirements, PCB offers a plug-in API for inserting - new functionality and using that functionality from within the GUI - as well as in scripts. -

-
- - http://wiki.geda-project.org/_media/geda:screenshot_pcb_thumb.png - - http://pcb.geda-project.org/ - bert.timmerman@xs4all.nl -
diff --git a/data/pcb.appdata.xml.in b/data/pcb.appdata.xml.in new file mode 100644 index 0000000..2fa637b --- /dev/null +++ b/data/pcb.appdata.xml.in @@ -0,0 +1,33 @@ + + + + gnome-power-statistics.desktop + GFDL + + <_p> + PCB is an interactive printed circuit board editor for Unix, Linux, + Windows, and Mac systems. + + <_p> + PCB includes a rats nest feature and schematic/netlist import, + design rule checking, and can provide industry standard RS-274X + (Gerber), NC drill, and centroid data (X-Y data) output for use in + the board fabrication and assembly process, as well as + photorealistic and design review images. + + <_p> + PCB offers high end features such as an autorouter and trace + optimizer which can tremendously reduce layout time. + + <_p> + For custom requirements, PCB offers a plug-in API for inserting + new functionality and using that functionality from within the GUI + as well as in scripts. + + + + http://wiki.geda-project.org/_media/geda:screenshot_pcb_thumb.png + + http://pcb.geda-project.org/ + bert.timmerman@xs4all.nl + diff --git a/po/POTFILES.in b/po/POTFILES.in index 7b09868..4a4300f 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,4 @@ +data/pcb.appdata.xml.in data/pcb.desktop.in data/pcb.xml.in data/x-excellon.desktop.in -- 1.7.3.4