From c119410c78dd1df86f2e77912c126b628bcbd00e Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Sun, 21 Nov 2010 23:39:35 +0100 Subject: [PATCH] A bit i18n --- src/conky.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 04a20e95..39c0ff77 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -2641,7 +2641,7 @@ static void X11_create_window(void) void load_config_file() { - DBGP("reading contents from config file '%s'", current_config.c_str()); + DBGP(_("reading contents from config file '%s'"), current_config.c_str()); lua::state &l = *state; lua::stack_sentry s(l); @@ -2657,8 +2657,8 @@ void load_config_file() } #ifdef BUILD_OLD_CONFIG catch(lua::syntax_error &e) { - NORM_ERR("Syntax error (%s) while reading config file. " - "Assuming it's in old syntax and attempting conversion.", e.what()); + NORM_ERR(_("Syntax error (%s) while reading config file. " + "Assuming it's in old syntax and attempting conversion."), e.what()); // the strchr thingy skips the first line (#! /usr/bin/lua) l.loadstring(strchr(convertconf, '\n')); l.pushstring(current_config.c_str());