Commit 64cb1ae1013b2a7420575da2da45ed5b42c20b30
1 parent
cb4a9c54
Exists in
master
and in
6 other branches
ENH: Add locale path in constants, reffer ticket 52
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
invesalius/constants.py
... | ... | @@ -229,6 +229,8 @@ REDUCE_IMAGEDATA_QUALITY = 1 |
229 | 229 | |
230 | 230 | |
231 | 231 | ICON_DIR = os.path.abspath(os.path.join('..', 'icons')) |
232 | +LANGUAGE_DIR = os.path.abspath(os.path.join('..','locale')) | |
233 | + | |
232 | 234 | ID_TO_BMP = {VOL_FRONT: ["Front", os.path.join(ICON_DIR, "view_front.png")], |
233 | 235 | VOL_BACK: ["Back", os.path.join(ICON_DIR, "view_back.png")], |
234 | 236 | VOL_TOP: ["Top", os.path.join(ICON_DIR, "view_top.png")], | ... | ... |