From 0c29a8de794c1959775472378489561517c98223 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Fri, 1 Sep 2017 14:00:14 +0900 Subject: [PATCH] Add missing regional languages in IMMODULE problem: Print "." instead of "|" when tapping twice the space bar cause: No code for supporting regional language measure: Add missing regional language Change-Id: I7d63643f2cfff4a2efd75f0f207d36f5fec0de8c --- ism/extras/wayland_immodule/wayland_imcontext.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index ea5d7e2..9ae891a 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -74,7 +74,16 @@ typedef enum { INPUT_LANG_KHMER, INPUT_LANG_KOREAN, INPUT_LANG_BURMESE, - INPUT_LANG_OTHER + INPUT_LANG_OTHER, + INPUT_LANG_ASSAMESE_BN, + INPUT_LANG_BENGALI_AS, + INPUT_LANG_BODO, + INPUT_LANG_DOGRI, + INPUT_LANG_MANIPURI, + INPUT_LANG_MANIPURI_AS, + INPUT_LANG_MANIPURI_BN, + INPUT_LANG_KONKANI, + INPUT_LANG_SINDHI } Input_Language; const double DOUBLE_SPACE_INTERVAL = 1.0; @@ -147,6 +156,15 @@ static LanguageInfo __language_infos [] = { { "ja_JP", INPUT_LANG_JAPANESE, 0x3002, EINA_FALSE }, { "km_KH", INPUT_LANG_KHMER, 0x17D4, EINA_TRUE }, { "ko_KR", INPUT_LANG_KOREAN, 0x002E, EINA_FALSE }, + { "asb_IN", INPUT_LANG_ASSAMESE_BN, 0x0964, EINA_TRUE }, + { "bna_IN", INPUT_LANG_BENGALI_AS, 0x0964, EINA_TRUE }, + { "brx_IN", INPUT_LANG_BODO, 0x0964, EINA_TRUE }, + { "doi_IN", INPUT_LANG_DOGRI, 0x0964, EINA_TRUE }, + { "mni_IN", INPUT_LANG_MANIPURI, 0xabeb, EINA_TRUE }, + { "mnia_IN",INPUT_LANG_MANIPURI_AS, 0x0964, EINA_TRUE }, + { "mnib_IN",INPUT_LANG_MANIPURI_BN, 0x0964, EINA_TRUE }, + { "kok_IN", INPUT_LANG_KONKANI, 0x0964, EINA_TRUE }, + { "sd_IN", INPUT_LANG_SINDHI, 0x0964, EINA_TRUE }, }; struct _WaylandIMContext -- 2.7.4