Commit Graph

10 Commits

Author SHA1 Message Date
Peter Šurda 6062277d60
Rename to
- it was causing problems with py2app because the source of python's own
  CongigParser is also
2017-02-22 09:34:54 +01:00
Peter Šurda ac348e4e6b
Fixes and refactoring
- fixes errors introduced in the earlier refactoring
- more variables moved to
- path finding functions moved to
- remembers IPv6 network unreachable (in the future can be used to skip
  IPv6 for a while)
2017-01-11 17:00:00 +01:00
Peter Šurda 8bcfe80ad0
Refactoring of config parser and
- got rid of shared config parser and made it into a singleton
- refactored safeConfigGetBoolean as a method of the config singleton
- refactored safeConfigGet as a method of the config singleton
- moved softwareVersion from into
- moved some global variables from into
- moved some protocol-specific functions from into
2017-01-11 14:27:19 +01:00
Peter Šurda 025950c05e
Fix locale init
- date/time wasn't localised correctly on startup
2016-12-13 11:54:01 +01:00
mailchuck b7fefb3c40 Windows locale fix
Python locales (e.g. for time and date) didn't work on Windows.
2016-05-02 15:00:26 +02:00
Benoît HERVIER 388bc6ba04 #708 : Use default locale encoding
Use locale endoding else this generate error in GU : as default time format can have non ascii char on non english locale, but using ascii in locale can generate UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 :

In PyBitmessage/src/bitmessageqt/"

In PyBitmessage/src/", line 81, in formatTimestamp
    return unicode(timestring, encoding)
2014-08-28 13:39:40 +02:00
bmng-dev 33800064c7 Update l10n to ensure decoding actually works
Fix for encoding issue in #706
2014-08-16 04:23:30 +00:00
bmng-dev 0a2fb54f78 Fix l10n.formatTimestamp so it accepts strings 2014-08-08 04:38:23 +00:00
bmng-dev 0d2c94f060 Fix l10n so getTranslationLanguage always returns a string 2014-08-08 01:34:57 +00:00
bmng-dev 269506ff8f New localization module (l10n)
Resolves #691
2014-08-06 02:01:01 +00:00