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