Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
alacarte
alacarte-trans.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File alacarte-trans.patch of Package alacarte
diff -Nura alacarte-3.10.0_orig/Alacarte/ItemEditor.py alacarte-3.10.0_new/Alacarte/ItemEditor.py --- alacarte-3.10.0_orig/Alacarte/ItemEditor.py 2013-08-30 06:32:55.000000000 +0800 +++ alacarte-3.10.0_new/Alacarte/ItemEditor.py 2015-10-13 18:30:44.922026017 +0800 @@ -22,6 +22,8 @@ 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 @@ -101,6 +103,7 @@ 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') diff -Nura alacarte-3.10.0_orig/data/alacarte.ui alacarte-3.10.0_new/data/alacarte.ui --- alacarte-3.10.0_orig/data/alacarte.ui 2013-09-03 21:23:58.000000000 +0800 +++ alacarte-3.10.0_new/data/alacarte.ui 2015-10-13 18:26:52.068861722 +0800 @@ -52,7 +52,7 @@ <property name="spacing">6</property> <child> <object class="GtkButton" id="help_button"> - <property name="label">gtk-help</property> + <property name="label" translatable="yes">gtk-help</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -68,7 +68,7 @@ </child> <child> <object class="GtkButton" id="close_button"> - <property name="label">gtk-close</property> + <property name="label" translatable="yes">gtk-close</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -86,7 +86,7 @@ </child> <child> <object class="GtkButton" id="restore_button"> - <property name="label">Restore System Configuration</property> + <property name="label" translatable="yes">Restore the default menu layout</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -229,7 +229,7 @@ </child> <child> <object class="GtkButton" id="properties_button"> - <property name="label">gtk-properties</property> + <property name="label" translatable="yes">gtk-properties</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff -Nura alacarte-3.10.0_orig/data/directory-editor.ui alacarte-3.10.0_new/data/directory-editor.ui --- alacarte-3.10.0_orig/data/directory-editor.ui 2013-02-16 08:18:31.000000000 +0800 +++ alacarte-3.10.0_new/data/directory-editor.ui 2015-10-13 18:26:52.068861722 +0800 @@ -18,7 +18,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="cancel"> - <property name="label">gtk-cancel</property> + <property name="label" translatable="yes">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -32,7 +32,7 @@ </child> <child> <object class="GtkButton" id="ok"> - <property name="label">gtk-ok</property> + <property name="label" translatable="yes">gtk-ok</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff -Nura alacarte-3.10.0_orig/data/launcher-editor.ui alacarte-3.10.0_new/data/launcher-editor.ui --- alacarte-3.10.0_orig/data/launcher-editor.ui 2013-02-16 08:18:31.000000000 +0800 +++ alacarte-3.10.0_new/data/launcher-editor.ui 2015-10-13 18:26:52.068861722 +0800 @@ -18,7 +18,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="cancel"> - <property name="label">gtk-cancel</property> + <property name="label" translatable="yes">gtk-cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -32,7 +32,7 @@ </child> <child> <object class="GtkButton" id="ok"> - <property name="label">gtk-ok</property> + <property name="label" translatable="yes">gtk-ok</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor