diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | src/msec/config.py | 2 | ||||
-rwxr-xr-x | src/msec/help_draksec.py | 4 | ||||
-rwxr-xr-x | src/msec/libmsec.py | 2 | ||||
-rwxr-xr-x | src/msec/msec.py | 2 | ||||
-rwxr-xr-x | src/msec/msecgui.py | 2 | ||||
-rwxr-xr-x | src/msec/msecperms.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/audit.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/log.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/msec.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/network.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/pam.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/sectool.py | 2 | ||||
-rwxr-xr-x | src/msec/plugins/sudo.py | 2 | ||||
-rwxr-xr-x | src/msec/tools.py | 2 |
15 files changed, 17 insertions, 15 deletions
@@ -1,3 +1,5 @@ +- fix treating UTF-8 strings as ascii + Version 1.0 - February 9 2014, Thierry Vignaud - convert from gtk2 to gtk3 diff --git a/src/msec/config.py b/src/msec/config.py index a136439..c8e87f6 100755 --- a/src/msec/config.py +++ b/src/msec/config.py @@ -38,7 +38,7 @@ SECURITYLOG = '/var/log/msec.log' # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/help_draksec.py b/src/msec/help_draksec.py index 1497fc6..3eb4a6d 100755 --- a/src/msec/help_draksec.py +++ b/src/msec/help_draksec.py @@ -31,7 +31,7 @@ import gettext # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str @@ -53,7 +53,7 @@ import gettext # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index d803f79..d456eab 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -56,7 +56,7 @@ import config # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/msec.py b/src/msec/msec.py index 556a082..472d1ac 100755 --- a/src/msec/msec.py +++ b/src/msec/msec.py @@ -28,7 +28,7 @@ import logging # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 6becfdf..ddc8170 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -49,7 +49,7 @@ import logging # localization import gettext try: - gettext.install("msec") + gettext.install("msec", unicode=1) except IOError: _ = str diff --git a/src/msec/msecperms.py b/src/msec/msecperms.py index 2d49495..dcd86b2 100755 --- a/src/msec/msecperms.py +++ b/src/msec/msecperms.py @@ -18,7 +18,7 @@ import getopt import gettext try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/audit.py b/src/msec/plugins/audit.py index 7741cdf..2a68aa2 100755 --- a/src/msec/plugins/audit.py +++ b/src/msec/plugins/audit.py @@ -10,7 +10,7 @@ import config import gettext # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/log.py b/src/msec/plugins/log.py index 2749263..b7465c7 100755 --- a/src/msec/plugins/log.py +++ b/src/msec/plugins/log.py @@ -12,7 +12,7 @@ import config # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py index 453a233..16deef2 100755 --- a/src/msec/plugins/msec.py +++ b/src/msec/plugins/msec.py @@ -17,7 +17,7 @@ import config import gettext # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/network.py b/src/msec/plugins/network.py index d9b62f9..cbee32d 100755 --- a/src/msec/plugins/network.py +++ b/src/msec/plugins/network.py @@ -17,7 +17,7 @@ import config import gettext # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/pam.py b/src/msec/plugins/pam.py index a9f2bf4..353fa2a 100755 --- a/src/msec/plugins/pam.py +++ b/src/msec/plugins/pam.py @@ -14,7 +14,7 @@ import config # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/sectool.py b/src/msec/plugins/sectool.py index f5c6637..392c5c3 100755 --- a/src/msec/plugins/sectool.py +++ b/src/msec/plugins/sectool.py @@ -14,7 +14,7 @@ import config # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/plugins/sudo.py b/src/msec/plugins/sudo.py index f90cf5b..b61a078 100755 --- a/src/msec/plugins/sudo.py +++ b/src/msec/plugins/sudo.py @@ -14,7 +14,7 @@ import config # localization try: - gettext.install('msec') + gettext.install('msec', unicode=1) except IOError: _ = str diff --git a/src/msec/tools.py b/src/msec/tools.py index 69b60ba..3a079cd 100755 --- a/src/msec/tools.py +++ b/src/msec/tools.py @@ -12,7 +12,7 @@ import locale # localization import gettext try: - gettext.install("msec") + gettext.install("msec", unicode=1) except IOError: _ = str |