Re-implement version check
This makes LibreTime check its version against github releases and lets the user know when to update. It uses the red exclamation point when there is a patch release or if LibreTime is more than one major release ahead. The orange icon is used when LibreTime is on a git install, a single major update is available, or a pre-release version is installed. The green update icon gets used to signify that a new minor release is available. Finally the green checkmark will be used when you are on a stable release.
This commit is contained in:
parent
81d3c3e2b8
commit
06a3ad0ed3
8 changed files with 230 additions and 38 deletions
|
@ -39,9 +39,11 @@ class LocaleController extends Zend_Controller_Action
|
|||
//dashboard/versiontooltip.js
|
||||
"You are running the latest version" => _("You are running the latest version"),
|
||||
"New version available: " => _("New version available: "),
|
||||
"This version will soon be obsolete." => _("This version will soon be obsolete."),
|
||||
"This version is no longer supported." => _("This version is no longer supported."),
|
||||
"Please upgrade to " => _("Please upgrade to "),
|
||||
"You have a pre-release version of LibreTime intalled." => _("You have a pre-release version of LibreTime intalled."),
|
||||
"A patch update for your LibreTime installation is available." => _("A patch update for your LibreTime installation is available."),
|
||||
"A feature update for your LibreTime installation is available." => _("A feature update for your LibreTime installation is available."),
|
||||
"A major update for your LibreTime installation is available." => _("A major update for your LibreTime installation is available."),
|
||||
"Multiple major updates for LibreTime installation are available. Please upgrade as soon as possible." => _("Multiple major updates for LibreTime installation are available. Please upgrade as soon as possible."),
|
||||
//library/events/library_playlistbuilder.js
|
||||
"Add to current playlist" => _("Add to current playlist"),
|
||||
"Add to current smart block" => _("Add to current smart block"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue