fix: Set gems sent notification as translatable string

This commit is contained in:
Blade Barringer
2016-05-14 06:54:44 -05:00
parent 44e9d8b09e
commit 3e57620666
2 changed files with 2 additions and 1 deletions

View File

@@ -104,6 +104,7 @@
"emailNotifications": "Email Notifications",
"wonChallenge": "You won a Challenge!",
"newPM": "Received Private Message",
"sentGems": "Sent gems!",
"giftedGems": "Gifted Gems",
"giftedGemsInfo": "<%= amount %> Gems - by <%= name %>",
"giftedSubscription": "Gifted Subscription",

View File

@@ -41,7 +41,7 @@ habitrpg
$scope.sendGift = function (uuid, gift) {
Members.transferGems($scope.gift.message, uuid, $scope.gift.gems.amount)
.then(function (response) {
Notification.text('Gift sent!')
Notification.text(window.env.t('sentGems'));
$rootScope.User.sync();
$scope.$close();
});