Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pyqclic_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyqclic_common.py')
-rw-r--r--pyqclic_common.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/pyqclic_common.py b/pyqclic_common.py
index fb2eb3c..56e352b 100644
--- a/pyqclic_common.py
+++ b/pyqclic_common.py
@@ -85,7 +85,7 @@ class PyQClicCommon:
, gtk.STOCK_SAVE
, gtk.RESPONSE_OK)
- file_dialog = gtk.FileChooserDialog(title=_("Select PyQClic Project")
+ file_dialog = gtk.FileChooserDialog(title="Select PyQClic Project"
, action=dialog_action
, buttons=dialog_buttons)
"""set the filename if we are saving"""
@@ -98,7 +98,7 @@ class PyQClicCommon:
file_dialog.add_filter(filter)
"""Create and add the 'all files' filter"""
filter = gtk.FileFilter()
- filter.set_name(_("All files"))
+ filter.set_name("All files")
filter.add_pattern("*")
file_dialog.add_filter(filter)
@@ -119,7 +119,7 @@ class PyQClicCommon:
window.set_title("PyQClic - %s"
% (os.path.basename(xml_file)))
else:
- window.set_title(_("PyQClic - Untitled"))
+ window.set_title("PyQClic - Untitled")
def decode64(self,data):
filew = open('/tmp/pyqclic_decode.png','w')
@@ -168,13 +168,12 @@ class PyQClicCommon:
cr.show_text(self.string)
-
def about_program(self,widget):
about = gtk.AboutDialog()
about.set_program_name("PyQClic")
about.set_version("0.2")
about.set_copyright("(c) David Van Assche / ")
- about.set_comments(_("PyClic is a tool similar to Jclic but written in python and containing collaboration"))
+ about.set_comments("PyClic is a tool similar to Jclic but written in python and containing collaboration")
about.set_website("http://git.sugarlabs.org/projects/pyclic")
about.set_logo(gtk.gdk.pixbuf_new_from_file("aboutpyclic.png"))
about.run()