use interpolation

This commit is contained in:
JDonadio 2017-01-26 09:26:14 -03:00
parent e871c12408
commit 30f8d602b2
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
}
if (newRelease) {
$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
});
}
});
}