Reorganise constants, and add ISO language codes in order to drop dependency pycountry

This commit is contained in:
Veronica K. B. Olsen
2019-11-05 18:14:40 +01:00
parent 993339c96c
commit 0e84452533
44 changed files with 610 additions and 126 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"""novelWriter Test Dummy GUI Classes
"""
from nw.enum import nwAlert
from nw.constants import nwAlert
class DummyMain():
+1 -1
View File
@@ -12,7 +12,7 @@ from nw.gui.dialogs.projecteditor import GuiProjectEditor
from nw.gui.dialogs.timelineview import GuiTimeLineView
from nw.gui.dialogs.itemeditor import GuiItemEditor
from nw.enum import *
from nw.constants import *
keyDelay = 10
stepDelay = 50
+1 -1
View File
@@ -12,7 +12,7 @@ from nw.config import Config
from nw.project.project import NWProject
from nw.project.item import NWItem
from nw.project.index import NWIndex
from nw.enum import nwItemClass
from nw.constants import nwItemClass
theConf = Config()
theMain = DummyMain()