aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r--plugins/check_mysql.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index a7afa52f..d62bfc87 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -43,6 +43,10 @@ main (int argc, char **argv)
MYSQL mysql;
char *result = NULL;
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
if (process_arguments (argc, argv) != OK)
usage (_("Invalid command arguments supplied\n"));