Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
alacarte
alacarte-trans.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File alacarte-trans.patch of Package alacarte
diff -Nura alacarte-3.10.0/Alacarte/ItemEditor.py alacarte-3.10.0.new/Alacarte/ItemEditor.py --- alacarte-3.10.0/Alacarte/ItemEditor.py 2013-08-30 06:32:55.000000000 +0800 +++ alacarte-3.10.0.new/Alacarte/ItemEditor.py 2015-11-30 21:19:06.812695811 +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/data/alacarte.ui alacarte-3.10.0.new/data/alacarte.ui --- alacarte-3.10.0/data/alacarte.ui 2013-09-03 21:23:58.000000000 +0800 +++ alacarte-3.10.0.new/data/alacarte.ui 2015-11-30 21:20:08.224695811 +0800 @@ -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 System Configuration</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_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