mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix: Set gems sent notification as translatable string
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user