mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
feat(plugins): install an older version of a plugin (#2035)
Adds a version picker to the plugin admin panel, on desktop and mobile: every published version with its own server-computed compatibility verdict, so the client never re-derives semver range logic. A deliberate non-latest pick sets an update hold on the row, which keeps the update banner and "Update all" from immediately nagging the rollback away. The hold releases when an install lands back on the newest compatible version by any path, or when the admin resumes updates explicitly. An unresolvable registry never sets one: refusing to pin on missing information beats silently muting future updates.
This commit is contained in:
@@ -415,6 +415,19 @@ const admin: TranslationStrings = {
|
||||
'admin.plugins.sortUpdates': 'Nejdřív aktualizace',
|
||||
'admin.plugins.sortDownloads': 'Nejstahovanější',
|
||||
'admin.plugins.updatesAvailable': 'Pro vaše pluginy je k dispozici {count} aktualizací.',
|
||||
'admin.plugins.newerNeedsTrek': 'v{version} k dispozici — vyžaduje TREK {range}',
|
||||
'admin.plugins.versionsTitle': 'Verze',
|
||||
'admin.plugins.versionPickerTitle': 'Změnit verzi — {name}',
|
||||
'admin.plugins.versionSwitch': 'Přepnout na {version}',
|
||||
'admin.plugins.versionNeedsTrek': 'vyžaduje TREK {range}',
|
||||
'admin.plugins.changeVersion': 'Změnit verzi…',
|
||||
'admin.plugins.noVersions': 'V registru nebyly nalezeny žádné publikované verze.',
|
||||
'admin.plugins.downgradeTitle': 'Vrátit tento plugin na starší verzi?',
|
||||
'admin.plugins.downgradeBody': 'Přechod z v{from} na v{to}: data zapsaná novější verzí zůstanou na místě a starší verze jim nemusí rozumět.',
|
||||
'admin.plugins.downgradeConfirm': 'Vrátit zpět',
|
||||
'admin.plugins.updatesHeld': 'Aktualizace pozastaveny na v{version}',
|
||||
'admin.plugins.resumeUpdates': 'Obnovit aktualizace',
|
||||
'admin.plugins.updatesResumed': 'Aktualizace obnoveny',
|
||||
'admin.plugins.updateAll': 'Aktualizovat vše',
|
||||
'admin.plugins.noMatchInstalled': 'Žádné nainstalované pluginy neodpovídají vašemu hledání.',
|
||||
'admin.plugins.noMatchRegistry': 'Žádné pluginy v registru neodpovídají vašemu hledání.',
|
||||
|
||||
Reference in New Issue
Block a user