[Goodies-commits] r2664 - in xfce4-places-plugin/trunk: . panel-plugin po
Diego Ongaro
ongardie at xfce.org
Thu Apr 5 10:38:37 CEST 2007
Author: ongardie
Date: 2007-04-05 08:38:37 +0000 (Thu, 05 Apr 2007)
New Revision: 2664
Added:
xfce4-places-plugin/trunk/po/de.po
Modified:
xfce4-places-plugin/trunk/ChangeLog
xfce4-places-plugin/trunk/configure.ac
xfce4-places-plugin/trunk/panel-plugin/Makefile.am
xfce4-places-plugin/trunk/panel-plugin/places.c
xfce4-places-plugin/trunk/po/LINGUAS
Log:
2007-04-05 Diego Ongaro <ongardie at gmail.com>
* Started trying to work with i18n
but I need help with it...
Modified: xfce4-places-plugin/trunk/ChangeLog
===================================================================
--- xfce4-places-plugin/trunk/ChangeLog 2007-04-05 06:46:29 UTC (rev 2663)
+++ xfce4-places-plugin/trunk/ChangeLog 2007-04-05 08:38:37 UTC (rev 2664)
@@ -1,8 +1,13 @@
-2007-03-25 Diego Ongaro ongardie at gmail.com
+2007-04-05 Diego Ongaro <ongardie at gmail.com>
+ * Started trying to work with i18n
+ but I need help with it...
+
+2007-03-25 Diego Ongaro <ongardie at gmail.com>
+
* Fixed bug 3053 (Plugin doesn't launch thunar) by dropping "/usr/bin/"
* Fixed bug 3027 (Places menu showing %20) by copying glib code
-2007-03-14 Diego Ongaro ongardie at gmail.com
+2007-03-14 Diego Ongaro <ongardie at gmail.com>
* initial beta release, packaged outside svn
Modified: xfce4-places-plugin/trunk/configure.ac
===================================================================
--- xfce4-places-plugin/trunk/configure.ac 2007-04-05 06:46:29 UTC (rev 2663)
+++ xfce4-places-plugin/trunk/configure.ac 2007-04-05 08:38:37 UTC (rev 2664)
@@ -14,13 +14,13 @@
AM_MAINTAINER_MODE()
dnl check for basic programs
-AC_PROG_CC()
-AC_PROG_LD()
-AC_PROG_INSTALL()
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
AC_PROG_INTLTOOL()
dnl check for i18n support
-XDT_I18N([])
+XDT_I18N([de])
dnl check for required packages
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
Modified: xfce4-places-plugin/trunk/panel-plugin/Makefile.am
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/Makefile.am 2007-04-05 06:46:29 UTC (rev 2663)
+++ xfce4-places-plugin/trunk/panel-plugin/Makefile.am 2007-04-05 08:38:37 UTC (rev 2664)
@@ -1,12 +1,5 @@
-INCLUDES = \
- -I$(top_srcdir) \
- -DG_LOG_DOMAIN=\"xfce4-places-plugin\" \
- -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
- $(PLATFORM_CPPFLAGS)
+plugindir = $(libexecdir)/xfce4/panel-plugins
-plugindir = \
- $(libexecdir)/xfce4/panel-plugins
-
plugin_PROGRAMS = \
xfce4-places-plugin
@@ -16,6 +9,9 @@
places.c
xfce4_places_plugin_CFLAGS = \
+ -I$(top_builddir) \
+ -I$(top_srcdir) \
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
$(GTK_CFLAGS) \
$(LIBXFCE4UTIL_CFLAGS) \
$(LIBXFCEGUI4_CFLAGS) \
@@ -27,6 +23,7 @@
$(LIBXFCEGUI4_LIBS) \
$(LIBXFCE4PANEL_LIBS)
+
#
# Desktop file
#
Modified: xfce4-places-plugin/trunk/panel-plugin/places.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/places.c 2007-04-05 06:46:29 UTC (rev 2663)
+++ xfce4-places-plugin/trunk/panel-plugin/places.c 2007-04-05 08:38:37 UTC (rev 2664)
@@ -55,14 +55,17 @@
places_construct(XfcePanelPlugin *plugin)
{
DBG ("Construct: %s", PLUGIN_NAME);
+
+ xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
+ DBG("GETTXT_PACKAGE: %s", GETTEXT_PACKAGE);
+ DBG("PACKAGE_LOCALE_DIR: %s", PACKAGE_LOCALE_DIR);
+
PlacesData *pd = panel_slice_new0(PlacesData);
pd->plugin = plugin;
places_init_bookmarks(pd);
places_init_ui(pd);
- //xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
-
g_signal_connect (pd->panel_button, "button-release-event",
G_CALLBACK (places_cb_button_act), NULL);
@@ -109,15 +112,15 @@
g_strdup(home_dir), "gnome-fs-home"));
// Trash
- g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo("Trash",
+ g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo(_("Trash"),
"trash:///", "gnome-fs-trash-full"));
// Desktop
- g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo("Desktop",
+ g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo(_("Desktop"),
g_build_filename(home_dir, "Desktop", NULL), "gnome-fs-desktop"));
// File System (/)
- g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo("File System",
+ g_ptr_array_add(pd->bookmarks_system, places_construct_BookmarkInfo(_("File System"),
"/", "gnome-dev-harddisk"));
}
Modified: xfce4-places-plugin/trunk/po/LINGUAS
===================================================================
--- xfce4-places-plugin/trunk/po/LINGUAS 2007-04-05 06:46:29 UTC (rev 2663)
+++ xfce4-places-plugin/trunk/po/LINGUAS 2007-04-05 08:38:37 UTC (rev 2664)
@@ -1 +1,2 @@
# set of available languages (in alphabetic order)
+de
Added: xfce4-places-plugin/trunk/po/de.po
===================================================================
--- xfce4-places-plugin/trunk/po/de.po (rev 0)
+++ xfce4-places-plugin/trunk/po/de.po 2007-04-05 08:38:37 UTC (rev 2664)
@@ -0,0 +1,45 @@
+# German translations for xfce4-places-plugin package.
+# Copyright (C) 2007 THE xfce4-places-plugin'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xfce4-places-plugin package.
+# Automatically generated, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-places-plugin 0.0.9\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-03-31 23:29-0500\n"
+"PO-Revision-Date: 2007-03-31 23:29-0500\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: none\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ASCII\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Trash
+# translation from Thunar
+#: ../panel-plugin/places.c:112
+msgid "Trash"
+msgstr "Papierkorb"
+
+#. Desktop
+# translation (or lack thereof) from GNOME
+#: ../panel-plugin/places.c:116
+msgid "Desktop"
+msgstr "Desktop"
+
+#. File System (/)
+# translation from Thunar
+#: ../panel-plugin/places.c:120
+msgid "File System"
+msgstr "Dateisystem"
+
+# fuzzy (babelfish says this means "Access Places")
+#: ../panel-plugin/places.desktop.in.in.h:1
+msgid "A file browser launcher with quick access to bookmarks."
+msgstr "Auf Orte zugreifen"
+
+# translation from GNOME
+#: ../panel-plugin/places.desktop.in.in.h:2
+msgid "Places"
+msgstr "Orte"
More information about the Goodies-commits
mailing list