Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
This commit is contained in:
@@ -28,8 +28,12 @@ import sys
|
||||
from codecs import open
|
||||
import shutil
|
||||
|
||||
import settings
|
||||
import utils
|
||||
try:
|
||||
import settings
|
||||
import utils
|
||||
except:
|
||||
from . import (settings, utils)
|
||||
|
||||
|
||||
GETTEXT_MSGMERGE_EXECUTABLE = settings.GETTEXT_MSGMERGE_EXECUTABLE
|
||||
BRANCHES_DIR = settings.BRANCHES_DIR
|
||||
|
||||
Reference in New Issue
Block a user