mirror of https://github.com/BTCPrivate/copay.git
use interpolation
This commit is contained in:
parent
e871c12408
commit
30f8d602b2
|
@ -34,7 +34,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
}
|
}
|
||||||
if (newRelease) {
|
if (newRelease) {
|
||||||
$scope.newRelease = true;
|
$scope.newRelease = true;
|
||||||
$scope.updateText = gettextCatalog.getString('There is a new version of ') + $scope.name + gettextCatalog.getString(' available');
|
$scope.updateText = gettextCatalog.getString('There is a new version of {{appName}} available', {
|
||||||
|
appName: $scope.name
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue