Disable translation of some error message stuff that might as well be left untranslated.

SVN revision: 27397
This commit is contained in:
Kim Woelders 2006-12-09 21:32:03 +00:00
parent 1c6b054bba
commit 163f842dc6
13 changed files with 26 additions and 27 deletions

View File

@ -205,7 +205,7 @@ ActionclassDestroy(ActionClass * ac)
if (ac->ref_count > 0)
{
DialogOK(_("ActionClass Error!"), _("%u references remain\n"),
DialogOK("ActionClass Error!", _("%u references remain\n"),
ac->ref_count);
return;
}

View File

@ -238,7 +238,7 @@ BackgroundDestroy(Background * bg)
if (bg->ref_count > 0)
{
DialogOK(_("Background Error!"), _("%u references remain\n"),
DialogOK("Background Error!", _("%u references remain\n"),
bg->ref_count);
return -1;
}

View File

@ -648,7 +648,7 @@ BorderDestroy(Border * b)
if (b->ref_count > 0)
{
DialogOK(_("Border Error!"), _("%u references remain\n"), b->ref_count);
DialogOK("Border Error!", _("%u references remain\n"), b->ref_count);
return;
}

View File

@ -191,7 +191,7 @@ ButtonDestroy(Button * b)
if (b->ref_count > 0)
{
DialogOK(_("Button Error!"), _("%u references remain\n"), b->ref_count);
DialogOK("Button Error!", _("%u references remain\n"), b->ref_count);
return;
}

View File

@ -81,7 +81,7 @@ FreeCMClass(ColorModifierClass * cm)
if (cm->ref_count > 0)
{
DialogOK(_("ColorModClass Error!"), _("%u references remain\n"),
DialogOK("ColorModClass Error!", _("%u references remain\n"),
cm->ref_count);
return;
}

View File

@ -291,52 +291,52 @@ ConfigFileRead(FILE * fs)
case CONFIG_IMAGECLASS:
err = ImageclassConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Image class"));
ConfigAlertLoad("Image class");
break;
case CONFIG_TOOLTIP:
err = TooltipConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Tooltip"));
ConfigAlertLoad("Tooltip");
break;
case CONFIG_FONTS:
err = FontConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Font"));
ConfigAlertLoad("Font");
break;
case CONFIG_TEXT:
err = TextclassConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Text class"));
ConfigAlertLoad("Text class");
break;
case MENU_STYLE:
err = MenuStyleConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Menu style"));
ConfigAlertLoad("Menu style");
break;
case CONFIG_MENU:
err = MenuConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Menu"));
ConfigAlertLoad("Menu");
break;
case CONFIG_BORDER:
err = BorderConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Border"));
ConfigAlertLoad("Border");
break;
case CONFIG_BUTTON:
err = ButtonsConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Button"));
ConfigAlertLoad("Button");
break;
case CONFIG_DESKTOP:
err = BackgroundsConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Background"));
ConfigAlertLoad("Background");
break;
case CONFIG_WINDOWMATCH:
err = WindowMatchConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Window match"));
ConfigAlertLoad("Window match");
break;
case CONFIG_COLORMOD:
#if ENABLE_COLOR_MODIFIERS
@ -346,12 +346,12 @@ ConfigFileRead(FILE * fs)
case CONFIG_ACTIONCLASS:
err = AclassConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Action class"));
ConfigAlertLoad("Action class");
break;
case CONFIG_SLIDEOUT:
err = SlideoutsConfigLoad(fs);
if (err)
ConfigAlertLoad(_("Slideout"));
ConfigAlertLoad("Slideout");
break;
default:
break;

View File

@ -124,8 +124,7 @@ ECursorDestroy(ECursor * ec)
if (ec->ref_count > 0)
{
DialogOK(_("ECursor Error!"), _("%u references remain\n"),
ec->ref_count);
DialogOK("ECursor Error!", _("%u references remain\n"), ec->ref_count);
return;
}
@ -235,7 +234,7 @@ ECursorConfigLoad(FILE * fs)
done:
if (err)
ConfigAlertLoad(_("Cursor"));
ConfigAlertLoad("Cursor");
_EFREE(name);
_EFREE(file);

View File

@ -535,7 +535,8 @@ SelectionAcquire(const char *name, EventCallbackFunc * func, void *data)
XSetSelectionOwner(disp, sel->atom, WinGetXwin(sel->win), sel->time);
if (XGetSelectionOwner(disp, sel->atom) != WinGetXwin(sel->win))
{
DialogOK(_("ERROR!"), _("Could not acquire selection: %s"), buf);
DialogOK(_("Selection Error!"), _("Could not acquire selection: %s"),
buf);
EDestroyWindow(sel->win);
Efree(sel);
return NULL;

View File

@ -328,7 +328,7 @@ ImageclassDestroy(ImageClass * ic)
if (ic->ref_count > 0)
{
DialogOK(_("Imageclass Error!"), _("%u references remain\n"),
DialogOK("ImageClass Error!", _("%u references remain\n"),
ic->ref_count);
return;
}

View File

@ -1938,7 +1938,7 @@ MenuConfigLoad(FILE * fs)
done:
if (err)
ConfigAlertLoad(_("Menu"));
ConfigAlertLoad("Menu");
_EFREE(txt);
return err;

View File

@ -359,7 +359,7 @@ SoundConfigLoad(FILE * fs)
sc = SclassCreate(s1, s2);
}
if (err)
ConfigAlertLoad(_("Sound"));
ConfigAlertLoad("Sound");
return err;
}

View File

@ -95,7 +95,7 @@ TextclassDestroy(TextClass * tc)
{
if (tc->ref_count > 0)
{
DialogOK(_("Textclass Error!"), _("%u references remain\n"),
DialogOK("TextClass Error!", _("%u references remain\n"),
tc->ref_count);
return;
}

View File

@ -136,8 +136,7 @@ TooltipDestroy(ToolTip * tt)
if (tt->ref_count > 0)
{
DialogOK(_("ToolTip Error!"), _("%u references remain\n"),
tt->ref_count);
DialogOK("ToolTip Error!", _("%u references remain\n"), tt->ref_count);
}
}
#endif