File alacarte-trans.patch of Package alacarte

Index: alacarte-3.11.91/Alacarte/ItemEditor.py
===================================================================
--- alacarte-3.11.91.orig/Alacarte/ItemEditor.py
+++ alacarte-3.11.91/Alacarte/ItemEditor.py
@@ -22,6 +22,8 @@ import gi
 gi.require_version('Gtk', '3.0')
 from gi.repository import GLib, GObject, Gtk
 from Alacarte import config, util
+gettext.bindtextdomain(config.GETTEXT_PACKAGE, config.localedir)
+gettext.textdomain(config.GETTEXT_PACKAGE)
 
 _ = gettext.gettext
 
@@ -102,6 +104,7 @@ class ItemEditor(GObject.GObject):
     def __init__(self, parent, item_path):
         GObject.GObject.__init__(self)
         self.builder = Gtk.Builder()
+        self.builder.set_translation_domain(config.GETTEXT_PACKAGE)
         self.builder.add_from_file(os.path.join(config.pkgdatadir, self.ui_file))
 
         self.dialog = self.builder.get_object('editor')
Index: alacarte-3.11.91/data/alacarte.ui
===================================================================
--- alacarte-3.11.91.orig/data/alacarte.ui
+++ alacarte-3.11.91/data/alacarte.ui
@@ -70,7 +70,7 @@
             </child>
             <child>
               <object class="GtkButton" id="restore_button">
-                <property name="label">Restore System Configuration</property>
+		<property name="label" translatable="yes">Restore System Configuration</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>