#include #include "internal.h" const char *rccUiGetLanguageName(rcc_ui_context ctx, const char *lang) { unsigned int i; rcc_language_name *names; if ((!ctx)||(!lang)) return NULL; names = ctx->language_names; for (i=0;names[i].sn;i++) if (!strcmp(lang, names[i].sn)) return names[i].name; return lang; } const char *rccUiGetOptionName(rcc_ui_context ctx, rcc_option option) { unsigned int i; rcc_option_name *names; if (!ctx) return NULL; names = ctx->option_names; for (i=0;((i