Commit 084e92b629c13596b37405b4e9312a8a6b5f8548

Authored by Paulo Henrique Junqueira Amorim
1 parent 8a4cf336

ENH: Enhanced translation to pt_BR

invesalius/utils.py
@@ -218,7 +218,7 @@ def calculate_resizing_tofitmemory(x_size,y_size,n_slices,byte): @@ -218,7 +218,7 @@ def calculate_resizing_tofitmemory(x_size,y_size,n_slices,byte):
218 #import sigar 218 #import sigar
219 #sg = sigar.open() 219 #sg = sigar.open()
220 #ram_free = sg.mem().actual_free() 220 #ram_free = sg.mem().actual_free()
221 - #ram_total = sg.mem().actual_free() 221 + #ram_total = sg.mem().total()
222 #swap_free = sg.swap().free() 222 #swap_free = sg.swap().free()
223 #sg.close() 223 #sg.close()
224 224
locale/pt_BR/LC_MESSAGES/invesalius.mo
No preview for this file type
@@ -9,7 +9,7 @@ msgid "" @@ -9,7 +9,7 @@ msgid ""
9 msgstr "" 9 msgstr ""
10 "Project-Id-Version: InVesalius\n" 10 "Project-Id-Version: InVesalius\n"
11 "Report-Msgid-Bugs-To: \n" 11 "Report-Msgid-Bugs-To: \n"
12 -"POT-Creation-Date: 2012-09-12 13:02-0300\n" 12 +"POT-Creation-Date: 2012-09-13 15:38-0300\n"
13 "PO-Revision-Date: 2010-11-30 02:42+0000\n" 13 "PO-Revision-Date: 2010-11-30 02:42+0000\n"
14 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n" 14 "Last-Translator: Invesalius team <invesalius@cti.gov.br>\n"
15 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" 15 "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
@@ -182,8 +182,8 @@ msgstr &quot;Fossa cerebral posterior&quot; @@ -182,8 +182,8 @@ msgstr &quot;Fossa cerebral posterior&quot;
182 msgid "Brain" 182 msgid "Brain"
183 msgstr "Cérebro" 183 msgstr "Cérebro"
184 184
185 -#: constants.py:279 control.py:361 dialogs.py:1184 dialogs.py:1187  
186 -#: dialogs.py:1195 dialogs.py:1270 slice_menu.py:39 slice_menu.py:51 185 +#: constants.py:279 control.py:361 dialogs.py:1183 dialogs.py:1186
  186 +#: dialogs.py:1194 dialogs.py:1269 slice_menu.py:39 slice_menu.py:51
187 msgid "Default" 187 msgid "Default"
188 msgstr "Padrão" 188 msgstr "Padrão"
189 189
@@ -449,10 +449,6 @@ msgstr &quot;Máscara&quot; @@ -449,10 +449,6 @@ msgstr &quot;Máscara&quot;
449 msgid "New surface" 449 msgid "New surface"
450 msgstr "Nova superfície" 450 msgstr "Nova superfície"
451 451
452 -#: dialogs.py:1207  
453 -msgid "Method:"  
454 -msgstr "Método"  
455 -  
456 #: data_notebook.py:762 452 #: data_notebook.py:762
457 msgid "Volume (mm³)" 453 msgid "Volume (mm³)"
458 msgstr "Volume (mm³)" 454 msgstr "Volume (mm³)"
@@ -657,11 +653,11 @@ msgid &quot;&quot; @@ -657,11 +653,11 @@ msgid &quot;&quot;
657 "\n" 653 "\n"
658 " Contact: invesalius@cti.gov.br" 654 " Contact: invesalius@cti.gov.br"
659 msgstr "" 655 msgstr ""
660 -"O InVesalius é um programa para reconstrução 3D de imagens médicas a partir de "  
661 -"uma sequência de imagens DICOM 2D, obtidas com equipamentos de TC ou RM. O "  
662 -"InVesalius permite que sejam exportados volumes ou superfícies 3D no formato "  
663 -"STL, para criação de réplicas físicas de estruturas anatômicas do paciente "  
664 -"por meio de tecnologias de prototipagem rápida.\n" 656 +"O InVesalius é um programa para reconstrução 3D de imagens médicas a partir "
  657 +"de uma sequência de imagens DICOM 2D, obtidas com equipamentos de TC ou RM. "
  658 +"O InVesalius permite que sejam exportados volumes ou superfícies 3D no "
  659 +"formato STL, para criação de réplicas físicas de estruturas anatômicas do "
  660 +"paciente por meio de tecnologias de prototipagem rápida.\n"
665 "\n" 661 "\n"
666 "Contato: invesalius@cti.gov.br" 662 "Contato: invesalius@cti.gov.br"
667 663
@@ -669,106 +665,113 @@ msgstr &quot;&quot; @@ -669,106 +665,113 @@ msgstr &quot;&quot;
669 msgid "GNU GPL (General Public License) version 2" 665 msgid "GNU GPL (General Public License) version 2"
670 msgstr "GNU GPL (Licença Pública Geral) versão 2" 666 msgstr "GNU GPL (Licença Pública Geral) versão 2"
671 667
672 -#: dialogs.py:741 668 +#: dialogs.py:740
673 msgid "Save raycasting preset as:" 669 msgid "Save raycasting preset as:"
674 msgstr "Salvar pré-ajuste de raycasting como:" 670 msgstr "Salvar pré-ajuste de raycasting como:"
675 671
676 -#: dialogs.py:784 dialogs.py:1039 672 +#: dialogs.py:783 dialogs.py:1038
677 msgid "New surface name:" 673 msgid "New surface name:"
678 msgstr "Nome da nova superfície:" 674 msgstr "Nome da nova superfície:"
679 675
680 -#: dialogs.py:788 dialogs.py:1043 676 +#: dialogs.py:787 dialogs.py:1042
681 msgid "Name the surface to be created" 677 msgid "Name the surface to be created"
682 msgstr "Nome da superfície a ser criada" 678 msgstr "Nome da superfície a ser criada"
683 679
684 -#: dialogs.py:795 dialogs.py:1050 680 +#: dialogs.py:794 dialogs.py:1049
685 msgid "Mask of reference:" 681 msgid "Mask of reference:"
686 msgstr "Máscara de referência:" 682 msgstr "Máscara de referência:"
687 683
688 -#: dialogs.py:813 dialogs.py:1068 684 +#: dialogs.py:812 dialogs.py:1067
689 msgid "Surface quality:" 685 msgid "Surface quality:"
690 msgstr "Qualidade da superfície:" 686 msgstr "Qualidade da superfície:"
691 687
692 -#: dialogs.py:842 dialogs.py:1096 688 +#: dialogs.py:841 dialogs.py:1095
693 msgid "Fill holes" 689 msgid "Fill holes"
694 msgstr "Preencher buracos" 690 msgstr "Preencher buracos"
695 691
696 -#: dialogs.py:845 dialogs.py:1099 692 +#: dialogs.py:844 dialogs.py:1098
697 msgid "Keep largest region" 693 msgid "Keep largest region"
698 msgstr "Manter maior região" 694 msgstr "Manter maior região"
699 695
700 -#: dialogs.py:883 696 +#: dialogs.py:882
701 msgid "BMP image" 697 msgid "BMP image"
702 msgstr "Imagem BMP" 698 msgstr "Imagem BMP"
703 699
704 -#: dialogs.py:884 700 +#: dialogs.py:883
705 msgid "JPG image" 701 msgid "JPG image"
706 msgstr "Imagem JPG" 702 msgstr "Imagem JPG"
707 703
708 -#: dialogs.py:885 704 +#: dialogs.py:884
709 msgid "PNG image" 705 msgid "PNG image"
710 msgstr "Imagem PNG" 706 msgstr "Imagem PNG"
711 707
712 -#: dialogs.py:886 708 +#: dialogs.py:885
713 msgid "PostScript document" 709 msgid "PostScript document"
714 msgstr "Documento PostScript" 710 msgstr "Documento PostScript"
715 711
716 -#: dialogs.py:887 712 +#: dialogs.py:886
717 msgid "POV-Ray file" 713 msgid "POV-Ray file"
718 msgstr "Arquivo POV-Ray" 714 msgstr "Arquivo POV-Ray"
719 715
720 -#: dialogs.py:888 716 +#: dialogs.py:887
721 msgid "TIFF image" 717 msgid "TIFF image"
722 msgstr "Imagem TIFF" 718 msgstr "Imagem TIFF"
723 719
724 -#: dialogs.py:933 720 +#: dialogs.py:932
725 msgid "Surface generation options" 721 msgid "Surface generation options"
726 msgstr "Opções de geração de superfície" 722 msgstr "Opções de geração de superfície"
727 723
728 -#: dialogs.py:963 724 +#: dialogs.py:962
729 msgid "Surface creation" 725 msgid "Surface creation"
730 msgstr "Criação de superfície" 726 msgstr "Criação de superfície"
731 727
732 -#: dialogs.py:990 728 +#: dialogs.py:989
733 msgid "Surface creation options" 729 msgid "Surface creation options"
734 msgstr "Opções de criação de superfície" 730 msgstr "Opções de criação de superfície"
735 731
736 -#: dialogs.py:996 732 +#: dialogs.py:995
737 msgid "Surface creation method" 733 msgid "Surface creation method"
738 msgstr "Método de criação de superfície" 734 msgstr "Método de criação de superfície"
739 735
740 -#: dialogs.py:1144 736 +#: dialogs.py:1143 frame.py:571
  737 +msgid "Options"
  738 +msgstr "Opções"
  739 +
741 # msgid "Options" 740 # msgid "Options"
742 # msgstr "Opções" 741 # msgstr "Opções"
743 -  
744 -#: dialogs.py:1160 742 +#: dialogs.py:1159
745 msgid "Angle:" 743 msgid "Angle:"
746 msgstr "Ângulo" 744 msgstr "Ângulo"
747 745
748 -#: dialogs.py:1162 746 +#: dialogs.py:1161
749 msgid "Max. distance:" 747 msgid "Max. distance:"
750 msgstr "Distância máxima" 748 msgstr "Distância máxima"
751 749
752 -#: dialogs.py:1164 750 +#: dialogs.py:1163
753 msgid "Min. weight:" 751 msgid "Min. weight:"
754 msgstr "Peso mínimo" 752 msgstr "Peso mínimo"
755 753
756 -#: dialogs.py:1166 754 +#: dialogs.py:1165
757 msgid "N. steps:" 755 msgid "N. steps:"
758 msgstr "Número de passos" 756 msgstr "Número de passos"
759 757
760 -#: dialogs.py:1185 dialogs.py:1221 dialogs.py:1266 758 +#: dialogs.py:1184 dialogs.py:1220 dialogs.py:1265
761 msgid "Context aware smoothing" 759 msgid "Context aware smoothing"
762 msgstr "Suavização sensível ao contexto" 760 msgstr "Suavização sensível ao contexto"
763 761
764 -#: dialogs.py:1186 762 +#: dialogs.py:1185
765 msgid "Binary" 763 msgid "Binary"
766 msgstr "Binário" 764 msgstr "Binário"
767 765
768 -#: dialogs.py:1204  
769 -msgid "It is not possible to use the Default method because the mask was edited." 766 +#: dialogs.py:1203
  767 +msgid ""
  768 +"It is not possible to use the Default method because the mask was edited."
770 msgstr "Não é possível usar o método Padrão porque a máscara foi editada." 769 msgstr "Não é possível usar o método Padrão porque a máscara foi editada."
771 770
  771 +#: dialogs.py:1206
  772 +msgid "Method:"
  773 +msgstr "Método"
  774 +
772 #: dicom.py:1520 dicom.py:1524 dicom.py:1526 775 #: dicom.py:1520 dicom.py:1524 dicom.py:1526
773 msgid "unnamed" 776 msgid "unnamed"
774 msgstr "sem_nome" 777 msgstr "sem_nome"
@@ -903,15 +906,11 @@ msgstr &quot;Arquivo&quot; @@ -903,15 +906,11 @@ msgstr &quot;Arquivo&quot;
903 msgid "Edit" 906 msgid "Edit"
904 msgstr "Editar" 907 msgstr "Editar"
905 908
906 -#: frame.py:571 dialogs.py:1144  
907 -msgid "Options"  
908 -msgstr "Opções"  
909 -  
910 #: frame.py:572 909 #: frame.py:572
911 msgid "Help" 910 msgid "Help"
912 msgstr "Ajuda" 911 msgstr "Ajuda"
913 912
914 -#: frame.py:654 surface.py:358 surface.py:735 surface.py:736 913 +#: frame.py:654 surface.py:362 surface.py:739 surface.py:740
915 msgid "Ready" 914 msgid "Ready"
916 msgstr "Pronto" 915 msgstr "Pronto"
917 916
@@ -1088,11 +1087,11 @@ msgstr &quot;Seleção de idioma&quot; @@ -1088,11 +1087,11 @@ msgstr &quot;Seleção de idioma&quot;
1088 msgid "Choose user interface language" 1087 msgid "Choose user interface language"
1089 msgstr "Selecione o idioma" 1088 msgstr "Selecione o idioma"
1090 1089
1091 -#: polydata_utils.py:132 1090 +#: polydata_utils.py:139
1092 msgid "Analysing selected regions..." 1091 msgid "Analysing selected regions..."
1093 msgstr "Analisando regiões selecionadas..." 1092 msgstr "Analisando regiões selecionadas..."
1094 1093
1095 -#: polydata_utils.py:191 1094 +#: polydata_utils.py:198
1096 msgid "Splitting disconnected regions..." 1095 msgid "Splitting disconnected regions..."
1097 msgstr "Separando regiões desconexas..." 1096 msgstr "Separando regiões desconexas..."
1098 1097
@@ -1196,8 +1195,8 @@ msgstr &quot;Brilho e contraste&quot; @@ -1196,8 +1195,8 @@ msgstr &quot;Brilho e contraste&quot;
1196 msgid "Pseudo color" 1195 msgid "Pseudo color"
1197 msgstr "Pseudo cor" 1196 msgstr "Pseudo cor"
1198 1197
1199 -#: surface.py:419 surface.py:510 surface.py:528 surface.py:554 surface.py:583  
1200 -#: surface.py:605 surface.py:624 surface.py:638 surface.py:655 1198 +#: surface.py:423 surface.py:514 surface.py:532 surface.py:558 surface.py:587
  1199 +#: surface.py:609 surface.py:628 surface.py:642 surface.py:659
1201 msgid "Creating 3D surface..." 1200 msgid "Creating 3D surface..."
1202 msgstr "Criando superfície 3D..." 1201 msgstr "Criando superfície 3D..."
1203 1202
@@ -1293,14 +1292,14 @@ msgstr &quot;Quadrado&quot; @@ -1293,14 +1292,14 @@ msgstr &quot;Quadrado&quot;
1293 msgid "Brush threshold range:" 1292 msgid "Brush threshold range:"
1294 msgstr "Limiar do pincel:" 1293 msgstr "Limiar do pincel:"
1295 1294
1296 -#: task_surface.py:86  
1297 -msgid "Create new 3D surface"  
1298 -msgstr "Criar nova superfície 3D"  
1299 -  
1300 #: task_surface.py:85 1295 #: task_surface.py:85
1301 msgid "Create 3D surface based on a mask" 1296 msgid "Create 3D surface based on a mask"
1302 msgstr "Criar superfície 3D baseada em máscara" 1297 msgstr "Criar superfície 3D baseada em máscara"
1303 1298
  1299 +#: task_surface.py:86
  1300 +msgid "Create new 3D surface"
  1301 +msgstr "Criar nova superfície 3D"
  1302 +
1304 #: task_surface.py:104 1303 #: task_surface.py:104
1305 msgid "Next step" 1304 msgid "Next step"
1306 msgstr "Próximo passo" 1305 msgstr "Próximo passo"