Commit Graph

12 Commits (b6a81f1252531ff6ebe5b6563e6f17778f905eba)

Author SHA1 Message Date
lakshyacis 1181db66e0
l10n quality fixes 4 years ago
Dmitri Bogomolov f0b4e4ded4
Replaced logging.getLogger() in other possible places 4 years ago
Peter Šurda 6062277d60
Rename to
- it was causing problems with py2app because the source of python's own
  CongigParser is also
7 years ago
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)
7 years ago
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
7 years ago
Peter Šurda 025950c05e
Fix locale init
- date/time wasn't localised correctly on startup
7 years ago
mailchuck b7fefb3c40 Windows locale fix
Python locales (e.g. for time and date) didn't work on Windows.
8 years ago
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)
9 years ago
bmng-dev 33800064c7 Update l10n to ensure decoding actually works
Fix for encoding issue in #706
9 years ago
bmng-dev 0a2fb54f78 Fix l10n.formatTimestamp so it accepts strings 9 years ago
bmng-dev 0d2c94f060 Fix l10n so getTranslationLanguage always returns a string 9 years ago
bmng-dev 269506ff8f New localization module (l10n)
Resolves #691
9 years ago