From e960957a85cadf466ee7f600e3beb867f44e5b21 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 14 Feb 2012 20:42:32 +0100
Subject: [PATCH] fix some strings

---
 data/gui/accounts_window.ui | 2 +-
 data/gui/roster_window.ui   | 2 +-
 src/adhoc_commands.py       | 4 ++--
 src/common/optparser.py     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/data/gui/accounts_window.ui b/data/gui/accounts_window.ui
index de088497e3..8eb28ff1b2 100644
--- a/data/gui/accounts_window.ui
+++ b/data/gui/accounts_window.ui
@@ -308,7 +308,7 @@
                                     <property name="homogeneous">True</property>
                                     <child>
                                       <object class="GtkButton" id="synchronise_contacts_button1">
-                                        <property name="label" translatable="yes">Synchronise contacts</property>
+                                        <property name="label" translatable="yes">Synchronize contacts</property>
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
diff --git a/data/gui/roster_window.ui b/data/gui/roster_window.ui
index 1d222779aa..3a4ced7768 100644
--- a/data/gui/roster_window.ui
+++ b/data/gui/roster_window.ui
@@ -202,7 +202,7 @@
                     <child>
                       <object class="GtkCheckMenuItem" id="show_transports_menuitem">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">Show T_rans_ports</property>
+                        <property name="label" translatable="yes">Show T_ransports</property>
                         <property name="use_underline">True</property>
                         <signal name="activate" handler="on_show_transports_menuitem_activate"/>
                       </object>
diff --git a/src/adhoc_commands.py b/src/adhoc_commands.py
index ba0d55e214..ec05d8dbf9 100644
--- a/src/adhoc_commands.py
+++ b/src/adhoc_commands.py
@@ -99,7 +99,7 @@ class CommandWindow:
             self.stage1()
 
         # displaying the window
-        self.window.set_title('Ad-hoc Commands - Gajim')
+        self.window.set_title(_('Ad-hoc Commands - Gajim'))
         self.xml.connect_signals(self)
         self.window.show_all()
 
@@ -415,7 +415,7 @@ class CommandWindow:
                 return
             self.data_form_widget.show()
             if self.data_form_widget.title:
-                self.window.set_title('%s - Ad-hoc Commands - Gajim' % \
+                self.window.set_title(_('%s - Ad-hoc Commands - Gajim') % \
                         self.data_form_widget.title)
         else:
             self.data_form_widget.hide()
diff --git a/src/common/optparser.py b/src/common/optparser.py
index 6c120741be..f84b18a002 100644
--- a/src/common/optparser.py
+++ b/src/common/optparser.py
@@ -50,7 +50,7 @@ class OptionsParser:
         except Exception:
             if os.path.exists(self.__filename):
                 #we talk about a file
-                print _('error: cannot open %s for reading') % self.__filename
+                print _('Error: cannot open %s for reading') % self.__filename
             return False
 
         new_version = gajim.config.get('version')
-- 
GitLab