import os
import sys
+import glob
#Cura/util classes should not depend on wx...
import wx
def getPathForFirmware(name):
return getPathForResource(resourceBasePath, 'firmware', name)
+def getDefaultMachineProfiles():
+ path = os.path.normpath(os.path.join(resourceBasePath, 'machine_profiles', '*.ini'))
+ return glob.glob(path)
+
def setupLocalization(selectedLanguage = None):
try:
if sys.platform.startswith('darwin'):
def getLanguageOptions():
return [
- [None, 'System default'],
+ # [None, 'System default'],
['en', 'English'],
- ['de', 'Deutsch'],
- ['fr', 'French'],
- ['nl', 'Nederlands'],
- ['sp', 'Spanish'],
- ['po', 'Polish']
+ # ['de', 'Deutsch'],
+ # ['fr', 'French'],
+ # ['nl', 'Nederlands'],
+ # ['sp', 'Spanish'],
+ # ['po', 'Polish']
]