mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 14:21:46 +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:
@@ -323,6 +323,9 @@ const admin: TranslationStrings = {
|
||||
'admin.update.howTo': 'Πώς να Ενημερώσετε',
|
||||
'admin.update.dockerText':
|
||||
'Η εγκατάστασή σας TREK εκτελείται σε Docker. Για να ενημερωθείτε στο {version}, εκτελέστε τις ακόλουθες εντολές στον server σας:',
|
||||
'admin.update.nonDockerText':
|
||||
'Αυτή η εγκατάσταση TREK δεν εκτελείται σε Docker. Για να ενημερωθείτε στο {version}, εκτελέστε ξανά τη μέθοδο εγκατάστασης ή ενημέρωσης που χρησιμοποιήσατε — για παράδειγμα, στα Proxmox Community Scripts εκτελέστε την ενημέρωση από την κονσόλα LXC:',
|
||||
'admin.update.wikiLink': 'Άνοιγμα του οδηγού ενημέρωσης',
|
||||
'admin.update.reloadHint': 'Παρακαλώ ανανεώστε τη σελίδα σε λίγα δευτερόλεπτα.',
|
||||
'admin.tabs.permissions': 'Δικαιώματα',
|
||||
'admin.addons.catalog.journey.name': 'Ταξίδι',
|
||||
|
||||
Reference in New Issue
Block a user