diff -ur mc.git/src/view.c mc.src/src/view.c
old
|
new
|
|
3392 | 3392 | buttonbar_set_label (h, 1, Q_("ButtonBar|Help"), view_help_cmd); |
3393 | 3393 | |
3394 | 3394 | my_define (h, 10, Q_("ButtonBar|Quit"), view_quit_cmd, view); |
3395 | | text = view->hex_mode ? "ButtonBar|Ascii" : "ButtonBar|Hex"; |
| 3395 | text = view->hex_mode ? N_("ButtonBar|Ascii") : N_("ButtonBar|Hex"); |
3396 | 3396 | my_define (h, 4, Q_(text), view_toggle_hex_mode_cmd, view); |
3397 | | text = view->hex_mode ?"ButtonBar|Goto": "ButtonBar|Line"; |
| 3397 | text = view->hex_mode ? N_("ButtonBar|Goto"): N_("ButtonBar|Line"); |
3398 | 3398 | my_define (h, 5, Q_(text), |
3399 | 3399 | view->hex_mode ? view_moveto_addr_cmd : view_moveto_line_cmd, view); |
3400 | 3400 | |
… |
… |
|
3411 | 3411 | my_define (h, 6, Q_("ButtonBar|Save"), |
3412 | 3412 | view_hexedit_save_changes_cmd, view); |
3413 | 3413 | } else { |
3414 | | text = view->text_wrap_mode ? "ButtonBar|UnWrap" : "ButtonBar|Wrap"; |
| 3414 | text = view->text_wrap_mode ? N_("ButtonBar|UnWrap") : N_("ButtonBar|Wrap"); |
3415 | 3415 | my_define (h, 2, Q_(text), view_toggle_wrap_mode_cmd, view); |
3416 | 3416 | } |
3417 | 3417 | |
3418 | | text = view->hex_mode ? "ButtonBar|HxSrch" : "ButtonBar|Search"; |
| 3418 | text = view->hex_mode ? N_("ButtonBar|HxSrch") : N_("ButtonBar|Search"); |
3419 | 3419 | my_define (h, 7, Q_(text), view_search_cmd, view); |
3420 | | text = view->magic_mode ? "ButtonBar|Raw" : "ButtonBar|Parse"; |
| 3420 | text = view->magic_mode ? N_("ButtonBar|Raw") : N_("ButtonBar|Parse"); |
3421 | 3421 | my_define (h, 8, Q_(text), view_toggle_magic_mode_cmd, view); |
3422 | 3422 | |
3423 | 3423 | /* don't override the key to access the main menu */ |
3424 | 3424 | if (!view_is_in_panel (view)) { |
3425 | | text = view->text_nroff_mode ? "ButtonBar|Unform" : "ButtonBar|Format"; |
| 3425 | text = view->text_nroff_mode ? N_("ButtonBar|Unform") : N_("ButtonBar|Format"); |
3426 | 3426 | my_define (h, 9, Q_(text), view_toggle_nroff_mode_cmd, view); |
3427 | 3427 | my_define (h, 3, Q_("ButtonBar|Quit"), view_quit_cmd, view); |
3428 | 3428 | } |