mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-23 23:31:47 +00:00
fix(admin): show non-Docker update steps when not running in Docker (#1269)
The "How to Update" modal always rendered Docker commands and claimed the instance runs in Docker, even on bare-metal / LXC installs like Proxmox Community Scripts. It now branches on the is_docker flag the backend already returns: non-Docker installs get a generic "re-run your install method" note plus a link to the update guide. Docker stays the default when the flag is absent, so existing installs are unaffected.
This commit is contained in:
@@ -268,6 +268,9 @@ const admin: TranslationStrings = {
|
||||
'admin.update.howTo': 'Jak aktualizovat',
|
||||
'admin.update.dockerText':
|
||||
'Váš TREK běží v Dockeru. Pro aktualizaci na verzi {version} spusťte na svém serveru tyto příkazy:',
|
||||
'admin.update.nonDockerText':
|
||||
'Tato instance TREK neběží v Dockeru. Pro aktualizaci na verzi {version} znovu spusťte instalační nebo aktualizační metodu, kterou jste použili — například u Proxmox Community Scripts spusťte aktualizaci z konzole LXC:',
|
||||
'admin.update.wikiLink': 'Otevřít průvodce aktualizací',
|
||||
'admin.update.reloadHint': 'Prosím obnovte stránku za několik sekund.',
|
||||
'admin.tabs.permissions': 'Oprávnění',
|
||||
'admin.notifications.emailPanel.title': 'Email (SMTP)',
|
||||
|
||||
Reference in New Issue
Block a user