Gabor Kelemen has proposed merging lp:~kelemeng/activity-log-manager/bug957891 
into lp:activity-log-manager.

Requested reviews:
  Activity Log Manager (activity-log-manager)
Related bugs:
  Bug #957891 in Activity Log Manager: "Diagnostics tab i18n problems in a-l-m"
  https://bugs.launchpad.net/activity-log-manager/+bug/957891

For more details, see:
https://code.launchpad.net/~kelemeng/activity-log-manager/bug957891/+merge/98054
-- 
https://code.launchpad.net/~kelemeng/activity-log-manager/bug957891/+merge/98054
Your team Activity Log Manager is requested to review the proposed merge of 
lp:~kelemeng/activity-log-manager/bug957891 into lp:activity-log-manager.
=== modified file 'po/POTFILES.in'
--- po/POTFILES.in	2012-03-01 21:26:12 +0000
+++ po/POTFILES.in	2012-03-17 13:05:18 +0000
@@ -2,6 +2,7 @@
 data/activity-log-manager.desktop.in
 src/activity-log-manager.vala
 src/alm.vala
+src/alm-cc.c
 src/blacklist-dbus.vala
 src/applications-widget.vala
 src/files-widget.vala

=== modified file 'src/alm-cc.c'
--- src/alm-cc.c	2012-02-21 23:14:24 +0000
+++ src/alm-cc.c	2012-03-17 13:05:18 +0000
@@ -16,9 +16,10 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.";
  */
 
+#include "config.h"
+#include <glib/gi18n-lib.h>
 #include <gtk/gtk.h>
 #include <libgnome-control-center/cc-panel.h>
-#include "config.h"
 
 extern void* alm_activity_log_manager_new (void);
 #ifdef HAVE_WHOOPSIE
@@ -59,7 +60,7 @@
   GtkWidget *widget = GTK_WIDGET (alm_activity_log_manager_new ());
 #ifdef HAVE_WHOOPSIE
   GtkWidget *whoopsie = GTK_WIDGET (whoopsie_daisy_preferences_new ());
-  alm_activity_log_manager_append_page (widget, whoopsie, "Diagnostics");
+  alm_activity_log_manager_append_page (widget, whoopsie, _("Diagnostics"));
 #endif
   gtk_widget_show_all (widget);
   gtk_container_add (GTK_CONTAINER (self), widget);

=== modified file 'src/diagnostics-widget.c'
--- src/diagnostics-widget.c	2012-02-21 23:37:33 +0000
+++ src/diagnostics-widget.c	2012-03-17 13:05:18 +0000
@@ -142,6 +142,7 @@
     priv = self->priv = WHOOPSIE_DAISY_PREFERENCES_PRIVATE (self);
     
     priv->builder = gtk_builder_new ();
+    gtk_builder_set_translation_domain (priv->builder, GETTEXT_PACKAGE);
     gtk_builder_add_from_file(priv->builder, GNOMECC_UI_DIR "/whoopsie.ui", &error);
     if (error != NULL) {
         g_warning ("Could not load interface file: %s", error->message);

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to