From a8a21e423fa804610b8a6d276f7bd86f66f1e27a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 11 Apr 2010 16:47:20 +0200 Subject: Add basic translated .desktop file and update POTFILES accordingly --- configure.ac | 1 + data/Makefile.am | 12 +++++++++++- data/sbmanager.desktop.in.in | 8 ++++++++ po/POTFILES.in | 1 + po/POTFILES.skip | 1 + po/de.po | 10 +++++++++- po/fr.po | 10 +++++++++- 7 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 data/sbmanager.desktop.in.in create mode 100644 po/POTFILES.skip diff --git a/configure.ac b/configure.ac index 31abffe..022fc88 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,7 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_OUTPUT([ Makefile data/Makefile +data/sbmanager.desktop.in src/Makefile po/Makefile.in ]) diff --git a/data/Makefile.am b/data/Makefile.am index ff4596b..359018b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -4,4 +4,14 @@ PIX = background.png dot.png pixmap_DATA = $(PIX) -EXTRA_DIST = $(pixmap_DATA) +desktopdir = $(datadir)/applications +desktop_in_files = sbmanager.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +@INTLTOOL_DESKTOP_RULE@ + +EXTRA_DIST = \ + $(pixmap_DATA) \ + $(desktop_in_files) + +CLEANFILES = \ + $(desktop_in_files) diff --git a/data/sbmanager.desktop.in.in b/data/sbmanager.desktop.in.in new file mode 100644 index 0000000..ac3e5bc --- /dev/null +++ b/data/sbmanager.desktop.in.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Terminal=false +_Name=SpringBoard Manager +_Comment=Manage SpringBoard icons on iPhone/iPod Touch devices +Icon=sbmanager +Exec=sbmanager +Categories=GNOME;GTK;Utility; diff --git a/po/POTFILES.in b/po/POTFILES.in index 3443413..60e8d16 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,5 +1,6 @@ # List of source files containing translatable strings. # Please keep this list in alphabetic order. +data/sbmanager.desktop.in.in src/device.c src/gui.c src/iconstate.c diff --git a/po/POTFILES.skip b/po/POTFILES.skip new file mode 100644 index 0000000..1a4adaf --- /dev/null +++ b/po/POTFILES.skip @@ -0,0 +1 @@ +data/sbmanager.desktop.in diff --git a/po/de.po b/po/de.po index eb2f6d0..1f566ec 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: sbmanager 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-07 17:55+0200\n" +"POT-Creation-Date: 2010-04-11 16:35+0200\n" "PO-Revision-Date: 2010-01-18 04:30+0100\n" "Last-Translator: Nikias Bassen \n" "Language-Team: \n" @@ -15,6 +15,14 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: ../data/sbmanager.desktop.in.in.h:1 +msgid "Manage SpringBoard icons on iPhone/iPod Touch devices" +msgstr "" + +#: ../data/sbmanager.desktop.in.in.h:2 +msgid "SpringBoard Manager" +msgstr "" + #: ../src/device.c:62 ../src/device.c:223 #, c-format msgid "No device found, is it plugged in?" diff --git a/po/fr.po b/po/fr.po index 8031213..8daed37 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: sbmanager 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-07 17:55+0200\n" +"POT-Creation-Date: 2010-04-11 16:35+0200\n" "PO-Revision-Date: 2010-01-18 04:30+0100\n" "Last-Translator: Christophe Fergeau \n" "Language-Team: \n" @@ -15,6 +15,14 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: ../data/sbmanager.desktop.in.in.h:1 +msgid "Manage SpringBoard icons on iPhone/iPod Touch devices" +msgstr "" + +#: ../data/sbmanager.desktop.in.in.h:2 +msgid "SpringBoard Manager" +msgstr "" + #: ../src/device.c:62 ../src/device.c:223 #, c-format msgid "No device found, is it plugged in?" -- cgit v1.1-32-gdbae