version formatting
This commit is contained in:
parent
d7975a870b
commit
23d401b3f2
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ oml.ui.updateDialog = function() {
|
|||
oml.version != 'git'
|
||||
? Ox._(
|
||||
'You are running Open Media Library version {0}.<br><br>',
|
||||
[oml.version]
|
||||
[oml.version.split('-')[1]]
|
||||
)
|
||||
: Ox._(
|
||||
'You are running the development version of '
|
||||
|
@ -133,7 +133,7 @@ oml.ui.updateDialog = function() {
|
|||
} else {
|
||||
$text.append(Ox._(
|
||||
'A newer version ({0}) is available.',
|
||||
[result.data.version]
|
||||
[result.data.version.split('-')[1]]
|
||||
));
|
||||
$closeButton.hide();
|
||||
$dontUpdateButton.show();
|
||||
|
|
Loading…
Reference in a new issue