GHashTable *hash_table = rm->attributes;
if (hash_table) {
const char *style = g_hash_table_lookup(hash_table, "style");
- if (!g_strcmp0(style, "default"))
+ if (!g_strcmp0(style, "default")) {
ESAL(buf, _("IDS_ACCS_TBOPT_ALPHABETICAL_INDEX_BAR"));
+ } else if (!g_strcmp0(style, "pagecontrol")) {
+ int child_count = rm->child_count;
+ int idx = rm->first_selected_child_index;
+ SUPPRESS_FORMAT_ERROR(eina_strbuf_append_printf(buf, _("IDS_ACCS_POP_PAGE_P1SD_OF_P2SD_M_DESCRIPTIVE_FORM_TTS"), idx + 1, child_count));
+ } else if (!g_strcmp0(style, "pagecontrolbyvalue")) {
+ int page_count = (int)rm->upper;
+ int idx = (int)rm->value;
+ SUPPRESS_FORMAT_ERROR(eina_strbuf_append_printf(buf, _("IDS_ACCS_POP_PAGE_P1SD_OF_P2SD_M_DESCRIPTIVE_FORM_TTS"), idx + 1, page_count));
+ }
}
break;
}
GHashTable *hash_table = rm->attributes;
if (hash_table) {
const char *style = g_hash_table_lookup(hash_table, "style");
- if (!g_strcmp0(style, "pagecontrol")) {
- int child_count = rm->child_count;
- int idx = rm->first_selected_child_index;
- SUPPRESS_FORMAT_ERROR(eina_strbuf_append_printf(buf, _("IDS_ACCS_POP_PAGE_P1SD_OF_P2SD_M_DESCRIPTIVE_FORM_TTS"), idx + 1, child_count));
- } else if (!g_strcmp0(style, "pagecontrolbyvalue")) {
- int page_count = (int)rm->upper;
- int idx = (int)rm->value;
- SUPPRESS_FORMAT_ERROR(eina_strbuf_append_printf(buf, _("IDS_ACCS_POP_PAGE_P1SD_OF_P2SD_M_DESCRIPTIVE_FORM_TTS"), idx + 1, page_count));
- } else {
+ if (!g_strcmp0(style, "default")) {
ESAL(buf, _IGNORE_ON_TV("IDS_ACCS_TBBODY_SWIPE_RIGHT_OR_LEFT_WITH_ONE_FINGER_TO_SELECT_NEXT_OR_PREVIOUS_LETTER"));
}
}