diff --git a/.gitattributes b/.gitattributes index 0398c56..7d753c1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -245,3 +245,4 @@ presets/raycasting/color_list/VR[!!-~]Muscles-Bones.plist -text presets/raycasting/color_list/VR[!!-~]Red[!!-~]Vessels.plist -text presets/raycasting/color_list/dicomDictionary.plist -text presets/raycasting/color_list/ired.plist -text +samples/Cranium.inv3 -text diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po index 4396c0c..7c8fdba 100644 --- a/i18n/pt_BR.po +++ b/i18n/pt_BR.po @@ -765,7 +765,7 @@ msgstr "Conjunto de Imagens" #: surface_process.py:64 surface_process.py:73 surface_process.py:86 #: surface_process.py:96 msgid "Generating 3D surface..." -msgstr "Exportando superfĂ­cie 3D..." +msgstr "Gerando superfĂ­cie 3D..." #: task_exporter.py:101 msgid "Export InVesalius screen to a image file" diff --git a/invesalius/constants.py b/invesalius/constants.py index 2e12a17..19ee54d 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -230,6 +230,8 @@ WINDOW_LEVEL = {_("Abdomen"):(350,50), REDUCE_IMAGEDATA_QUALITY = 0 ICON_DIR = os.path.abspath(os.path.join('..', 'icons')) +SAMPLE_DIR = os.path.abspath(os.path.join('..', 'samples')) + ID_TO_BMP = {VOL_FRONT: [_("Front"), os.path.join(ICON_DIR, "view_front.png")], VOL_BACK: [_("Back"), os.path.join(ICON_DIR, "view_back.png")], diff --git a/invesalius/session.py b/invesalius/session.py index 8960117..4b84693 100644 --- a/invesalius/session.py +++ b/invesalius/session.py @@ -14,7 +14,6 @@ class Session(object): __metaclass__= Singleton def __init__(self): - # ? self.temp_item = False ws = self.ws = WriteSession(self) @@ -46,8 +45,8 @@ class Session(object): self.language = "" # "pt_BR", "es" # Recent projects list - self.recent_projects = [] - + self.recent_projects = [(const.SAMPLE_DIR, "Cranium.inv3")] + print self.recent_projects self.last_dicom_folder = '' self.CreateSessionFile() diff --git a/locale/pt_BR/LC_MESSAGES/invesalius.mo b/locale/pt_BR/LC_MESSAGES/invesalius.mo index 5bf99d8..f78d686 100644 Binary files a/locale/pt_BR/LC_MESSAGES/invesalius.mo and b/locale/pt_BR/LC_MESSAGES/invesalius.mo differ diff --git a/samples/Cranium.inv3 b/samples/Cranium.inv3 new file mode 100644 index 0000000..71591fe Binary files /dev/null and b/samples/Cranium.inv3 differ -- libgit2 0.21.2