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,7 +80,7 @@ | ||
80 | .name = "reconnect", | 80 | .name = "reconnect", |
81 | .key = NULL, | 81 | .key = NULL, |
82 | .icon = "connect", | 82 | .icon = "connect", |
83 | - .label = NULL, | 83 | + .label = N_( "_Connect" ) , |
84 | .summary = N_( "Connect to host." ), | 84 | .summary = N_( "Connect to host." ), |
85 | .activate = connect_host, | 85 | .activate = connect_host, |
86 | .activatable = lib3270_is_disconnected | 86 | .activatable = lib3270_is_disconnected |
@@ -90,7 +90,7 @@ | @@ -90,7 +90,7 @@ | ||
90 | .name = "disconnect", | 90 | .name = "disconnect", |
91 | .key = NULL, | 91 | .key = NULL, |
92 | .icon = "disconnect", | 92 | .icon = "disconnect", |
93 | - .label = NULL, | 93 | + .label = N_( "_Disconnect" ), |
94 | .summary = N_( "Disconnect from host." ), | 94 | .summary = N_( "Disconnect from host." ), |
95 | .activate = lib3270_disconnect, | 95 | .activate = lib3270_disconnect, |
96 | .activatable = lib3270_is_connected | 96 | .activatable = lib3270_is_connected |
@@ -219,7 +219,7 @@ | @@ -219,7 +219,7 @@ | ||
219 | .name = "select_all", | 219 | .name = "select_all", |
220 | .key = "<ctrl>a", | 220 | .key = "<ctrl>a", |
221 | .icon = "edit-select-all", | 221 | .icon = "edit-select-all", |
222 | - .label = NULL, | 222 | + .label = N_( "Select all" ), |
223 | .summary = NULL, | 223 | .summary = NULL, |
224 | .activate = lib3270_select_all, | 224 | .activate = lib3270_select_all, |
225 | .activatable = lib3270_is_connected | 225 | .activatable = lib3270_is_connected |
@@ -229,7 +229,7 @@ | @@ -229,7 +229,7 @@ | ||
229 | .name = "unselect", | 229 | .name = "unselect", |
230 | .key = NULL, | 230 | .key = NULL, |
231 | .icon = NULL, | 231 | .icon = NULL, |
232 | - .label = NULL, | 232 | + .label = N_( "Remove selection" ), |
233 | .summary = N_( "Remove selection" ), | 233 | .summary = N_( "Remove selection" ), |
234 | .activate = lib3270_unselect, | 234 | .activate = lib3270_unselect, |
235 | .activatable = lib3270_has_selection | 235 | .activatable = lib3270_has_selection |
@@ -239,7 +239,7 @@ | @@ -239,7 +239,7 @@ | ||
239 | .name = "reselect", | 239 | .name = "reselect", |
240 | .key = "<Ctrl>r", | 240 | .key = "<Ctrl>r", |
241 | .icon = NULL, | 241 | .icon = NULL, |
242 | - .label = NULL, | 242 | + .label = N_( "Reselect" ), |
243 | .summary = N_( "Reselect"), | 243 | .summary = N_( "Reselect"), |
244 | .activate = lib3270_reselect, | 244 | .activate = lib3270_reselect, |
245 | .activatable = lib3270_is_connected | 245 | .activatable = lib3270_is_connected |
@@ -252,7 +252,7 @@ | @@ -252,7 +252,7 @@ | ||
252 | .name = "select_field", | 252 | .name = "select_field", |
253 | .key = "<Ctrl>f", | 253 | .key = "<Ctrl>f", |
254 | .icon = NULL, | 254 | .icon = NULL, |
255 | - .label = NULL, | 255 | + .label = N_( "Select field" ), |
256 | .summary = N_( "Select Field" ), | 256 | .summary = N_( "Select Field" ), |
257 | .activate = lib3270_select_field, | 257 | .activate = lib3270_select_field, |
258 | .activatable = lib3270_is_formatted | 258 | .activatable = lib3270_is_formatted |