Commit recent changes
This commit is contained in:
Binary file not shown.
@@ -3,7 +3,7 @@ from flask import Blueprint
|
||||
bp = Blueprint('install', __name__,
|
||||
template_folder='',
|
||||
static_folder='static',
|
||||
static_url_path='/welcome/static')
|
||||
static_url_path='/install/static')
|
||||
|
||||
from yasi_applets.install import routes
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ def run_script():
|
||||
status["status"] = "running"
|
||||
|
||||
process = subprocess.Popen(
|
||||
["bash", "/data/jonathan/devel/highvoltage/system-installer/daemon/src/fake-install-shell.sh"],
|
||||
["bash", "/home/jonathan/devel/highvoltage/yasi/yasi-daemon/src/fake-install-shell.sh"],
|
||||
stdout = subprocess.PIPE,
|
||||
stderr = subprocess.STDOUT,
|
||||
text = True)
|
||||
|
||||
@@ -10,7 +10,7 @@ def set_language(LANG):
|
||||
"""
|
||||
Sets language for this applet
|
||||
"""
|
||||
translations = gettext.translation("users", '/usr/share/yasi-daemon/yasi_applets/users/locales',
|
||||
translations = gettext.translation("users", './yasi_applets/users/locales',
|
||||
fallback=True, languages=[LANG])
|
||||
translations.install()
|
||||
_ = translations.gettext
|
||||
|
||||
@@ -15,7 +15,7 @@ def set_language(LANG):
|
||||
Sets language for this applet
|
||||
"""
|
||||
# TODO: unhardcode this path
|
||||
translations = gettext.translation("welcome", '/usr/share/yasi-daemon/yasi_applets/welcome/locales',
|
||||
translations = gettext.translation("welcome", './yasi_applets/welcome/locales',
|
||||
fallback=True, languages=[LANG])
|
||||
translations.install()
|
||||
_ = translations.gettext
|
||||
|
||||
Reference in New Issue
Block a user