shot - make it full translateable

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11708
This commit is contained in:
Simon Tischer 2020-04-15 10:08:47 +02:00 committed by Christopher Michael
parent c0ee372ba1
commit 118467697b
2 changed files with 26 additions and 26 deletions

View File

@ -58,7 +58,7 @@ win_delay(void)
elm_slider_span_size_set(o, 240);
elm_object_text_set(o, _("Delay"));
elm_slider_indicator_show_set(o, EINA_FALSE);
elm_slider_unit_format_set(o, "%1.1f sec");
elm_slider_unit_format_set(o, _("%1.1f sec"));
elm_slider_min_max_set(o, 1, 60);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 1.0);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);

View File

@ -1930,7 +1930,7 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
elm_frame_autocollapse_set(o, EINA_TRUE);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
elm_object_text_set(o, "Tools");
elm_object_text_set(o, _("Tools"));
elm_box_pack_end(bx, o);
evas_object_show(o);
@ -1942,9 +1942,9 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
_tool_info_count = 0;
radg
= ui_tool_add(win, tb2, NULL, 0, 0, "crop", "Select crop area", 40, NULL, TOOL_CROP);
o = ui_tool_add(win, tb2, radg, 1, 0, "modify", "Modify objects", 40, NULL, TOOL_MODIFY);
o = ui_tool_add(win, tb2, radg, 2, 0, "delete", "Delete objects", 40, NULL, TOOL_DELETE);
= ui_tool_add(win, tb2, NULL, 0, 0, "crop", _("Select crop area"), 40, NULL, TOOL_CROP);
o = ui_tool_add(win, tb2, radg, 1, 0, "modify", _("Modify objects"), 40, NULL, TOOL_MODIFY);
o = ui_tool_add(win, tb2, radg, 2, 0, "delete", _("Delete objects"), 40, NULL, TOOL_DELETE);
o = elm_separator_add(win);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
@ -1953,30 +1953,30 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
elm_table_pack(tb2, o, 0, 1, 4, 1);
evas_object_show(o);
o = ui_tool_add(win, tb2, radg, 0, 2, "line-arrow", "Single arrow line", 40, "arrow", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 1, 2, "line-arrow2", "Double arrow line", 40, "arrow2", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 2, 2, "line-arrow0", "Plain line", 40, "arrow0", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 3, 2, "box-solid", "Solid box", 40, "solid", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 2, "line-arrow", _("Single arrow line"), 40, "arrow", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 1, 2, "line-arrow2", _("Double arrow line"), 40, "arrow2", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 2, 2, "line-arrow0", _("Plain line"), 40, "arrow0", TOOL_LINE);
o = ui_tool_add(win, tb2, radg, 3, 2, "box-solid", _("Solid box"), 40, "solid", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 3, "box-malloc", "Malloc", 40, "malloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 3, "box-demalloc", "Malloc (evil)", 40, "demalloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 3, "box-finger", "Pointing finger", 40, "finger", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 3, "box-logo", "Enlightenment logo", 40, "logo", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 3, "box-malloc", _("Malloc"), 40, "malloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 3, "box-demalloc", _("Malloc (evil)"), 40, "demalloc", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 3, "box-finger", _("Pointing finger"), 40, "finger", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 3, "box-logo", _("Enlightenment logo"), 40, "logo", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 4, "box-foot", "Foot", 40, "foot", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 4, "box-walk", "Silly walk", 40, "walk", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 4, "box-outline-box", "Box outline", 40, "outline-box", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 4, "box-outline-circle", "Circle outline", 40, "outline-circle", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 4, "box-foot", _("Foot"), 40, "foot", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 4, "box-walk", _("Silly walk"), 40, "walk", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 4, "box-outline-box", _("Box outline"), 40, "outline-box", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 4, "box-outline-circle", _("Circle outline"), 40, "outline-circle", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 5, "box-text-empty", "Plain text", 40, "text/empty", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 5, "box-text-plain", "Text box", 40, "text/plain", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 5, "box-text-cloud", "Text thought bubble", 40, "text/cloud", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 5, "box-text-cloud2", "Text thought bubble 2", 40, "text/cloud2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 5, "box-text-empty", _("Plain text"), 40, "text/empty", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 5, "box-text-plain", _("Text box"), 40, "text/plain", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 5, "box-text-cloud", _("Text thought bubble"), 40, "text/cloud", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 5, "box-text-cloud2", _("Text thought bubble 2"), 40, "text/cloud2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 6, "box-text-speech", "Speech bubble", 40, "text/speech", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 6, "box-text-speech2", "Speech bubble 2", 40, "text/speech2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 6, "box-text-kaboom", "Kaboom splat", 40, "text/kaboom", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 6, "box-text-kapow", "Pow explode", 40, "text/kapow", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 0, 6, "box-text-speech", _("Speech bubble"), 40, "text/speech", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 1, 6, "box-text-speech2", _("Speech bubble 2"), 40, "text/speech2", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 2, 6, "box-text-kaboom", _("Kaboom splat"), 40, "text/kaboom", TOOL_BOX);
o = ui_tool_add(win, tb2, radg, 3, 6, "box-text-kapow", _("Pow explode"), 40, "text/kapow", TOOL_BOX);
_cb_tool_changed(NULL, radg, NULL);
@ -1984,7 +1984,7 @@ ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
elm_frame_autocollapse_set(o, EINA_TRUE);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
elm_object_text_set(o, "Color");
elm_object_text_set(o, _("Color"));
elm_box_pack_end(bx, o);
evas_object_show(o);