summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-01-18 13:35:35 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-01-18 13:35:35 +0100
commit9751e2ed828c24807b73272efdbf576cf0c3c2d1 (patch)
tree3776af4db9753bd8724aaa9712a7d554d3c0bb14
parenta5c08814d897e6c00729b61e3886532b7e942705 (diff)
Adapt examples translation API changes
translatable -> l10n
-rw-r--r--reference/c/ui/src/ui_translation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/reference/c/ui/src/ui_translation.c b/reference/c/ui/src/ui_translation.c
index b8aa9884..02ba9a1a 100644
--- a/reference/c/ui/src/ui_translation.c
+++ b/reference/c/ui/src/ui_translation.c
@@ -45,15 +45,15 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
45 efl_content_set(win, efl_added)); 45 efl_content_set(win, efl_added));
46 46
47 efl_add(EFL_UI_BUTTON_CLASS, win, 47 efl_add(EFL_UI_BUTTON_CLASS, win,
48 efl_ui_translatable_text_set(efl_added, "Translations", _TEXT_DOMAIN), 48 efl_ui_l10n_text_set(efl_added, "Translations", _TEXT_DOMAIN),
49 efl_pack_end(box, efl_added)); 49 efl_pack_end(box, efl_added));
50 50
51 efl_add(EFL_UI_BUTTON_CLASS, win, 51 efl_add(EFL_UI_BUTTON_CLASS, win,
52 efl_ui_translatable_text_set(efl_added, "Help", _TEXT_DOMAIN), 52 efl_ui_l10n_text_set(efl_added, "Help", _TEXT_DOMAIN),
53 efl_pack_end(box, efl_added)); 53 efl_pack_end(box, efl_added));
54 54
55 efl_add(EFL_UI_BUTTON_CLASS, win, 55 efl_add(EFL_UI_BUTTON_CLASS, win,
56 efl_ui_translatable_text_set(efl_added, "Quit", _TEXT_DOMAIN), 56 efl_ui_l10n_text_set(efl_added, "Quit", _TEXT_DOMAIN),
57 efl_pack_end(box, efl_added), 57 efl_pack_end(box, efl_added),
58 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)), 58 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(100, 100)),
59 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED, 59 efl_event_callback_add(efl_added, EFL_UI_EVENT_CLICKED,