Commit e32c7e033a695871102c129bd46129399f222f74

Authored by tatiana
1 parent 868eb789

ENH: Translation to pt (code and po) #96

i18n/invesalius_en.po
@@ -8,7 +8,7 @@ msgid "" @@ -8,7 +8,7 @@ msgid ""
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: InVesalius 3\n" 9 "Project-Id-Version: InVesalius 3\n"
10 "Report-Msgid-Bugs-To: \n" 10 "Report-Msgid-Bugs-To: \n"
11 -"POT-Creation-Date: 2010-01-13 11:37-0200\n" 11 +"POT-Creation-Date: 2010-01-13 16:09-0200\n"
12 "PO-Revision-Date: 2010-01-07 11:25-0300\n" 12 "PO-Revision-Date: 2010-01-07 11:25-0300\n"
13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n" 13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n"
14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n" 14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n"
@@ -47,8 +47,8 @@ msgstr &quot;&quot; @@ -47,8 +47,8 @@ msgstr &quot;&quot;
47 msgid "Inverse Gray" 47 msgid "Inverse Gray"
48 msgstr "" 48 msgstr ""
49 49
50 -#: constants.py:152 constants.py:212 dicom_preview_panel.py:355  
51 -#: dicom_preview_panel.py:356 presets.py:30 presets.py:48 presets.py:119 50 +#: constants.py:152 constants.py:212 dicom_preview_panel.py:365
  51 +#: dicom_preview_panel.py:366 presets.py:30 presets.py:48 presets.py:119
52 msgid "Bone" 52 msgid "Bone"
53 msgstr "" 53 msgstr ""
54 54
@@ -106,7 +106,7 @@ msgstr &quot;&quot; @@ -106,7 +106,7 @@ msgstr &quot;&quot;
106 msgid "Brain" 106 msgid "Brain"
107 msgstr "" 107 msgstr ""
108 108
109 -#: constants.py:215 slice_menu.py:39 slice_menu.py:51 109 +#: constants.py:215 control.py:293 slice_menu.py:39 slice_menu.py:51
110 msgid "Default" 110 msgid "Default"
111 msgstr "" 111 msgstr ""
112 112
@@ -142,7 +142,7 @@ msgstr &quot;&quot; @@ -142,7 +142,7 @@ msgstr &quot;&quot;
142 msgid "Mediastinum" 142 msgid "Mediastinum"
143 msgstr "" 143 msgstr ""
144 144
145 -#: constants.py:224 slice_menu.py:46 slice_menu.py:51 145 +#: constants.py:224 control.py:294 slice_menu.py:46 slice_menu.py:51
146 msgid "Manual" 146 msgid "Manual"
147 msgstr "" 147 msgstr ""
148 148
@@ -314,6 +314,19 @@ msgstr &quot;&quot; @@ -314,6 +314,19 @@ msgstr &quot;&quot;
314 msgid "Cut plane" 314 msgid "Cut plane"
315 msgstr "" 315 msgstr ""
316 316
  317 +#: control.py:232
  318 +#, python-format
  319 +msgid "Loading file %d of %d"
  320 +msgstr ""
  321 +
  322 +#: control.py:314
  323 +msgid "Untitled"
  324 +msgstr ""
  325 +
  326 +#: control.py:379
  327 +msgid "Fix gantry tilt applying the degrees bellow"
  328 +msgstr ""
  329 +
317 #: data_notebook.py:44 330 #: data_notebook.py:44
318 msgid "Masks" 331 msgid "Masks"
319 msgstr "" 332 msgstr ""
@@ -378,88 +391,93 @@ msgstr &quot;&quot; @@ -378,88 +391,93 @@ msgstr &quot;&quot;
378 msgid "Volume" 391 msgid "Volume"
379 msgstr "" 392 msgstr ""
380 393
381 -#: default_viewers.py:410 394 +#: default_viewers.py:411
382 msgid "Preset name" 395 msgid "Preset name"
383 msgstr "" 396 msgstr ""
384 397
385 -#: default_viewers.py:413 398 +#: default_viewers.py:414
386 msgid "Save raycasting preset" 399 msgid "Save raycasting preset"
387 msgstr "" 400 msgstr ""
388 401
389 -#: default_viewers.py:438 402 +#: default_viewers.py:439
390 msgid "Tools" 403 msgid "Tools"
391 msgstr "" 404 msgstr ""
392 405
393 -#: dialogs.py:51 406 +#: dialogs.py:50
394 msgid "Value will be applied." 407 msgid "Value will be applied."
395 msgstr "" 408 msgstr ""
396 409
397 -#: dialogs.py:55 410 +#: dialogs.py:54
398 msgid "Value will not be applied." 411 msgid "Value will not be applied."
399 msgstr "" 412 msgstr ""
400 413
401 -#: dialogs.py:93 414 +#: dialogs.py:92
402 msgid "Loading DICOM files" 415 msgid "Loading DICOM files"
403 msgstr "" 416 msgstr ""
404 417
405 -#: dialogs.py:141 frame.py:531 418 +#: dialogs.py:137 frame.py:531
406 msgid "Open InVesalius 3 project..." 419 msgid "Open InVesalius 3 project..."
407 msgstr "" 420 msgstr ""
408 421
409 -#: dialogs.py:164 422 +#: dialogs.py:160
410 msgid "Choose a DICOM folder:" 423 msgid "Choose a DICOM folder:"
411 msgstr "" 424 msgstr ""
412 425
413 -#: dialogs.py:189 426 +#: dialogs.py:185
414 msgid "Save project as..." 427 msgid "Save project as..."
415 msgstr "" 428 msgstr ""
416 429
417 -#: dialogs.py:192 430 +#: dialogs.py:188
418 msgid "InVesalius project (*.inv3)|*.inv3" 431 msgid "InVesalius project (*.inv3)|*.inv3"
419 msgstr "" 432 msgstr ""
420 433
421 -#: dialogs.py:255 dialogs.py:294 dialogs.py:316 434 +#: dialogs.py:251 dialogs.py:290 dialogs.py:312
422 #, python-format 435 #, python-format
423 msgid "" 436 msgid ""
424 "The project %s has been modified.\n" 437 "The project %s has been modified.\n"
425 "Save changes?" 438 "Save changes?"
426 msgstr "" 439 msgstr ""
427 440
428 -#: dialogs.py:282 441 +#: dialogs.py:265
  442 +#, python-format
  443 +msgid "%s is an empty directory."
  444 +msgstr ""
  445 +
  446 +#: dialogs.py:278
429 msgid "There are no DICOM files on the selected directory." 447 msgid "There are no DICOM files on the selected directory."
430 msgstr "" 448 msgstr ""
431 449
432 -#: dialogs.py:340 450 +#: dialogs.py:336
433 msgid "(c) 2007 Center for Information Technology Renato Archer" 451 msgid "(c) 2007 Center for Information Technology Renato Archer"
434 msgstr "" 452 msgstr ""
435 453
436 -#: dialogs.py:342 454 +#: dialogs.py:338
437 msgid "InVesalius is a software for medical imaging 3D reconstruction. " 455 msgid "InVesalius is a software for medical imaging 3D reconstruction. "
438 msgstr "" 456 msgstr ""
439 457
440 -#: dialogs.py:343 458 +#: dialogs.py:339
441 msgid "" 459 msgid ""
442 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n" 460 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n"
443 "\n" 461 "\n"
444 msgstr "" 462 msgstr ""
445 463
446 -#: dialogs.py:344 464 +#: dialogs.py:340
447 msgid "The software also allows generating correspondent STL files," 465 msgid "The software also allows generating correspondent STL files,"
448 msgstr "" 466 msgstr ""
449 467
450 -#: dialogs.py:345 468 +#: dialogs.py:341
451 msgid "so the user can print 3D physical models of the patient's anatomy " 469 msgid "so the user can print 3D physical models of the patient's anatomy "
452 msgstr "" 470 msgstr ""
453 471
454 -#: dialogs.py:346 472 +#: dialogs.py:342
455 msgid "using Rapid Prototyping." 473 msgid "using Rapid Prototyping."
456 msgstr "" 474 msgstr ""
457 475
458 -#: dialogs.py:349 476 +#: dialogs.py:345
459 msgid "GNU GPL (General Public License) version 2" 477 msgid "GNU GPL (General Public License) version 2"
460 msgstr "" 478 msgstr ""
461 479
462 -#: dialogs.py:364 480 +#: dialogs.py:360
463 msgid "Save raycasting preset as:" 481 msgid "Save raycasting preset as:"
464 msgstr "" 482 msgstr ""
465 483
@@ -485,36 +503,36 @@ msgid &quot;&quot; @@ -485,36 +503,36 @@ msgid &quot;&quot;
485 "Made in InVesalius" 503 "Made in InVesalius"
486 msgstr "" 504 msgstr ""
487 505
488 -#: dicom_preview_panel.py:146 dicom_preview_panel.py:147 506 +#: dicom_preview_panel.py:156 dicom_preview_panel.py:157
489 msgid "Image" 507 msgid "Image"
490 msgstr "" 508 msgstr ""
491 509
492 -#: dicom_preview_panel.py:364 510 +#: dicom_preview_panel.py:374
493 msgid "image size" 511 msgid "image size"
494 msgstr "" 512 msgstr ""
495 513
496 -#: dicom_preview_panel.py:373 514 +#: dicom_preview_panel.py:383
497 msgid "" 515 msgid ""
498 "id\n" 516 "id\n"
499 "protocol" 517 "protocol"
500 msgstr "" 518 msgstr ""
501 519
502 -#: dicom_preview_panel.py:380 520 +#: dicom_preview_panel.py:390
503 msgid "" 521 msgid ""
504 "date time\n" 522 "date time\n"
505 " Made in InVesalius" 523 " Made in InVesalius"
506 msgstr "" 524 msgstr ""
507 525
508 -#: dicom_preview_panel.py:426 526 +#: dicom_preview_panel.py:436
509 msgid "Auto-play" 527 msgid "Auto-play"
510 msgstr "" 528 msgstr ""
511 529
512 -#: dicom_preview_panel.py:650 530 +#: dicom_preview_panel.py:660
513 #, python-format 531 #, python-format
514 msgid "%d Images" 532 msgid "%d Images"
515 msgstr "" 533 msgstr ""
516 534
517 -#: dicom_preview_panel.py:767 dicom_preview_panel.py:788 535 +#: dicom_preview_panel.py:777 dicom_preview_panel.py:798
518 #, python-format 536 #, python-format
519 msgid "Image %d" 537 msgid "Image %d"
520 msgstr "" 538 msgstr ""
@@ -784,51 +802,51 @@ msgstr &quot;&quot; @@ -784,51 +802,51 @@ msgstr &quot;&quot;
784 msgid "Open an existing project..." 802 msgid "Open an existing project..."
785 msgstr "" 803 msgstr ""
786 804
787 -#: task_slice.py:79 805 +#: task_slice.py:80
788 msgid "Create mask for slice segmentation and edition" 806 msgid "Create mask for slice segmentation and edition"
789 msgstr "" 807 msgstr ""
790 808
791 -#: task_slice.py:80 809 +#: task_slice.py:81
792 msgid "Create new mask" 810 msgid "Create new mask"
793 msgstr "" 811 msgstr ""
794 812
795 -#: task_slice.py:108 813 +#: task_slice.py:109
796 msgid "Create 3D surface" 814 msgid "Create 3D surface"
797 msgstr "" 815 msgstr ""
798 816
799 -#: task_slice.py:137 817 +#: task_slice.py:138
800 msgid "Name of new mask:" 818 msgid "Name of new mask:"
801 msgstr "" 819 msgstr ""
802 820
803 -#: task_slice.py:138 821 +#: task_slice.py:139
804 msgid "InVesalius 3 - New mask" 822 msgid "InVesalius 3 - New mask"
805 msgstr "" 823 msgstr ""
806 824
807 -#: task_slice.py:196 825 +#: task_slice.py:197
808 msgid "Mask properties" 826 msgid "Mask properties"
809 msgstr "" 827 msgstr ""
810 828
811 -#: task_slice.py:204 829 +#: task_slice.py:205
812 msgid "Advanced edition tools" 830 msgid "Advanced edition tools"
813 msgstr "" 831 msgstr ""
814 832
815 -#: task_slice.py:288 833 +#: task_slice.py:289
816 msgid "Set predefined or manual threshold:" 834 msgid "Set predefined or manual threshold:"
817 msgstr "" 835 msgstr ""
818 836
819 -#: task_slice.py:440 837 +#: task_slice.py:441
820 msgid "Choose brush type, size or operation:" 838 msgid "Choose brush type, size or operation:"
821 msgstr "" 839 msgstr ""
822 840
823 -#: task_slice.py:446 841 +#: task_slice.py:447
824 msgid "Circle" 842 msgid "Circle"
825 msgstr "" 843 msgstr ""
826 844
827 -#: task_slice.py:450 845 +#: task_slice.py:451
828 msgid "Square" 846 msgid "Square"
829 msgstr "" 847 msgstr ""
830 848
831 -#: task_slice.py:486 849 +#: task_slice.py:487
832 msgid "Brush threshold range:" 850 msgid "Brush threshold range:"
833 msgstr "" 851 msgstr ""
834 852
i18n/invesalius_es.po
@@ -8,7 +8,7 @@ msgid &quot;&quot; @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: InVesalius 3\n" 9 "Project-Id-Version: InVesalius 3\n"
10 "Report-Msgid-Bugs-To: \n" 10 "Report-Msgid-Bugs-To: \n"
11 -"POT-Creation-Date: 2010-01-13 11:37-0200\n" 11 +"POT-Creation-Date: 2010-01-13 16:09-0200\n"
12 "PO-Revision-Date: 2010-01-07 11:25-0300\n" 12 "PO-Revision-Date: 2010-01-07 11:25-0300\n"
13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n" 13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n"
14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n" 14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n"
@@ -47,8 +47,8 @@ msgstr &quot;&quot; @@ -47,8 +47,8 @@ msgstr &quot;&quot;
47 msgid "Inverse Gray" 47 msgid "Inverse Gray"
48 msgstr "" 48 msgstr ""
49 49
50 -#: constants.py:152 constants.py:212 dicom_preview_panel.py:355  
51 -#: dicom_preview_panel.py:356 presets.py:30 presets.py:48 presets.py:119 50 +#: constants.py:152 constants.py:212 dicom_preview_panel.py:365
  51 +#: dicom_preview_panel.py:366 presets.py:30 presets.py:48 presets.py:119
52 msgid "Bone" 52 msgid "Bone"
53 msgstr "" 53 msgstr ""
54 54
@@ -106,7 +106,7 @@ msgstr &quot;&quot; @@ -106,7 +106,7 @@ msgstr &quot;&quot;
106 msgid "Brain" 106 msgid "Brain"
107 msgstr "" 107 msgstr ""
108 108
109 -#: constants.py:215 slice_menu.py:39 slice_menu.py:51 109 +#: constants.py:215 control.py:293 slice_menu.py:39 slice_menu.py:51
110 msgid "Default" 110 msgid "Default"
111 msgstr "" 111 msgstr ""
112 112
@@ -142,7 +142,7 @@ msgstr &quot;&quot; @@ -142,7 +142,7 @@ msgstr &quot;&quot;
142 msgid "Mediastinum" 142 msgid "Mediastinum"
143 msgstr "" 143 msgstr ""
144 144
145 -#: constants.py:224 slice_menu.py:46 slice_menu.py:51 145 +#: constants.py:224 control.py:294 slice_menu.py:46 slice_menu.py:51
146 msgid "Manual" 146 msgid "Manual"
147 msgstr "" 147 msgstr ""
148 148
@@ -314,6 +314,19 @@ msgstr &quot;&quot; @@ -314,6 +314,19 @@ msgstr &quot;&quot;
314 msgid "Cut plane" 314 msgid "Cut plane"
315 msgstr "" 315 msgstr ""
316 316
  317 +#: control.py:232
  318 +#, python-format
  319 +msgid "Loading file %d of %d"
  320 +msgstr ""
  321 +
  322 +#: control.py:314
  323 +msgid "Untitled"
  324 +msgstr ""
  325 +
  326 +#: control.py:379
  327 +msgid "Fix gantry tilt applying the degrees bellow"
  328 +msgstr ""
  329 +
317 #: data_notebook.py:44 330 #: data_notebook.py:44
318 msgid "Masks" 331 msgid "Masks"
319 msgstr "" 332 msgstr ""
@@ -378,88 +391,93 @@ msgstr &quot;&quot; @@ -378,88 +391,93 @@ msgstr &quot;&quot;
378 msgid "Volume" 391 msgid "Volume"
379 msgstr "" 392 msgstr ""
380 393
381 -#: default_viewers.py:410 394 +#: default_viewers.py:411
382 msgid "Preset name" 395 msgid "Preset name"
383 msgstr "" 396 msgstr ""
384 397
385 -#: default_viewers.py:413 398 +#: default_viewers.py:414
386 msgid "Save raycasting preset" 399 msgid "Save raycasting preset"
387 msgstr "" 400 msgstr ""
388 401
389 -#: default_viewers.py:438 402 +#: default_viewers.py:439
390 msgid "Tools" 403 msgid "Tools"
391 msgstr "" 404 msgstr ""
392 405
393 -#: dialogs.py:51 406 +#: dialogs.py:50
394 msgid "Value will be applied." 407 msgid "Value will be applied."
395 msgstr "" 408 msgstr ""
396 409
397 -#: dialogs.py:55 410 +#: dialogs.py:54
398 msgid "Value will not be applied." 411 msgid "Value will not be applied."
399 msgstr "" 412 msgstr ""
400 413
401 -#: dialogs.py:93 414 +#: dialogs.py:92
402 msgid "Loading DICOM files" 415 msgid "Loading DICOM files"
403 msgstr "" 416 msgstr ""
404 417
405 -#: dialogs.py:141 frame.py:531 418 +#: dialogs.py:137 frame.py:531
406 msgid "Open InVesalius 3 project..." 419 msgid "Open InVesalius 3 project..."
407 msgstr "" 420 msgstr ""
408 421
409 -#: dialogs.py:164 422 +#: dialogs.py:160
410 msgid "Choose a DICOM folder:" 423 msgid "Choose a DICOM folder:"
411 msgstr "" 424 msgstr ""
412 425
413 -#: dialogs.py:189 426 +#: dialogs.py:185
414 msgid "Save project as..." 427 msgid "Save project as..."
415 msgstr "" 428 msgstr ""
416 429
417 -#: dialogs.py:192 430 +#: dialogs.py:188
418 msgid "InVesalius project (*.inv3)|*.inv3" 431 msgid "InVesalius project (*.inv3)|*.inv3"
419 msgstr "" 432 msgstr ""
420 433
421 -#: dialogs.py:255 dialogs.py:294 dialogs.py:316 434 +#: dialogs.py:251 dialogs.py:290 dialogs.py:312
422 #, python-format 435 #, python-format
423 msgid "" 436 msgid ""
424 "The project %s has been modified.\n" 437 "The project %s has been modified.\n"
425 "Save changes?" 438 "Save changes?"
426 msgstr "" 439 msgstr ""
427 440
428 -#: dialogs.py:282 441 +#: dialogs.py:265
  442 +#, python-format
  443 +msgid "%s is an empty directory."
  444 +msgstr ""
  445 +
  446 +#: dialogs.py:278
429 msgid "There are no DICOM files on the selected directory." 447 msgid "There are no DICOM files on the selected directory."
430 msgstr "" 448 msgstr ""
431 449
432 -#: dialogs.py:340 450 +#: dialogs.py:336
433 msgid "(c) 2007 Center for Information Technology Renato Archer" 451 msgid "(c) 2007 Center for Information Technology Renato Archer"
434 msgstr "" 452 msgstr ""
435 453
436 -#: dialogs.py:342 454 +#: dialogs.py:338
437 msgid "InVesalius is a software for medical imaging 3D reconstruction. " 455 msgid "InVesalius is a software for medical imaging 3D reconstruction. "
438 msgstr "" 456 msgstr ""
439 457
440 -#: dialogs.py:343 458 +#: dialogs.py:339
441 msgid "" 459 msgid ""
442 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n" 460 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n"
443 "\n" 461 "\n"
444 msgstr "" 462 msgstr ""
445 463
446 -#: dialogs.py:344 464 +#: dialogs.py:340
447 msgid "The software also allows generating correspondent STL files," 465 msgid "The software also allows generating correspondent STL files,"
448 msgstr "" 466 msgstr ""
449 467
450 -#: dialogs.py:345 468 +#: dialogs.py:341
451 msgid "so the user can print 3D physical models of the patient's anatomy " 469 msgid "so the user can print 3D physical models of the patient's anatomy "
452 msgstr "" 470 msgstr ""
453 471
454 -#: dialogs.py:346 472 +#: dialogs.py:342
455 msgid "using Rapid Prototyping." 473 msgid "using Rapid Prototyping."
456 msgstr "" 474 msgstr ""
457 475
458 -#: dialogs.py:349 476 +#: dialogs.py:345
459 msgid "GNU GPL (General Public License) version 2" 477 msgid "GNU GPL (General Public License) version 2"
460 msgstr "" 478 msgstr ""
461 479
462 -#: dialogs.py:364 480 +#: dialogs.py:360
463 msgid "Save raycasting preset as:" 481 msgid "Save raycasting preset as:"
464 msgstr "" 482 msgstr ""
465 483
@@ -485,36 +503,36 @@ msgid &quot;&quot; @@ -485,36 +503,36 @@ msgid &quot;&quot;
485 "Made in InVesalius" 503 "Made in InVesalius"
486 msgstr "" 504 msgstr ""
487 505
488 -#: dicom_preview_panel.py:146 dicom_preview_panel.py:147 506 +#: dicom_preview_panel.py:156 dicom_preview_panel.py:157
489 msgid "Image" 507 msgid "Image"
490 msgstr "" 508 msgstr ""
491 509
492 -#: dicom_preview_panel.py:364 510 +#: dicom_preview_panel.py:374
493 msgid "image size" 511 msgid "image size"
494 msgstr "" 512 msgstr ""
495 513
496 -#: dicom_preview_panel.py:373 514 +#: dicom_preview_panel.py:383
497 msgid "" 515 msgid ""
498 "id\n" 516 "id\n"
499 "protocol" 517 "protocol"
500 msgstr "" 518 msgstr ""
501 519
502 -#: dicom_preview_panel.py:380 520 +#: dicom_preview_panel.py:390
503 msgid "" 521 msgid ""
504 "date time\n" 522 "date time\n"
505 " Made in InVesalius" 523 " Made in InVesalius"
506 msgstr "" 524 msgstr ""
507 525
508 -#: dicom_preview_panel.py:426 526 +#: dicom_preview_panel.py:436
509 msgid "Auto-play" 527 msgid "Auto-play"
510 msgstr "" 528 msgstr ""
511 529
512 -#: dicom_preview_panel.py:650 530 +#: dicom_preview_panel.py:660
513 #, python-format 531 #, python-format
514 msgid "%d Images" 532 msgid "%d Images"
515 msgstr "" 533 msgstr ""
516 534
517 -#: dicom_preview_panel.py:767 dicom_preview_panel.py:788 535 +#: dicom_preview_panel.py:777 dicom_preview_panel.py:798
518 #, python-format 536 #, python-format
519 msgid "Image %d" 537 msgid "Image %d"
520 msgstr "" 538 msgstr ""
@@ -784,51 +802,51 @@ msgstr &quot;&quot; @@ -784,51 +802,51 @@ msgstr &quot;&quot;
784 msgid "Open an existing project..." 802 msgid "Open an existing project..."
785 msgstr "" 803 msgstr ""
786 804
787 -#: task_slice.py:79 805 +#: task_slice.py:80
788 msgid "Create mask for slice segmentation and edition" 806 msgid "Create mask for slice segmentation and edition"
789 msgstr "" 807 msgstr ""
790 808
791 -#: task_slice.py:80 809 +#: task_slice.py:81
792 msgid "Create new mask" 810 msgid "Create new mask"
793 msgstr "" 811 msgstr ""
794 812
795 -#: task_slice.py:108 813 +#: task_slice.py:109
796 msgid "Create 3D surface" 814 msgid "Create 3D surface"
797 msgstr "" 815 msgstr ""
798 816
799 -#: task_slice.py:137 817 +#: task_slice.py:138
800 msgid "Name of new mask:" 818 msgid "Name of new mask:"
801 msgstr "" 819 msgstr ""
802 820
803 -#: task_slice.py:138 821 +#: task_slice.py:139
804 msgid "InVesalius 3 - New mask" 822 msgid "InVesalius 3 - New mask"
805 msgstr "" 823 msgstr ""
806 824
807 -#: task_slice.py:196 825 +#: task_slice.py:197
808 msgid "Mask properties" 826 msgid "Mask properties"
809 msgstr "" 827 msgstr ""
810 828
811 -#: task_slice.py:204 829 +#: task_slice.py:205
812 msgid "Advanced edition tools" 830 msgid "Advanced edition tools"
813 msgstr "" 831 msgstr ""
814 832
815 -#: task_slice.py:288 833 +#: task_slice.py:289
816 msgid "Set predefined or manual threshold:" 834 msgid "Set predefined or manual threshold:"
817 msgstr "" 835 msgstr ""
818 836
819 -#: task_slice.py:440 837 +#: task_slice.py:441
820 msgid "Choose brush type, size or operation:" 838 msgid "Choose brush type, size or operation:"
821 msgstr "" 839 msgstr ""
822 840
823 -#: task_slice.py:446 841 +#: task_slice.py:447
824 msgid "Circle" 842 msgid "Circle"
825 msgstr "" 843 msgstr ""
826 844
827 -#: task_slice.py:450 845 +#: task_slice.py:451
828 msgid "Square" 846 msgid "Square"
829 msgstr "" 847 msgstr ""
830 848
831 -#: task_slice.py:486 849 +#: task_slice.py:487
832 msgid "Brush threshold range:" 850 msgid "Brush threshold range:"
833 msgstr "" 851 msgstr ""
834 852
i18n/invesalius_pt_BR.po
@@ -8,7 +8,7 @@ msgid &quot;&quot; @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: InVesalius 3\n" 9 "Project-Id-Version: InVesalius 3\n"
10 "Report-Msgid-Bugs-To: \n" 10 "Report-Msgid-Bugs-To: \n"
11 -"POT-Creation-Date: 2010-01-13 11:37-0200\n" 11 +"POT-Creation-Date: 2010-01-13 16:09-0200\n"
12 "PO-Revision-Date: 2010-01-07 11:25-0300\n" 12 "PO-Revision-Date: 2010-01-07 11:25-0300\n"
13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n" 13 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n"
14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n" 14 "Language-Team: InVesalius Team <invesalius@cti.gov.br>\n"
@@ -47,8 +47,8 @@ msgstr &quot;Oceano&quot; @@ -47,8 +47,8 @@ msgstr &quot;Oceano&quot;
47 msgid "Inverse Gray" 47 msgid "Inverse Gray"
48 msgstr "Cinza invertido" 48 msgstr "Cinza invertido"
49 49
50 -#: constants.py:152 constants.py:212 dicom_preview_panel.py:355  
51 -#: dicom_preview_panel.py:356 presets.py:30 presets.py:48 presets.py:119 50 +#: constants.py:152 constants.py:212 dicom_preview_panel.py:365
  51 +#: dicom_preview_panel.py:366 presets.py:30 presets.py:48 presets.py:119
52 msgid "Bone" 52 msgid "Bone"
53 msgstr "Osso" 53 msgstr "Osso"
54 54
@@ -106,7 +106,7 @@ msgstr &quot;Fossa Posterior Cerebral&quot; @@ -106,7 +106,7 @@ msgstr &quot;Fossa Posterior Cerebral&quot;
106 msgid "Brain" 106 msgid "Brain"
107 msgstr "Cérebro" 107 msgstr "Cérebro"
108 108
109 -#: constants.py:215 slice_menu.py:39 slice_menu.py:51 109 +#: constants.py:215 control.py:293 slice_menu.py:39 slice_menu.py:51
110 msgid "Default" 110 msgid "Default"
111 msgstr "Padrão" 111 msgstr "Padrão"
112 112
@@ -142,7 +142,7 @@ msgstr &quot;Pulmão - Duro&quot; @@ -142,7 +142,7 @@ msgstr &quot;Pulmão - Duro&quot;
142 msgid "Mediastinum" 142 msgid "Mediastinum"
143 msgstr "Mediastino" 143 msgstr "Mediastino"
144 144
145 -#: constants.py:224 slice_menu.py:46 slice_menu.py:51 145 +#: constants.py:224 control.py:294 slice_menu.py:46 slice_menu.py:51
146 msgid "Manual" 146 msgid "Manual"
147 msgstr "Manual" 147 msgstr "Manual"
148 148
@@ -314,6 +314,19 @@ msgstr &quot; Desabilitado&quot; @@ -314,6 +314,19 @@ msgstr &quot; Desabilitado&quot;
314 msgid "Cut plane" 314 msgid "Cut plane"
315 msgstr "Plano para corte" 315 msgstr "Plano para corte"
316 316
  317 +#: control.py:232
  318 +#, python-format
  319 +msgid "Loading file %d of %d"
  320 +msgstr "Carregando arquivo %d de %d"
  321 +
  322 +#: control.py:314
  323 +msgid "Untitled"
  324 +msgstr "Sem nome"
  325 +
  326 +#: control.py:379
  327 +msgid "Fix gantry tilt applying the degrees bellow"
  328 +msgstr "Corrigir inclinação (gantry-tilt), aplicando o seguinte valor"
  329 +
317 #: data_notebook.py:44 330 #: data_notebook.py:44
318 msgid "Masks" 331 msgid "Masks"
319 msgstr "Máscaras" 332 msgstr "Máscaras"
@@ -378,47 +391,47 @@ msgstr &quot;Fatia Sagital&quot; @@ -378,47 +391,47 @@ msgstr &quot;Fatia Sagital&quot;
378 msgid "Volume" 391 msgid "Volume"
379 msgstr "Volume" 392 msgstr "Volume"
380 393
381 -#: default_viewers.py:410 394 +#: default_viewers.py:411
382 msgid "Preset name" 395 msgid "Preset name"
383 msgstr "Nome do padrão" 396 msgstr "Nome do padrão"
384 397
385 -#: default_viewers.py:413 398 +#: default_viewers.py:414
386 msgid "Save raycasting preset" 399 msgid "Save raycasting preset"
387 msgstr "Salvar modo raycasting" 400 msgstr "Salvar modo raycasting"
388 401
389 -#: default_viewers.py:438 402 +#: default_viewers.py:439
390 msgid "Tools" 403 msgid "Tools"
391 msgstr "Ferramentas" 404 msgstr "Ferramentas"
392 405
393 -#: dialogs.py:51 406 +#: dialogs.py:50
394 msgid "Value will be applied." 407 msgid "Value will be applied."
395 msgstr "Valor será aplicado." 408 msgstr "Valor será aplicado."
396 409
397 -#: dialogs.py:55 410 +#: dialogs.py:54
398 msgid "Value will not be applied." 411 msgid "Value will not be applied."
399 msgstr "Valor não será aplicado." 412 msgstr "Valor não será aplicado."
400 413
401 -#: dialogs.py:93 414 +#: dialogs.py:92
402 msgid "Loading DICOM files" 415 msgid "Loading DICOM files"
403 msgstr "Carregando arquivos DICOM" 416 msgstr "Carregando arquivos DICOM"
404 417
405 -#: dialogs.py:141 frame.py:531 418 +#: dialogs.py:137 frame.py:531
406 msgid "Open InVesalius 3 project..." 419 msgid "Open InVesalius 3 project..."
407 msgstr "Abrir projeto do InVesalius 3" 420 msgstr "Abrir projeto do InVesalius 3"
408 421
409 -#: dialogs.py:164 422 +#: dialogs.py:160
410 msgid "Choose a DICOM folder:" 423 msgid "Choose a DICOM folder:"
411 msgstr "Selecione uma pasta DICOM:" 424 msgstr "Selecione uma pasta DICOM:"
412 425
413 -#: dialogs.py:189 426 +#: dialogs.py:185
414 msgid "Save project as..." 427 msgid "Save project as..."
415 msgstr "Salvar projeto como..." 428 msgstr "Salvar projeto como..."
416 429
417 -#: dialogs.py:192 430 +#: dialogs.py:188
418 msgid "InVesalius project (*.inv3)|*.inv3" 431 msgid "InVesalius project (*.inv3)|*.inv3"
419 msgstr "Projeto InVesalius (*.inv3)|*.inv3" 432 msgstr "Projeto InVesalius (*.inv3)|*.inv3"
420 433
421 -#: dialogs.py:255 dialogs.py:294 dialogs.py:316 434 +#: dialogs.py:251 dialogs.py:290 dialogs.py:312
422 #, python-format 435 #, python-format
423 msgid "" 436 msgid ""
424 "The project %s has been modified.\n" 437 "The project %s has been modified.\n"
@@ -427,19 +440,24 @@ msgstr &quot;&quot; @@ -427,19 +440,24 @@ msgstr &quot;&quot;
427 "O projeto %s foi modificado.\n" 440 "O projeto %s foi modificado.\n"
428 " Deseja salvar as alterações?" 441 " Deseja salvar as alterações?"
429 442
430 -#: dialogs.py:282 443 +#: dialogs.py:265
  444 +#, python-format
  445 +msgid "%s is an empty directory."
  446 +msgstr "%s é um diretório vazio."
  447 +
  448 +#: dialogs.py:278
431 msgid "There are no DICOM files on the selected directory." 449 msgid "There are no DICOM files on the selected directory."
432 msgstr "Não há arquivos DICOM no diretório selecionado" 450 msgstr "Não há arquivos DICOM no diretório selecionado"
433 451
434 -#: dialogs.py:340 452 +#: dialogs.py:336
435 msgid "(c) 2007 Center for Information Technology Renato Archer" 453 msgid "(c) 2007 Center for Information Technology Renato Archer"
436 msgstr "(r) 2007 Centro de Tecnologia da Informação Renato Archer" 454 msgstr "(r) 2007 Centro de Tecnologia da Informação Renato Archer"
437 455
438 -#: dialogs.py:342 456 +#: dialogs.py:338
439 msgid "InVesalius is a software for medical imaging 3D reconstruction. " 457 msgid "InVesalius is a software for medical imaging 3D reconstruction. "
440 msgstr "InVesalius é um software para reconstrução de imagens médicas. " 458 msgstr "InVesalius é um software para reconstrução de imagens médicas. "
441 459
442 -#: dialogs.py:343 460 +#: dialogs.py:339
443 msgid "" 461 msgid ""
444 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n" 462 "Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n"
445 "\n" 463 "\n"
@@ -447,25 +465,25 @@ msgstr &quot;&quot; @@ -447,25 +465,25 @@ msgstr &quot;&quot;
447 "Sua entrada é um conjunto de arquivos 2D DICOM obtidos através de TC ou RM.\n" 465 "Sua entrada é um conjunto de arquivos 2D DICOM obtidos através de TC ou RM.\n"
448 "\n" 466 "\n"
449 467
450 -#: dialogs.py:344 468 +#: dialogs.py:340
451 msgid "The software also allows generating correspondent STL files," 469 msgid "The software also allows generating correspondent STL files,"
452 msgstr "O software também permite a geração de arquivos STL correspondentes," 470 msgstr "O software também permite a geração de arquivos STL correspondentes,"
453 471
454 -#: dialogs.py:345 472 +#: dialogs.py:341
455 msgid "so the user can print 3D physical models of the patient's anatomy " 473 msgid "so the user can print 3D physical models of the patient's anatomy "
456 msgstr "" 474 msgstr ""
457 "que podem ser utilizados para impressão física de modelos anatômicos do " 475 "que podem ser utilizados para impressão física de modelos anatômicos do "
458 "paciente" 476 "paciente"
459 477
460 -#: dialogs.py:346 478 +#: dialogs.py:342
461 msgid "using Rapid Prototyping." 479 msgid "using Rapid Prototyping."
462 msgstr "utilizando Prototipagem Rápida." 480 msgstr "utilizando Prototipagem Rápida."
463 481
464 -#: dialogs.py:349 482 +#: dialogs.py:345
465 msgid "GNU GPL (General Public License) version 2" 483 msgid "GNU GPL (General Public License) version 2"
466 msgstr "GNU GPL (Licença Pública Geral) versão 2" 484 msgstr "GNU GPL (Licença Pública Geral) versão 2"
467 485
468 -#: dialogs.py:364 486 +#: dialogs.py:360
469 msgid "Save raycasting preset as:" 487 msgid "Save raycasting preset as:"
470 msgstr "Salvar modo de raycasting como:" 488 msgstr "Salvar modo de raycasting como:"
471 489
@@ -493,15 +511,15 @@ msgstr &quot;&quot; @@ -493,15 +511,15 @@ msgstr &quot;&quot;
493 "%s %s\n" 511 "%s %s\n"
494 " Criado com InVesalius" 512 " Criado com InVesalius"
495 513
496 -#: dicom_preview_panel.py:146 dicom_preview_panel.py:147 514 +#: dicom_preview_panel.py:156 dicom_preview_panel.py:157
497 msgid "Image" 515 msgid "Image"
498 msgstr "Imagem" 516 msgstr "Imagem"
499 517
500 -#: dicom_preview_panel.py:364 518 +#: dicom_preview_panel.py:374
501 msgid "image size" 519 msgid "image size"
502 msgstr "tamanho da imagem" 520 msgstr "tamanho da imagem"
503 521
504 -#: dicom_preview_panel.py:373 522 +#: dicom_preview_panel.py:383
505 msgid "" 523 msgid ""
506 "id\n" 524 "id\n"
507 "protocol" 525 "protocol"
@@ -509,7 +527,7 @@ msgstr &quot;&quot; @@ -509,7 +527,7 @@ msgstr &quot;&quot;
509 "id\n" 527 "id\n"
510 "protocolo" 528 "protocolo"
511 529
512 -#: dicom_preview_panel.py:380 530 +#: dicom_preview_panel.py:390
513 msgid "" 531 msgid ""
514 "date time\n" 532 "date time\n"
515 " Made in InVesalius" 533 " Made in InVesalius"
@@ -517,16 +535,16 @@ msgstr &quot;&quot; @@ -517,16 +535,16 @@ msgstr &quot;&quot;
517 "data hora\n" 535 "data hora\n"
518 " Criado com InVesalius" 536 " Criado com InVesalius"
519 537
520 -#: dicom_preview_panel.py:426 538 +#: dicom_preview_panel.py:436
521 msgid "Auto-play" 539 msgid "Auto-play"
522 msgstr "Reproduzir" 540 msgstr "Reproduzir"
523 541
524 -#: dicom_preview_panel.py:650 542 +#: dicom_preview_panel.py:660
525 #, python-format 543 #, python-format
526 msgid "%d Images" 544 msgid "%d Images"
527 msgstr "%d Imagens" 545 msgstr "%d Imagens"
528 546
529 -#: dicom_preview_panel.py:767 dicom_preview_panel.py:788 547 +#: dicom_preview_panel.py:777 dicom_preview_panel.py:798
530 #, python-format 548 #, python-format
531 msgid "Image %d" 549 msgid "Image %d"
532 msgstr "Imagem %d" 550 msgstr "Imagem %d"
@@ -796,51 +814,51 @@ msgstr &quot;Abrir um projeto InVesalius existente...&quot; @@ -796,51 +814,51 @@ msgstr &quot;Abrir um projeto InVesalius existente...&quot;
796 msgid "Open an existing project..." 814 msgid "Open an existing project..."
797 msgstr "Abrir um projeto existente..." 815 msgstr "Abrir um projeto existente..."
798 816
799 -#: task_slice.py:79 817 +#: task_slice.py:80
800 msgid "Create mask for slice segmentation and edition" 818 msgid "Create mask for slice segmentation and edition"
801 msgstr "Criar máscara para segmentação e edição de fatia" 819 msgstr "Criar máscara para segmentação e edição de fatia"
802 820
803 -#: task_slice.py:80 821 +#: task_slice.py:81
804 msgid "Create new mask" 822 msgid "Create new mask"
805 msgstr "Nome da nova máscara:" 823 msgstr "Nome da nova máscara:"
806 824
807 -#: task_slice.py:108 825 +#: task_slice.py:109
808 msgid "Create 3D surface" 826 msgid "Create 3D surface"
809 msgstr "Criar superfície 3D" 827 msgstr "Criar superfície 3D"
810 828
811 -#: task_slice.py:137 829 +#: task_slice.py:138
812 msgid "Name of new mask:" 830 msgid "Name of new mask:"
813 msgstr "Nome da nova máscara:" 831 msgstr "Nome da nova máscara:"
814 832
815 -#: task_slice.py:138 833 +#: task_slice.py:139
816 msgid "InVesalius 3 - New mask" 834 msgid "InVesalius 3 - New mask"
817 msgstr "InVesalius 3 - Nova máscara" 835 msgstr "InVesalius 3 - Nova máscara"
818 836
819 -#: task_slice.py:196 837 +#: task_slice.py:197
820 msgid "Mask properties" 838 msgid "Mask properties"
821 msgstr "Propriedades da máscara" 839 msgstr "Propriedades da máscara"
822 840
823 -#: task_slice.py:204 841 +#: task_slice.py:205
824 msgid "Advanced edition tools" 842 msgid "Advanced edition tools"
825 msgstr "Ferramentas avançadas de edição" 843 msgstr "Ferramentas avançadas de edição"
826 844
827 -#: task_slice.py:288 845 +#: task_slice.py:289
828 msgid "Set predefined or manual threshold:" 846 msgid "Set predefined or manual threshold:"
829 msgstr "Selecione ou edite valor de limiar:" 847 msgstr "Selecione ou edite valor de limiar:"
830 848
831 -#: task_slice.py:440 849 +#: task_slice.py:441
832 msgid "Choose brush type, size or operation:" 850 msgid "Choose brush type, size or operation:"
833 msgstr "Tipo, tamanho e operação do pincel:" 851 msgstr "Tipo, tamanho e operação do pincel:"
834 852
835 -#: task_slice.py:446 853 +#: task_slice.py:447
836 msgid "Circle" 854 msgid "Circle"
837 msgstr "Círculo" 855 msgstr "Círculo"
838 856
839 -#: task_slice.py:450 857 +#: task_slice.py:451
840 msgid "Square" 858 msgid "Square"
841 msgstr "Quadrado" 859 msgstr "Quadrado"
842 860
843 -#: task_slice.py:486 861 +#: task_slice.py:487
844 msgid "Brush threshold range:" 862 msgid "Brush threshold range:"
845 msgstr "Limiar do pincel:" 863 msgstr "Limiar do pincel:"
846 864
invesalius/control.py
@@ -229,7 +229,7 @@ class Controller(): @@ -229,7 +229,7 @@ class Controller():
229 def Progress(self, evt): 229 def Progress(self, evt):
230 data = evt.data 230 data = evt.data
231 if (data): 231 if (data):
232 - message = "Loading file %d of %d"%(data[0],data[1]) 232 + message = _("Loading file %d of %d")%(data[0],data[1])
233 233
234 if (data): 234 if (data):
235 if not(self.progress_dialog): 235 if not(self.progress_dialog):
@@ -311,7 +311,7 @@ class Controller(): @@ -311,7 +311,7 @@ class Controller():
311 311
312 def CreateAnalyzeProject(self, imagedata): 312 def CreateAnalyzeProject(self, imagedata):
313 proj = prj.Project() 313 proj = prj.Project()
314 - proj.name = "Untitled" 314 + proj.name = _("Untitled")
315 proj.SetAcquisitionModality("MRI") 315 proj.SetAcquisitionModality("MRI")
316 proj.imagedata = imagedata 316 proj.imagedata = imagedata
317 #TODO: Verify if all Analyse are in AXIAL orientation 317 #TODO: Verify if all Analyse are in AXIAL orientation
@@ -376,7 +376,7 @@ class Controller(): @@ -376,7 +376,7 @@ class Controller():
376 tilt_value = dicom.acquisition.tilt 376 tilt_value = dicom.acquisition.tilt
377 if (tilt_value) and (gui): 377 if (tilt_value) and (gui):
378 # Tell user gantry tilt and fix, according to answer 378 # Tell user gantry tilt and fix, according to answer
379 - message = "Fix gantry tilt applying the degrees bellow" 379 + message = _("Fix gantry tilt applying the degrees bellow")
380 value = -1*tilt_value 380 value = -1*tilt_value
381 tilt_value = dialog.ShowNumberDialog(message, value) 381 tilt_value = dialog.ShowNumberDialog(message, value)
382 imagedata = utils.FixGantryTilt(imagedata, tilt_value) 382 imagedata = utils.FixGantryTilt(imagedata, tilt_value)
invesalius/gui/dialogs.py
@@ -36,7 +36,6 @@ class NumberDialog(wx.Dialog): @@ -36,7 +36,6 @@ class NumberDialog(wx.Dialog):
36 self.PostCreate(pre) 36 self.PostCreate(pre)
37 37
38 # Static text which contains message to user 38 # Static text which contains message to user
39 - print "message: ", message  
40 label = wx.StaticText(self, -1, message) 39 label = wx.StaticText(self, -1, message)
41 40
42 # Numeric value to be changed by user 41 # Numeric value to be changed by user
@@ -100,9 +99,6 @@ class ProgressDialog(object): @@ -100,9 +99,6 @@ class ProgressDialog(object):
100 parent = None, 99 parent = None,
101 style = wx.PD_CAN_ABORT 100 style = wx.PD_CAN_ABORT
102 | wx.PD_APP_MODAL, 101 | wx.PD_APP_MODAL,
103 - #| wx.PD_ELAPSED_TIME  
104 - #| wx.PD_ESTIMATED_TIME  
105 - #| wx.PD_REMAINING_TIME  
106 ) 102 )
107 103
108 self.dlg.Bind(wx.EVT_BUTTON, self.Cancel) 104 self.dlg.Bind(wx.EVT_BUTTON, self.Cancel)
@@ -266,7 +262,7 @@ def SaveChangesDialog__Old(filename): @@ -266,7 +262,7 @@ def SaveChangesDialog__Old(filename):
266 262
267 263
268 def ImportEmptyDirectory(dirpath): 264 def ImportEmptyDirectory(dirpath):
269 - msg = "%s is an empty directory." % dirpath 265 + msg = _("%s is an empty directory.") % dirpath
270 if sys.platform == 'darwin': 266 if sys.platform == 'darwin':
271 dlg = wx.MessageDialog(None, "", 267 dlg = wx.MessageDialog(None, "",
272 msg, 268 msg,
locale/en/LC_MESSAGES/invesalius.mo
No preview for this file type
locale/es/LC_MESSAGES/invesalius.mo
No preview for this file type
locale/pt_BR/LC_MESSAGES/invesalius.mo
No preview for this file type