Ticket #397: Q_.diff
File Q_.diff, 3.3 KB (added by dmartina, 15 years ago) |
---|
-
src/screen.c
old new panel_field_t panel_fields [] = { 435 435 { 436 436 "unsorted", 12, 1, J_LEFT_FIT, 437 437 /* TRANSLATORS: one single character to represent 'unsorted' sort mode */ 438 N_("u"), 438 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 439 N_("sort|u"), 439 440 N_("Unsorted"), N_("&Unsorted"), FALSE, 440 441 string_file_name, 441 442 (sortfn *) unsorted … … panel_field_t panel_fields [] = { 443 444 { 444 445 "name", 12, 1, J_LEFT_FIT, 445 446 /* TRANSLATORS: one single character to represent 'name' sort mode */ 446 N_("n"), 447 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 448 N_("sort|n"), 447 449 N_("Name"), N_("&Name"), TRUE, 448 450 string_file_name, 449 451 (sortfn *) sort_name … … panel_field_t panel_fields [] = { 451 453 { 452 454 "extension", 12, 1, J_LEFT_FIT, 453 455 /* TRANSLATORS: one single character to represent 'extension' sort mode */ 454 N_("e"), 456 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 457 N_("sort|e"), 455 458 N_("Extension"), N_("&Extension"), FALSE, 456 459 string_file_name, /* TODO: string_file_ext*/ 457 460 (sortfn *) sort_ext … … panel_field_t panel_fields [] = { 459 462 { 460 463 "size", 7, 0, J_RIGHT, 461 464 /* TRANSLATORS: one single character to represent 'size' sort mode */ 462 N_("s"), 465 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 466 N_("sort|s"), 463 467 N_("Size"), N_("&Size"), TRUE, 464 468 string_file_size, 465 469 (sortfn *) sort_size … … panel_field_t panel_fields [] = { 481 485 { 482 486 "mtime", 12, 0, J_RIGHT, 483 487 /* TRANSLATORS: one single character to represent 'Modify time' sort mode */ 484 N_("m"), 488 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 489 N_("sort|m"), 485 490 N_("MTime"), N_("&Modify time"), TRUE, 486 491 string_file_mtime, 487 492 (sortfn *) sort_time … … panel_field_t panel_fields [] = { 489 494 { 490 495 "atime", 12, 0, J_RIGHT, 491 496 /* TRANSLATORS: one single character to represent 'Access time' sort mode */ 492 N_("a"), 497 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 498 N_("sort|a"), 493 499 N_("ATime"), N_("&Access time"), TRUE, 494 500 string_file_atime, 495 501 (sortfn *) sort_atime … … panel_field_t panel_fields [] = { 497 503 { 498 504 "ctime", 12, 0, J_RIGHT, 499 505 /* TRANSLATORS: one single character to represent 'Change time' sort mode */ 500 N_("h"), 506 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 507 N_("sort|h"), 501 508 N_("CTime"), N_("C&Hange time"), TRUE, 502 509 string_file_ctime, 503 510 (sortfn *) sort_ctime … … panel_field_t panel_fields [] = { 525 532 { 526 533 "inode", 5, 0, J_RIGHT, 527 534 /* TRANSLATORS: one single character to represent 'inode' sort mode */ 528 N_("i"), 535 /* TRANSLATORS: no need to translate 'sort', it's just a context prefix */ 536 N_("sort|i"), 529 537 N_("Inode"), N_("&Inode"), TRUE, 530 538 string_inode, 531 539 (sortfn *) sort_inode … … panel_paint_sort_info(WPanel *panel) 1349 1357 if (*panel->current_sort_field->hotkey == '\0') 1350 1358 return; 1351 1359 1352 str = g_strdup_printf("%s%s",sort_sign, _(panel->current_sort_field->hotkey));1360 str = g_strdup_printf("%s%s",sort_sign, Q_(panel->current_sort_field->hotkey)); 1353 1361 1354 1362 widget_move (&panel->widget, 1, 1); 1355 1363 tty_print_string (str);