summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-07-17 13:18:57 +0200
committerBoris Faure <billiob@gmail.com>2014-07-26 11:37:26 +0200
commitb98f6107c30c889c5bdd0563252983e00b1d926b (patch)
tree9b2dc8805b9f96cd894e9b58149389cb6f4bed35 /src/bin/controls.c
parenta90d97ca7f712488c05e64a22dc41d77c5a1a458 (diff)
gettextify in about.c,app_server.c,controls.c
Diffstat (limited to 'src/bin/controls.c')
-rw-r--r--src/bin/controls.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index ba51792..7967ef4 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -238,7 +238,7 @@ controls_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
238 ct_frame = o = elm_frame_add(win); 238 ct_frame = o = elm_frame_add(win);
239 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 239 evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
240 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL); 240 evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
241 elm_object_text_set(o, "Controls"); 241 elm_object_text_set(o, _("Controls"));
242 242
243 ct_boxh = o = elm_box_add(win); 243 ct_boxh = o = elm_box_add(win);
244 elm_box_horizontal_set(o, EINA_TRUE); 244 elm_box_horizontal_set(o, EINA_TRUE);
@@ -248,48 +248,48 @@ controls_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
248 ct_box2 = o = elm_box_add(win); 248 ct_box2 = o = elm_box_add(win);
249 elm_box_pack_end(ct_boxh, o); 249 elm_box_pack_end(ct_boxh, o);
250 evas_object_show(o); 250 evas_object_show(o);
251 251
252 o = _button_add(win, "New", "new", _cb_ct_new, NULL); 252 o = _button_add(win, _("New"), "new", _cb_ct_new, NULL);
253 elm_box_pack_end(ct_box2, o); 253 elm_box_pack_end(ct_box2, o);
254 254
255 o = _sep_add_h(win); 255 o = _sep_add_h(win);
256 elm_box_pack_end(ct_box2, o); 256 elm_box_pack_end(ct_box2, o);
257 257
258 o = _button_add(win, "Split V", "split-h", _cb_ct_split_v, NULL); 258 o = _button_add(win, _("Split V"), "split-h", _cb_ct_split_v, NULL);
259 elm_box_pack_end(ct_box2, o); 259 elm_box_pack_end(ct_box2, o);
260 o = _button_add(win, "Split H", "split-v", _cb_ct_split_h, NULL); 260 o = _button_add(win, _("Split H"), "split-v", _cb_ct_split_h, NULL);
261 elm_box_pack_end(ct_box2, o); 261 elm_box_pack_end(ct_box2, o);
262 262
263 o = _sep_add_h(win); 263 o = _sep_add_h(win);
264 elm_box_pack_end(ct_box2, o); 264 elm_box_pack_end(ct_box2, o);
265 265
266 o = _button_add(win, "Close", "close", _cb_ct_close, NULL); 266 o = _button_add(win, _("Close"), "close", _cb_ct_close, NULL);
267 elm_box_pack_end(ct_box2, o); 267 elm_box_pack_end(ct_box2, o);
268 268
269 o = _sep_add_v(win); 269 o = _sep_add_v(win);
270 elm_box_pack_end(ct_boxh, o); 270 elm_box_pack_end(ct_boxh, o);
271 271
272 ct_box = o = elm_box_add(win); 272 ct_box = o = elm_box_add(win);
273 elm_box_pack_end(ct_boxh, o); 273 elm_box_pack_end(ct_boxh, o);
274 evas_object_show(o); 274 evas_object_show(o);
275 275
276 o = _button_add(win, "Copy", "copy", _cb_ct_copy, NULL); 276 o = _button_add(win, _("Copy"), "copy", _cb_ct_copy, NULL);
277 evas_object_data_set(ct_frame, "bt_copy", o); 277 evas_object_data_set(ct_frame, "bt_copy", o);
278 if (!termio_selection_exists(term)) 278 if (!termio_selection_exists(term))
279 elm_object_disabled_set(o, EINA_TRUE); 279 elm_object_disabled_set(o, EINA_TRUE);
280 elm_box_pack_end(ct_box, o); 280 elm_box_pack_end(ct_box, o);
281 o = _button_add(win, "Paste", "paste", _cb_ct_paste, NULL); 281 o = _button_add(win, _("Paste"), "paste", _cb_ct_paste, NULL);
282 elm_box_pack_end(ct_box, o); 282 elm_box_pack_end(ct_box, o);
283 283
284 o = _sep_add_h(win); 284 o = _sep_add_h(win);
285 elm_box_pack_end(ct_box, o); 285 elm_box_pack_end(ct_box, o);
286 286
287 o = _button_add(win, "Settings", "settings", _cb_ct_options, NULL); 287 o = _button_add(win, _("Settings"), "settings", _cb_ct_options, NULL);
288 elm_box_pack_end(ct_box, o); 288 elm_box_pack_end(ct_box, o);
289 289
290 o = _sep_add_h(win); 290 o = _sep_add_h(win);
291 elm_box_pack_end(ct_box, o); 291 elm_box_pack_end(ct_box, o);
292 292
293 o = _button_add(win, _("About"), "about", _cb_ct_about, NULL); 293 o = _button_add(win, _("About"), "about", _cb_ct_about, NULL);
294 elm_box_pack_end(ct_box, o); 294 elm_box_pack_end(ct_box, o);
295 295