Commit recent changes

This commit is contained in:
Jonathan Carter
2026-03-14 15:14:37 +02:00
parent 24c5f6e12d
commit de76cd16ea
5 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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

View File

@@ -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