Use regexp to detect version number
This commit is contained in:
parent
f92e52a4af
commit
eebf4b5370
2 changed files with 10 additions and 5 deletions
|
|
@ -38,9 +38,11 @@ if config_data is None:
|
|||
|
||||
Gtk.init(sys.argv)
|
||||
|
||||
locale.bindtextdomain(config_data.gettext_domain, config_data.share_locale)
|
||||
locale.textdomain(config_data.gettext_domain)
|
||||
gettext.install(config_data.gettext_domain, localedir=config_data.share_locale)
|
||||
locale.setlocale(locale.LC_ALL, "")
|
||||
locale.bindtextdomain(config_data.gettext_domain, config_data.share_locale)
|
||||
locale.bind_textdomain_codeset(config_data.gettext_domain, "UTF-8")
|
||||
locale.textdomain(config_data.gettext_domain)
|
||||
|
||||
def py():
|
||||
global config_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue