Commit 94f8d0fdda86bfff02a4e7c123bf9503fe00a9c0
1 parent
17936874
Exists in
master
and in
3 other branches
Fixing action labels.
Showing
1 changed file
with
21 additions
and
21 deletions
Show diff stats
src/core/actions/table.c
... | ... | @@ -99,7 +99,7 @@ |
99 | 99 | |
100 | 100 | .keys = "Up,KP_Up", |
101 | 101 | .icon = "go-up", |
102 | - .label = NULL, | |
102 | + .label = N_("Up"), | |
103 | 103 | .summary = N_( "Cursor up 1 position" ), |
104 | 104 | .activate = lib3270_cursor_up, |
105 | 105 | |
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | |
114 | 114 | .keys = "Down,KP_Down", |
115 | 115 | .icon = "go-down", |
116 | - .label = NULL, | |
116 | + .label = N_("Down"), | |
117 | 117 | .summary = N_( "Cursor down 1 position" ), |
118 | 118 | .activate = lib3270_cursor_down, |
119 | 119 | |
... | ... | @@ -127,7 +127,7 @@ |
127 | 127 | |
128 | 128 | .keys = "Left,KP_Left", |
129 | 129 | .icon = "go-previous", |
130 | - .label = NULL, | |
130 | + .label = N_("Left"), | |
131 | 131 | .summary = N_( "Cursor left 1 position" ), |
132 | 132 | .activate = lib3270_cursor_left, |
133 | 133 | |
... | ... | @@ -141,7 +141,7 @@ |
141 | 141 | |
142 | 142 | .keys = "Right,KP_Right", |
143 | 143 | .icon = "go-next", |
144 | - .label = NULL, | |
144 | + .label = N_("Right"), | |
145 | 145 | .summary = N_( "Cursor right 1 position" ), |
146 | 146 | .activate = lib3270_cursor_right, |
147 | 147 | |
... | ... | @@ -155,7 +155,7 @@ |
155 | 155 | |
156 | 156 | .keys = "Control_R", |
157 | 157 | .icon = NULL, |
158 | - .label = NULL, | |
158 | + .label = N_("New line"), | |
159 | 159 | .summary = N_( "Cursor to first field on next line or any lines after that" ), |
160 | 160 | .activate = lib3270_newline, |
161 | 161 | |
... | ... | @@ -169,7 +169,7 @@ |
169 | 169 | |
170 | 170 | .keys = NULL, |
171 | 171 | .icon = NULL, |
172 | - .label = NULL, | |
172 | + .label = N_("Previous word"), | |
173 | 173 | .summary = N_( "Cursor to previous word" ), |
174 | 174 | .activate = lib3270_previousword, |
175 | 175 | |
... | ... | @@ -183,7 +183,7 @@ |
183 | 183 | |
184 | 184 | .keys = NULL, |
185 | 185 | .icon = NULL, |
186 | - .label = NULL, | |
186 | + .label = N_("Next word"), | |
187 | 187 | .summary = N_( "Cursor to next unprotected word" ), |
188 | 188 | .activate = lib3270_nextword, |
189 | 189 | |
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | |
198 | 198 | .keys = NULL, |
199 | 199 | .icon = "document-load", |
200 | - .label = NULL, | |
200 | + .label = N_("Paste from file"), | |
201 | 201 | .summary = N_( "Paste from text file" ), |
202 | 202 | .activate = paste_file, |
203 | 203 | |
... | ... | @@ -274,7 +274,7 @@ |
274 | 274 | |
275 | 275 | .keys = NULL, |
276 | 276 | .icon = NULL, |
277 | - .label = NULL, | |
277 | + .label = N_("Field end"), | |
278 | 278 | .summary = N_( "Move the cursor to the first blank after the last nonblank in the field" ), |
279 | 279 | .activate = lib3270_fieldend, |
280 | 280 | |
... | ... | @@ -288,7 +288,7 @@ |
288 | 288 | |
289 | 289 | .keys = "Home", |
290 | 290 | .icon = "go-first", |
291 | - .label = NULL, | |
291 | + .label = N_("First field"), | |
292 | 292 | .summary = N_( "Move to first unprotected field on screen" ), |
293 | 293 | .activate = lib3270_firstfield, |
294 | 294 | |
... | ... | @@ -302,7 +302,7 @@ |
302 | 302 | |
303 | 303 | .keys = "Tab", |
304 | 304 | .icon = "go-next", |
305 | - .label = NULL, | |
305 | + .label = N_("Next field"), | |
306 | 306 | .summary = N_( "Tab forward to next field" ), |
307 | 307 | .activate = lib3270_nextfield, |
308 | 308 | |
... | ... | @@ -316,7 +316,7 @@ |
316 | 316 | |
317 | 317 | .keys = "<Shift>ISO_Left_Tab", |
318 | 318 | .icon = "go-previous", |
319 | - .label = NULL, | |
319 | + .label = N_("Previous field"), | |
320 | 320 | .summary = N_( "Tab backward to previous field" ), |
321 | 321 | .activate = lib3270_previousfield, |
322 | 322 | |
... | ... | @@ -405,7 +405,7 @@ |
405 | 405 | |
406 | 406 | .keys = "BackSpace", |
407 | 407 | .icon = NULL, |
408 | - .label = NULL, | |
408 | + .label = N_("Erase"), | |
409 | 409 | .summary = NULL, |
410 | 410 | .activate = lib3270_erase, |
411 | 411 | |
... | ... | @@ -436,7 +436,7 @@ |
436 | 436 | |
437 | 437 | .keys = NULL, |
438 | 438 | .icon = "gtk-ok", |
439 | - .label = NULL, | |
439 | + .label = N_("Enter"), | |
440 | 440 | .summary = N_( "Send an \"Enter\" action" ), |
441 | 441 | .activate = lib3270_enter, |
442 | 442 | |
... | ... | @@ -466,7 +466,7 @@ |
466 | 466 | |
467 | 467 | .keys = "Delete", |
468 | 468 | .icon = NULL, |
469 | - .label = NULL, | |
469 | + .label = N_("Delete"), | |
470 | 470 | .summary = NULL, |
471 | 471 | .activate = lib3270_delete, |
472 | 472 | |
... | ... | @@ -480,7 +480,7 @@ |
480 | 480 | |
481 | 481 | .keys = "<Shift>KP_Multiply", |
482 | 482 | .icon = NULL, |
483 | - .label = NULL, | |
483 | + .label = N_("Dup"), | |
484 | 484 | .summary = N_( "DUP key" ), |
485 | 485 | .activate = lib3270_dup, |
486 | 486 | |
... | ... | @@ -494,7 +494,7 @@ |
494 | 494 | |
495 | 495 | .keys = NULL, |
496 | 496 | .icon = NULL, |
497 | - .label = NULL, | |
497 | + .label = N_("FM Key"), | |
498 | 498 | .summary = N_( "FM key" ), |
499 | 499 | .activate = lib3270_fieldmark, |
500 | 500 | |
... | ... | @@ -508,7 +508,7 @@ |
508 | 508 | |
509 | 509 | .keys = NULL, |
510 | 510 | .icon = NULL, |
511 | - .label = NULL, | |
511 | + .label = N_("Back space"), | |
512 | 512 | .summary = N_( "3270-style backspace" ), |
513 | 513 | .activate = lib3270_backspace, |
514 | 514 | |
... | ... | @@ -564,7 +564,7 @@ |
564 | 564 | |
565 | 565 | .keys = "<shift>Print", |
566 | 566 | .icon = NULL, |
567 | - .label = NULL, | |
567 | + .label = N_("Sys Req"), | |
568 | 568 | .summary = NULL, |
569 | 569 | .activate = lib3270_sysreq, |
570 | 570 | |
... | ... | @@ -582,7 +582,7 @@ |
582 | 582 | |
583 | 583 | .keys = NULL, |
584 | 584 | .icon = NULL, |
585 | - .label = NULL, | |
585 | + .label = N_("Test pattern"), | |
586 | 586 | .summary = NULL, |
587 | 587 | .activate = lib3270_testpattern, |
588 | 588 | |
... | ... | @@ -596,7 +596,7 @@ |
596 | 596 | |
597 | 597 | .keys = NULL, |
598 | 598 | .icon = NULL, |
599 | - .label = NULL, | |
599 | + .label = N_("Charset table"), | |
600 | 600 | .summary = NULL, |
601 | 601 | .activate = lib3270_charsettable, |
602 | 602 | ... | ... |