Commit f32b38a3307409e1832ce3e143d879e348ccd5e1
1 parent
59e78ac3
Exists in
master
and in
3 other branches
Adding labels to some actions for testing of the new GUI.
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
src/core/actions/table.c
| ... | ... | @@ -80,7 +80,7 @@ |
| 80 | 80 | .name = "reconnect", |
| 81 | 81 | .key = NULL, |
| 82 | 82 | .icon = "connect", |
| 83 | - .label = NULL, | |
| 83 | + .label = N_( "_Connect" ) , | |
| 84 | 84 | .summary = N_( "Connect to host." ), |
| 85 | 85 | .activate = connect_host, |
| 86 | 86 | .activatable = lib3270_is_disconnected |
| ... | ... | @@ -90,7 +90,7 @@ |
| 90 | 90 | .name = "disconnect", |
| 91 | 91 | .key = NULL, |
| 92 | 92 | .icon = "disconnect", |
| 93 | - .label = NULL, | |
| 93 | + .label = N_( "_Disconnect" ), | |
| 94 | 94 | .summary = N_( "Disconnect from host." ), |
| 95 | 95 | .activate = lib3270_disconnect, |
| 96 | 96 | .activatable = lib3270_is_connected |
| ... | ... | @@ -219,7 +219,7 @@ |
| 219 | 219 | .name = "select_all", |
| 220 | 220 | .key = "<ctrl>a", |
| 221 | 221 | .icon = "edit-select-all", |
| 222 | - .label = NULL, | |
| 222 | + .label = N_( "Select all" ), | |
| 223 | 223 | .summary = NULL, |
| 224 | 224 | .activate = lib3270_select_all, |
| 225 | 225 | .activatable = lib3270_is_connected |
| ... | ... | @@ -229,7 +229,7 @@ |
| 229 | 229 | .name = "unselect", |
| 230 | 230 | .key = NULL, |
| 231 | 231 | .icon = NULL, |
| 232 | - .label = NULL, | |
| 232 | + .label = N_( "Remove selection" ), | |
| 233 | 233 | .summary = N_( "Remove selection" ), |
| 234 | 234 | .activate = lib3270_unselect, |
| 235 | 235 | .activatable = lib3270_has_selection |
| ... | ... | @@ -239,7 +239,7 @@ |
| 239 | 239 | .name = "reselect", |
| 240 | 240 | .key = "<Ctrl>r", |
| 241 | 241 | .icon = NULL, |
| 242 | - .label = NULL, | |
| 242 | + .label = N_( "Reselect" ), | |
| 243 | 243 | .summary = N_( "Reselect"), |
| 244 | 244 | .activate = lib3270_reselect, |
| 245 | 245 | .activatable = lib3270_is_connected |
| ... | ... | @@ -252,7 +252,7 @@ |
| 252 | 252 | .name = "select_field", |
| 253 | 253 | .key = "<Ctrl>f", |
| 254 | 254 | .icon = NULL, |
| 255 | - .label = NULL, | |
| 255 | + .label = N_( "Select field" ), | |
| 256 | 256 | .summary = N_( "Select Field" ), |
| 257 | 257 | .activate = lib3270_select_field, |
| 258 | 258 | .activatable = lib3270_is_formatted | ... | ... |