Skip to content

Commit

Permalink
pncconf: restore translation
Browse files Browse the repository at this point in the history
I didn't investigate closely, but it looks like this line was
overlooked when transitioning to the MultiFileBuilder.

.. after this, running with LANG=fr_FR.UTF-8 again translates
the main buttons.  (Many other texts aren't translated, but this
seems to be because the translation is out of date)
  • Loading branch information
jepler committed Sep 11, 2017
1 parent 6366965 commit 2928243
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emc/usr_intf/pncconf/pncconf.py
Expand Up @@ -1406,6 +1406,7 @@ def __init__(self, dbgstate=0):
bar_size = 0
# build the glade files
self.builder = MultiFileBuilder()
self.builder.set_translation_domain(domain)
self.builder.add_from_file(os.path.join(self._p.DATADIR,'main_page.glade'))
self.builder.add_from_file(os.path.join(self._p.DATADIR,'dialogs.glade'))
self.builder.add_from_file(os.path.join(self._p.DATADIR,'help.glade'))
Expand Down

0 comments on commit 2928243

Please sign in to comment.