From 43a4ebc583bda5d2bc30c9d91b72fb3c184712c2 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 6 Aug 2009 19:20:06 +0200
Subject: [PATCH] make atom pubsub widget translated

---
 src/atom_window.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/atom_window.py b/src/atom_window.py
index a9ce998b3f..e99d4d1d29 100644
--- a/src/atom_window.py
+++ b/src/atom_window.py
@@ -105,14 +105,13 @@ class AtomWindow:
 		''' We display number of events on the top of window, sometimes it needs to be
 		changed...'''
 		count = len(self.__class__.entries)
-		# TODO: translate
 		if count>0:
-			self.new_entry_label.set_text( \
-				'You have received new entries (and %(count)d not displayed):' % \
+			self.new_entry_label.set_text(
+				_('You have received new entries (and %(count)d not displayed):') %\
 				{'count': count})
 			self.next_button.set_sensitive(True)
 		else:
-			self.new_entry_label.set_text('You have received new entry:')
+			self.new_entry_label.set_text(_('You have received new entry:'))
 			self.next_button.set_sensitive(False)
 
 	def on_close_button_clicked(self, widget):
-- 
GitLab