1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 04:06:03 +00:00

A bit i18n

This commit is contained in:
Nikolas Garofil 2010-11-21 23:39:35 +01:00
parent 5a7ec7fb0b
commit c119410c78

View File

@ -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());