Ensure translations are included in .deb
Also fix debug and required programs dialogs, ensuring that all the text is shown.
This commit is contained in:
parent
f42b11d7e3
commit
f92e52a4af
5 changed files with 8 additions and 14 deletions
|
|
@ -38,16 +38,10 @@ if config_data is None:
|
|||
|
||||
Gtk.init(sys.argv)
|
||||
|
||||
gettext.bindtextdomain(config_data.gettext_domain, config_data.share_locale)
|
||||
try:
|
||||
locale.setlocale(locale.LC_ALL, "")
|
||||
except locale.Error:
|
||||
pass
|
||||
locale.bindtextdomain(config_data.gettext_domain, config_data.share_locale)
|
||||
gettext.textdomain(config_data.gettext_domain)
|
||||
locale.textdomain(config_data.gettext_domain)
|
||||
gettext.install(config_data.gettext_domain, localedir=config_data.share_locale)
|
||||
|
||||
|
||||
def py():
|
||||
global config_data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue