+ sprintf(txt, "<%s>", N_(item_text));
+ //printf("Item text: %s \n", N_(item_text));
+
+ if (strstr(item_text, N_(KW_NUDGE))) {
+ strreplace(item_text, (char*)N_(KW_NUDGE), _(KW_NUDGE));
+ }
+ else if (strstr(item_text, N_(KW_COLOR))) {
+ strreplace(item_text, (char*)N_(KW_COLOR), _(KW_COLOR));
+ }
+ else if (strstr(item_text, N_(KW_ALPHA))) {
+ strreplace(item_text, (char*)N_(KW_ALPHA), _(KW_ALPHA));
+ }
+ else if (strstr(item_text, N_(KW_FONT))) {
+ strreplace(item_text, (char*)N_(KW_FONT), _(KW_FONT));
+ }
+ else if (strstr(item_text, N_(KW_SIZE))) {
+ strreplace(item_text, (char*)N_(KW_SIZE), _(KW_SIZE));
+ }
+ else if (strstr(item_text, N_(KW_BOLD))) {
+ strreplace(item_text, (char*)N_(KW_BOLD), _(KW_BOLD));
+ }
+ else if (strstr(item_text, N_(KW_ITALIC))) {
+ strreplace(item_text, (char*)N_(KW_ITALIC), _(KW_ITALIC));
+ }
+ else if (strstr(item_text, N_(KW_CAPS))) {
+ strreplace(item_text, (char*)N_(KW_CAPS), _(KW_CAPS));
+ }
+ else if (strstr(item_text, N_(KW_UL))) {
+ strreplace(item_text, (char*)N_(KW_UL), _(KW_UL));
+ }
+ else if (strstr(item_text, N_(KW_BLINK))) {
+ strreplace(item_text, (char*)N_(KW_BLINK), _(KW_BLINK));
+ }
+ else if (strstr(item_text, N_(KW_FIXED))) {
+ strreplace(item_text, (char*)N_(KW_FIXED), _(KW_FIXED));
+ }
+ else if (strstr(item_text, N_(KW_ALIAS))) {
+ strreplace(item_text, (char*)N_(KW_ALIAS), _(KW_ALIAS));
+ }
+ else if (strstr(item_text, N_(KW_SUP))) {
+ strreplace(item_text, (char*)N_(KW_SUP), _(KW_SUP));
+ }
+
+
+ return window->insert_ibeam(N_(txt), ofs);