From 0b79a3ba767b17fcdaa12626dff25d10ff5f1b56 Mon Sep 17 00:00:00 2001 From: Igor Olshevskyi Date: Mon, 21 Nov 2016 18:57:30 +0200 Subject: [PATCH] TizenRefApp-7703 [Call UI] Add Keypad components info for TTS Change-Id: Ic4983f9617c4c2c312a5e58b6611ba4f038b78c1 --- edje_src/edc/callui-keypad.edc | 8 +++++ res/po/ar.po | 3 ++ res/po/az.po | 3 ++ res/po/bg.po | 3 ++ res/po/ca.po | 3 ++ res/po/cs.po | 3 ++ res/po/da.po | 3 ++ res/po/de.po | 3 ++ res/po/el_GR.po | 3 ++ res/po/en.po | 3 ++ res/po/en_PH.po | 3 ++ res/po/en_US.po | 3 ++ res/po/es_ES.po | 3 ++ res/po/es_US.po | 3 ++ res/po/et.po | 3 ++ res/po/eu.po | 3 ++ res/po/fi.po | 3 ++ res/po/fr.po | 3 ++ res/po/fr_CA.po | 3 ++ res/po/ga.po | 3 ++ res/po/gl.po | 3 ++ res/po/hi.po | 3 ++ res/po/hr.po | 3 ++ res/po/hu.po | 3 ++ res/po/hy.po | 3 ++ res/po/is.po | 3 ++ res/po/it_IT.po | 3 ++ res/po/ja_JP.po | 3 ++ res/po/ka.po | 3 ++ res/po/kk.po | 3 ++ res/po/ko_KR.po | 3 ++ res/po/lt.po | 3 ++ res/po/lv.po | 3 ++ res/po/mk.po | 3 ++ res/po/nb.po | 3 ++ res/po/nl.po | 3 ++ res/po/pl.po | 3 ++ res/po/pt_BR.po | 3 ++ res/po/pt_PT.po | 3 ++ res/po/ro.po | 3 ++ res/po/ru_RU.po | 3 ++ res/po/sk.po | 3 ++ res/po/sl.po | 3 ++ res/po/sr.po | 3 ++ res/po/sv.po | 3 ++ res/po/tr_TR.po | 3 ++ res/po/uk.po | 3 ++ res/po/uz.po | 3 ++ res/po/zh_CN.po | 3 ++ res/po/zh_HK.po | 3 ++ res/po/zh_TW.po | 3 ++ src/callui-keypad.c | 73 +++++++++++++++++++++++++++++++++++++----- 52 files changed, 223 insertions(+), 8 deletions(-) diff --git a/edje_src/edc/callui-keypad.edc b/edje_src/edc/callui-keypad.edc index d904c91..44d255a 100644 --- a/edje_src/edc/callui-keypad.edc +++ b/edje_src/edc/callui-keypad.edc @@ -292,6 +292,14 @@ group{ name: "elm/layout/callui/keypad_btns"; CU_PART_SPACER( "bg", description { state: "default" 0.0; } ) + CU_PART_SWALLOW( "swl.keypad_arrow_bg", + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 KEYPAD_ARROW_BG_T; to: "bg"; } + rel2 { relative: 1.0 KEYPAD_ARROW_BG_B; to: "bg"; } + } + ) CU_PART_RECT( "keypad_arrow_bg", mouse_events: 0; repeat_events: 1; diff --git a/res/po/ar.po b/res/po/ar.po index f570386..98eae17 100644 --- a/res/po/ar.po +++ b/res/po/ar.po @@ -229,6 +229,9 @@ msgstr "تشغيل" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "إضاءة خافتة" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "إخفاء لوحة المفاتيح" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "انقر نقراً مزدوجاً لإخفاء لوحة المفاتيح." diff --git a/res/po/az.po b/res/po/az.po index 1f21dc4..1d1fbd6 100644 --- a/res/po/az.po +++ b/res/po/az.po @@ -229,6 +229,9 @@ msgstr "Aktiv" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Tutqunlaşdırılıb" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Klaviaturanı gizlət" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Klaviaturanı gizlətmək üçün iki dəfə vurun." diff --git a/res/po/bg.po b/res/po/bg.po index 17f2132..2a5ad15 100644 --- a/res/po/bg.po +++ b/res/po/bg.po @@ -229,6 +229,9 @@ msgstr "Включено" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Затъмнено" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Скрий клавиатурата" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Докоснете двукратно, за да скриете клавиатурата." diff --git a/res/po/ca.po b/res/po/ca.po index 2d294ca..f8d66d9 100644 --- a/res/po/ca.po +++ b/res/po/ca.po @@ -229,6 +229,9 @@ msgstr "Activat" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Atenuat" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Amagar teclat" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Toqui dos cops per ocultar el teclat." diff --git a/res/po/cs.po b/res/po/cs.po index 3edd2d5..49fcb0b 100644 --- a/res/po/cs.po +++ b/res/po/cs.po @@ -229,6 +229,9 @@ msgstr "V" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Ztlumený" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Skrýt klávesnici" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Poklepáním skryjete klávesnici." diff --git a/res/po/da.po b/res/po/da.po index 1a1da6c..a25acc5 100644 --- a/res/po/da.po +++ b/res/po/da.po @@ -229,6 +229,9 @@ msgstr "Til" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Nedtonet" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Skjul tastatur" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dobbelttryk for at skjule tastatur." diff --git a/res/po/de.po b/res/po/de.po index d6890f3..f4b01ad 100644 --- a/res/po/de.po +++ b/res/po/de.po @@ -229,6 +229,9 @@ msgstr "An" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Abgeblendet" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Tastatur ausblenden" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Zweimal tippen, um die Tasten auszublenden." diff --git a/res/po/el_GR.po b/res/po/el_GR.po index 03dd5de..33550e5 100644 --- a/res/po/el_GR.po +++ b/res/po/el_GR.po @@ -229,6 +229,9 @@ msgstr "Στις" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Με μειωμένη φωτεινότητα" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Απόκρυψη πληκτρολογίου" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Πατήστε δύο φορές για απόκρυψη του πληκτρολογίου." diff --git a/res/po/en.po b/res/po/en.po index c6b7000..41ee78d 100644 --- a/res/po/en.po +++ b/res/po/en.po @@ -229,6 +229,9 @@ msgstr "On" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Dimmed" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Hide keypad" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Double tap to hide keypad." diff --git a/res/po/en_PH.po b/res/po/en_PH.po index f94581a..e674490 100644 --- a/res/po/en_PH.po +++ b/res/po/en_PH.po @@ -229,6 +229,9 @@ msgstr "On" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Dimmed" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Hide keypad" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Double tap to hide keypad." diff --git a/res/po/en_US.po b/res/po/en_US.po index 015cd32..fd7c07c 100644 --- a/res/po/en_US.po +++ b/res/po/en_US.po @@ -229,6 +229,9 @@ msgstr "On" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Dimmed" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Hide keypad" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Double tap to hide keypad." diff --git a/res/po/es_ES.po b/res/po/es_ES.po index ed7617f..236d83d 100644 --- a/res/po/es_ES.po +++ b/res/po/es_ES.po @@ -229,6 +229,9 @@ msgstr "Activado" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Atenuado" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ocultar teclado" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Pulse dos veces para ocultar el teclado." diff --git a/res/po/es_US.po b/res/po/es_US.po index ba01545..cb96ef0 100644 --- a/res/po/es_US.po +++ b/res/po/es_US.po @@ -229,6 +229,9 @@ msgstr "Activado" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Atenuado" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ocultar teclado" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Pulse dos veces para ocultar el teclado." diff --git a/res/po/et.po b/res/po/et.po index 2038948..cc418c1 100644 --- a/res/po/et.po +++ b/res/po/et.po @@ -229,6 +229,9 @@ msgstr "Ajal" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Tuhm" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Peida klahvistik" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Topelttoksake, et peita klahvistik." diff --git a/res/po/eu.po b/res/po/eu.po index b3ba816..d1b55c3 100644 --- a/res/po/eu.po +++ b/res/po/eu.po @@ -229,6 +229,9 @@ msgstr "Piztuta" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Ilunduta" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ezkutatu teklatua" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Ukitu bi aldiz teklatua ezkutatzeko." diff --git a/res/po/fi.po b/res/po/fi.po index 4a235bb..ddb7415 100644 --- a/res/po/fi.po +++ b/res/po/fi.po @@ -229,6 +229,9 @@ msgstr "Ajankohta" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Himmennetty" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Piilota näppäimistö" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Piilota näppäimistö kaksoisnapauttamalla." diff --git a/res/po/fr.po b/res/po/fr.po index 52741c7..688776a 100644 --- a/res/po/fr.po +++ b/res/po/fr.po @@ -229,6 +229,9 @@ msgstr "Le" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Tamisé" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Masquer le clavier" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Appuyez deux fois pour masquer le clavier." diff --git a/res/po/fr_CA.po b/res/po/fr_CA.po index 9b42fdb..3545b0a 100644 --- a/res/po/fr_CA.po +++ b/res/po/fr_CA.po @@ -229,6 +229,9 @@ msgstr "Le" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Tamisé" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Masquer le clavier" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Touchez deux fois pour masquer le clavier." diff --git a/res/po/ga.po b/res/po/ga.po index 5baf09a..500b27d 100644 --- a/res/po/ga.po +++ b/res/po/ga.po @@ -229,6 +229,9 @@ msgstr "Ar siúl" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Maolaithe" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Folaigh eochaircheap" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Déthapáil leis an eochaircheap a fholú." diff --git a/res/po/gl.po b/res/po/gl.po index 5ae1c25..06c6e23 100644 --- a/res/po/gl.po +++ b/res/po/gl.po @@ -229,6 +229,9 @@ msgstr "O" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Atenuado" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ocultar teclado numérico" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Toca dúas veces para ocultar o teclado." diff --git a/res/po/hi.po b/res/po/hi.po index 99ba864..045cb24 100644 --- a/res/po/hi.po +++ b/res/po/hi.po @@ -229,6 +229,9 @@ msgstr "पर" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "मंद" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "कीपैड छिपाएँ" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "कीपैड छिपाने के लिए दो बार टैप करें।" diff --git a/res/po/hr.po b/res/po/hr.po index c8e4037..1d47dc0 100644 --- a/res/po/hr.po +++ b/res/po/hr.po @@ -229,6 +229,9 @@ msgstr "Uključeno" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Prigušeno" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ukloni tipkovnicu" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dvaput dodirnite za skrivanje tipkovnice." diff --git a/res/po/hu.po b/res/po/hu.po index 95796f4..5f0c316 100644 --- a/res/po/hu.po +++ b/res/po/hu.po @@ -229,6 +229,9 @@ msgstr "Időpont" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Elsötétítve" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Billentyűzet elrejtése" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Érintse meg kétszer a billentyűzet elrejtéséhez." diff --git a/res/po/hy.po b/res/po/hy.po index 3bdb384..7076781 100644 --- a/res/po/hy.po +++ b/res/po/hy.po @@ -229,6 +229,9 @@ msgstr "Միացված" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Աղոտ" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Թաքցնել ստեղնախումբը" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Կրկնակի թակեք՝ ստեղնախումբը թաքցնելու համար:" diff --git a/res/po/is.po b/res/po/is.po index 8db1e65..687ee0a 100644 --- a/res/po/is.po +++ b/res/po/is.po @@ -229,6 +229,9 @@ msgstr "Þann" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Myrkvaður" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Fela takkaborð" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Pikkaðu tvisvar til að fela takkaborð." diff --git a/res/po/it_IT.po b/res/po/it_IT.po index b752545..f4d6530 100644 --- a/res/po/it_IT.po +++ b/res/po/it_IT.po @@ -229,6 +229,9 @@ msgstr "Attivo" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Oscurato" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Nascondi tastiera" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Toccate due volte per nascondere la tastiera." diff --git a/res/po/ja_JP.po b/res/po/ja_JP.po index 8adc910..26e7fc4 100644 --- a/res/po/ja_JP.po +++ b/res/po/ja_JP.po @@ -229,6 +229,9 @@ msgstr "ON" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "選択不可" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "キーパッドを非表示" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "キーパッドを非表示にするには、ダブルタップしてください。" diff --git a/res/po/ka.po b/res/po/ka.po index 2fe9b60..c9e5638 100644 --- a/res/po/ka.po +++ b/res/po/ka.po @@ -229,6 +229,9 @@ msgstr "თარიღი" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "ჩამქრალი" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "კლავიატურის დამალვა" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "კლავიატურის დასამალად, შეეხეთ ორჯერ." diff --git a/res/po/kk.po b/res/po/kk.po index 9378d85..fa147ab 100644 --- a/res/po/kk.po +++ b/res/po/kk.po @@ -229,6 +229,9 @@ msgstr "Қосу" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Жарамсыз" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Пернетақтаны жасыру" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Пернетақтаны жасыру үшін екі рет түртіңіз." diff --git a/res/po/ko_KR.po b/res/po/ko_KR.po index 9908a6a..0b6baa5 100644 --- a/res/po/ko_KR.po +++ b/res/po/ko_KR.po @@ -229,6 +229,9 @@ msgstr "사용" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "사용할 수 없음" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "키패드 숨기기" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "키패드를 숨기려면 두 번 누르세요." diff --git a/res/po/lt.po b/res/po/lt.po index 92711ce..6b52f61 100644 --- a/res/po/lt.po +++ b/res/po/lt.po @@ -229,6 +229,9 @@ msgstr "(no need any text at all)" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Pritemdytas" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Slėpti klaviatūrą" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Bakstelėkite dukart ir paslėpkite klaviatūrą." diff --git a/res/po/lv.po b/res/po/lv.po index 564084b..52c6991 100644 --- a/res/po/lv.po +++ b/res/po/lv.po @@ -229,6 +229,9 @@ msgstr "Ieslēgt" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Aptumšots" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Slēpt tastatūru" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Veiciet dubultskārienu, lai paslēptu cipartastatūru." diff --git a/res/po/mk.po b/res/po/mk.po index 56a278f..2158eb4 100644 --- a/res/po/mk.po +++ b/res/po/mk.po @@ -229,6 +229,9 @@ msgstr "Вклучено" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Затемнетo" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Сокриј тастатура" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Допрете двапати за да ја скриете тастатурата." diff --git a/res/po/nb.po b/res/po/nb.po index 4e1ec4c..2e13ff2 100644 --- a/res/po/nb.po +++ b/res/po/nb.po @@ -229,6 +229,9 @@ msgstr "På" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Nedtonet" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Skjul tastatur" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Trykk raskt to ganger for å skjule tastaturet." diff --git a/res/po/nl.po b/res/po/nl.po index 1a246d3..ca266bc 100644 --- a/res/po/nl.po +++ b/res/po/nl.po @@ -229,6 +229,9 @@ msgstr "Aan" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Gedimd" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Verberg toetsen" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Tik twee keer om de toetsen te verbergen." diff --git a/res/po/pl.po b/res/po/pl.po index 9c7c391..512fd94 100644 --- a/res/po/pl.po +++ b/res/po/pl.po @@ -229,6 +229,9 @@ msgstr "Wł" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Przyciemnione" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ukryj klawiaturę" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dotknij dwukrotnie, aby ukryć klawiaturę." diff --git a/res/po/pt_BR.po b/res/po/pt_BR.po index 03618f3..df11092 100644 --- a/res/po/pt_BR.po +++ b/res/po/pt_BR.po @@ -229,6 +229,9 @@ msgstr "Em" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Brilho reduzido" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ocultar teclado" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Toque duas vezes para ocultar o teclado." diff --git a/res/po/pt_PT.po b/res/po/pt_PT.po index f640bfa..f3d0acc 100644 --- a/res/po/pt_PT.po +++ b/res/po/pt_PT.po @@ -229,6 +229,9 @@ msgstr "Ligar" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Atenuado" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ocultar teclado" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Toque duas vezes para ocultar o teclado." diff --git a/res/po/ro.po b/res/po/ro.po index 9a0dead..b07150b 100644 --- a/res/po/ro.po +++ b/res/po/ro.po @@ -229,6 +229,9 @@ msgstr "La" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Estompat" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Ascundere tastatură" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Atingeți de două ori pentru a ascunde tastatura." diff --git a/res/po/ru_RU.po b/res/po/ru_RU.po index 39dc565..582dfbf 100644 --- a/res/po/ru_RU.po +++ b/res/po/ru_RU.po @@ -229,6 +229,9 @@ msgstr "Включено" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Затемненный" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Скрыть клавиатуру" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Дважды коснитесь, чтобы скрыть клавиатуру." diff --git a/res/po/sk.po b/res/po/sk.po index feac48d..cd897f9 100644 --- a/res/po/sk.po +++ b/res/po/sk.po @@ -229,6 +229,9 @@ msgstr "Zapnúť" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Stlmené" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Skryť klávesnicu" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dvojitým ťuknutím môžete skryť klávesnicu." diff --git a/res/po/sl.po b/res/po/sl.po index 6cd3210..89570fb 100644 --- a/res/po/sl.po +++ b/res/po/sl.po @@ -229,6 +229,9 @@ msgstr "Dne" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Zatemnjeno" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Skrij tipkovnico" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dvakrat pritisnite, da skrijete številčnico." diff --git a/res/po/sr.po b/res/po/sr.po index 879043e..4378f63 100644 --- a/res/po/sr.po +++ b/res/po/sr.po @@ -229,6 +229,9 @@ msgstr "Uključeno" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Prigušeno" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Sakrij tastaturu" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dvaput kucnite da biste sakrili tastaturu." diff --git a/res/po/sv.po b/res/po/sv.po index 2aecf12..57b4893 100644 --- a/res/po/sv.po +++ b/res/po/sv.po @@ -229,6 +229,9 @@ msgstr "På" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Nedtonat" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Dölj knappsats" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Dubbeltryck när du vill dölja knappsatsen." diff --git a/res/po/tr_TR.po b/res/po/tr_TR.po index 1672d8f..eb8afa4 100644 --- a/res/po/tr_TR.po +++ b/res/po/tr_TR.po @@ -229,6 +229,9 @@ msgstr "Açık" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Kısıldı" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Tuş takımını gizle" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Klavyeyi gizlemek için çift dokunun." diff --git a/res/po/uk.po b/res/po/uk.po index 36ec144..081cc95 100644 --- a/res/po/uk.po +++ b/res/po/uk.po @@ -229,6 +229,9 @@ msgstr "Увімк." msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Затемнений" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Приховати клавіатуру" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Двічі торкніться, щоб приховати клавіатуру." diff --git a/res/po/uz.po b/res/po/uz.po index b9336f2..16fa511 100644 --- a/res/po/uz.po +++ b/res/po/uz.po @@ -229,6 +229,9 @@ msgstr "Yoq." msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "Xiralashdi" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "Klaviaturani yashirish" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "Klaviatura yashirilishi uchun ikki marta teging." diff --git a/res/po/zh_CN.po b/res/po/zh_CN.po index ada26bc..9bb9563 100644 --- a/res/po/zh_CN.po +++ b/res/po/zh_CN.po @@ -229,6 +229,9 @@ msgstr "打开" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "已变暗" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "隐藏拨号盘" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "请双击来隐藏键盘。" diff --git a/res/po/zh_HK.po b/res/po/zh_HK.po index 3da363e..12c361c 100644 --- a/res/po/zh_HK.po +++ b/res/po/zh_HK.po @@ -229,6 +229,9 @@ msgstr "開啟" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "已變暗" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "隱藏鍵盤" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "輕觸兩下以隱藏鍵盤。" diff --git a/res/po/zh_TW.po b/res/po/zh_TW.po index e6b2ead..29cfc03 100644 --- a/res/po/zh_TW.po +++ b/res/po/zh_TW.po @@ -229,6 +229,9 @@ msgstr "開啟" msgid "IDS_GCTS_OPT_DIMMED_TTS" msgstr "變暗" +msgid "IDS_COM_BODY_HIDE_KEYPAD" +msgstr "隱藏鍵盤" + msgid "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD" msgstr "輕觸兩下來隱藏數字鍵盤。" diff --git a/src/callui-keypad.c b/src/callui-keypad.c index 425d5b4..3bdd3f5 100755 --- a/src/callui-keypad.c +++ b/src/callui-keypad.c @@ -43,16 +43,18 @@ static callui_result_e __callui_keypad_init(callui_keypad_h keypad, callui_app_data_t *appdata); static void __callui_keypad_deinit(callui_keypad_h keypad); - +static callui_result_e __create_layouts(callui_keypad_h keypad); +static callui_result_e __create_buttons(callui_keypad_h keypad); +static callui_result_e __create_entry(callui_keypad_h keypad); +static callui_result_e __create_visibility_control_objects(callui_keypad_h keypad); +static callui_result_e __create_accessibility_rout(callui_keypad_h keypad); +static void __ao_hide_btn_clicked(void *data, Evas_Object *obj, void *event_info); static void __back_button_click_cb(void *data, Evas_Object *obj, void *event_info); static Evas_Event_Flags __arrow_flick_gesture_event_cb(void *data, void *event_info); static void __arrow_mouse_down_event_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info); static void __arrow_mouse_up_event_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info); -static int __create_gesture_layer(callui_keypad_h keypad); static void __on_key_down_click_event(void *data, Evas_Object *obj, const char *emission, const char *source); static void __on_key_up_click_event(void *data, Evas_Object *obj, const char *emission, const char *source); -static callui_result_e __create_layouts(callui_keypad_h keypad); -static callui_result_e __create_entry(callui_keypad_h keypad); static void __clear_entry(callui_keypad_h keypad); static void __hide_keypad(callui_keypad_h keypad, Eina_Bool is_immediately); static void __on_hide_completed(void *data, Evas_Object *obj, const char *emission, const char *source); @@ -82,6 +84,8 @@ struct _callui_keypad { Evas_Object *gesture_layer; Evas_Object *buttons[CALLUI_KEYPAD_BTN_TYPE_COUNT]; + Evas_Object *ao_hide_btn; + callui_keypad_state_event_e is_visible; int gesture_start_y; int gesture_momentum_y; @@ -113,7 +117,7 @@ static __callui_keypad_btn_data __keypad_btn_params[CALLUI_KEYPAD_BTN_TYPE_COUNT { "callui/keypad_6", "swl.keypad_6", "6" }, { "callui/keypad_7", "swl.keypad_7", "7" }, { "callui/keypad_8", "swl.keypad_8", "8" }, - { "callui/keypad_9", "swl.keypad_9", "*" }, + { "callui/keypad_9", "swl.keypad_9", "9" }, { "callui/keypad_star", "swl.keypad_star", "*" }, { "callui/keypad_0", "swl.keypad_0", "0"}, { "callui/keypad_sharp", "swl.keypad_sharp", "#" }, @@ -148,15 +152,24 @@ static callui_result_e __create_buttons(callui_keypad_h keypad) elm_object_signal_callback_add(btn, "keypad_btn_up", "*", __on_key_up_click_event, keypad); elm_object_part_content_set(keypad->btns_layout, __keypad_btn_params[i].layout_part, btn); keypad->buttons[i] = btn; + + /* Accessibility button info */ + elm_atspi_accessible_translation_domain_set(btn, CALLUI_TEXT_DOMAIN); + elm_atspi_accessible_reading_info_type_set(btn, ELM_ACCESSIBLE_READING_INFO_TYPE_NAME); + elm_atspi_accessible_name_set(btn, __keypad_btn_params[i].display_symb); } return CALLUI_RESULT_OK; } /* Accessibility */ + static callui_result_e __create_accessibility_rout(callui_keypad_h keypad) { - callui_result_e res = _callui_au_append_symmetric_relationship(keypad->entry, keypad->buttons[0]); + callui_result_e res = _callui_au_append_symmetric_relationship(keypad->entry, keypad->ao_hide_btn); + CALLUI_RETURN_VALUE_IF_FAIL(res == CALLUI_RESULT_OK, res); + + res = _callui_au_append_symmetric_relationship(keypad->ao_hide_btn, keypad->buttons[0]); CALLUI_RETURN_VALUE_IF_FAIL(res == CALLUI_RESULT_OK, res); int i = 0; @@ -189,7 +202,7 @@ static callui_result_e __callui_keypad_init(callui_keypad_h keypad, callui_app_d res = __create_entry(keypad); CALLUI_RETURN_VALUE_IF_FAIL(res == CALLUI_RESULT_OK, res); - res = __create_gesture_layer(keypad); + res = __create_visibility_control_objects(keypad); CALLUI_RETURN_VALUE_IF_FAIL(res == CALLUI_RESULT_OK, res); res = __create_accessibility_rout(keypad); @@ -263,6 +276,9 @@ static void __clear_entry(callui_keypad_h keypad) { elm_entry_entry_set(keypad->entry, ""); elm_entry_cursor_end_set(keypad->entry); + + /* Accessibility entry text set */ + elm_atspi_accessible_name_set(keypad->entry, ""); } /** @@ -287,6 +303,10 @@ static Evas_Event_Flags __arrow_flick_gesture_event_cb(void *data, void *event_i CALLUI_RETURN_VALUE_IF_FAIL(data, EVAS_EVENT_FLAG_NONE); CALLUI_RETURN_VALUE_IF_FAIL(event_info, EVAS_EVENT_FLAG_NONE); + if (elm_atspi_bridge_utils_is_screen_reader_enabled()) { + return EVAS_EVENT_FLAG_NONE; + } + callui_keypad_h keypad_data = (callui_keypad_h)data; Elm_Gesture_Line_Info *info = (Elm_Gesture_Line_Info *)event_info; @@ -300,6 +320,10 @@ static void __arrow_mouse_down_event_cb(void *data, Evas *evas, Evas_Object *obj CALLUI_RETURN_IF_FAIL(data); CALLUI_RETURN_IF_FAIL(event_info); + if (elm_atspi_bridge_utils_is_screen_reader_enabled()) { + return; + } + callui_keypad_h keypad_data = (callui_keypad_h)data; Evas_Event_Mouse_Move *ev = event_info; @@ -311,6 +335,10 @@ static void __arrow_mouse_up_event_cb(void *data, Evas *evas, Evas_Object *obj, CALLUI_RETURN_IF_FAIL(data); CALLUI_RETURN_IF_FAIL(event_info); + if (elm_atspi_bridge_utils_is_screen_reader_enabled()) { + return; + } + callui_keypad_h keypad_data = (callui_keypad_h)data; Evas_Event_Mouse_Move *ev = event_info; @@ -320,12 +348,23 @@ static void __arrow_mouse_up_event_cb(void *data, Evas *evas, Evas_Object *obj, } } +static void __ao_hide_btn_clicked(void *data, Evas_Object *obj, void *event_info) +{ + CALLUI_RETURN_IF_FAIL(data); + + callui_keypad_h keypad = data; + + if (elm_atspi_bridge_utils_is_screen_reader_enabled()) { + __hide_keypad(keypad, EINA_FALSE); + } +} + /** * @brief Creates keypad gesture layer * * @param[in] keypad Keypad handle */ -static int __create_gesture_layer(callui_keypad_h keypad) +static callui_result_e __create_visibility_control_objects(callui_keypad_h keypad) { DELETE_EVAS_OBJECT(keypad->gesture_layer); @@ -346,6 +385,18 @@ static int __create_gesture_layer(callui_keypad_h keypad) elm_gesture_layer_cb_set(keypad->gesture_layer, ELM_GESTURE_N_FLICKS, ELM_GESTURE_STATE_MOVE, __arrow_flick_gesture_event_cb, keypad); } + + /* Accessibility hide keypad button */ + keypad->ao_hide_btn = elm_button_add(keypad->main_layout); + CALLUI_RETURN_VALUE_IF_FAIL(keypad->ao_hide_btn, CALLUI_RESULT_ALLOCATION_FAIL); + elm_object_style_set(keypad->ao_hide_btn, "transparent"); + evas_object_smart_callback_add(keypad->ao_hide_btn, "clicked", __ao_hide_btn_clicked, keypad); + elm_object_part_content_set(keypad->btns_layout, "swl.keypad_arrow_bg", keypad->ao_hide_btn); + + elm_atspi_accessible_translation_domain_set(keypad->ao_hide_btn, CALLUI_TEXT_DOMAIN); + elm_atspi_accessible_name_set(keypad->ao_hide_btn, "IDS_COM_BODY_HIDE_KEYPAD"); + elm_atspi_accessible_description_set(keypad->ao_hide_btn, "IDS_CALL_TBBODY_DOUBLE_TAP_TO_HIDE_KEYPAD"); + return CALLUI_RESULT_OK; } @@ -424,6 +475,9 @@ static void __on_key_down_click_event(void *data, Evas_Object *obj, const char * } elm_entry_entry_append(keypad->entry, keypad_source); elm_entry_cursor_end_set(keypad->entry); + + /* Accessibility entry text set */ + elm_atspi_accessible_name_set(keypad->entry, elm_entry_entry_get(keypad->entry)); } static void __on_key_up_click_event(void *data, Evas_Object *obj, const char *emission, const char *source) @@ -473,6 +527,9 @@ static callui_result_e __create_entry(callui_keypad_h keypad) keypad->entry = eo; + elm_atspi_accessible_translation_domain_set(eo, CALLUI_TEXT_DOMAIN); + elm_atspi_accessible_reading_info_type_set(eo, ELM_ACCESSIBLE_READING_INFO_TYPE_NAME); + __clear_entry(keypad); return CALLUI_RESULT_OK; -- 2.7.4