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'
|
oml.version != 'git'
|
||||||
? Ox._(
|
? Ox._(
|
||||||
'You are running Open Media Library version {0}.<br><br>',
|
'You are running Open Media Library version {0}.<br><br>',
|
||||||
[oml.version]
|
[oml.version.split('-')[1]]
|
||||||
)
|
)
|
||||||
: Ox._(
|
: Ox._(
|
||||||
'You are running the development version of '
|
'You are running the development version of '
|
||||||
|
@ -133,7 +133,7 @@ oml.ui.updateDialog = function() {
|
||||||
} else {
|
} else {
|
||||||
$text.append(Ox._(
|
$text.append(Ox._(
|
||||||
'A newer version ({0}) is available.',
|
'A newer version ({0}) is available.',
|
||||||
[result.data.version]
|
[result.data.version.split('-')[1]]
|
||||||
));
|
));
|
||||||
$closeButton.hide();
|
$closeButton.hide();
|
||||||
$dontUpdateButton.show();
|
$dontUpdateButton.show();
|
||||||
|
|
Loading…
Reference in a new issue