From 35381569403e90b8d34b223f524519521bc81598 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 27 Jun 2007 09:28:22 +0000 Subject: Engines rework - LibGuess support for far east language autodetection - Support for LibRCD 0.1.9 supporting ISO-8859-1 strings - Fixing wrong encodings names returned by Enca - Engine plugins naming scheme is altered - New API functions: rccEngineGetInfo, rccEngineGetAutoCharsetByName - Most of languages are no more hardcoded, but moved to the configuration - RCD engine is added to Belarusian language (I hope it should work) - Some encoding names are fixed in configuration - Support for external libiconv - Support for libcharset - Find UI interface language from LC_MESSAGES locale - Simple compilation fix (Thanx to D. Panov) --- ui/librccui.c | 2 +- ui/rccnames.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/librccui.c b/ui/librccui.c index 17e7281..1979899 100644 --- a/ui/librccui.c +++ b/ui/librccui.c @@ -219,7 +219,7 @@ int rccUiInit() { else icnv = rccIConvOpen(ctype_charset, "UTF-8"); } - if (!rccLocaleGetLanguage(locale, "LANGUAGE", 32)) { + if (!rccLocaleGetLanguage(locale, "LC_MESSAGES", 32)) { search[0] = strdup(locale); if (!search[0]) goto clean; lpos = strrchr(search[0], '@'); diff --git a/ui/rccnames.c b/ui/rccnames.c index 7f4f912..3a8ade1 100644 --- a/ui/rccnames.c +++ b/ui/rccnames.c @@ -26,6 +26,8 @@ rcc_name rcc_default_language_names_embeded[RCC_MAX_LANGUAGES+1] = { {"sk","Slovak"}, {"sl","Slovenian"}, {"zh","Chinese"}, +{"ko","Korean"}, +{"ja","Japanese"}, {NULL, NULL} }; -- cgit v1.2.3